for each?
code
function close_connection():void{var netstream_array:Array = new Array(ns1, ns2, ns3);var video_array:Array
= new Array(vid1, vid2, vid3);for each ( var netstream:NetStream in netstream_array ){netstream.pause();}for
each ( var video:Video in video_array){this.removeChild(video);}}
0 Comments:
Post a Comment