Copy link to clipboard
Copied
Hello,
I cannot seem to add clickable URL in my Flash advertising banner. It's been created in old Flash Player 9 and ActionScript 1.0 and it's having so many compatibility issues throughout the project. I've seen many videos but I am still doing something wrong, is there any direction anyone can point to where all the latest flash tutorials are to learn the basics. I just read the "Creating First FLA File" - It's been about a decade since I've used Flash and I'm not worried about that, file is created and everything - typically I just want to edit little things such as URL and text and pictures and maybe in future a little more animation but as of now I just need this URL thing sorted out. I see that the getURL feature is no longer available and navigateToURL is the one working but still I'm having some issues. Let me know if you guys can point me in any direction to learn basics of it where I can figure it out on my own or if anyone can help me. Willing to share the FLA file if they want to look into it or anything at all.
Thank you.
The first thing you need to do is to post in the correct forum. THis is the Actionscript 3 forum. Since you say your file is an AS1 file, you should be posting in that forum. Here's a link for it:
http://forums.adobe.com/community/flash/flash_actionscript?view=discussions
When you do post in that forum, show the code (getURL) that you are using.
If you are intending to change this file to an AS3 design, then continue with this posting and make sure you change the Publish Settings to agree. Foll
...Copy link to clipboard
Copied
The first thing you need to do is to post in the correct forum. THis is the Actionscript 3 forum. Since you say your file is an AS1 file, you should be posting in that forum. Here's a link for it:
http://forums.adobe.com/community/flash/flash_actionscript?view=discussions
When you do post in that forum, show the code (getURL) that you are using.
If you are intending to change this file to an AS3 design, then continue with this posting and make sure you change the Publish Settings to agree. Follow up by posting the AS3 code (navigateToURL) that is not working for you.
Copy link to clipboard
Copied
Ned,
Thank you for your response. Well, indeed my intend is to change it to AS3 if that will be fine because either way I just want it to be working and I'd prefer AS3 since it's the latest and contains more features so anything I learn from anything here will help me for my future projects.
on (rollOver)
{
stop ();
}
on (rollOut)
{
play ();
}
sec06.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.adobe6.com"), "_blank");
}
_____________________________________________________________________
That is the code I just copied from one of the ad, here's a screencap of the Flash screen just to help you a bit. http://prntscr.com/vovnh - Let me know if you need any more information.
Thank you.
Copy link to clipboard
Copied
Only the code from sec06... onward is AS3. If you have the other earlier code in the same file it needs to be removed.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now