More Flash

V-PV-P State College, PA Member
edited July 2006 in Internet & Media
Is there anyway to, say, put a rectangle (movie clip) over a menu (bunch of buttons) and make it so that when the cover (rectangle) is over them, they're unclickable, but when the cover comes off (by pressing a seprate button, of course) they're clickable again. I attached a prototype. Still needs some work, but need this part fixed first.

Comments

  • V-PV-P State College, PA Member
    edited July 2006
    ANy help guys? Please? This is for my web design project. Thanks
  • RWBRWB Icrontian
    edited July 2006
    I can't seem to get the example towork, and also could you describe it a bit better? I am having a hard time understanding why you would have a cover over a button.
  • V-PV-P State College, PA Member
    edited July 2006
    RWB wrote:
    I can't seem to get the example towork, and also could you describe it a bit better? I am having a hard time understanding why you would have a cover over a button.
    Well sort of like a drop down menu that you can always see, but can't click unless the cover is opened which will be done by another action or event which I'm not worried about now. Um, are you opening the .fla, .swf, or .html?
  • RWBRWB Icrontian
    edited July 2006
    html... didn't really try to much actually as I am also working rightnow so to speak :P
  • RWBRWB Icrontian
    edited July 2006
    BTW, my flashis a bit off, but I believe you can set a script for only certain frames, like create a layer and make the script for the frames where teh cover is open.
  • V-PV-P State College, PA Member
    edited July 2006
    RWB wrote:
    BTW, my flashis a bit off, but I believe you can set a script for only certain frames, like create a layer and make the script for the frames where teh cover is open.
    I don't think you opened it. Its a menu with a cover that is transparent. You can see through it a little bit, but I don't want you to be able to click unless its open... Another way I could do it is to automatically slide the cover up using motion tweening when your mouse is within certain proximity, but this is sort of too complicated for a beginner like me to write. Thanks R.
  • V-PV-P State College, PA Member
    edited July 2006
    Any ideas?
  • Buddha16Buddha16 Austin, Tx Member
    edited July 2006
    I couldn't open the fla either, but that’s just because you probably using a newer version of flash than me. But can't you make the buttons behind the transparent cover just graphics instead of buttons while behind there, and once the cover is off, make them buttons.
  • V-PV-P State College, PA Member
    edited July 2006
    Buddha16 wrote:
    I couldn't open the fla either, but that’s just because you probably using a newer version of flash than me. But can't you make the buttons behind the transparent cover just graphics instead of buttons while behind there, and once the cover is off, make them buttons.
    Yea, that's a good idea. But is there a way to convert them to graphics in those frames and buttons in the other frames, or do I have to start from scratch and tween everything again? Also, is there a way I can make it so that when your mouse comes in, say, 200 pixels of the menu, the movie automatically jumps to the frame that slides the cover off. I'm not that great with flash, and I know you'd need to use gotoAndPlay(*); here, but I'm not sure of the rest of the ActionScript. And I'm using Flash 8 so that's probably the reason you can't open it.
  • Buddha16Buddha16 Austin, Tx Member
    edited July 2006
    If its just a static graphic you shouldn't need to tween it.
    SCAR wrote:
    is there a way I can make it so that when your mouse comes in, say, 200 pixels of the menu, the movie automatically jumps to the frame that slides the cover off.

    You could make an invisible button over the cover and use the "on (rollOver)" then tell it what you want it to do.

    Good Luck!! :rockon:
  • V-PV-P State College, PA Member
    edited July 2006
    Buddha16 wrote:
    If its just a static graphic you shouldn't need to tween it.



    You could make an invisible button over the cover and use the "on (rollOver)" then tell it what you want it to do.

    Good Luck!! :rockon:
    :thumbsup: I shall give that a try!
  • RWBRWB Icrontian
    edited July 2006
    Open the SWF in Explorer... I managed to open it, but naturally I don't know jack so couldn't really post much :P

    I really should get back into it;D
Sign In or Register to comment.