Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

My link works w/Flash player 11, but I'm getting an error #1009 w/Flash Player 10

Guest
Jan 15, 2013 Jan 15, 2013

Sorry, I'm just learning Flash and this is my first video. Apologies if I should be posting this in another forum. I'm working in CS6 on a Mac (10.6.8). The error message I'm getting is this:

Flash10_error_msg.png

I'm adding the script on the keyframe when the link button is fully arrived on the stage. (I tried adding it to the first frame, but it gave me an error message.

link_scirpt_for_button_added.png

Here is the script for the link:

webLink_btn.addEventListener(MouseEvent.CLICK, onClick);

function onClick(e:MouseEvent):void{

navigateToURL(new URLRequest("http://www.accuratebiometrics.com/"),"_blank");

}

The link works when I test it in Flash, and it also works when I test it in Flash 11 (11.2.202.228). I would like the link to be backwards compatible with Flash 10 (currently using 10.0.22.87).

The only other script is a stop on the final frame.

I would really appreciate help in getting my first Flash video up and running.  😉

Thanks!

TOPICS
ActionScript
590
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 15, 2013 Jan 15, 2013

remove the instance name from that tweened object.  in a layer above that tween, insert a new layer and add a keyframe at 462 and add webLink_btn to that keyframe on-stage.

you should have an untweened webLink_btn in the same frame with your code.  retest.

Translate
Community Expert ,
Jan 15, 2013 Jan 15, 2013

remove the instance name from that tweened object.  in a layer above that tween, insert a new layer and add a keyframe at 462 and add webLink_btn to that keyframe on-stage.

you should have an untweened webLink_btn in the same frame with your code.  retest.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 15, 2013 Jan 15, 2013

Many thanks!

Ginger

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2013 Jan 15, 2013
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines