A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: having trouble with a menu...

  1. #1
    -Iron Myk- mykrob's Avatar
    Join Date
    Dec 2001
    Location
    Jackson, TN
    Posts
    1,356

    having trouble with a menu...

    Hey,
    i'm trying to make a popup menu the Davy-Paycheck way (see previous posts..). I can get the popup action to work, but my trouble is that the buttons in the popup dont respond to rollOVers. They are supposed to hightlight on rollover.. The buttons are embedded in a moviceClip.
    FLA is attached..
    what am i doing wrong?
    just rollOVer the red button, and the 4-button submenu should appear...

    thanks,
    -myk
    Attached Files Attached Files

  2. #2
    Senior Member xaero182's Avatar
    Join Date
    Sep 2002
    Posts
    159
    hey,

    i had the same problem,

    i think u can't use button evernts (on rollover) on movieclips...

    i added the solved file

    i just let the mc disappear when the mouse value is larger or smaller than a certain number
    you can also use a button for this...

    greets,


    Xaero

    Attached Files Attached Files

  3. #3
    -Iron Myk- mykrob's Avatar
    Join Date
    Dec 2001
    Location
    Jackson, TN
    Posts
    1,356
    thanks. I'll fool with this a bit.

    BTW, you can use button events on a movieClip, but its has to be scripted from outside the movie..
    For example, in my broken one, i had..
    Code:
    _root.bMenu.onRollOut = function() {
        bMenu.gotoAndStop(1);
    }
    and it did, it made the clip go back to an Empty frame 1.. i wonder if that's what was killing the rollOVer effect on the subButtons?

    also, can you kinda explain what you did? I'm looking at it, and there inst much script difference aside from how you made the clip disappear after the mouse moved away from it. But it works..

    thanks,
    -myk

  4. #4
    Senior Member xaero182's Avatar
    Join Date
    Sep 2002
    Posts
    159
    hey,

    that was what i meant, the mouseevent was killing your rollover, i think...


    I just made shure, when the _xmouse was lower than a certain value, the menuthing disappears, when it larger than a certain X also, the same with Y

    you get actually a square and if your mouse goes out of the square, the thing disappears...

    you can use a button also to do a more complex form

    sorry if my explanation isn't very good, but i'm going to Italie soon and i haven't much time
    sry
    i'll be back 14 april i think

    greets,


    Xaero


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