| Author |
|
stoem Big Kahuna

stoem == Stefan
Joined: 05 January 2004 Location: United Kingdom Posts: 1079
|
| Posted: 19 March 2004 at 17:20 | IP Logged
|
|
|
post any questions about this tutorial here
__________________ Flashcomguru.com
|
| Back to Top |
|
| |
Djanoux Flashcom Middleweight


Joined: 29 March 2004 Location: Indonesia Posts: 94
|
| Posted: 29 March 2004 at 05:44 | IP Logged
|
|
|
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 |
|
| |
ttsmile Flashcom Newbie


Joined: 26 August 2004 Location: China Posts: 3
|
| Posted: 26 August 2004 at 01:22 | IP Logged
|
|
|
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 |
|
| |
stoem Big Kahuna

stoem == Stefan
Joined: 05 January 2004 Location: United Kingdom Posts: 1079
|
| Posted: 26 August 2004 at 08:45 | IP Logged
|
|
|
sorry I never used the conference component...
stoem
__________________ Flashcomguru.com
|
| Back to Top |
|
| |
jackzar Flashcom Newbie


Joined: 16 December 2007 Location: Argentina Posts: 1
|
| Posted: 18 December 2007 at 18:06 | IP Logged
|
|
|
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 |
|
| |