A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Tell Target Problems

  1. #1
    I am using tell target to start a MC..the basic code:

    on (rollOver) {
    tellTarget ("contactspray") {
    play ();
    }
    }

    My MC has a stop action in the first and last frames. The problem I'm runing into is that when I rollover my button, the MC plays...like it should. If I rollover it again, nothing happens. Rolling over it a third time will play the MC.

    Its playing the MC every second time I rollover the button...and answers?

    Thanks


  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    1,180
    Hi..
    It's because you've got a stop action in your first and last frames.
    First rollover tells your movie to play to the last frame.
    Second rollover tells your movie to play until it encounters the next stop action, which is actually the next frame, so nothing much happens.
    Third rollover tells it to play again from frame 1.


    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center