Flasher Archive

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


Subject: Re: FLASH: ActionScript Help
From: Gregg Caines
Date: Mon, 30 Oct 2000 21:33:13 GMT

If the object is a movie clip, and the animation including its
motion path is also a movie clip, you can get the x and y
position of the object by targeting the object MC within the
motion MC.

It would be something like
GetProperty(/motion_mc/object_mc/,_x)
or whatever its Flash 5 equivalent is...

---------------------------------------------------
Gregg Caines
n e o m e t r i x systems inc.
http://www.neometrixsystems.com
gcainesatneometrixsystems [dot] com


> I am working on a game where an object is thrown along a predefined motion
> path.
> When I try to place the coordinates of that object in a variable I only
get
> where the instance was initially placed.
>
> I need the variable to update as the object moves along the path.
> Any ideas?
>
> Thanks
> George Gleissner
> Web Production Specialist
> Association of Legal Administrators



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: ActionScript Help, George Gleissner

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