A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Movie Clip

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    1

    Question

    I'm very new to FLASH and perhaps in over my head, but I have several buttons and each button is instructed, on mouse rollover, to show it's own movie clip (ie: set property, visiblity=1) and on mouse rollout it is to disappear (visibility=0)

    Problem is, it only plays once and wont reset... and if I embed a movie clip within a movie clip in an attempt to solve this, I get the other extreme: the clip loops endlessly and I can't get it to stop.

    How do I get these movie clips to play on rollover more than once without endless looping?

    Thanks

    Gary.



  2. #2

    Lightbulb

    How about settin a "Stop" action at the beging and at the end of the movie you want to play "onmousemover", and then set script like that (look below) to the button?

    On (Roll Over)
    Set Property ("/1", Visibility) = "1"
    Begin Tell Target ("/1")
    Play
    End Tell Target
    End On
    On (Roll Out)
    Set Property ("/1", Visibility) = "0"
    Begin Tell Target ("/1")
    Go to and Stop (1)
    End Tell Target
    End On

    Your instance should be named "1" for this to work. Just an idea...

    Boby

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