Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Playing .swf file eats all my memory

  • 07-11-2006 05: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, Registered Users 2 Posts: 35,522 ✭✭✭✭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