Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Playing .swf file eats all my memory

Options
  • 07-11-2006 5:56pm
    #1
    Closed Accounts Posts: 362 ✭✭


    I created a .swf file using http://sourceforge.net/projects/camstudio/

    It is 5megs. 2:50 long

    I use this code in my webpage.
    <!-- Flash movie tag--> 
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 
    WIDTH="1025" HEIGHT="802" id="demo.swf" ALIGN=""> 
     <PARAM NAME=movie VALUE="demo.swf"> 
     <PARAM NAME=quality VALUE=high> 
     <PARAM NAME=bgcolor VALUE=#ffffff> 
     <EMBED src="demo.swf" quality=high bgcolor=#401  WIDTH="802" HEIGHT="16777215" NAME="demo.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    </EMBED> 
    </OBJECT>
    

    As soon as I open the page it starts to eat up my memeory, it eats up 700mb in about 45 seconds.

    It still plays the file but it bring my machine to a halt.

    Using:
    IE7
    Windows XP Pro
    Pentium D 1Gig Ram

    Any idea why this is happening and how to fix it?
    Thanks


Comments

  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    Use a preloader perhaps? I'm not too familiar with embedding flash, but I would imagine a file of that size shouldn't begin to play as soon as the page loads?


  • Registered Users Posts: 35,524 ✭✭✭✭Gordon


    It could be the content of the flash that is using the processor/memory. For example - if the flash is using a great deal of mathematics it may use a lot of processor, or conversely if the flash is using a great deal of tweens and animation/audio. I think that's how it goes, I could be wrong.

    It's tricky to know without seeing the flash imo.


Advertisement