PDA

View Full Version : scrollbar and movie clips


debijoy
10-20-2003, 11:03 PM
just getting to understand how the components work in mx.

been trying to scroll a mc but the scrollbar component seems not to recognise my mc instance_name

has anyone got any suggestion on where i can find a tut or hints?

thanks in advance for any help

debi

hangalot
10-22-2003, 01:49 AM
taken as is from chatty-fig:
first the question :

I want to know how i can set dynamic MovieClips as the content of the
ScollPane. There is only a contentPath and no setScrollContent-method.
Can i only set clips from my libary (linkage) as a scroll-content?

and now the reply:

What you do is attach a blank movie clip from the library using the
contactPath function. You then assign a variable for the content inside the
pane lke this mcLoaded = scrollpane.content.

Then you can attach whatever you like inside it by just using something
mcLoaded.attachmovie etc. Check the help files in MX2004 for more info on
these commands.


--- hope it helps ;)