Be a Supporter!

no right click menu

  • 468 Views
  • 5 Replies
New Topic Respond to this Topic
ohguck
ohguck
  • Member since: Apr. 22, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
no right click menu 2007-05-10 02:00:52 Reply

In some flashes when you right click no menu comes up with quality, play, loop etc. Can anyone tell me how to do this?


The mans a genius http://www.fat-pie.com

BBS Signature
ChilliDog
ChilliDog
  • Member since: Feb. 16, 2007
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to no right click menu 2007-05-10 02:05:20 Reply

AS: Right Click Menu

AS: Main on the forums comes in handy, I'd recommend bookmarking it.


AS: Main

Don't read this sentence.

jmtb02
jmtb02
  • Member since: Mar. 1, 2004
  • Offline.
Forum Stats
Member
Level 29
Game Developer
Response to no right click menu 2007-05-10 02:05:30 Reply

Click the first frame of your movie, and open the actions panel. Script:

Stage.showMenu = false;


Hi there!

BBS Signature
ohguck
ohguck
  • Member since: Apr. 22, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to no right click menu 2007-05-10 02:10:13 Reply

Yer i have bookmarked the as main but i coulndt be arsed looking for what i needed. Any way thanks :)


The mans a genius http://www.fat-pie.com

BBS Signature
KynetiK-27
KynetiK-27
  • Member since: Jul. 23, 2006
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to no right click menu 2007-05-10 05:55:37 Reply

yeah but it is possible to REMOVE the rightclick menu completely, so that no menu shows up at all, or assign a new function to rightclick?

eg left click makes player punch, rightclick makes player kick
or
left click shoots gun, rightclick uses jetpack etc etc

GustTheASGuy
GustTheASGuy
  • Member since: Nov. 2, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to no right click menu 2007-05-10 06:44:52 Reply

You have to build a custom container for the Player to handle the rightclick (and other things you might want). The most popular is Zinc, but it is expensive and inefficient compared to the open Screenweaver for Haxe.


BBS Signature