Flasher Archive

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


Subject: FLASH: Droptaget question
From: Shaun Brazier
Date: Mon, 21 Feb 2000 00:02:49 GMT

Hi,

I am working on a project where I have to release a dragged movie clip in a specific place. I thought that the following script(attached to a button) would enable this. I am trying to detect where the dropped movieclip is. Would I be right in saying that I can't use the _droptarget command until I have dropped the movie clip. (Ah, I think I am beginning to see the problem...doh!). Too many hours syndrome etc. If this is the case, what would be the best way to do it. I only want the movie to be able to be dropped in box "A" or box "B". If in Box B, the MC stops, if in box A the MC carries on playing. I hope I have explained myself properly.

Here is the story so far:


On (Press)
Start Drag ("/client")
Begin Tell Target ("/client")
Stop
End Tell Target
End On
On (Release)
If (_droptarget eq _x >= 72<= 166 and _y >= 121 <=140)
Stop Drag
Else If (_droptarget eq _x >= 72 <= 677 and _y >= 31 <= 94)
Stop Drag
Begin Tell Target ("/client")
Play
End Tell Target
End If
End On



Would I be better off using: "if((get property /client_x)>= 72<= 166 )and((get property /clients_y)=121 <=140)
Stop Drag

etc

As you can probably tell, my experience in writing the correct syntax is very limited!

Any help much appreciated

Thanks in advance
Regards
Shaun Brazier


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Desperate plea for sanity!, Shaun Brazier

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