A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    6

    flash drop down menu issue

    Hello everyone. I am relatively new to flash, and using CS3 I have experienced an issue where the drop down menus tend to stick down when you move the mouse across the drop down menu buttons rapidly. The site is http://www.thecbguys.com/
    Can anyone take a gander and maybe let me know if you can take a look at my fla file?

    Thanks in advance

  2. #2
    Is the best Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    327
    I know nothing about AS3 I can easily remake it for you in AS2 if you like & fix everything.. Nice site btw.
    (That awkward moment when you help someone and they never reply again :P)

  3. #3
    _____________ fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    401
    Hi,

    AS3 has a MOUSE_LEAVE stage event, so try this on your first frame.

    PHP Code:
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.ui.Mouse;
    //
    stage.addEventListener(Event.MOUSE_LEAVEOffScreen);

    function 
    OffScreen(evt:Event):void
    {
        
    trace("Mouse is now OFF screen");
        
    // call function to hide all menus !!


  4. #4
    Junior Member
    Join Date
    Nov 2012
    Posts
    6
    Thanks. How would I get my fla test file over?

  5. #5
    _____________ fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    401
    Hi,

    I obtained your swf from your site, it's not AS3, it's actually published for AS1.
    I don't have time to do it, but if you attach your fla here, perhaps Alloy_Bacon can do it, he said he would!!

    Good luck

  6. #6
    _____________ fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    401
    Hi,

    Having looked, I think you should do this.

    remove the "on (rollOver){gotoAndStop("open");}" from each button that has or needs the drop menu.

    and put this on the outer shell of the button clip
    PHP Code:
    onClipEvent (enterFrame) {
        if (
    this.hitTest(_root._xmouse_root._ymousetrue))
        {
            
    this.gotoAndStop("open");
        }
        else
        {
            
    this.gotoAndStop("closed");
        }

    you will need to remove all the invisible buttons from each drop menu clip too.

    But its a lot of extra work to decompile (so I will not do it) if you don't post your fla.

  7. #7
    _____________ fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    401
    Hi,

    I said I wouldn't do it, but hell I did, the link will be up for a limited time, perhaps 1 week, then gone.

    The fla is CS 6 and published for AS1 as was the original file and not AS3 as suggested initially.

    CBG Menu : Fla and swf

    My Hobby

  8. #8
    Is the best Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    327
    I see your hobby improved abit nice fruitbeard
    (That awkward moment when you help someone and they never reply again :P)

  9. #9
    Junior Member
    Join Date
    Nov 2012
    Posts
    6
    Fruitbeard, thank you much! Sorry for my late response I was travelling saturday and sunday. I will download the files tonight. Again, much appreciated!!

  10. #10
    Junior Member
    Join Date
    Nov 2012
    Posts
    6
    Fruitbeard, could you please save a copy of the new fla for CS3?

  11. #11
    _____________ fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    401
    Hi,

    Sorry, I am unable to save back to previous Flash versions (without installing them etc etc), perhaps Alloy Bacon or Angelhdz would do it for you, I know they both seem to have various Flash versions flying around the place.

  12. #12
    Junior Member
    Join Date
    Nov 2012
    Posts
    6
    Alloy Bacon, can you please export Fruitbeard's fla into a format compatible with CS3?

  13. #13
    Junior Member
    Join Date
    Nov 2012
    Posts
    6
    All, I am all set now, thanks again for the assistance!

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