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 a
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
It's not that difficult if you do it right.
First, I'm not a fan of timeline code except for defining sections, such as
stop on a keyframe, and minor control commands like gotoAndStop and
gotoAndPlay. The rest I like to do in an external ActionScript file.
I haven't used the Flash IDE in 3-4 yea
3 matches
Mail list logo