Lives On Board

/ My MetaSphere /

Wed Jul 16, 2003

Flash MX Hosting
Web Hosting
Web Tools
Help FAQ
Marketing
Portfolio
Contact
Site Chat
Web Search
Asheville NC
Boards
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 metasphere.net.

Live Satellite Weather Page.

Flash Hosting with MetaSphere

Today in History:
1948: John J. Pershing, military commander whose brilliant career earned him the title General of the Armies of the United States, died.

Metasphere.net
Asheville, NC



Help FAQ Index / Search
Help FAQ FCS
Previous Page in Help FAQ Tour Next Page in Help FAQ Tour
Help FAQ

Web Camera connection via RTMP Show All FCS Help Files

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();
MyVideo.attachVideo(locCam);

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 metasphere.net. 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();
connection.connect("rtmp://66.216.97.115/UserName/mySpeech");
subscribeStream = new NetStream(connection);
subscribeStream.play("allAboutMe");
myVid.attachVideo(subscribeStream);
// myVid is a Video object on the Stage

Contact Metasphere.net


Add Page to favorites/bookmarks.