PDA

View Full Version : 1 Frame Movieclips / SWFs


sophistikat
07-28-2005, 02:32 PM
hello everyone,
if you load external swf files that contain one frame and no stop(); action; will flash loop that one frame?
i know flash loops a two frame swf if the action stop(); on frame 2 is not there so what does flash do when its only one frame?

whats word?

/*
I'm trying to optomize my game as much as posible, i have about 50 swfs with one frame and i started to thinking....
is flash doing more than it has to when i'm using these 50 swfs? is it affecting the speed of the overall game?
*/

stephSumo
07-29-2005, 01:18 PM
hello everyone,
if you load external swf files that contain one frame and no stop(); action; will flash loop that one frame?
i know flash loops a two frame swf if the action stop(); on frame 2 is not there so what does flash do when its only one frame?

whats word?

/*
I'm trying to optomize my game as much as posible, i have about 50 swfs with one frame and i started to thinking....
is flash doing more than it has to when i'm using these 50 swfs? is it affecting the speed of the overall game?
*/
easy to test: make a 1 frame swf with a trace("youhou"); and test it...
is it traced continuously or just once ?...
once. And you have your answer...

might take less time to test than ask for that kind of questions...

sophistikat
07-29-2005, 03:16 PM
i can't believe i didn't think of that, thanks, it answered my question.