Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set property within movie clip

Status
Not open for further replies.

Thoe99

Programmer
May 11, 2001
119
US
I have MovieClipB within MovieClipA. I need to set a property of MovieClipB from within MovieClipA, but with my coding, it won't work and the debugger says

Target not found: Target="/MovieClipB" Base=_level0.label"

I have named MovieClipB, put it inside MovieClipA, and used the following syntax to call it out when needed:

setProperty ("movieclipa", _x, "-42");

I don't know how confusing I sound, but if someone can help me out with this, I would greatly appreciate it.
 
Try this to access the clip...

_root.clipA.clipB._x=-42;

...which leads you through to the "buried" clip one level of the movie at a time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top