PDA

View Full Version : Flash MEMORY PROBLEM help


jellowombat
07-08-2002, 03:42 PM
Ok, I created a 3.5 mb movie (exported as swf) I published as html page. The problem is when I replay the movie on other computers (which is hosted on the web) it eats virtual memory until computer cant handle it anymore! Why does it do that and how do I fix this!

I can play it once on other computers then it kills virtual mem :P I debugged to see if there was some script slipped into it that caused it to spaz out but there is not. I heard previously there is a way to make it streaming>?

I dont know I just want to know why a 3.5 movie continuously eats virtual memory and wont play I mean, I figured having a preloader and scripting it to LOAD all frames before play would actually LOAD all frames- because 3.5 mbs is nothing! Help on this is greatly appreciated.

Here is site
<url>http://www.jtyler.com/terrace</url> 3.5 mb

poab
07-08-2002, 04:37 PM
Hi,

yeah, unless you're using loadVariables or loadMovie, if you put the pre-loader on properly then it does load it all before playing.

You might have something in there that's looping perpetually, on the other hand you might have a 3.5 mb movie.

I know it doen't sound like a lot but I start getting hot under the collar if my movies push 200 kb.

Try reducing the jpeg quality in the publish settings. Failing that, don't make such a big movie because I think that's what it is.

cheers.

jellowombat
07-08-2002, 05:50 PM
Thanks for part about looping, that's what I thought it was. And file size... I dont care about 56k users because its not meant for them. :) Form over Function any day.

jellowombat
07-08-2002, 06:05 PM
COuld the loop have been under publish settings perhaps under html export of loop playback conflicting with the action script of "stop" embedded into the movie? where the setting overrides the movie causing an infinite download of the movie?

jellowombat
07-08-2002, 06:26 PM
GOD i changed the publish setting for playback and the pos still doesnt run right. Last thing I can think of is the way I have preloader set. Could the problem be: Action script on frame 1 If frame loaded command (and last frame of fla is entered) goto and play starting frame. I dont have multiple scenes and would prefer not to add multiple scenes, is there a way to load EVERYTHING such as loadMovie or loadVariable and how do I do that

-thanks

I wish Flash was like photoshop :P makes everything easy :|

poab
07-08-2002, 11:01 PM
Hi,

Actually it was script loops that I meant, such as:

for(i=0;i<200;i++){
//CODE
}

...those can cause problems. There's evidently something in there that's screwing up the memory, hence requiring virtual memory (is that how it works?) so you need to find that.

The loop thing in the publish settings won't do anything. Try posting your .fla so people can have a look.

cheers.