3. when you code with AS3 you put your code in the document class. Check the Thread from Cagey.
Also this tutorial on
http://www.gotoandlearn.com.
OK I think I phrased my question wrong. Because of reading that thread I understand how to move stuff out of my first frame of the movie using document class. What I still don't understand is how to not put code inside the frames of my movie clips. How do I link the code to the movie clips in flash.
1. Flash is not an Illustrator Application, thats why you can draw many stuff in one Layer. Maybe what would be handy for you is the "Draw To Object" Function.
Select your drawing Tool and then the Key "J", or the Icon on the Toolbar with the square with the circle in it. So every time you paint it creates an Object Group.
Ok I'll try that.
a. hundreds of movieclips addet to the stage
b. more then one onEnterFrame event
c. many moving objects with filters/alphas (use BitmapData for such an action)
cool thanks those first two where both things i was planning on doing but I know how to get around them.
The biggest reason for not using the Flash CS3 IDE for coding is because it lags like a bitch when the code gets slightly bigger than absurdly short.
Do you mean when coding a lot the ide lags or when you code a lot in the actual frames the movie will lag a lot?
Finally, arrays can't be of fixed types, and the only unobvious thing that i can think of that slows flash down is excess function calls. For some reason they are rather CPU expensive, though in all honesty you shouldn't worry about optimisation until you need to. It's hard enough to create a laggy game, and once you get that (if you get that) then you can optimise.
Ok cool I'm fine with arrays not being fixed types as long as it means I don't have to cast everything when i take it out.
Heh, for much the same reasons I find Flash to be a lot more convenient and intuitive. Easily being able to draw lines all over each other and then click and delete the bits of line I no longer need is nice.
Yeah I think it's more the fact that I'm not a good artist at all that makes me not like the flash interface. I can handle inkscape because I just have to lay down circles and squares and deform them a bit. I never really use the actual pen tool in inkscape. So yeah... that's probably why.
An Array is untyped (not ints or strings!).
ok cool I just always saw people putting what I guess you would call primitives in them in all the tutorials so I didn't know you could stick in anything.
Or use haXe. It has properly typed arrays and is the superior language all around.
haXe looks pretty crazy but I'll probably stick to learning flash first.
Thanks everyone for all the help!