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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to address an mc in a different swf?

Status
Not open for further replies.

aribert888

Programmer
Jan 12, 2003
11
DE
Starting my mother.swf the movieclip mc_picture is loaded as well. Also a special button.swf is loaded into a level.

Pushing a button in this button.swf loads grandchild.swf. And when reaching frame 10 of this grandchild.swf I want the MC, namely the mc_picture to go to alpha=50.

I placed the actionscript on the keyframe in the timeline.

_root.mc_picture._alpha=10;

I also used the "new name" 'mcp' for the mc_picture,
(as I had loaded it with:

_root.attachMovie('mc_picture','mcp',3);
_root.he1._x=400.3
_root.he1._y=275.1

What do I do to address my mc_picture so that it will obey?
Thanks for helping,
Aribert
 
depend if the file is loading into an emtpy clip or a level

if clip

_root.clipname.mc_picture._alpha=10;

or for level 2 say

_level2.mc_picture._alpha=10;

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top