mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,36 @@
|
||||
package resource
|
||||
{
|
||||
import flash.display.MovieClip;
|
||||
import loader.MediaHelper;
|
||||
|
||||
public class LoadIntro
|
||||
{
|
||||
|
||||
private var _mediaHelper:MediaHelper;
|
||||
|
||||
private var _callback:Function;
|
||||
|
||||
public function LoadIntro()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function init(param1:Function) : void
|
||||
{
|
||||
this._callback = param1;
|
||||
this._mediaHelper = new MediaHelper();
|
||||
this._mediaHelper.init(1904,this.onIntroLoaded);
|
||||
}
|
||||
|
||||
private function onIntroLoaded(param1:MovieClip) : void
|
||||
{
|
||||
param1.stopMovie();
|
||||
param1.visible = false;
|
||||
this._mediaHelper.destroy();
|
||||
this._mediaHelper = null;
|
||||
this._callback(param1);
|
||||
this._callback = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user