-
Simplest way to stream an FLV
I'm fairly new to actionscript and externals but extremely new to streaming them from a server.
I've been running into problems with externally loading an FLV file. I can get the FLV to load from my computer, but when i try to link it to an HTTP server and play a swf from another computer--i have no dice. Not sure if I'm using the wrong, playback device or what. I'd appreciate any help. thank you
this is what code im using
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
videoInstanceName.attachVideo(ns);
ns.play("http://site_address_filename.flv");
thanks again
-
Are the swf and flv uploaded to the same server?
Some server hosts don't allow some file types including .flv, which wont play in that case, so it's worth checking.
-
yeah, i'm new to this whole thing. i thought that i could at least access the flv files from a swf even tho the swf wasn't uploaded to any server. am i wrong there?
I also just learned that im not streaming from a flash communication server, i'm progressively downloading from an http server
Should i be exporting as flash 7
thanks for your reply
Last edited by brocborn; 01-08-2007 at 04:22 PM.
Reason: needed to add more info
-
You do need to publish as flash player 7.
The FLV should load locally, no problems.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|