Hi Ban,

Be patient.
Your requests gave me the idea to write a tutorial about managing sounds and players.
May be it will be my 20th tutorial (see my web-site).
In the meantime, please, check the docs :-)
For instance: playLoudness...

Le 13 juil. 05 à 21:06, Ban Nguyen a écrit :

Hello,

I use this code for video and it works perfect
set the showController of the templatePlayer to true
play videoclip "My Clip"

I use the similar code for audio and it does not work.  It plays the
song but does not show the controller

set the showController of the templatePlayer to true
play audioclip "My Clip"

-------------------------
My problem is:  I have a list of 9 songs and I want to show them in a
list and let user click on one song at a time and play it

I use the scrolling list field to display those songs. Here is the code
of the scrolling list field:

on mouseup
    global gClickVar
    select the clickLine
    put word 2 of the clickLine into gClickVar

   -- get the song name
   put line gClickVar of field "audioList" into gClickVar
   play audioClip gClickVar looping

end mouseup

----------------------
I create a play button. Here is the code for the play button (it works
fine):

on mouseUp
  global gClickVar
     play audioClip gClickVar looping
end mouseUp

-------------------------
I also create the stop, prev and next button.  They works fine

-----------------------
My problem is I don't know how to create the volume slider to control
the volume

-----------------------
I use this code for the pause button:
on mouseUp
    global gClickVar
    play pause audioClip gClickVar
end mouseUp

It stops the song and plays the beginning of the song when I release the
mouse.  I want to pause it and click again to continue play (not
beginning)

---------------------
so that why I am trying to use this code so I don't have to worry about
volume and stuff...:

set the showController of the templatePlayer to true
play audioclip "My Clip"

but it does not work


---------
Does the player object play the imported song (import as a control) or
only play songs on the hard drive that you insert in the source
(C:\audio\songs....)


Please help me.  Anyone has any idea?  Thank you


Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to