ckennerdale
Programmer
I am jiust coming back to a bit of flash after 8 moths of director, so I am a little rusty, but I am either having a very strange prob or i am doing somwthing really silly
I am trying to refernence a movie clip in order to control it.
my movie is called mymovie and it is in the first layer.
I should be able to refernce the _x property from a button in layer 5 via
_root._mymovie._x = 400
but no joy if I do _x =400 the burtoons x moves as you would expect- so I know the button works.
Looking at the debugger I found that I could refence mymovie via
_level0.instance3._x=400;
This is where it starts to get strange as mymovie is in layer 1. the movie in layer 2 can be refenced as instance2 and layer 3 as instance 1. Whoch is the reverse
Does this make sense?
cheers Caspar Kennerdale
Senior Media Developer
I am trying to refernence a movie clip in order to control it.
my movie is called mymovie and it is in the first layer.
I should be able to refernce the _x property from a button in layer 5 via
_root._mymovie._x = 400
but no joy if I do _x =400 the burtoons x moves as you would expect- so I know the button works.
Looking at the debugger I found that I could refence mymovie via
_level0.instance3._x=400;
This is where it starts to get strange as mymovie is in layer 1. the movie in layer 2 can be refenced as instance2 and layer 3 as instance 1. Whoch is the reverse
Does this make sense?
cheers Caspar Kennerdale
Senior Media Developer