Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Flash Webcam Room, An easy flash application
Josh_Jpn
post Mar 2 2005, 11:22 AM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 24
Joined: 21-February 05
Member No.: 2,724



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.
Go to the top of the page
 
+Quote Post
spacewaste
post Mar 2 2005, 08:42 PM
Post #2


Premium Member
Group Icon

Group: Members
Posts: 385
Joined: 13-October 04
From: Ontario
Member No.: 1,175



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 smile.gif....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 smile.gif

Thnx.
Go to the top of the page
 
+Quote Post
gobbles
post Jun 2 2005, 09:35 PM
Post #3


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 2-June 05
Member No.: 5,729



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..
Go to the top of the page
 
+Quote Post
ninjamunky
post Jun 2 2005, 10:28 PM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 129
Joined: 18-April 05
Member No.: 4,120



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... sad.gif
Go to the top of the page
 
+Quote Post
clovis
post Jun 11 2005, 02:05 AM
Post #5


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 30
Joined: 29-April 05
Member No.: 4,516



do i need to have flash commuinications server running on my personal computer at home or on my server with my webcam chat room?
Go to the top of the page
 
+Quote Post
GodDog
post Mar 20 2006, 04:14 AM
Post #6


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 3
Joined: 20-March 06
Member No.: 12,127



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
Go to the top of the page
 
+Quote Post
VexD
post Dec 22 2006, 02:18 AM
Post #7


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 3
Joined: 22-December 06
Member No.: 18,628



Thank you so much i needed this for a flash app I've been working on.
Go to the top of the page
 
+Quote Post
iGuest
post Oct 16 2007, 10:12 PM
Post #8


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



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
Go to the top of the page
 
+Quote Post
wanchope
post Nov 14 2007, 07:35 PM
Post #9


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 2
Joined: 14-November 07
Member No.: 26,177



QUOTE(Josh_Jpn @ Mar 2 2005, 11:22 AM) *
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.


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??
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Introduction To Mask Layers In Flash(0)
  2. Using Symbol Effects In Flash(0)
  3. Using Sprites In Flash(2)
  4. Matching Sound To Animations In Flash(2)
  5. A Button That Senses The Mouse(2)
  6. Vaile's Flash Mx 2004 Tutorial!(5)
  7. Pre Loader Tutorial For Flash(6)
  8. How To Make A Simple Flash Button(1)


 



- Lo-Fi Version Time is now: 6th September 2008 - 06:14 PM