Lives On Board

/ My MetaSphere /

Wed Dec 3, 2003

Flash MX Hosting
Web Hosting
Web Tools
Help FAQ
Site Chat
Web Search
Asheville NC
Network Log
Got Flash?
Web Links

Need Help?
We are online if image is green.
We are online if this image is green. Click here to chat live with

El Dios de Cobra. In Memory of the passing of one of America's greatest photographers, Jorge Otero.

Flash Hosting with MetaSphere

Today in History:
1818: Illinois entered the Union as the 21st state.
Asheville, NC
Help/FAQ Index / Search
Previous Page in Help/FAQ Tour Next Page in Help/FAQ Tour
Return to Main Page in Help/FAQ

Web Camera connection via RTMP

First off, the simple camera connection statement. This works locally without FCS. It is built into Flash MX. Place this action script in frame one and open the library palette. In the library, create a new video symbol. drag the symbol onto the main stage (this empty symbol with have an x and a box). Name the instance of this empty video symbol "MyVideo" in your properties panel. Run your movie and watch your web camera.

locCam = Camera.get();

Here's the first example running. If you have a web camera installed you will see the web camera's video below.

Here's an example of connecting and publishing your web camera via RTMP in Flash Communications Server. Since this example uses absolute paths, You can run this swf from any webpage. The end result is an flv file connected to the server. Readers are expected to have an FCS acount with Those without should ignore the ip address specified.

/// this is the connection script.
///You can run this script as a seperate flash file
///connection = new NetConnection();
subscribeStream = new NetStream(connection);"allAboutMe");
// myVid is a Video object on the Stage

Refresh / Add Page to favorites/bookmarks.