|
|
Flash Webcam Room - An easy flash application | ||
Discussion by Josh_Jpn with 8 Replies.
Last Update: November 14, 2007, 7:35 pm | |||
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
By the way. Amazing tutorial. I really enjoyed it. And it would be nice to see some more tutorials about flash
Thnx.
Wed Mar 2, 2005 Reply New Discussion
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
Thu Jun 2, 2005 Reply New Discussion
Sat Jun 11, 2005 Reply New Discussion
Mon Mar 20, 2006 Reply New Discussion
Fri Dec 22, 2006 Reply New Discussion
-Knightcon
Tue Oct 16, 2007 Reply New Discussion
QUOTE (Josh_Jpn)
Quick and Easy Webcam ChatroomRequired:
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
Matching Sound To Animations In Flash (2)
|
(4) A Button That Senses The Mouse FLASH TUTORIAL : MOUSE ROLLOVER EFFECTS
|
Index




