Adobe flash cs4 tutorial: Custom Classes

Loading...

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

Uploaded by on Oct 12, 2009

Use Adobe flash cs4 with action script 3 custom classes. classes make it easy to reuse code and use other code found online. Find more tutorials at me site http://www.onenterflash.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (oppcell)

  • instead of function onClick(e:Event){ .... } can you just do function onClick(event){ ...} ? just curious

  • the e in e:Event is a variable(specifically a parameter) named 'e' and we data type it to 'Event'. The addEventListener function sends data through that variable. There must be a 'e' or a alphanumeric value. onClick(event){ ...} is what you may find in a action script 2 program.

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • hi..love the tutorials...is there any way you can tell flash to open the webpage not in the browser but instead in the swf file that's running?

  • the getURL code doesnt work anymore

  • love your voice at the beginning ;D

  • omg blender

  • the example is very good. But I was testing creating myOwnMethod() to use instead of getURL() and the code does not work. Please, Do you know how can call my own method? THANKS IN ADVANCE!

  • do dot dooo lol

  • in AS3 you can't put code on symbols. You have to put it on timelines or, preferably, in a seperate text file.

    Yeah it's total crap. XD

  • thanks!

  • I dont think so, because the "e:" tells flash that the function is being created by an eventListener, then the "Event" tells flash that this event listener is an Event eventListener.

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