Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-28-2005, 02:32 PM   #1
sophistikat
Game On
 
sophistikat's Avatar
 
Join Date: Mar 2005
Location: Barrie, ON
Posts: 2,535
Default 1 Frame Movieclips / SWFs

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?
*/
sophistikat is offline   Reply With Quote
Old 07-29-2005, 01:18 PM   #2
stephSumo
Registered User
 
stephSumo's Avatar
 
Join Date: May 2004
Location: Geneva / Switzerland
Posts: 43
Default

Quote:
Originally Posted by sophistikat
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...
stephSumo is offline   Reply With Quote
Old 07-29-2005, 03:16 PM   #3
sophistikat
Game On
 
sophistikat's Avatar
 
Join Date: Mar 2005
Location: Barrie, ON
Posts: 2,535
Default

i can't believe i didn't think of that, thanks, it answered my question.
sophistikat is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:14 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.