dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Putting a button (RollOut) over buttons

  1. #1
    Member
    Join Date
    Oct 2000
    Posts
    48

    Question Putting a button (RollOut) over buttons

    I have a simple graphic in Scene One which when you mouse over it, it changes to Scene Two where there are several round buttons that people can navigate with.

    What I want is that when the mouse is dragged away from the stage where the buttons are in Scene Two, you are taken back to Scene one. I can't seem to work this out. I only to want to go back to Scene One when the mouse is completely out of the SWF.

    I made another button and made a square hit point that covers the stage and put that on the level above the other round button levels but this then doesn't allow you to activate and click the buttons underneath the square button.

    I just want a rollOut when the mouse comes completely off the SWF back to Scene One. Am I missing something?

    Cheers

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    Unless you're using as3 there's no perfect method to know when a user has moused away from the swf... even if you got your big rectangular button to work on top of your other buttons it's easy to break it. If you pull your mouse away fast the rollOut function won't catch it in time. In my experience it's a very messy and unpredictable thing to try and accomplish. (as3 has a function to do this, but I've yet to start as3)
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Member
    Join Date
    Oct 2000
    Posts
    48
    Rats , I'll look into AS3, thanks!

Tags for this Thread

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