I am trying to create buttons hidden off to the side of the screen but when you mouseover them they slide out. On mouse off they slide back to the side. I do not want to alter the rest of the page, so I cannot use go to frame.
You will need to use a movieClip, with some intelligent scripting. If you're not really big into actionscript, you may want to think about just having the buttons static on the page (less hassle), but if you're happy enough to "appropriate" some actionscript, I can send you a sample FLA with the type of sliding menu you're talking about.
rgstewart,
I used a movie clip and it works where the button slides out on a mouseover. But it dissappears when you mouseout. I assume the slide back requires actionscripting. I am somewhat familiar with javascripting and fluent with coldfusion and vb. Is the actionscripting very complex?
Not really, but you need to script the movieClip, not the button. It relies on the "onClipEvent(enterFrame)" handler, and basically works by performing a hitTest() on the movieClip once per frame to see if the pointer is over the clip. If it is, it plays one frame forward (provided that it hasn't reached the last frame of the clip) - if not, it plays one frame backward (provided it hasn't reached the first frame of the clip).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.