Prequel upgraded to .96 – now with bandwidth detection
As of the .96 release just pushed to google code, Prequel now features optional bandwidth detection. Implemention alongside Prequel:
import com.jeffdePascale.prequel.*;
var preload:Prequel = new Prequel();
var bandwidth:BandwidthDetection = new BandwidthDetection(preload);
bandwidth.addEventListener(BandwidthEvent.BANDWIDTH, eBandwidthHandler);
preload.preload([this]);
function eBandwidthHandler(e:BandwidthEvent):void{
trace("bandwidth: " + e.bandwidth + " kbps");
trace("seconds: " + e.seconds);
}



