PDA

View Full Version : Restrict Back actions


dunger99us
09-27-2007, 09:35 AM
hi,
I have several scenes and many frames in my fla file.
In th efirst frame user enters name and then proceeds to the next scene or frame, . If we use RIGHT click FLash allows us to go BACK. How to restrict that?

Mekelan
09-27-2007, 10:26 AM
Click file -> Publish settings -> Select the HTML tab -> Deselect "Display menu".

At least, I think that's what you mean. Of course, that requires that you are exporting for a HTML page.

LittleFenris
09-27-2007, 03:28 PM
If you read the manual it talks about controlling the ContextMenu. Search for that keyword in the Flash help file and you'll have your answers. You can control the right-click menu through Actionscript. You can even add your own stuff into the menu.

dunger99us
09-27-2007, 03:52 PM
found the solution, but a partial one,

var myMenu:ContextMenu = new ContextMenu();
myMenu.hideBuiltInItems();

_root.menu = myMenu;


now i want to disable entire right click...how?

LittleFenris
09-27-2007, 04:00 PM
Unfortunately, from what I've seen you can't entirely get rid of the right-click menu in the Flash player, just disable most of it's functionality.