Topic: Flash Volume/Pause Script (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11420" title="Pages that link to Topic: Flash Volume/Pause Script (Page 1 of 1)" rel="nofollow" >Topic: Flash Volume/Pause Script <span class="small">(Page 1 of 1)</span>\

 
KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 05-28-2003 02:17

I finally got my flash music player going. Anyone know of a volume and pause script for the music?

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 05-28-2003 19:55

The actionscript dictionary is full of usefull stuff...

For volume you'd use:

mySound.setVolume(volume)

and to Pause you'd want to use combination of:

mySound.position
mySound.stop(["idName"])
mySound.start([secondOffset, loop])


Is that basically what you were asking?

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 05-29-2003 05:22

Yup... this is entered in the action right? How do i set if the volume is + or -?

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 05-29-2003 14:42

Open Flash then go to Help -> Actionscript Dictionary

Then look up the setVolume() function, all the info you want is there. I posted the commands above after a quick 2 second search on "sound" in that very document.

Seriously dude, macromedia have kick arse docs, get inot the habbit of using it as often as you can. Just about everything I've ever learnt about any macromedia applicaiton has been through those documents.

Anyways, best of luck with it.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu