Flasher Archive

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


Subject: Re: FLASH: Get Property in Specifice Frame
From: Cheri Harder
Date: Tue, 25 Jan 2000 19:09:25 GMT

Hi, Larry.

I'm off doing things today, but thought I'd point you to a good collision
detection page in case you haven't seen it? It's Colin Moock's and has some
"tutorial" material and sample fla's....
http://www.moock.org/webdesign/flash/actionscript/collision/index.html

Hope this helps for now?

~~~~Cheri Harder~~~~~
charderatawsolution [dot] com
Advantage Web Solution
"Developing your internet storefront"
www.awsolution.com
----- Original Message -----
From: "Larry Eisenstein" <larryatapollo-ent [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Tuesday, January 25, 2000 10:12 AM
Subject: RE: FLASH: Get Property in Specifice Frame


> Hi All,
>
> Thanks Cheri, I'm still having problems
> I think I didn't make it very clear what
> I was trying to do...so here goes.
>
> Parent MC "GuyOne" has a child MC "Hand"
> In MC "Hand", frame 4 (labeled 'Punch'),
> I placed a graphic symbol 'RightHand'.
> I changed 'RightHand's behaviour to MC.
> I named the instance "RightHandPunch".
>
> I want to get the x position property
> of "GuyOne/Hand/RightHandPunch" when
> frame 4, (labeled 'Punch')is played.
>
> I then want to compare this property
> with the position of other MC's on the
> stage. Some even embedded in
> other MC's like the above.
>
> I tried some of your suggestions but
> remain confused. Should I abandon turning
> the graphic symbols in specific frames
> into MC's. Or is this the way to get their
> properties to make comparisons and then
> issue Tell Target commands.
>
> I need this type of collision detection
> power to make my game work.
>
> Thanks for your help, Sorry If I'm asking
> you to repeat yourself.
> Larry
>
>
> >Larry wrote
> I want to get the x position of frame in MC /Hand
>
> >Cheri Harder wrote
>
> If I understand your question....you want to get the x position of a
certain
> "child movie clip" when it is at a specific frame of its action within
> another movie clip?
>
> Like you have a "Cat" movie clip on the main timeline, and a "Tail" movie
> clip within it. You want to find out the x position of the tail at frame
4
> of the Cat movie clip?
>
> You will need to have the Tail send its position, not go get it. That is,
> in frame 4 of the cat movie clip, do a Set Variable "TailPos" =
> (GetProperty(Tail,_x)) then you can get the variable from anywhere.
(Refer
> to it as /Cat/:TailPos)
>
> You can't get at it the other way around, as it is a "moving target" so to
> speak.
>
> I think where you have seen frames referred to with colons, (like in
> "/MovieClip/:framename") is in a Call statement - that refers to the frame
> actions of a specific frame (labelled "framename") within the MovieClip
> instance.
>
> HTH
>
> ~~~~Cheri Harder~~~~~
> charderatawsolution [dot] com
> Advantage Web Solution
> "Developing your internet storefront"
> www.awsolution.com
> ----- Original Message -----
> From: "Larry Eisenstein (E-mail)" <eisensteinathome [dot] com>
> To: "Flasher@Shocker. Com (E-mail)" <flasheratshocker [dot] com>
> Sent: Sunday, January 23, 2000 8:28 PM
> Subject: FLASH: Get Property in Specifice Frame
>
>
> > Hi all,
> >
> > Is it possible to Get Property the x position of
> > a movie clip inside a specific frame of a parent
> > movie clip. I've seen something that looks like
> > this "/MovieClip:Frame1".
> >
> > Is that the way to call a specific frame or is that
> > how you communicate with a text field?
> >
> > If I want to do this should it look like this
> > Get Property ("/MovieClip:Frame1/MovieClipJunior",_x)
> > or
> > Get Property ("/"/MovieClip:Frame1,_x")
> > or am I just giving quarters to too many street people
> > or something?.
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Get Property in Specifice Fra, Larry Eisenstein

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