Home > Products > Moyea Web Player Premium > Tutorial

Product List

Upgrade

Click to Get
Advanced Editions

Software Testing

Please download Test resources to test & compare Moyea SWF To Video Converters with other SWF converters!

A graphical program for customizing flash video player for website
Price: $99.95

How to use programming interfacesTutorial

First, load the SWF to a Movie Clip, so that you can access the Player variable. Use loadMovie or MovieClipLoader.
var mc = createEmptyMovieClip("mc", getNextHighestDepth());
mc.loadMovie("xxx.swf");
var thePlayer = mc.thePlayer;
Then, use the Player variable to access the methods. To handle the control bar events, you can code like the following:
var listener: Object = new Object();
listener.onEvent = function(sender, type, name, info)
{
//sender is thePlayer
if (name == "onCuePoint") { //handle other events if you like
trace("onCuePoint Event: name=" + info.name + ", type=" + info.type + ", time=" + info.time);
}
}
thePlayer.AddListener(listener);

Price: $99.95

Moyea Web Player Premium
Web Player Premium - Powerful Flash on Zune Player Solution!

You May Also Be Interested in These Items

Moyea SWF to Video Converter Std
Total Flash SWF to Video Converter Solution for common users! Learn More...
Price: $69.95

Moyea SWF to Video Converter Pro
The best & the only SWF Converter solution for professionals! Learn More...
Price: $99.95