Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
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
Reply:     1     2     3     4     5  

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.