Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-07-2007, 03:28 AM   #1
rajesh84
Registered User
 
Join Date: Jan 2007
Posts: 7
Default Play Video.

Can any Way To Play External Video File In Flash.ie,By Using Load Movie() We Can Play The External swf.Like That Any Function Are Available ,Or Any Other way Other Than Importing Video In File Menu.
rajesh84 is offline   Reply With Quote
Old 02-07-2007, 04:55 AM   #2
Jhorra
Registered User
 
Join Date: Dec 2006
Posts: 41
Default

Short answer, yes, using load movie you can play an external movie.
Jhorra is offline   Reply With Quote
Old 02-07-2007, 10:29 AM   #3
Pawlus
Registered User
 
Join Date: May 2006
Location: Poland, Cracow
Posts: 28
Default

PHP Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);

var 
ns:NetStream = new NetStream(nc);
my_video.attachVideo(ns);

ns.play("file_name.flv"); 
my_video == Library->New Video
Pawlus is offline   Reply With Quote
Old 02-07-2007, 09:22 PM   #4
Iron Bridge
Registered User
 
Join Date: Dec 2006
Location: Newport Beach, CA
Posts: 3
Default

I am not sure exactly what you are asking but, you can play .flv files via netstream and netconnection.

Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
videoPlayer.attachVideo(ns);
ns.play("externalVideo.flv");

You are probably better off using a .swf to play an externally located .flv, unless you video is less than ten seconds. If it is short you can simply embed it in the timeline. To convert your video to flv you can use many different apps. I personally use quicktime pro. Good luck
Iron Bridge is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Square box (not rounded) for video chat application artane Flash Media Server 5 11-29-2008 03:02 AM
Sound fade play video AlistairMac ActionScript 2.0 0 10-06-2006 02:38 PM
FLV chosen to play from XML - Flash 8 Pro. aussie01 ActionScript 2.0 1 03-01-2006 02:58 PM
about play External fla video abt_poc ActionScript 2.0 1 01-11-2006 10:15 PM
video objects dsdsdsdsd Flash Media Server 0 05-11-2005 09:47 PM


All times are GMT. The time now is 01:26 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.