Groups | Blog | Home
all groups > flash actionscript > july 2007 >

flash actionscript : Passing variables with loadMovie


DMennenoh **AdobeCommunityExpert**
7/26/2007 5:49:31 PM
loadMovie is puny and weak - use the MovieClipLoader class. Then you can use
the onLoadInit method - when it fires you have a reference to the loaded
target and can set a variable within it, call a function within it, etc...
Look in the Help for MovieClipLoader - and specifically the onLoadInit
method

--
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

RJW
7/26/2007 10:24:01 PM
I'm new to ActionScripting. I want to pass the value of a variable from one swf
file to another. I have a tutorial book that states I can do this with the
loadMovie action when I load the second movie; however, it doesn't give me any
guidance in how to use loadMovie to pass the variable value. Any suggestions
would be greatly appreciated. Ray


RJW
7/27/2007 12:59:37 AM
AddThis Social Bookmark Button