Old 24-12-2007, 05:00   #1 (permalink)
Accurate
Accurate
 
Accurate's Avatar
 
Join Date: Feb 2003
Location: UK
Posts: 1,146
Link in Flash

Can anyone tell me what the code is to embed a link in flash that opens in a new window? I have the code below that links, but doesn't open into a new window? It's something _blank but not exactly sure.

on(release) {
getURL('http://www.url.co.uk');
}



Thanks.
__________________
decent web hosting - www.balue.com
  Reply With Quote
Old 24-12-2007, 06:44   #2 (permalink)
menace
Registered User
 
Join Date: Sep 2005
Location: Dublin
Posts: 60
First of all, you're better off to give the button an instance name via the Properties panel and place the click event code on the timeline so that you can keep your code together. Then do something like this:

Code:
buttonInstanceName.onRelease=function() { getURL("http://www.url.co.uk","_blank"); };
  Reply With Quote
Old 24-12-2007, 07:35   #3 (permalink)
Accurate
Accurate
 
Accurate's Avatar
 
Join Date: Feb 2003
Location: UK
Posts: 1,146
It's for a flash banner so needs to be like above. I think I can use part of what you've suggested. Thanks
__________________
decent web hosting - www.balue.com
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8