Flasher Archive

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


Subject: Re: FLASH: get and set property problems in level 1 movie
From: John Croteau
Date: Wed, 28 Jul 1999 08:57:48 +0100

Hi Karin,

> Okay, I used this scripting since the frame labeled turn is in the MC
> and the button is on the timeline of the MC. This does not work. So
> I added a text field like you said and when I look at the variables in
> the test movie mode I get this:
>
> Movie Clip: Target=""
> Variable _level0/tube:DropName = "Not yet"
> Variable _level0/tube:1 = ""
>
> What does this tell me? I used level0 since I am working on it as a
> level0 movie.
> I'm confused.

The Not Yet was meant as text in a text field with a variable name of
DropName to help monitor the _droptarget value.

OK if a movie is on a Level other than zero then _droptarget returns the
_levelx.
-----------------------------------
So for level 5:

On (Release)
Stop Drag
Set Variable: "DropName" = GetProperty ("", _droptarget)
If ("DropName" eq "_level5/drain")
Go to and Play ("turn")
End If
End On
--------------------------------------------
But for Level zero there is no _level0/ :

On (Release)
Stop Drag
Set Variable: "DropName" = GetProperty ("", _droptarget)
If ("DropName" eq "/drain")
Go to and Play ("turn")
End If
End On
--------------------------------------------
If you needed the routine to to be flexible, a string comparison routine
could be created.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: get and set property problems, Karin Christensen

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