Basic onEnterFrame question


i'm creating project, , testing out how things before put them in real project.

attached code click btn01, attaches circlecopy stage, circlecopy automatically supposed move left right indefinitely.

the circlecopy attaches, doesn't move. code simple can - missing?

the problem order of execution.

when flash enters frame code say, "okay know when btn01 clicked. oh, , should attach onenterframe handler to ballcopy."

the problem @ time enter frame there no such thing ballcopy. second half ignored flash.

so need wait until ballcopy attached before try , assign things it. easiest way put declaration of onenterframe inside of onrelease handler.


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62