Triggering a menu by a Flash

Do you know a Flash button can trigger a menu? You just write ActionScript for the Flash button, and create a custom menu in DHTMLMenu.

The ActionScript is as follows:

on (rollOver)
{
    _root.getURL("javascript:showFloatMenuAt(\'menu\',200,130)", "_self");
}
on (release)
{
    _root.getURL("javascript:hideMenu(\'menu\')", "_self");
}


“menu” is the name of the custom menu, you must input the same name with the called custom menu.

The tutorial to add ActionScript for the Flash button is as follows:



The tutorial to insert a menu is as follows:



Simple enough for you, isn’t it? Create your menu by this way.

Back to top

Home

Sothink is a trademark of SourceTec Software Co., LTD.
Sothink Software: SWF Decompiler Flash to HTML5 Logo Maker Logo Design Software Mac Decompiler Video Converter

1234