as2 NOT as3
how do i pull a flash vars into a class, into a private function
private function initPlaylist(Void):Void {
snd = this.createEmptyMovieClip("snd",this.getNextHighestDepth());
s = new Sound(snd);
playlistXML = new XML();
playlistXML.ignoreWhite = true;
var r = this;
playlistXML.onLoad = mx.utils.Delegate.create(this, parseXML);
**// below fileloc is the flash vars **
playlistXML.load(fileloc+"/music.xml");
}
bah. nevermind. i figured it out.
var l = _root.flashvarname; playlistXML.load(l+"/music.xml");
Sorry, you must be a member to post to a conversation. Either
log in or
sign up
to get involved.