Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : scrollPane and GET?


lixiviate
6/1/2004 10:22:56 PM
I can't find anything in the documentation about this, so I figured I'd try
here. I need to pass a value to the movie I'm loading into the scrollPane
component. Is there any way of doing this? I've tried simply setting the
contentPath to "mymovie.swf?passedValueTitle=passedValue" but Flash doesn't
like it... I get an AS error that the document cannot be found. Any ideas
would be greatly appreciated.
rlc5611
6/2/2004 3:04:53 AM
What is in the scrollpane is a movie clip and can be accessed. For the sake of
example, say your scrollpane has an instance name of "mypane". The clip that is
in this scrollpane will have an instance name of

mypane.spContentHolder - for MX 2004 scrollpane

or

mypane.tmp_mc - for MX scrollpane

a variable ("myvar") inside the movie (MX 2004) would be
mypane.spContentHolder.myvar
AddThis Social Bookmark Button