Flash Actionscript 3 Intro Part 2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,428
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 6, 2008

This video will teach you the basics of the Flash CS3 Actionscript 3.0 environment and important elements. This will build a strong foundation for more advanced applications. (second part)

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (blake912)

  • The video was quite helpful, but had issues with the For loop. Typed it like you had it: For(var i:Number =0; i <=6; i++)

    { trace(i);

    }

    , but kept getting syntax errors. Perhaps you can see what's missing?!

  • yes i can "For" is not going to work. Capitalization is important. So, do the exact same thing that you did; but, with "for" instead of "For". let me know if that works

  • i keep getting an error

    it is saying in scene1,layer actionsc,frame 1

    line 7 that myfunction cannot be found cuz it hasnt been made

    i copied code just like you?

    any idea what may be wrong

    BTW i just started using flash and used script2.0 and am interested in 3.0

    but only been using flash for about a week

  • make sure that you have all the syntax correct (code). this could be caused by the fact that you are using an uppercase version of it in one place but not in the other.

    For example, the following would be 2 different functions:

    myfunction();

    myFunction();

    are completely separate. Also, make sure you are calling the function in the event listener.

    myButton_btn.addEventListener(­MouseEvent.CLICK, myFunction);

    function myFunction(event:MouseEvent):v­oid

    {

    }

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • thank you!!

  • lol, i was wondering why a if statement got a i++ lol whahahahha but great tuts

  • I have a problem with label for some reason the button doesn't say hello myButton_btn.label = "Hello";

    I don't know why it won't work help.

  • Your videos are very good and informative - some of the best I've found for learning this stuff. Thank you!

  • ok. ill try that thanks. its always good to have more than two eyes! :)

  • Remove the semi-colon after the conditional statement. "if(myText_txt.x == 100)"

  • No I'm having issues with the conditional. I get an error stating: else is unexpected.

    if(myText_txt.x == 100);

    { trace(myText.txt.x);

    }

    else

    } trace("please check x value")

    }

  • Yes it worked, thanks. Could you type out the if,then statement? I could not see the else part.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more