home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 127
/
MOBICLIC127.ISO
/
mac
/
DATA
/
DSS127
/
DSS127_03
/
DSS127_03.swf
/
scripts
/
frame_330
/
DoAction.as
Wrap
Text File
|
2010-09-13
|
1KB
|
51 lines
function playVideo()
{
var _loc2_ = getRessourceByID("V_" + gModuleName + myVideo,"flv");
if(_loc2_ !== undefined)
{
videoBox.src = _loc2_.attributes.src;
videoBox.gotoAndStop(2);
gTypeRessource = "flv";
testControls();
_root.videoPlaying = 1;
videoBox._width = 452.5;
videoBox._height = 337.1;
videoBox._visible = 1;
}
}
function suiteVideo()
{
videoBox._visible = 0;
_root.videoPlaying = 0;
if(gMusicOn)
{
soundObjects[gMusic].setVolume(gVolume);
}
if(getPos(listDone,0) == -1)
{
gotoAndStop("03_04");
}
else
{
gotoAndStop("QUESTIONS");
}
}
stop();
if(gMusicOn)
{
soundObjects[gMusic].setVolume(0);
}
gereTextes.afficheLM({codeLM:"LM_VIDEO"});
gereTextes.masqueLM({codeLM:"LM_03_ITV_Q01"});
gereTextes.masqueLM({codeLM:"LM_03_ITV_Q02"});
gereTextes.masqueLM({codeLM:"LM_03_ITV_Q03"});
gereTextes.masqueLM({codeLM:"LM_03_ITV_Q04"});
gereTextes.masqueLM({codeLM:"LM_03_ITV_Q05"});
COUPEVIDEO.useHandCursor = 0;
COUPEVIDEO.onPress = function()
{
suiteVideo();
};
trace("myVideo " + myVideo);
playVideo();