all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

Can't get any actionscript to run


Can't get any actionscript to run pwilkinson NO[at]SPAM mail.com
2/19/2004 11:17:15 PM
flash actionscript: I've just started working through "Flash MX 2004 Game Programming" but
I can't get the first examples to work. Here's what I'm doing:

Create a symbol and draw a ball on it
Drag the symbol onto the stage and name the instance "ball1"
Add frame 10
Add keyframe at frame 5
Add actionscript to frame 1:
ball1._xscale = 100;
trace("Hello world");
Add actionscript to frame 5:
ball1._xscale = 200
Hit return - verify that the head goes to from frame 1 to frame 10

Everything seems fine, but the size of the ball doesn't change and the
output window is empty. Tweens and everything else I've tried seem to
work fine.

Unfortunately the source doesn't seem to be available for download
anywhere and isn't on the CD. Arg.

Thanks in advance for any help

Re: Can't get any actionscript to run marton.czebe NO[at]SPAM kirowski.com
2/20/2004 6:33:34 AM
Paul,

[quoted text, click to view]

Hit CTRL-RETURN to test your movie. also make sure, your symbol is a
MovieClip on the Properties tab.

AddThis Social Bookmark Button