bookmark - Flash Webcam Room An easy flash application

Flash Webcam Room - An easy flash application

 
 Discussion by Josh_Jpn with 8 Replies.
 Last Update: November 14, 2007, 7:35 pm
 
bookmark - Flash Webcam Room An easy flash application  
    
free web hosting
 
Quick and Easy Webcam Chatroom

Required:
Flash Communication Server 1.5
Flash

Step 1:

Create a new folder called webchat in the c:\(Where ever you put your server files)\flash communication server mx\applications folder.

Step 2:

Open notepad file. Type: load( "components.asc" );
Save file as "main.asc" in the webchat folder.

Step 3:

Open Flash and save file as "webchat" in the webchat folder

From the Communications Components side bar:

3.1 Drag a SimpleConnect onto your flash page
3.2 Drag a SetBandwidth onto your flash page, in the properties box change the compenent name to band_mc
3.3 Drag a PeopleList onto your flash page, in the properties box change the compenent name to plist_mc
3.4 Drag a Chat onto your flash page, in the properties box change the compenent name to chat_mc
3.5 Drag an AVPresence onto your flash page, in the properties box change the compenent name to avp1_mc
3.6 Drag an AVPresence onto your flash page, in the properties box change the compenent name to avp2_mc
3.7 Drag a ConnectionLight onto your flash page, in the properties box change the compenent name to light_mc

Step 4:

Save your file

In the properties box of the SimpleConnect in your flash page, click communication connections.

4.1 Click the + sign six times in the values pop up menu, creating slots from 0-5
4.2 In Slot 0 type band_mc
4.3 In Slot 1 type plist_mc
4.4 In Slot 2 type chat_mc
4.5 In Slot 3 type avp1_mc
4.6 In Slot 4 type avp2_mc
4.7 In Slot 5 type light_mc

Save your file

Step 5:

In the properties box of the SimpleConnect in your flash page, change the Application Directory to rtmp:/webchat

Save your file

Step 6:

From the flash UI components, drag a push button onto your flash page.
In it's properties box change the label to "Clear Chat", change the Click Handler to clearHistory.

Step 7:

In the actions for frame 1 of layer name layer 1

Add: function clearHistory() {
this.chat_mc.clearHistory();
}

Save your file

Step:

Publish your work and test.

Wed Mar 2, 2005    Reply    New Discussion   


Lol...Now the question is does our server support that? Or should I have to install it onto my personal computer.?

By the way. Amazing tutorial. I really enjoyed it. And it would be nice to see some more tutorials about flash :)....But would there be anyway to intergrate what you mentioned above with a mysql databse table...That way people need to plugin there user name and password fromt he mysql database table :)

Thnx.

Wed Mar 2, 2005    Reply    New Discussion   

Hi
I followed the tutorial, and it's good...but what the %&/%& do I do with flash communication server 1.5 ? Im completly new at this aspect of flash...and a bit lost?

Thanks..

Thu Jun 2, 2005    Reply    New Discussion   

spacewaste, ever been to www.kirupa.com ? That has some nice ones. I'd like to go from Photoshop to Flash without loosing editablity or quality, but I'm just not sure how... :D

Thu Jun 2, 2005    Reply    New Discussion   


do i need to have flash commuinications server running on my personal computer at home or on my server with my webcam chat room?

Sat Jun 11, 2005    Reply    New Discussion   

This Chat room looks like it could be used and might be good i might try this out and seeif it is a good one

Mon Mar 20, 2006    Reply    New Discussion   

Thank you so much i needed this for a flash app I've been working on.

Fri Dec 22, 2006    Reply    New Discussion   

You don't need to have the flash communications server running on your desktop PC. All you need is an actual server, sometimes the same box as your web server if the load isn't that great, where you install the latest version of the flash communications server, while Josh_JPN's tutorial is based around FCS 1.5 the same features are usually available in the latest version as well, along with more improved systems and faster response times. What you do need to be wary off is if your web host provides FCS or if you have access to get it installed, as at the moment I have no idea how flash security works when targeting an FCS server on a different domain or IP address.

-Knightcon

Tue Oct 16, 2007    Reply    New Discussion   

QUOTE (Josh_Jpn)

Quick and Easy Webcam Chatroom

Required:
Flash Communication Server 1.5
Flash

Step 1:

Create a new folder called webchat in the c:\(Where ever you put your server files)\flash communication server mx\applications folder.

Step 2:

Open notepad file. Type: load( "components.asc" );
Save file as "main.asc" in the webchat folder.

Step 3:

Open Flash and save file as "webchat" in the webchat folder

From the Communications Components side bar:

3.1 Drag a SimpleConnect onto your flash page
3.2 Drag a SetBandwidth onto your flash page, in the properties box change the compenent name to band_mc
3.3 Drag a PeopleList onto your flash page, in the properties box change the compenent name to plist_mc
3.4 Drag a Chat onto your flash page, in the properties box change the compenent name to chat_mc
3.5 Drag an AVPresence onto your flash page, in the properties box change the compenent name to avp1_mc
3.6 Drag an AVPresence onto your flash page, in the properties box change the compenent name to avp2_mc
3.7 Drag a ConnectionLight onto your flash page, in the properties box change the compenent name to light_mc

Step 4:

Save your file

In the properties box of the SimpleConnect in your flash page, click communication connections.

4.1 Click the + sign six times in the values pop up menu, creating slots from 0-5
4.2 In Slot 0 type band_mc
4.3 In Slot 1 type plist_mc
4.4 In Slot 2 type chat_mc
4.5 In Slot 3 type avp1_mc
4.6 In Slot 4 type avp2_mc
4.7 In Slot 5 type light_mc

Save your file

Step 5:

In the properties box of the SimpleConnect in your flash page, change the Application Directory to rtmp:/webchat

Save your file

Step 6:

From the flash UI components, drag a push button onto your flash page.
In it's properties box change the label to "Clear Chat", change the Click Handler to clearHistory.

Step 7:

In the actions for frame 1 of layer name layer 1

Add: function clearHistory() {
this.chat_mc.clearHistory();
}

Save your file

Step:

Publish your work and test.
Link: view Post: 20324


good to see that,I am new to webhsting and i dont know mush about it.this isuue of flash is one of the things i will like to learn.I want to ask,is there any webhosting that provides free caht room?the admin can put his own adds in it??

Wed Nov 14, 2007    Reply    New Discussion   

Quickly Post to Flash Webcam Room An easy flash application w/o signup Share Info about Flash Webcam Room An easy flash application using Facebook, Twitter etc. email your friend about Flash Webcam Room An easy flash application Print
Reply / Comment Ask a Question? Share / Bookmark E-Mail a Friend Print

Matching Sound To Animations In Flash   Matching Sound To Animations In Flash (2) (4) A Button That Senses The Mouse FLASH TUTORIAL : MOUSE ROLLOVER EFFECTS  A Button That Senses The Mouse FLASH TUTORIAL : MOUSE ROLLOVER EFFECTS