Wes Davis

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromWes Davis
ToMe
SubjectOut of memory at line: 126 Error
Date10 April 2007 17:17
I read your howto on fixed positioning for multiple browsers. It works
like a charm! You really know your stuff.

But when I use it for fixing flash, I get the error "Out of memory at
line: 126" in IE6 and IE7. The fixing still works, but the error didn't
start happening until I added the browser check in the header scripting.

Please have a look at my test page if you get time. I researched this
error and nobody seems to know anything about it except it happens with
random things regarding flash.

Link: [URL]

Thanks!

Wes Davis
FromMe
ToWes Davis
SubjectRe: Out of memory at line: 126 Error
Date14 April 2007 11:57
Wes,

> But when I use it for fixing flash, I get the error "Out of memory at
> line: 126" in IE6 and IE7. The fixing still works, but the error didn't
> start happening until I added the browser check in the header scripting.

I cannot reproduce that problem here. IE 6 and 7 both load and run the page
no problem, but the flash is running incredibly slowly. This could be a
limitation of IE's fixed positioning implementation (or the equivalent
expressions), but it could simply be what it says; it has run out of memory
available to Flash and scripting. I would suggest you see if you can reduce
the memory and CPU requirements of your Flash movies. Even in other
browsers, the movies are using just about every bit of CPU I have.

Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
FromWes Davis
ToMe
SubjectRe: Out of memory at line: 126 Error
Date17 April 2007 15:49
Mark,

I figured out the problem and it has nothing to do with your fix.

Using the [brand] method, if you have multiple flash files, and
reference the .js file more than once, you get this "Out of memory at
line: 126" error.

(this code)<script type="text/javascript" src="mkflsh.js"></script>

I accidentally put it before each of the .swfs

I played with it some and it says line 126 regardless. It's interesting
that I could not find anything about it on the web.

Thanks for emailing me back

Wes Davis
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.