Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
Help Request - Sound Issues

Help Request - Sound Issues

2004-04-23       - By azuldeole@(protected)

 Back
HELP!!!!

Problems with my new music controls.

I would like the sound button to function like the sound button on
this early version of my website:
http://www.caramiastudio.com/caramia/soundtest.swf

When I clicked on the sound button, it would display the music
controls, but it would not automatically start the music (don't like
that), however, when I clicked on the play button the music would
start and if I clicked the close button or another icon on the
screen, the music controls would disappear (like that), but the music
would continue to play (like that).

Here is the script for the music controls in
soundtest.swf:

PLAY BUTTON
on (press) {
  if (not(playing)) {
    sound.volumechanger.start( starter,loops );
    playing = true;
  }
}
____

STOP BUTTON
on (press) {
  sound.volumechanger.stop();
  playing = false;
}
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __

What I would like to do is insert a similar script to
the play and stop buttons of my new music controls.
 
Right now, when I click on the sound button it brings up the music
controls, and starts playing the music right away (I like that), but
if I click on another icon or close the music control window, not
only does the music control window disappear (I like that), but the
music also stops playing (don't like that).  Please see example
at:
http://www.caramiastudio.com/caramia/test-mx2004.swf

I am having trouble knowing where to insert the changes to my new
script.  If someone is available to help me, please let me know and I
will post the script at your request or send you the script.  Please
let me know.


=====
Silvia
909-860-0126
azuldeole@(protected)




-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Server geeks, take heart! If you're sick of wading through
animation & graphics instruction for relevant info., then
Nate Weiss' Macromedia Flash MX Professional 2004 for Server
Geeks is for you. Leave designing to designers and dig into
core concepts to create rich user interfaces, online
advertising, and more.  See www.peachpit.com for more info.
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/FLASHmacromedia/

<*> To unsubscribe from this group, send an email to:
    FLASHmacromedia-unsubscribe@(protected)

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/