Gimme Some Skin
Easily create unique brands for your media
by Stephen Schleicher
Producer

 

 

 

 

 

Applying an action to an event is very simple

Even though it may look confusing, you may assign multiple actions to an event. This allows a single action to goto the beginning of a movie, switch layers, and play the new movie, for example.

Our Related Sites
Our Related User Forums

Wiring Sprites for Interaction
Let's start with the Play and Stop buttons first since they are the simplest, and if you plan to stream a single movie, then this will be most important to you. Click on the drop down arrow in timeline to reveal the sprite buttons.

Click on the keyframe of the Play button to make it active and then click on the Action tab of the Inspector window. Select the Mouse Click event, and click on the Add New Action button. Select Movie Rate from the drop down menu and change the value to 1 and then Apply.

Click on the keyframe of the Stop button, make it active, add a new action, and select the movie rate as before, but this time change the value to 0. We have just set these two buttons to play and stop the QuickTime movies. If all you are adding is Play and Stop buttons, you can jump to "The Skin Stands Alone".

The segment buttons were a bit different and to save time and space, I will quickly outline how to do one of the buttons. Make sure to Add New Action for each action listed.

Segment 1 button Mouse Click
· Track Set Enabled. Select Segment 1 Video Track, and check the Track Enabled box.
· Track Set Enabled. Select Segment 1 Audio Track, and check the Track Enabled box. This will make the segment 1 audio and video tracks active.
· Track Set Enabled. Select Segment 2 Video Track, and uncheck the Track Enabled box.
· Track Set Enabled. Select Segment 2 Audio Track, and uncheck the Track Enabled box.
· This will disable segment 2 audio and video tracks. Repeat this for segment 3 audio and video.
· Movie Go To Beginning. This will obviously sets the time to the beginning of the movie.
· Movie Rate, and set the value to 1.

Repeat this process for the other segments of the movie.

The Skin Stands Alone
That does it for wiring the sprites. If you examine the QuickTime tab, you will notice that you can also embed .swf, hypertext, and 3D tracks into you final movie.

Save the QuickTime movie as a self-contained movie. Another thing that I discovered is that the file size for this interactive QuickTime movie is the same size as a regular edition of DMN TV that plays the segments sequentially.

If we play the QuickTime movie, the viewer will be able to use all of the interactive controls that we just set, but it still plays within the QuickTime player. Time to make it a stand-alone skin.

The next step requires some XML programming, but thanks to Apple, the script is already written. Open notepad and paste the following text

<?xml version="1.0"?>
<?quicktime type="application/x-qtskin"?>
<skin>
<movie src="savedquicktime.mov"/>
<contentregion src="mask.pct"/>
<dragregion src="drag.pct"/>
</skin>

This little script will load and place the mask and drag mask images we created earlier and create the media skin.

Save this text file with the .mov extension (xml.mov for example), and place this script, the interactive QuickTime movie, and all of the image files in the same directory. Launch the xml.mov file in QuickTime Pro. If everything has been done correctly, you should have the QuickTime movie playing in its own stand alone window.

Read On...
or
View Complete Article...

 


[an error occurred while processing this directive]