Flasher Archive

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


Subject: RE: FLASH: Action script
From: Gonzalez, Manuel (MCG) - CPC
Date: Fri, 7 Jan 2000 22:21:36 GMT

Eric
What would the property be in the GetProperty expression?

GetProperty(target,property)

GetProperty("/1button", ?)

-----Original Message-----
From: Eric Smollin [esmollinatPLANSOFT [dot] com (mailto:esmollinatPLANSOFT [dot] com)]
Sent: Friday, January 07, 2000 1:32 PM
To: 'flasheratchinwag [dot] com'
Subject: RE: FLASH: Action script


>Hello Flashers,
>Is thier anybody out there who can help me with an action script?
>Here's the scenario
>I want to drag a movie clip over another triggering the time line to
advance
>to a label on level one.
>here's the disfunctional code:
>On(press)
>Start Drag("/1button)
>End On
>On (release)
>Stop Drag
>If( GetProperty("/button",_droptarget) eg "/portal")
>Begin Tell Target("_level0")
>Go To And Play("Start1")
>End Tell Target
>End If
>End On
>Does anyone have any Ideas? I'm restless in San Francisco trying to
figure
>this action out......Please help


Hi,

What level are you on when you are trying to trigger your target frame? If
you are on the same level, the following code would work. (It would go in
the button that is embedded in the MC that is being dragged):

On (Press)
Start Drag (GetProperty(_x, _y))
End On
On (Release)
Stop Drag
If (_droptarget eq "/target")
Begin Tell Target ("/")
Go to and Stop ("TargetFrame")
End Tell Target
End If
End On


Good Luck
-Eric-


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

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



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

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


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