Pro Flash Beat
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 Menu Scripting - Right click

Go down 
AuthorMessage
Revan
Admin
Revan


Posts : 22
Join date : 2008-06-18
Age : 30
Location : In your head messing with your thoughts!

Menu Scripting - Right click Empty
PostSubject: Menu Scripting - Right click   Menu Scripting - Right click Icon_minitimeTue Aug 05, 2008 10:31 am

hey all, Very Happy

I'm gonna tell you something thats really simple. Menu Scripting!

First copy and paste all of this scripting (below) into your first frame. by opening the Actionscript panel and pressing ctrl v or use the mouse to copy and paste.

Second where it says: var linkURL="https://pro-flash-beat.darkbb.com/"; Put your own site or a site you wish to use.

Third where it says: var linkText="Created by Pro Flash Beat"; Put the text that you wish to see when the menu opens.

Code:
var linkURL="http://pro-flash-beat.darkbb.com/";
var linkText="Created by Pro Flash Beat";
var myMenu = new ContextMenu();
function goToThisURL(){
  getURL(linkURL, "_blank");
}
var copyright = new ContextMenuItem(linkText, goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;

It's as simple as that... press ctrl and enter. then right click and find out what ya did!

YAY!!! Very Happy:D:D
Back to top Go down
https://pro-flash-beat.darkbb.com/
 
Menu Scripting - Right click
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Pro Flash Beat :: Animation :: Tutorials :: Flash-
Jump to: