I an using the setProperty action for some MC's ..how do I out more than one in?? ie. movie1.movie2.movie3 do I use periods? or ; or , pls help :)
Printable View
I an using the setProperty action for some MC's ..how do I out more than one in?? ie. movie1.movie2.movie3 do I use periods? or ; or , pls help :)
using dots means setting a target path, flash will assume movie 3 is nested in movie 2 which is nested in movie 1
use a seperate line/action. (there must be a shortcut for this, maybe define a function and use that?)
well.. this is what I have now..
isnt there a way to make this just one long line? not a seperate action for each one??Code:setProperty ("alieng", _visible, "0");
setProperty ("alienb", _visible, "0");
setProperty ("alienr", _visible, "0");
setProperty ("alieno", _visible, "0");
setProperty ("aliendb", _visible, "0");
yeah there's gotta be, have you tried:
setProperty ("alieng", "alienb", "alienr", "alieno", "aliendb", _visible, "0");
??
I couldnt get that one to work?!?
Yall should start to use the new Flash 5 syntax. Not only is it easier to write but it makes things look less clumsy and more legible. And this will work:
Much easier eh?Code:alieng._visible = alienb._visible = alienr._visible = alieno._visible = aliendb._visible = 0;
Good luck.
I knew there would be a way, only had it for a week, what a remarkable upgrade (read quantum leap)
Cheers ahab :)