Thread: streaming flash
View Single Post
  #1  
Old 07-14-2008, 11:24 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
streaming flash

hmm, not too sure how i would stream flash

here's what i have

HTML Code:
//#CLIENTSIDE
function onCreated() {
  temp.url = requestURL("http://www.quantifiedmarketing.com/swf/design_ad.swf");
  this.catchEvent(url, "onReceiveData", "onData");
  
  new GuiWindowCtrl("Flash_Window") { 
    text = "Flash"; 
    position = {30, 30};
    extent = {300, 300};
    canmaximize = canminimize = false;
     
    new GuiFlash("Flash") { 
      downloadwebfiles = true;
      requiresactivex = true;
      position = {5, 5};
      extent = {290, 290};
      moviename = "copter.swf"; 
      playmovie(); 
    } 
  }
  
}  

function onData(temp.obj) {
  with(Flash) {
    moviename = obj.fulldata;
    playmovie();
  }
}
obj returns
HTML Code:
address,contentlanguage,contentlength,contenttype,
data,downloadcomplete,file,fulldata,initialized,ispaused,
joinedclasses,lastmodified,maxlooplimit,name,port,returncode,
returnmessage,scripterrors,scriptlogmissingfunctions,server,
timeout,url
Reply With Quote