View Full Version : How to create frames dynamically using AS3.0
Ratheesh_cs
May 24th, 2008, 01:45 AM
I want to insert frames dynamically using Actionscript3.0, i couldnt find any code.Please help.
senocular
May 24th, 2008, 08:22 AM
I'm sorry, that's not possible.
wvxvw
May 24th, 2008, 04:37 PM
Huh... the more correct version would be that it's difficult, but doable...
http://etcs.ru/pre/ClipFactory/srcview/
devonair
May 26th, 2008, 09:51 AM
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..
senocular
May 27th, 2008, 12:05 AM
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).
wvxvw
May 27th, 2008, 02:05 AM
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.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.