Groups | Blog | Home
all groups > flash (macromedia) > october 2005 >

flash (macromedia) : Flash Professional 8 - Scroll Pane Component


WizyWyg
10/19/2005 9:37:43 PM
I have a movieclip (instance of songlist) that I want to be scrollable.
Added the ScrollPane component to the stage.
How do i:
1) make it so that there is no border ( right now there is a border)
2) access/scroll the contents within the movieclip songlist
vlikyov
10/26/2005 12:00:00 AM
Hi,
I work on the same thing.
1) yourScrollPaneInstance_sp.setStyle("borderStyle", "none") - this should work
2) I suggest you scroll the entire movieclip with the song list. To do this
associate it with the "contentPath" of the ScrollPane:
yourScrollPaneInstance_sp.contentPath = "songlist_mc";

Well I have a different problem. When I publish the movie I see only the first
4 entries (rows) in the ScrollPane. The pane is working fine, it scrolls and
resizes properly. It's wierd, because the other entries are present, but not
visible. They become visible when you roll over them.
My ScrollPane resets its size when the "Stage" is resized, and I suspect this
for the wierdness. I've tryed everything with "invalidate()" and/or
"redraw()", but still no improvement.

If you have a similar problem please comment it.

Cheers,
valix
AddThis Social Bookmark Button