this.VIEWER = new prod.module.Viewer_v002({medias:MEDIAS,params:_root.xConfig,groupe_mc:MediasGroupe});
this.VIEWER.swapDepths(25114);
trace("LEVELS " + MediasGroupe.getDepth());
var _loc7_ = _root.attachMovie("PAD_PHOTO","PAD_PHOTO_FS",35210,{_x:_root.xConfig.PadX,_y:_root.xConfig.PadY,_xscale:_root.xConfig.PadScale,_yscale:Math.abs(_root.xConfig.PadScale)});
var _loc5_ = 660 - _root.PhotoDepart.vignette.Bitmap._width;
_root.Tween1 = new mx.transitions.Tween(_root.PhotoDepart.vignette.Bitmap,"_x",mx.transitions.easing.Strong.easeOut,_root.PhotoDepart.vignette.Bitmap._x,_loc5_,2,true);
_root.Tween2 = new mx.transitions.Tween(_root.PhotoDepart.vignette.Bitmap,"_x",mx.transitions.easing.Strong.easeOut,_root.PhotoDepart.vignette.Bitmap._x,_loc5_,2,true);
_root.Tween2.onMotionChanged = function()
{
_root.PhotosDistribue();
};
};
FLD.OnRelease = function()
{
this.gotoAndStop("E2");
};
_root.ZONE_SLIDE = new prod.module.ZoneDetectEvent_v001({pere:_root,x:0,y:0,w:800,h:463,level:2300});
_root.ZONE_SLIDE.onDbClic = function()
{
_root.VIEWER.ModePleinEcranSwap();
gereCursor("mainO");
};
_root.ZONE_SLIDE.onDown = function()
{
};
_root.ZONE_SLIDE.onRollOver = function()
{
trace("MediaOnRollOver");
gereCursor("mainO");
};
_root.ZONE_SLIDE.onRollOut = function()
{
trace("MediaOnRollOut");
gereCursor("fleche");
};
_root.ZONE_SLIDE.onRelease = function(ecart)
{
trace("MediaOnRelease");
gereCursor("mainO");
_root.VIEWER._SensSlide = - ecart;
_root.VIEWER.MediaFinSlide();
};
_root.ZONE_SLIDE.onPichenette = function(ecart)
{
trace("onPichenette");
gereCursor("mainO");
_root.VIEWER._SensSlide = - ecart;
_root.VIEWER.MediaFinSlide();
};
_root.ZONE_SLIDE.onReleaseOutside = function()
{
trace("MediaOnRollOut");
gereCursor("fleche");
this.onRelease();
};
_root.ZONE_SLIDE.onClic = function()
{
trace("onClic " + this);
gereCursor("mainF");
_root.VIEWER.startDrag();
};
_root.ZONE_SLIDE.onPress = function()
{
trace("MediaOnPress " + this);
_root.Tween3.stop();
_root.Tween4.stop();
_root.Tween5.stop();
_root.Tween6.stop();
_root.Tween7.stop();
};
var _loc11_ = _root.creerRectangle({pere:_root,level:2105,nom:"FOND_PLEIN_ECRAN",alpha:100,x:0,y:0,width:800,height:600});
var _loc2_ = 400 - _root.PhotoDepart.vignette.Bitmap._width / 2;
_root.Tween1 = new mx.transitions.Tween(_root.PhotoDepart.vignette.Bitmap,"_x",mx.transitions.easing.Regular.easeOut,_root.PhotoDepart.vignette.Bitmap._x,_loc2_,1,true);