Welcome to WebmasterWorld Guest from 54.144.48.103

Forum Moderators: open

Message Too Old, No Replies

Disabling right click option in flash

need help

     
1:09 pm on Aug 12, 2004 (gmt 0)

10+ Year Member



Hi, I'm wrote a simple game with flash. There are 3 pictures, 2 pictures are identical and one different. The program will shift the position of the pictures after one second.

The player is suppose to click on the odd picture out as many times before the picture switches. I notice one problem after I wrote the game, the player can just rightclick and uncheck the 'play' option and they can click away as many times as they like.

How do I disable the rightclick option on flash?

1:19 pm on Aug 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try adding menu="false" to the embedded swf attribute line, ex:

<EMBED src=yourflash.swf menu="false">

2:34 pm on Aug 12, 2004 (gmt 0)

10+ Year Member



<embed src="myflash.swf" menu="false" quality="high" bgcolor="#ffcc66" width="524" height="374" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash">

It doesn't work.

2:50 pm on Aug 12, 2004 (gmt 0)

10+ Year Member



ok. i did it. thks.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month