flash link problemo
- Started
- Last post
- 6 Responses
- jimzyk
Ok. This is stupid simple but it is really bugging me. Im just trying to add a simple url link to a piece of text within a flash file.
I've added the url in the actions panel, but the link doesn't seem to be working for me when i upload the file to the site.
Any ideas why? I've searched lots of forums but cant see what I'm doing wrong.. any ideas qbn flash gurus?
- johnnnnyh0
is the link text set to display/render as html?
the link may be working but there may not be any styles added for example colour or underline - try clicking it anyway to check if it works.- not sure about that johnnny. how do i check if it's set to display render html? tried clicking, not working.jimzyk
- Autokern0
are you using getURL (as1 and 2) or navigateToUrl (as3) ?
and use www.pastebin.com to show your code.
- jimzyk0
yeah im just using getURL (as2) autokern
- Autokern0
are you using the full path of the site?
like "http://www.whatever.com" encolsed in quotes.
- jimzyk0
yeah its like so on the actions palette
getURL("http://www.whatever…...im sure its something stupid im doing - bit of a flash noob here :/
- Mishga0
Do this:
Name your button with this name instance:
mylink_btnput this code on the timeline:
mylink_btn.onRelease = function(){
getURL("http://www.yeahrigh…... "_blank");
}Note: test it online, not locally!
Cheers!