PDA

View Full Version : Help


hippyhater
11-02-2007, 08:14 PM
I'm haveing trouble with flash, i recently created a rotating banner in flash for a new website I've been working on, but i dont know how to the piture to a URL when i go into the actionscript to do it it says theres an error, when i fix it another one just comes up, I'm relatively new to flash so if anyone can help it would be appreciated

tarafenton
11-02-2007, 08:17 PM
post your code

hippyhater
11-02-2007, 08:25 PM
on (release) {
getURL ("http://www.partyhater.com.com","_blank");
}

hippyhater
11-02-2007, 08:39 PM
can u help or not, and the page on the site thats up right now is just a page i put randomly so a frend could see there bio page

doctorbron
11-02-2007, 10:29 PM
Name your movie clip (whatever you want people to click on) - if you click on it you can name it by filling in the blank field in the properties bar. For an example I'll call it "your_mc".

add an event listener by putting this code in the actions frame:

your_mc.addEventListener(MouseEvent.MOUSE_DOWN, downFunction);

then add the function of what you want it to do when it's clicked:
function downFunction(event:MouseEvent) :void
{
var request:URLRequest = new URLRequest("http://www.partyhater.com");
navigateToURL(request, "_blank");
}

hippyhater
11-03-2007, 03:35 AM
ur really helping but im still a bit confused im sorry im kinda retarded wen it comes to this, if u could email me at hippyhater6@msn.com or IM on aol at Chunkylover0422 please ur help is apreciated and im sorry im retarded