Should this:

_root.tempRegionCopy.currentShortName

not be this:

_root.currentShortName

or visa versa?

Ade

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of dls
Sent: 27 January 2006 09:14
To: Flash Coders
Subject: [Flashcoders] using variable in new color target


Trying to get the following to work, sure my logic is a mess, but I 
would appreciate any help.
Have an early deadline today...


_root.listItem1.onRollOver = function(){

    _root.currentShortName = nameOfMovieClip;

    myColor = new Color (_root.tempRegionCopy.currentShortName);

    myColor.setRGB(0xff9966);

}


-dan

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to