Introduction to Actionscript 3 Classes in Flash - Part 2 of 2 (by Nils Millahn)
Loading...
4,754
Loading...
Uploader Comments (DNDigital)
Video Responses
This video is a response to Introduction to Actionscript 3 Classes in Flash - Part 1 of 2 (by Nils Millahn)
see all
All Comments (24)
-
@samoguz0 Thank you for the positive feedback - I'm glad you're enjoying it! Happy coding :)
-
THANK YOU !!!!!!
You are an awesome teacher. I understand perfectly everytime I watch your videos. You are really helping me to learn actionscript3. :)
-
@evaunitzero1 Ha ha - that really made me laugh :) As an American you would hold Arnie quite close to your heart too though I reckon? In any case, glad that you're enjoying the tutorials and let the language debate rage on!
-
he sounds more like and indian brit, which as an american, i think is an interesting accent. i like it :) Also THANK YOU for your wonderfully explained AS3 tut!
- Loading comment...
Loading...
Great tutorial! Do you have one on referencing functions from other classes? I've been struggling with that concept. Also on the This keyword. It's all confusing me very much at the moment...
CillersFan 1 month ago
@CillersFan Hi again - and thanks for the positive feedback. Have a look at the TweenLite videos, the Factory Pattern video and the Animated Menu for referencing other classes. It's actually very easy - just use 'dot-notation'!. "theOtherClass.theFunction()". The 'this' keyword is even simpler - it simply refers to the object that the code is in. Literally 'this', as per its English usage. You only need it rarely in AS3, in AS2 it was much more important. Hope that helps & happy coding!
DNDigital 1 month ago
CS4. No linkage button. Right click properties and it gives me the linkage. I click the pencil and it brings up Football.as. I publish and get 5007: An ActionScript file must have at least one externally visible definition . I right click in library and flash.display.MovieClip that was there in base class has now disappeared. I Click base class. "Base class specified is a native class and will be defined in the player at runtime. Can not be edited" If I save Football.as and reopen, it works. :(
YouSpamTard 3 months ago
@YouSpamTard Base class can't be edited, that is normal - and if you specify a custom class you don't normally need the base class. The 5007 error means that there is no class defined in Football.as. Make sure that you start with 'package' definition and then 'public class Football extends MovieClip'. It's a bit difficult to diagnose this one from afar but hopefully that will get it working.
DNDigital 2 months ago
My brain hurts
BUT IT WORKS! :D
Thanx!
aNdYmAtTeR 4 months ago
@aNdYmAtTeR I guess 'no pain - no gain' does ring true after all :) Keep persevering!
DNDigital 2 months ago