all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

passing a movie clip variable to root



Re: passing a movie clip variable to root www.flashforabuck.com
2/9/2004 8:15:54 PM
flash actionscript: In your treemc1 you need to say.

_root.carm1="Flags-USA"

That should do it.

Visit my site www.flashforabuck.com or email at admin@flashforabuck.com

-Max
www.flashforabuck.com

[quoted text, click to view]
passing a movie clip variable to root yaco_TO
2/9/2004 10:02:28 PM
Hello all
I have multiple duplicate movie clips that declare/void variables, but i cant
get those variables brought to _roo

For instance
Variable _level0.treemc1.charm1 = "Flags-USA

The treemc.1 is a duplicate clip, the generated number could be anything from
1 to infinit

What is the way to pass this movie variable to root level, so i get
Variable _level0.charm1 = "Flags-USA

so in other word

Variable _level0.charm1 = Variable _level0.treemc(whatever the number).charm

any help greatly appreciated

adria
Re: passing a movie clip variable to root yaco_TO
2/11/2004 2:55:11 PM
thanks Ma

i did this, however how do i reset, empty the _root.charm1 if the duplicate
movie is removed(its a drag&drop fetaure in which the user custom builds a
bracelet out of dozens items(charms

The variable remains declared stil on _root leve
thx!

adria
AddThis Social Bookmark Button