Skip to main content
Participating Frequently
September 3, 2009
Question

action script 2 not working

  • September 3, 2009
  • 1 reply
  • 3129 views

New to Flash CS4, but could do basic button stuff like this in Flash MX 2004. (Haven't been doing anything with Flash in the meantime, but now have CS4 and am determined to get back into it.)

I chose Action script 2 when starting, and in the publish settings. Made some very simple buttons and used the action script assistant but cannot figure out why they are not working. i keep going around and around and getting nowhere.

would someone please take a look and advise? I am STUCK.

Please?

the file is too big to attach, but if anybody is willing to help, i'll share the file via my iDisk. Thanks so much.

This topic has been closed for replies.

1 reply

dalcde
Inspiring
September 3, 2009

First, you have to choose to open an AS2 file. If it really doesn't work, and you can't put the file here, why can't you just put the code which isn't working here?

Participating Frequently
September 4, 2009

Like I stated, I started out by choosing an action script 2 document and chose action script 2 in the publish settings.

When i made the buttons, i converted shapes to button symbols and then named the instances on the stage. I have keyframes on the button stages.

Here is action script on the button on scene 1 to take one to the next scene:

on (release) {

gotoAndPlay("Scene 2", 1);

}

Participating Frequently
September 4, 2009

This is the action script i put for making a button to open a URL in a blank window:

on (release) {

getURL("http://www.umarkers.com/aboutBuilding.html", "_blank");

}