Re: [Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-10 Thread Rajiv Seth (Pixeldust)
Thanks Karl, the player script you suggested worked for me & Thanks Sidney for suggesting shared Objects, that resolved my other issue of maintaining player play/pause state. Regards Rajiv On Sat, Jun 6, 2009 at 4:52 PM, Karl DeSaulniers wrote: > Would it be out of the question to have the audi

Re: [Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-06 Thread Karl DeSaulniers
Would it be out of the question to have the audio player open in it's own window? Or have your HTML pages load in an Iframe and have the audio player sitting outside that Iframe? Then you stay at one page while still loading your other HTML and your player stays put. :) Just a thought. The

Re: [Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-05 Thread Rajiv Seth (Pixeldust)
Hi Karl, Thanks a lot for help. I am using AS2.0 only. But this solves half of the problem. Suppose if I navigate away from this page to some other page having same player embedded. Now how player will recognize that user has paused it in previous page? That means I have to send some variable out t

Re: [Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-05 Thread Rajiv Seth (Pixeldust)
Thanks Sid, Can you give any example to use SharedObject. I have not used it before. Rajiv On Fri, Jun 5, 2009 at 5:44 PM, Sidney de Koning wrote: > Hi Rajiv, > > Take a close look at the SharedObject, this is basicaaly a Flash cookie > written on the users side and you can read it out when ever

Re: [Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-05 Thread Karl DeSaulniers
That is AS2 and goes inside your flash file along with the button to play and pause.. BTW Not sure how or if it works with AS3 if that is what your programing with. Someone may be able to make a conversion? Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jun 5, 2009, at 6:5

Re: [Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-05 Thread Sidney de Koning
Hi Rajiv, Take a close look at the SharedObject, this is basicaaly a Flash cookie written on the users side and you can read it out when ever you need. Hope this helps, Sid On Jun 5, 2009, at 1:59 PM, Rajiv Seth (Pixeldust) wrote: Hi, I need to create a simple flash audio player with p

Re: [Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-05 Thread Karl DeSaulniers
Here you go.. :) //var loopTune:Sound = new Sound(); You can change this variable to what ever you have as the new Sound() var soundPosition:Number = 0; function stopPlaying() { loopTune.stop(); musicPlays = false; return (musicPlays); } function startPlaying() {

[Flashcoders] Audio Player play/pause state: PLEASE HELP

2009-06-05 Thread Rajiv Seth (Pixeldust)
Hi, I need to create a simple flash audio player with play, pause (and/or volume control). It will be added to a web page. Now the problem is if a user pauses the player, I need to retain its paused state between web pages untill he decides to play it again. And if he plays it and navigates to so