How to make looping

Hi,

Please allow me to ask a very simple looping question as I only found how to stop looping question instead of how to make it loop.

Attached is my .fla file. I don’t understand why it can loop at .swf but just can’t loop at .html when I publish it?

My 2nd question is, is it very hard to learn Action Script in Flash? Or for those at least have progarmming background can understand the coding?

Please advise. TQ very much!

you’re over complicating it, just don’t put a stop(); action on the last frame, and it will automatically loop.

Hi,

it takes time to learn Actionscipt, once u get the basics u can improve very fast. My coding has come on a long way over the last 6 months. I wouldn’t say I was a great coder but can I do just about anything for most flash sites & rarely come to the boards anymore… games and other stuff is a different matter though!

I am sure if u have difficulty u can find the answer from someone on these boards!

Hi, I think u are making a very simple animation far to complicated. It best to learn how to make simple tweens its much easier that way.

To make your move loop put the action “gotoAndPlay(2);” in your final frame.

take a look at my uploaded sample of how to tween - look in flash help under tweening and it will help u a lot.

Thank you Mac and Rag.

Mac,

I don’t edit any action script like stop() at the last frame as I’m still have no idea how to play with it. :sen:

Rag,

I agree with both of you. I over complicated it as I do it myself without referring to any source.

No matter what kind of animation must I create two layer? 1 for the object & the other one for the motion? If I have two objects means two motions I must create in order them to move in different way right?

Anyone can provide any simple animation Flash Tutorial?

Thank you very much for your time.:b:

Oh ya, forgot to ask why must put “gotoAndPlay(2);” instead of “gotoAndPlay(1);” ?

Hmn…I found that’s no difference & I did it. Thanks a lot!