i think he means sumthin like this:

inside your button:

on (release)
{
     _root.myMC.endX = -500;
     _root.myMC.endY = -200;
}

assuming myMC is the movieclip you are talking about

On 07/06/06, jcanistrum <[EMAIL PROTECTED]> wrote:

if I understand it correctly, one way would be to use attachMovie like

var myMC = this.attachMovie( "MC", "newName", this.getNextHighestDepth())
;

myMC.onRelease = function()
{
       this.endX = -500;
       this.endY = -200;
}


2006/6/7, Tony Watkins <[EMAIL PROTECTED]>:
>
> OK, not sure I can explain this. The following code is inside the MC to
be
> repositioned. Notice the AS targets the button named contact.
>
>    _root.contact.onRelease = function() {
>        endX = -500;
>        endY = -200;
>    };
> }
>
> Fine. But what if I want to move the AS out of the actual MC and onto
the
> button named contact? How would I target the MC to be repositioned after
> on
> (release)?
>
>
> on (release) {
>        something here I presume?
>        endX = -500;
>        endY = -200;
> }
> _______________________________________________
> [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
>



--
João Carlos
_______________________________________________
[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

_______________________________________________
[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