Groups | Blog | Home
all groups > flash actionscript > may 2005 >

flash actionscript : Action Script Error


tbond75
5/6/2005 12:00:00 AM
First, im a newbie at this.

Now for the question. I have put a stop actionscript to my flash file.movie,
and have check it for errors,. well, when i test the movie, it throws up two
errors both fromt eh stop error. the error reads:

**Error** Scene = Scene1 , Layer "the layer name" , Frame 1660 : line1

Statement must appear within on/onclipevent handler
stop ();


I have dont everything the help has told me to do, im at a loss with this.
kglad
5/6/2005 12:00:00 AM
Blade al'Slayer
5/7/2005 12:00:00 AM
[quoted text, click to view]
stop() command can appear *ONLY* in frame actions!

--
kglad
5/7/2005 12:00:00 AM
Blade al'Slayer
5/8/2005 12:00:00 AM
[quoted text, click to view]
Yep - I meant that it is only intended for frame action...:)

--
Jeckyl
5/8/2005 12:00:00 AM
[quoted text, click to view]

eh? that makes no sense.

Jeckyl

Patrick Bay
5/9/2005 12:00:00 AM
Hi,

This is a classic errr where you put code on a movie clip instead of a
timeline. You probably had it selected and thought you were writing to the
timeline. Select the clip again and open up your actions window. You'll find the
code there.

Regards,
Patrick

[quoted text, click to view]
AddThis Social Bookmark Button