Skip to main content
Participant
July 1, 2009
Question

action commands in adobe flash cs4

  • July 1, 2009
  • 2 replies
  • 1066 views

Hi,

flash programming is totally new for me, and I'm having some difficulties here:

I'm trying to create a flash banner, which loops over three images, (1,2 and 3) and when you click on one of them, it goes to image 4.

I created four frames, each containing an image. Some sort of movie now runs and it loops over four images.

In the action of the third frame I say (gotoandplay(1) ). When I do this, it doesn't run at all. When I remove this command, it seems to run and loop again.

How can I solve this?

Thanks,

Jan

This topic has been closed for replies.

2 replies

p0w0rwz0Author
Participant
July 1, 2009

Strange thing,

at the moment i put somewhere action commands at all, (even if outcommented)

this has as a result that the movie will not run over the timeline, and just keeps stuck at frame 1 :S

should be something really basics,.

Thanks

Ned Murphy
Legend
July 1, 2009

You probably need to explain a little more about what you meant when you said "Some sort of movie now runs and it loops over four images."

If the images occupy 4 frames, then to simply go from one frame to the next would result in a blur of images flashing.  So you probably have some other things working in the file that you have not identified yet.  What is used to keep the timeline from advancing from one frame to the next at the frame rate of the file?

Ned Murphy
Legend
July 1, 2009

In case you actually typed it as you showed it:  gotoandplay(1) should be gotoAndPlay(1);

p0w0rwz0Author
Participant
July 1, 2009

I'm sorry for the confussion, but I already used the right capitals