Yes, this was just recently an issue I ran up against. I could not figure out why I could not get a trace on an event. I finally figured it out. Good post Steve, I am sure it will save someone A LOT of time. Victor

"The issue you might have is that you cannot assign functions and certain
properties to a movieclip you are going to loadMovie on because as soon
as the movie is loaded, it overwrites all the methods and properties you
assigned to it except for certain things like _x/_y/_alpha, etc."

----- Original Message ----- From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Thursday, October 19, 2006 2:45 PM
Subject: RE: [Flashcoders] incrementing a target?


var mc = this["btn" + i];

mc is your target.

mc.onRollOver = function() {};

The issue you might have is that you cannot assign functions and certain
properties to a movieclip you are going to loadMovie on because as soon
as the movie is loaded, it overwrites all the methods and properties you
assigned to it except for certain things like _x/_y/_alpha, etc.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to