View Single Post
Old 08-13-2005, 10:16 AM  
MichaelP
Registered User
 
Industry Role:
Join Date: Aug 2003
Location: QWEBEC Corporate Office
Posts: 7,124
I need help with Flash MX Scripting

Hello,

Here is what I try to do

PARENT movie loads a child movie

I want to set a variable in PARENT ( var MyCat = "AMATEUR" ; )

I want CHILD to "see" the variable setted in PARENT

in PARENT

var MyCat = "AMATEUR" ;

in CHILD

loadVariableNum(+MyCat+"/datas.txt", 1) ;
loadMovie(+MyCat+"/MUS.swf", "MUS") ;
blah blah

When I put the "Var MyCat =" in the CHILD it works perfectly, but I am obligated to make a new CHIL in each folder


If I try to put the var MyCat in the PARENT, CHILD doesn't read the MyCat value...


I hope my question is not too confusing
Thanks forward
MichaelP is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote