package { import flash.net.URLStream; import flash.net.URLRequest; import flash.events.Event; import flash.events.ProgressEvent; public class Main { private var streamer:URLStream= new URLStream(new URLRequest("http://example.com/binary_data.bin"));
public function Main() { streamer.addEventListener(ProgressEvent.PROGRESS, progressListener); }