As far as detection goes, you can check idle time, if you find student has not done any activity, you popup a panel - where you saying, we have noticed no activity for last X minute, we just wanted to make sure you are around? Please click Ok to confirm?
The panel can have a timer in itself, say 60 seconds, which starts as soon as panel is popped up. If student doesn't click on OK, you send a message to server that student doesn't seem to be around, that means he has left. Other use-case, when student closes the browser window, you might have some kind of hook to notify the server. It would have been lot better, if you had used socket/rtmp, etc. But I guess, you can do things, just think around :-) On Feb 17, 6:38 am, mandy <[email protected]> wrote: > Dear Qabiz, > > I can roughly get your idea and will try to get the test to speech > engine to test. However, the main problem now is I don't know how to > detect when the student has left. Initially it was in 1st vbox. So > after left the name will appear on 1nd vbox. How can I only output the > name of the newly left student? Hope you get what I mean > > On Feb 16, 8:05 pm, Abdul Qabiz <[email protected]> wrote: > > > You can use timer to play two clips in sequence, "name" "has left". > > You can acually use some Speech Engine (not sure on client) but on > > server, where you pass the "text" and it returns MP3, which can be > > played. > > > 1) Observer the event when student leaves the class > > 2) Construct a string <student-name> + " has left". > > 3) Send to server > > 4) Process the string i.e. text to speech engine takes the input and > > returns the mp3 > > 5) Play the mp3 on client. > > > Now that's rough idea. You can als check out, if there is any text-to- > > speech engine for client side? > > > -abdul > > > On Feb 16, 11:11 am, mandy <[email protected]> wrote: > > > > Dear Sir/ Madam, > > > > I am developing an application such as below specification: > > > -one vbox to display students in class > > > -one vbox to display students has left the class > > > -The page will reload every 15 second. If a student left a class, the > > > name will put in second vbox. > > > > The problem now is i have to display sound like 'AAA has left' if the > > > student has left the class after 15 second. Anyway to do this?- Hide > > > quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

