IPB

Welcome Guest ( Log In | Register )


> Flash is pissing me off, AS3 HELP
berkshire0
post Nov 23 2008, 11:30 PM
Post #1





Group: Members
Posts: 40
Joined: 17-October 06
Member No.: 344



So WTF, Flash totally went to crap. I created an elaborate Flash video only to find out that you cannot link buttons like you could in older versions.

So here is where I am at: I've created buttons and I'm on the "Hit" part of the button and I'm trying to put an action to it. I want to link them to other websites but I'm not having any luck.

Here is the script I found online to use now:

myButton.addEventListener(MouseEvent.CLICK, onMouseClick);

function onMouseClick(e:MouseEvent):void
{
var request:URLRequest = new URLRequest(”http://www.myspace.com/lostjulymusic”);
navigateToURL(request,”_blank”);
}

When I put that in though, it disregards other actions that are in there. Why did they make it so complex? EFFING A
Go to the top of the page
 
+Quote Post

Posts in this topic
- berkshire0   Flash is pissing me off   Nov 23 2008, 11:30 PM
- - woody   CODE[b]myButton.buttonMode = true;[/b...   Dec 1 2008, 03:58 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 24th September 2026 - 03:06 PM
Skin made by: skeedio.com