Flasher Archive

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


Subject: FLASH: target detection
From: Johnson, Dana
Date: Thu, 20 Apr 2000 19:15:43 +0100

need help!!!

with the help of Cheri harder and bill I have put together a detection
script for the grocery store scanner


Set Variable: "n" = 1
Loop While (n<=3)
Set Variable: "scan" = "/TA3"&n
Set Variable: "dx" = GetProperty (scan,_x) - GetProperty ("/DA3",_x)
Set Variable: "dy" = GetProperty (scan,_y) - GetProperty ("/DA3",_y)
Set Variable: "dx" = dx*dx
Set Variable: "dy" = dy*dy
Set Variable: "rad" = GetProperty (scan,_width)
Set Variable: "rad" = rad*rad
Set Variable: "dp" = dx + dy
If (dp < rad)
Begin Tell Target ("/mcsound")
goto and play "Beep"
End Tell Target
End If
Set Variable: "n" = n+1
End Loop


trying to get the movie clip(DA3) to play beep on sweep of scan(TA3) while
mouse is dragging MC not during release.


<thanks>In Advance</thanks>



Dana E. Johnson
Webmaster/Internet Developer
Logistics Services International. LSI, Inc
Bus (904) 771-2100 Ext. 2496
Fax (904) 771-1913
Email djohnsonatlsijax [dot] com




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

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


Replies
  Re: FLASH: target detection, Cheri Harder

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