ugh.... never mind... sorry....

-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Ted Lehr
Sent: Fri 8/15/2014 2:23 PM
To: Flash Coders List
Subject: [Flashcoders] Giving dynamic object a custom variable
 
How can I create a variable in a dynamic object?

For example, if I had a movie clip in the library, I could open it up and on 
the first frame I could give it:

var velocityX:Number = Math.random()*10-10;

I could then refer to mc.velocityX;

How can I create that variable on an object create in actionscript?

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to