This content has been marked as final. Show 3 replies
I'll start from the beginning with a basic QuickTime video setup.
First, assuming you've imported the QT OK and you've placed it in sprite channel
* Make sure sprite 1 extends from frames 1 to 10. This is just for my example so I
can refer to things easily.
* Place a 'Hold on Frame' behavior in frame 10 in the scripting channel. To do this
you can open the Library Palette, go to the Navigation category, then click and
drag the 'Hold on Current Frame' behavior to frame 10 in the scripting channel. You
can write your own behavior which would do the same thing by double clicking in the
scripting channel in frame 10 and entering the following in the Script window that
go the frame
* Play the movie. If the QT does not play, click on the QT cast member, then open
the Property Inspector. If the 'Paused' property is ticked, that means it is set to
paused at start. Unticked will mean it will play it immediately. If you have the
'Controls' property selected, that will put the QT control bar at the bottom and it
will also mean the QT is paused at the start.
* To create a pause/play behavior for the QT, create buttons/graphics to use as
these components and put them in sprite channels 2 and 3.
* For sprite 2, the pause button, we'll add a behavior from the Library Palette.
Choose the category Media > QuickTime. Then click and drag the 'QuickTime Control
Button' behavior onto sprite 2. You will then get to choose the action. Choose
'Stop' for pause.
* For sprite 3, the play button, use the same behavior as above but select the
action as 'Play' when you attach it.
If you were to write the video play / pause script it would be as follows:
set the movieRate of sprite 1 = 0
or in dot syntax
sprite(1).movieRate = 0
Play video - dot syntax
sprite(1).movieRate = 1
To play a video in reverse:
sprite(1).movieRate = -1
To play a video in fast forward:
sprite(1).movieRate = 2
Hope that clarifies things.
Director Lecturer / Consultant / Director Enthusiast
Thank you, very much, for the information. I have begun applying the steps, as outlined, and I am now seeing the results that should be expected. You are truly an asset to your trade.
Ditto on that last line
"digitlwzrd" <email@example.com> wrote in message
> Thank you, very much, for the information. I have begun applying
> steps, as outlined, and I am now seeing the results that should be
> You are truly an asset to your trade.