Revan Admin
Posts : 22 Join date : 2008-06-18 Age : 30 Location : In your head messing with your thoughts!
| Subject: Menu Scripting - Right click Tue Aug 05, 2008 10:31 am | |
| hey all, 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!!! :D:D | |
|