I want to insert frames dynamically using Actionscript3.0, i couldnt find any code.Please help.
I’m sorry, that’s not possible.
Huh… the more correct version would be that it’s difficult, but doable…
http://etcs.ru/pre/ClipFactory/srcview/
Wow… I have no idea why that would be useful, but it’s quite impressive… Actually, if I (or someone smarter) could figure out how to add content to the mc while it’s still in bytearray form (in the ClipFactory class), it would be a piece of cake to actually save a .swf from Flash (especially from Flash player 10)… Should open the door for an online version of Flash…
You can create a clip from scratch but you can’t modify an existing instance. Once its instantiated it’s set - at least timeline-wise. But anything you can load in at runtime you can create through a bytearray and “instantiate” it, i.e. load it in to a Loader/similar instance (images, SWFs, sounds).
Yes, sure. I didn’t mean inserting frames into allready existing clips. I’ve posted the link just to give en examle of workaround for creating clips with more than 1 frame.