Adobe flash cs4 tutorial: Custom Classes
Uploader Comments (oppcell)
All Comments (16)
-
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.
instead of function onClick(e:Event){ .... } can you just do function onClick(event){ ...} ? just curious
GoldenSilence333 2 years ago
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.
oppcell 2 years ago