Link to home
Start Free TrialLog in
Avatar of designaire
designaireFlag for United States of America

asked on

as3 end of file command?

I'm using this loop to call in swf files. Is there any way I can create an end of file instead of > 7..
on this code?

var filename:String;
var clips:Array = new Array();
for (var i:int = 0; i < 7; ++i)
{      
  filename = "images/test1_" + i.toString() + ".swf ";
  clips.push(filename);
}
ASKER CERTIFIED SOLUTION
Avatar of deepanjandas
deepanjandas
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of designaire

ASKER

That is while reading the binary data of a file, but the scenario you have mentioned do not have an eof concept as far as I know :)

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/ 
Also that only executes on serverside for installed Flash Media servers.

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/