Quote:
Originally Posted by Vudrok
Okay there is an issue about the approach you are trying to implement, I very hardly advice you not to use as3 this way, if you want to create a proper as3 project you should read "OReilly ActionScript 3.0 Beginners Guide" this is a very good book and will help you a lot, I did fix your example and it compiles and runs has you want to so check it out, even thought it work it should not be implement this way...
|
Thanks for looking at my files and amending the code. I totally agree with you that it seems doubtful to use AS3 in this way. I have just started learning AS3. Although it shares the same name with AS2 the logic of how it works, although similar, is vastly different.
To be honest, I can't quite grasp the logic behind AS3 so as to design intelligent solutions yet. I've been using O'Reilly's Learning Actionscript 3.0 by Shupe and Rosser. Although, it is a good book, to go through the basics of AS3, it hardly gives you any solution as to how to tackle everyday practical problems faced by designers - I use Flash to design a lot of websites.
For example, the book goes to great length in explaining the for loop (which I use to attach multiple movie clips which represent the different pages of a Flash website) but doesn't give any clue as to how to add children to the stage for movie clips created in the Flash interface which contains custom graphics.
Another example is where you are shown how to target movie clips from the stage but nowhere are you taught how to communicate between movie clips via the stage.
I wish Sham Bhangal who wrote Actionscript For Flash MX 2004 would write an equivalent for AS3. Sham's book was targeted at designers and focused on practical solutions as opposed to just going through the theory.
OK...enough of my rant. Can you tell me, the book you recommended, is it different to the one I mentioned?