Skip to main content
New Participant
January 29, 2013
Question

How do you add a ScrollBar to a custom window swf panel?

  • January 29, 2013
  • 1 reply
  • 703 views

I recently made a tool for flash with the help of JSFL. The panel that was made is a little too large for my screen and I was wondering how to put in a scrollbar for it. Without the ability to scroll down I'm unable to reach certain properties located at the bottom of the panel.

I know the ScrollBar component is for only TextFields, but the ScrollPane is able to be used for other things such as MovieClips and swf files. However, when I tried to use the ScrollPane all I get is a blank screen. Any suggestions?

This topic has been closed for replies.

1 reply

robdillon
Participating Frequently
January 29, 2013

The scroll bar that you are looking for is a part of the HTML document that contains your .swf file. You need to set the overflow property for the container that holds the .swf to "scroll". It is set to "hidden" by default if you used the publish controls build into Flash.

New Participant
January 29, 2013

Thanks for the reply, it's just a panel that's being used in my Flash CS6. I'm using the Extension Manager to package it up using an mxi file to create a zxp which installs is to Flash. In order to publish the swf I'm just doing Control > Test Movie > Test, there's no html file being output.

robdillon
Participating Frequently
January 30, 2013

So by "screen" do you mean your computer's screen? Or do you mean the stage size that you are using is smaller than the panel of this tool that you made?