home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 149
/
MOBICLIC149.ISO
/
pc
/
DATA
/
DSS149
/
DSS149_01
/
DSS149_01.swf
/
scripts
/
dss149_01
/
BtSuite.as
next >
Wrap
Text File
|
2012-11-21
|
2KB
|
60 lines
package dss149_01
{
import com.milanpresse.engine.Engine;
import com.milanpresse.engine.initmovieclip.InteractiveMovie;
import com.milanpresse.engine.managers.TimelineManager;
import com.milanpresse.engine.medias.MediaSwf;
import com.milanpresse.engine.timelines.Timeline;
import com.milanpresse.engine.typeargument.NoiseObject;
import flash.display.MovieClip;
public class BtSuite
{
private var BT_SUITE:InteractiveMovie;
private var animMc:MovieClip;
private var animTl:Timeline;
public function BtSuite(_engine:Engine, _timelineManager:TimelineManager, _timeline:Timeline)
{
var BT_SUITEswf:MediaSwf = null;
super();
BT_SUITEswf = _engine.showSwf({
"code":"BT_SUITE",
"parent":_engine.config.layers["menu"]
});
this.BT_SUITE = new InteractiveMovie(BT_SUITEswf.swfContent,_timelineManager);
this.BT_SUITE.gotoAndStop(1);
this.BT_SUITE.mc.onRollOver = function(p:Object):void
{
_engine.playNoise(new NoiseObject({"code":"B_RET"}));
_engine.showIB({
"id":"IB_SUITE",
"reference":BT_SUITEswf.swfContent,
"position":12
});
animMc = this.ANIM;
animTl = new Timeline(animMc,_timelineManager);
animTl.GotoAndPlayUntilTheEnd(1);
};
this.BT_SUITE.mc.onRollOut = function(p:Object):void
{
_engine.stopNoise(new NoiseObject({"code":"B_RET"}));
_engine.hideIB();
};
this.BT_SUITE.mc.onPress = function(p:Object):void
{
_engine.stopNoise(new NoiseObject({"code":"B_RET"}));
_engine.hideIB();
_timeline.GotoAndPlayUntil({"labelStop":"_21"});
this.kill();
_engine.hideSwf({"code":"BT_SUITE"});
};
this.BT_SUITE.activeMC();
}
}
}