Hi Laurent,

You can do something like this:
//
parent1.onPress = function() {
   this.child1._xscale = 200;
   this.child1.onPress = function() {
       this._x += 25;
   };
   delete this.onPress;
};
//

// Kenneth Kawamoto (on the road)
// materia prima limited
// [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
// www.materiaprima.co.uk <http://www.materiaprima.co.uk>

<quote>
There a clip with two clip inside : parent1 and child 1 and child2 inside.

If I clic parent1 it _enabled child1 and child2

How can I do to suppres parent 1 function after ? I mean get child function
but not parent1 function

       parent1.onPress =function () {
           child1._xscale=200;
           child1._enabled=true;
           child2._enabled=true;
       };
       parent1.child1.onPress =function () {
           parent1.child1._x= parent1.child1._x+25;
       };

thanks
</quote>


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to