Actionscript Reference - FlvPlaylist
flvPlaylist.autoPlay
Availability
Flash Player 7
Description
Property. Boolean value defining whether to start auto playing the playlist or not.
Example
flvPlaylist.autoPlay = true;
flvPlaylist.autoNext
Availability
Flash Player 7
Description
Property. Boolean value defining whether the next file in the playlist should be played automatically or not.
Example
flvPlaylist.autoNext = true;
flvPlaylist.flvChanged
Availability
Flash Player 7
Description
Event. Broadcast when the user clicks on a item in the playlist.
Example
var listenerObject:Object = new Object();
listenerObject.flvChanged = function(eventObject:Object) {
//
};
flvPlaylist.addEventListener("flvChanged", listenerObject);
flvPlaylist.getCurrentItem
Availability
Flash Player 7
Description
Method. Returns the current flvObject which contains properties like location and thumbnail.
Example
trace(flvPlaylist.getCurrentItem().location);
flvPlaylist.getNextItem
Availability
Flash Player 7
Description
Method. Returns the next flvObject which contains properties such as location and thumbnail.
Example
trace(flvPlaylist.getNextItem().location);
flvPlaylist.getPreviousItem
Availability
Flash Player 7
Description
Method. Returns the previous flvObject which contains properties such as location and thumbnail.
Example
trace(flvPlaylist.getPreviousItem().location);
flvPlaylist.repeatList
Availability
Flash Player 7
Description
Property. Boolean value determining whether to repeat the playlist or not.
Example
flvPlaylist.repeatList = true;
flvPlaylist.Shuffle
Availability
Flash Player 7
Description
Property. Boolean value determining whether to play the playlist in a random order or not.
Example
flvPlaylist.Shuffle = true;
flvPlaylist.XMLloaded
Availability
Flash Player 7
Description
Event. Broadcast when the XML file has finished loading.
Example
var listenerObject:Object = new Object();
listenerObject.XMLloaded = function(eventObject:Object) {
//
};
flvPlaylist.addEventListener("XMLloaded", listenerObject);
flvPlaylist.loadXML
Availability
Flash Player 7
Description
Method. Loads new XML file and applies new settings.
Example
flvPlaylist.loadXML(myData.xml);
flvPlaylist.isMasked
Availability
Flash Player 7
Description
Property. Boolean value that determines whether the playlist be masked or not.
Example
flvPlaylist.isMasked = false;
flvPlaylist.Orientation
Availability
Flash Player 7
Description
Property. Sets the orientation of items in the playlist. Can be 'vertical' or 'horizontal'.
Example
flvPlaylist.orientation = "vertical";
flvPlaylist.Distance
Availability
Flash Player 7
Description
Property. Numeric value that determines the distance between two items.
Example
flvPlaylist.Distance = 3;