Groups | Blog | Home
all groups > flash actionscript > january 2004 >

flash actionscript : fscommand("showmenu",false)



Vevmesteren
1/21/2004 7:59:41 PM
When opening a SWF file from the browser, even though I invoke the fscommand above in the very first keyframe, the right-click menu still shows in it's full length. It works when opening it with the local Flash Player, but the browser player seems to by-pass that one somehow....Any way around that?
I'd like the right-click menu to be short'n'smart like it's supposed to be also when opening the SWF via a browser

V

abeall
1/21/2004 8:08:41 PM
fscommand is for stand alone only, doesnt work for web browser, as you've found out. There are two tags to use fo rthe web browser, 1 for IE and the other netscape. Make a test project, and publish it with publish settings set to not show menu, then look at the tags it makes. That's what you want.

the tags are:
<param name="menu" value="false">
menu="false"

HTH

-beally-
-------------------------
&quot;Senior Member&quot; - experienced at messing things up
Brajeshwar
1/22/2004 1:18:35 AM
use this instead for all purpose menu hiding
Stage.showMenu = "false";

Regards
Brajeshwar
http://brajeshwar.com
http://oinam.com
Team Macromedia Volunteer for Flash
urami_
1/22/2004 7:08:24 AM

[quoted text, click to view]

The fs command apply only to Projector files , not web based SWF.
File - Publish Setting - HTML - uncheck the Display Menu box.
It has to be html parameter.



Regards


urami_*

<xmas>
http://flashfugitive.com/
AddThis Social Bookmark Button