Flasher Archive

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


Subject: Re: FLASH: setting a variable from the location of an instance
From: Gabriel Mulzer
Date: Thu, 31 Aug 2000 13:00:00 +0100

1. no matter what your clips are called in the library,
you only can call it by the instances name (I am not sure if you do so )
2. its hard tell about your pathnames, because its not clear to me in which
clip is placed in which timeline
3. to retrive a property with GetProperty, the path/andname must be in ""
also, otherwise it is regarded as a varible name

hope this helped a little

_gabriel

At 11:47 31.08.00 +0100, you wrote:
>Hi flash crafters
>
>I'm currently wrestling with a moving menu system and it's got me in a
>Double Nelson at the moment!
>
>I've set up a draggable movie clip called mouse_pos, instance name; movie
>which follows the mouse around the screen. I have to do this in order to
>retrieve the mouse coordinates. Fine. But now I want to set another
>movieclip to move with it/towards it (eventually).
>
>So I made a movie clip (called; moving_base instancename; base) in a lower
>layer and tried to make a frame script to set the coordinates of this new
>clip to track those of the mouse_pos instance, something like this;
>
>Set Variable "loc_y" = GetProperty (mouse_pos,_y) // see note below
>Set Property ("/menu_base/base", Y Position) = loc_y
>
>Note: I think my problem is here in the usage/targeting of the Set
>function. I've tried a few things including level0/mousepos and
>mousepos/movie and also setting the Property directly from the GetProperty
>command but no joy ;-(
>
>Thanks to Greg Caines for help so far - I think I'm almost there!
>
>Ben Houghton
>Production Manager
>www.akoluthic.net
>
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>NudeGuru.com is proud to sponsor the Flasher list
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> IT'S THE ART OF MONEY, HONEY!
> Tips and Advice from some of the most popular Flash
> artists + industry power-brokers on how to hold onto
> your rights, negotiate contracts and get full value
> for your work.http://www.nudeguru.com from Franke James
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpatchinwag [dot] com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: setting a variable from the locat, Ben Houghton

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