Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: a sound / MC thing
From: Cheng, Kynan (London)
Date: Fri, 14 Apr 2000 00:07:52 +0100


Hi everyone

This file is on http://www.dragon.totalserve.co.uk. Not the coolest thing,
but my first flash thing and my first web thing too. This is a part of a
tutorial done from webmonkey.com. My problem is with the play/stop button.

The sound works fine, but once the sound is done (it's set as a 'start'
rather than an 'event') I'm not sure how to send it to the first frame. Ok
it's like this:

two layers. 1 sound, 2 text:play/stop

1st frame: 1. humming sound stop, frame action stop. 2 text:play
2nd frame 1. humming sound start, frame action stop. 2 text:stop

So, my button in the main scene Tell Targets this movie clip. Click the
button, it goes to frame 2 sound pplays, and the button says stop. Click it
again and it goes to frame 1 sound stops and the button says play.

got it so far?

OK so if I click the button again, the sound plays. If I let it play
through, the sound has ended, but the movie is still at frame 2. (the
tutorial was designed for an infinitely long sound) What I'd like to see is
that as soon as the sound is done that it sends the movie back to frame one,
but not before or else the sound will clip/stop short.

Can i Tell Target "play the movie, if movie in frame two and sound is done
go to frame 1"? Not sure about how to implement this using the action
script..



Also:

I have the sound on as it's own movie clip symbol. How do I figure out the
level it's on? That's one thing I can't seem to find is something that
shows the hierarchy or contents of _levelX and so thus I have a hard time
understanding how they work - or more accurately what symbol is where on
what level.


Thanks,
Kynan Cheng

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: a sound / MC thing, Helen Triolo
  Re: FLASH: a sound / MC thing, Marc Hoffman, Poison Dart

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]