ImediaseeUvaultCDNInfluxis
FlashComGuru
 
 

  Active Topics    Memberlist    Search    Help
  Register  Login
Tutorial follow ups
 Flashcomguru Forums | Tutorial follow ups
Subject Topic: Add message sounds to the chat component Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
stoem
Big Kahuna
Big Kahuna
Avatar
stoem == Stefan

Joined: 05 January 2004
Location: United Kingdom
Posts: 1079
Posted: 19 March 2004 at 17:20 | IP Logged Quote stoem

post any questions about this tutorial here

__________________
Flashcomguru.com
Back to Top View stoem's Profile Search for other posts by stoem Visit stoem's Homepage
 
Djanoux
Flashcom Middleweight
Flashcom Middleweight
Avatar

Joined: 29 March 2004
Location: Indonesia
Posts: 94
Posted: 29 March 2004 at 05:44 | IP Logged Quote Djanoux

Hi,

Could somebody explained me where the number "25" came from?

here the original :
------------------------------------

if(mesg.slice(25,this.username.length+25)!=this.username){
   _root.playSound();
}

------------------------------------


Djanoux
Back to Top View Djanoux's Profile Search for other posts by Djanoux Visit Djanoux's Homepage
 
ttsmile
Flashcom Newbie
Flashcom Newbie
Avatar

Joined: 26 August 2004
Location: China
Posts: 3
Posted: 26 August 2004 at 01:22 | IP Logged Quote ttsmile

very good
thanks

But if i use chat component with videoconference component together,when i send one msg ,i cannot listen the sound.



Edited by ttsmile on 26 August 2004 at 01:52
Back to Top View ttsmile's Profile Search for other posts by ttsmile
 
stoem
Big Kahuna
Big Kahuna
Avatar
stoem == Stefan

Joined: 05 January 2004
Location: United Kingdom
Posts: 1079
Posted: 26 August 2004 at 08:45 | IP Logged Quote stoem

sorry I never used the conference component...

stoem


__________________
Flashcomguru.com
Back to Top View stoem's Profile Search for other posts by stoem Visit stoem's Homepage
 
jackzar
Flashcom Newbie
Flashcom Newbie
Avatar

Joined: 16 December 2007
Location: Argentina
Posts: 1
Posted: 18 December 2007 at 18:06 | IP Logged Quote jackzar

Hi, first all, very good tutorials, thanks

Im developement a videochat and i need to play i sound only whit the user is admin. for do that i use two chats componets whit 2 diferent instanc name one for the users and one for the admin i put the code and works perfect but when a send a mesg the sounds play in the two chat componets instancias.

I think that this way in not the best way for do this but im a newbie in FMS and is the fast way i find to doit

Here the questions.

whats is he best way to do this?
Can i edit one instanc of the compenent? how can i do that?

flashcomguru.com Rules
Greetings and thanks for all

I resolve the problem
for do that i change the line of code who is add in the tutorial

if(mesg.slice(25,this.username.length+25)!=this.username){&n bsp;    
           _root.playSound();
      }

For this one

if (mesg.indexOf("admin") == 25){
      _root.playSound();
}


Edited by jackzar on 20 December 2007 at 13:38
Back to Top View jackzar's Profile Search for other posts by jackzar
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.6
Copyright ©2001-2003 Web Wiz Guide


   all contents © Flashcomguru.com - Flash® is a trademark of Adobe® 1995-2007