If you load external images when they are to be displayed the will not put "weight" on the until that is current. And if someone chooses to end the course prematurely images used later in the course won't hit the bandwidth at all.
And finally when an image is loaded once, it should be in the browser cache. (Unless the user for some reason has turned it off). So they should only hit the bandwidth once and then never again. That is assuming the swf runs in a browser of course. But of course if the images are really simple it could be better to draw them using the drawing API. If not any dynamic creation of the images will probably create a higher payload then just loading the images on demand. /Johan -----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Gaia-Tek Skickat: den 5 oktober 2006 09:26 Till: 'Flashcoders mailing list' Ämne: RE: [Flashcoders] Creating a SWF to dynamically create SWF';s Hi Jason, That was the initial understanding with which I entered the project, now they don't want to do that because of the server load and bandwidth if 200 learners access the course simultaneously... They want the learner to download the course in one go (a smaller swf hopefully), and then work through it at their own speed. Any ideas?? Thanks Don -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 04 October 2006 14:45 To: Flashcoders mailing list Subject: RE: [Flashcoders] Creating a SWF to dynamically create SWF';s Keep all images external and just reference them in the XML. Then your .swf is 50k or less, not 6MB. Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Gaia-Tek >>Sent: Tuesday, October 03, 2006 10:39 PM >>To: 'Flashcoders mailing list' >>Subject: [Flashcoders] Creating a SWF to dynamically create SWF';s >> >>Hi All, >> >>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 _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 02/10/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 02/10/2006 _______________________________________________ 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