PDA

View Full Version : Actionscript 3


raisa
02-05-2008, 10:07 AM
does anyone know what code should be used to disable right click in flash cs3 using as3? thanks

adrianTNT
02-05-2008, 11:54 AM
To hide flash context menu in AS3 use this code:

stage.showDefaultContextMenu=false;

raisa
02-07-2008, 03:20 PM
thanks... and how to make a button which makes the gallery or something in fullscreen?

adrianTNT
02-07-2008, 05:36 PM
The default one is fscommand("fullscreen","true"); this will work in a swf opened directly but there are some new versions of full screen, one of them is only for FLV playback, I am not familiar with those because I never used them.