[SWFObject] "Out of memory at line:126"

Nick Weavers nickweavers at siteweavers.com
Thu Nov 16 18:02:57 PST 2006


Many thanks Geoff... that solved half of the problem. 
However, I am still left with no movie being displayed in FF 2 or IE6

Any further ideas of that one?

Nick Weavers

> make sure you are only including the js file once on each page.

> > Hi,
> >
> > I am having some trouble with SWFObject.
> > The following is the code I have placed in my web page:
> >
> > <div id="flashcontent">
> > This text is replaced by the Flash movie.
> > </div>                    =
> > <script type="text/javascript">
> > var so = new SWFObject("templates/etombolas/flash/gauge_1.swf",
> > "mymovie", "131", "66", "9", "#B90000");
> > so.write("flashcontent");
> > </script>
> >
> > Under IE7 the swf file plays when the page is loaded, but if  
> > refreshed I
> > get a popup with the following message:
> > "Out of memory at line:126".
> >
> > Under IE6 and Firefox I get no swf movie, just the text in the div.
> >
> > Has anyone else had anything similar and figured out what causes it?
> >
> > I am running Windows XP (sp2 + all patches to date), FF 2, IE7, IE6  
> > and
> > Adobe Flashplayer Version 9,0,28,0 + SWFObject =
> > 1.4
> >
> > TIA,
> > Nick Weavers



More information about the Swfobject mailing list