Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: ActionScript Help |
From: | George Gleissner |
Date: | Mon, 30 Oct 2000 22:05:00 GMT |
I tried that and it did work, however I am having trouble associating that
set of variables with the set from another object to determine collision.
The second object is also a motion clip which moves across the screen via
ActionScript.
So, basically I can get the coordinates for both objects, I just don't know
how to make them
talk to each other.
Thanks,
George Gleissner
Web Production Specialist
Association of Legal Administrators
847.247.5572
ggleissneralanet [dot] org
-----Original Message-----
From: Gregg Caines [gcneometrixsystems [dot] com (mailto:gcneometrixsystems [dot] com)]
Sent: Monday, October 30, 2000 1:10 PM
To: flasherchinwag [dot] com
Subject: Re: FLASH: ActionScript Help
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
gcainesneometrixsystems [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 helpchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpchinwag [dot] com
Replies
Re: FLASH: ActionScript Help, Gregg Caines
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]