Lost in the North,
[quoted text, click to view] > One is when I play my clip it keeps replaying over and
> over, even though I think I have put "stop" at the end of it.
What sort of clip are we talking about -- movie clip, audio clip, video
clip?
[quoted text, click to view] > I changed it under "properties" and where is says "sync"
> I have put "stop". Should it be on "repeat" or "loop" or
> am I completely in the wrong area to stop it?
Aha. What you're seeing there is called the Property inspector, which
is probably the single most flexible control panel on the screen. You'll
notice that the Property inspector changes as you select various objects on
the Stage: select a text field, and you'll find properties that relate to
text fields only; select a movie clip, those properties will change to
settings configurable for movie clips only; and so on.
The Sync property for audio clips determines how the audio plays as the
timeline's playhead encounters it during playback. A Sync setting of Event
means the full audio clip will load into memory as the playhead enters that
keyframe. Even if you tell the timeline itself to stop during the very next
timeline frame, the audio will continue until it runs out (and if you've
selected repeat or loop, it will repeat the number of times specified or
loop forever). A Sync setting of Stream means that the audio clip is locked
in-step with the timeline that contains it. If the full span of audio is 5
seconds, it might take 60 timeline frames to play it completely (assuming a
FLA framerate of 12fps, the default).
The Sync settings Start and Stop do start and stop audio files, but my
hunch is that your whole Flash movie (the SWF itself) is looping, and that
you're confusing that with the starting and stopping of merely the audio
portion. If you want the Flash movie to play through once and stop at the
end -- regardless of audio (which may have its own looping settings) -- put
a stop() function into a keyframe near or at the very end of your timeline.
Insert a keyframe at the end of your timeline, click inside the
keyframe, open the Actions panel (Window > Actions) and type stop(); in the
script pane. That's it.
[quoted text, click to view] > Second question is that I have uploaded it to a site. My goal
> is to have it play just once and then automatically open the
> next page of her site without clicking on anything. Is there a
> way to do this?
Sure thing. As the playhead moves along the timeline (this happens
internally, invisibly), the Stage itself updates visually and audibly in
response. It's not unlike a flip book: wherever your thumb happens to be
along the pages, that's the image showing. Programming, too, is triggred as
the playhead encounters keyframes. Instead of that stop() function in the
last keyframe of your main timeline, you could use the getURL() function
(assuming you're using ActionScript 1.0 or 2.0). If you're in Flash CS3 and
using ActionScript 3.0, you'd use the navigateToURL() function instead.
Look up either of those, as appropriate for the language at hand, in the
Help files (F1 key). You'll get example code that you can simply "lift" and
reuse. And if you get stuck, write back to this thread. ;)
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj "Luck is the residue of good design."