Topic: Possible to play external .mov file in flash movie? (Page 1 of 1)  | 
  |
|---|---|
| 
       Maniac (V) Mad Scientist From: Rochester, New York, USA  | 
    
       
  posted 05-07-2008 00:21
      
      I have a bunch of different .mov files at the same level as my flash movie. I would like to be able to play these files from some area within the flash movie, with some buttons to move between the videos.  | 
  
| 
       Maniac (V) Mad Scientist From: Rochester, New York, USA  | 
    
       
  posted 05-07-2008 13:07
      
      Turns out that yes it is possible. code: var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
myVideo.attachNetStream(ns);
var listener :Object = new Object();
listener.onMetaData = function (md:Object):void{};
ns.client = listener;
ns.play("Sample.mov");
  | 
  
| 
       Obsessive-Compulsive (I) Inmate From:   | 
    
       
  posted 05-31-2008 17:57
      
      Thanks for the post.  I wasn't able to get it to work.  Followed all instructions.  Only changes: "Sample.mov" -> match name of QT I used and the size of the video player to match.   No errors when publishing, the page loads in Safari, but the video does not appear or play.  | 
  
| 
       Nervous Wreck (II) Inmate From: San Clemente, CA  | 
    
       
  posted 09-19-2008 18:13
      
      Hi Dan the code below works in Action Script 2.0.  | 
  
| 
       Neurotic (0) Inmate Newly admitted From:   | 
    
       
  posted 04-30-2009 15:25
      
      Thanks for the code, works great, but I have two questions.  | 
  
| 
       Obsessive-Compulsive (I) Inmate From:   | 
    
       
  posted 04-30-2009 16:10
      
      FYI: this is what I found that works:  | 
  
| 
       Obsessive-Compulsive (I) Inmate From:   | 
    
       
  posted 11-16-2009 22:25
      
      Quick question on this code.   | 
  
| 
       Paranoid (IV) Inmate From: Florida  | 
    
       
  posted 11-16-2009 23:49
      
      Just use Flowplayer.  |