The problem is here:

Loop While (/web:_currentframe <= 15)
Go to Next Frame
End Loop

You see.. There is no delay there.. the loop tell /web to advance to the next frame, but /web will not actually advance until this entire action script has finnished. So the script then loops and sends /web to the next frame before /web has had a chance to advance at all.. hence the infinate loop.

In order to solve this.. I would suggest a slightly different approach..

Place a small looping MC in the Over state of your button (instead of using On Roll Over code). This looping MC should have two keyframes, like this:

Keyframe 1 Action:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>If (/web:_currentframe >= 15)
Begin Tell Target ("/web")
Go to Next Frame
End Tell Target
Else
Stop
End If[/code]

Keyframe 2 Action:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>Go to and Play (1)[/code]


You can then put a similar looping MC in the Up state of the button that will send /web frame by frame back to frame 1.


Does that make any sence?


------------------
Scott Richards
http://www.rjscs.com/scotty
[email protected]