moveTo
Version 1moveTo - moves base Mp3Jukebox to specified x, y
Description
void moveTo ( x:Number , y:Number )moveTo() simply moves the base MovieClip that the Mp3Jukebox is drawn on to the specified x, y coordinates. Nothing fancy, but feel free to draw your own motion classes and extend Mp3Jukebox. Hell, if you do that, let me know. I'd be interested in seeing what kind of applications could be had. Maybe the Mp3Jukebox sliding out from under a mask...
Example:
This example creates an instance of the Mp3Jukebox and moves it to 20, 20.
//Construct player and load playlist
var player:Mp3Jukebox = new Mp3Jukebox("playlist.xml");
//Use to move controls/readout to specified x,y
player.moveTo(20, 20);
var player:Mp3Jukebox = new Mp3Jukebox("playlist.xml");
//Use to move controls/readout to specified x,y
player.moveTo(20, 20);
See also: initLayout(), setSize()