  | |  | Running methods on a var that 's a MC target | Running methods on a var that 's a MC target 2004-02-26 - By Mendelsohn, Michael
Back Hi list...
I'm not able to figure out how to execute methods on a variable that should be a _target of a movie clip. I have a function that takes a MC._target as a parameter, and is supposed to do a setTransform on it, but it's not working. I've tried to pass the function this._target, a sort of hard coded theWorld.theNestedClipName, I've put it in quotes, all to no avail. What am I doing wrong here?
Function test(thePath){ var testPath = eval(thePath); theNewColor = {ra:100, ga:100, ba:100, rb:0, gb:0, bb:0}; testPath.setTransform (theNewColor); }
Thanks, Michael M.
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105342 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |