6MB is insane for a .swf if you can keep the media external. Why can the media not be external to the .swf?
Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Robert r. Sanders >>Sent: Wednesday, October 04, 2006 1:49 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Creating a SWF to dynamically create SWF';s >> >>I don't see how a generated SWF is going to be much smaller than the >>source (I could be wrong). >> >>As long as the files can load incrementally I don't see that the 6MB is >>too huge a problem; if you try to load it all in one go it would be, but >>if a reasonably sized XML is read in and then your images are read as >>needed it shouldn't be too much of a problem. >> >>You could also look into some of the wrappers for actionscript draw >>commands - if some of the images are mostly shapes and text then maybe >>they could be represented as xml and drawn at run time (or loaded a >>sub-SWFs); this could potentially save space, as the same draw routines >>could be re-used vs. having tons of different but similar images. >> >> >>> >>> My client has asked me to create a SWF that reads in some XML and generates >>> a course depending on the amount of questions images etc. in the XML. >>> They found out today that the XML with all the images comes to about 6MB - >>> so suddenly frightened by the implications of this, they've asked me if I >>> can develop a SWF, that when run, will generate the same content, but then >>> save the resultant SWF to a file, with all images, sound and questions >>> embedded in the new SWF - and then score back to the shell application as >>> well... >>> >>> Is this even possible?? >>> >>> .NET is NOT an option... >>> >>> Thanks... >>> >>> Don >>> >>> _______________________________________________ >>> Flashcoders@chattyfig.figleaf.com >>> To change your subscription options or search the archive: >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> Brought to you by Fig Leaf Software >>> Premier Authorized Adobe Consulting and Training >>> http://www.figleaf.com >>> http://training.figleaf.com >>> >>> >>-- >> Robert r. Sanders >> Chief Technologist >> iPOV >> (334) 821-5412 >> www.ipov.net >> >>_______________________________________________ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com