عرض مشاركة واحدة
  #8  
قديم 09-04-2012, 09:29 AM
الصورة الرمزية الاستاذ خليل
الاستاذ خليل الاستاذ خليل غير متواجد حالياً
المدير العام


 
تاريخ التسجيل: Jan 2003
الدولة: مملكة البحرين
المشاركات: 3,977
كود:
onSelfEvent (load) {
    
    fscommand("FullScreen",true);
    
        B_true_false._visible = false;
        a_false._visible = false;  
        a_true._visible = false; 
t1_x=t1._x;
t1_y=t1._y;
t2_x=t2._x;
t2_y=t2._y;
t3_x=t3._x;
t3_y=t3._y;
t4_x=t4._x;
t4_y=t4._y;
f1_x=f1._x;
f1_y=f1._y;
f2_x=f2._x;
f2_y=f2._y;
f3_x=f3._x;
f3_y=f3._y;
f4_x=f4._x;
f4_y=f4._y;
}
onFrame (2) {
    stop();
}
كود:
onSelfEvent (press) {
    
    startDrag(_target, false);
}
onSelfEvent (release) {  
    stopDrag();
    str=String(this._name);
    n=str.substr(0,1); 
    
       trace(str);      
    trace(n);
    if(this._droptarget==_parent.tr1._target){
        
      this._x=_parent.tr1._x ;
       this._y=_parent.tr1._y ;
         _root.a_true._visible=true;
    _root.a_true.gotoAndPlay(2);
        }else if(this._droptarget==_parent.tr2._target){
        
      this._x=_parent.tr2._x ;
       this._y=_parent.tr2._y ;
         _root.a_true._visible=true;
    _root.a_true.gotoAndPlay(2);
        }else{
            
this._x=_root.t4_x ;
this._y=_root.t4_y ;
_root.a_false._visible=true;
_root.a_false.gotoAndPlay(2);
            }
}
كود:
onSelfEvent (press) {
    
    startDrag(_target, false);
}
onSelfEvent (release) {  
    stopDrag();
    str=String(this._name);
    n=str.substr(0,1); 
    
       trace(str);      
    trace(n);
    if(this._droptarget==_parent.fa1._target){
        
      this._x=_parent.fa1._x ;
       this._y=_parent.fa1._y ;
         _root.a_true._visible=true;
    _root.a_true.gotoAndPlay(2);
        }else  if(this._droptarget==_parent.fa2._target){
        
      this._x=_parent.fa2._x ;
       this._y=_parent.fa2._y ;
         _root.a_true._visible=true;
    _root.a_true.gotoAndPlay(2);
        }else{
            
this._x=_root.f4_x ;
this._y=_root.f4_y ;
_root.a_false._visible=true;
_root.a_false.gotoAndPlay(2);
            }
}
__________________
هذا من فضل ربي
رد مع اقتباس