mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 17: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,63 @@
|
||||
package ecard
|
||||
{
|
||||
import flash.display.MovieClip;
|
||||
import loader.MediaHelper;
|
||||
|
||||
public class ECardImageBase
|
||||
{
|
||||
|
||||
private var _mediaId:int;
|
||||
|
||||
private var _img:MovieClip;
|
||||
|
||||
private var _img2:MovieClip;
|
||||
|
||||
private var _imgHelper:MediaHelper;
|
||||
|
||||
private var _imgHelper2:MediaHelper;
|
||||
|
||||
public function ECardImageBase()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function init(param1:int) : void
|
||||
{
|
||||
this._mediaId = param1;
|
||||
this._imgHelper = new MediaHelper();
|
||||
this._imgHelper.init(this._mediaId,this.imgReceived);
|
||||
this._imgHelper2 = new MediaHelper();
|
||||
this._imgHelper2.init(this._mediaId,this.img2Received);
|
||||
}
|
||||
|
||||
private function imgReceived(param1:MovieClip) : void
|
||||
{
|
||||
this._img = param1;
|
||||
this._imgHelper.destroy();
|
||||
this._imgHelper = null;
|
||||
}
|
||||
|
||||
private function img2Received(param1:MovieClip) : void
|
||||
{
|
||||
this._img2 = param1;
|
||||
this._imgHelper2.destroy();
|
||||
this._imgHelper2 = null;
|
||||
}
|
||||
|
||||
public function get img() : MovieClip
|
||||
{
|
||||
return this._img;
|
||||
}
|
||||
|
||||
public function get img2() : MovieClip
|
||||
{
|
||||
return this._img2;
|
||||
}
|
||||
|
||||
public function get mediaId() : int
|
||||
{
|
||||
return this._mediaId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user