Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: position of a movie clip REVISED
From: Kristopher Schultz
Date: Fri, 10 Nov 2000 12:59:08 GMT

Quack,

Assuming that the burger0 instance was on the Main Timeline and that the
action you are writing is also on the main timeline it would look like
this...

bun_x = burger0.bun._x;
bun_y = burger0.bun._y;

BUT keep in mind that this is the bun instance's position RELATIVE to the
registration point (the little crosshair) of the burger0 symbol. If you want
the bun's ABSOLUTE position in relation to the upper left corner of the
stage it would look like this...

bun_x = burger0._x + burger0.bun._x;
bun_y = burger0._y + burger0.bun._y;

Make sense?



kristopher schultz - mills james productions
programming : compression : management

@ www.millsjames.com - columbus, ohio

[SNIP]
>
>
> I have a movie clip "burger" with instance name burger0
>
> If i want to get the x position ( burgerx0 )and the
> y position ( burgery0 ) of a movie clip "bun" within the burger movie clip.
>
> MC bun has instance name bun
>
> what is the action for this ? I've tried a few things but it's having a
> temper tantrum.
>
> Thank you
> Quack
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: position of a movie clip REVISED, Quack the Duck

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]