Maybe you should try to use objects (not trails). I have very simple idea:
[ I have it done for you, go to www.wsisiz.edu.pl/~drejewic ]
[ If you want I can send source file to you. ]
For example:
If user has a stamp "TOP SECRET" bitmap, a parent script for it looks like:
-- STAMP PARENT SCRIPT
property pSprite
on new me, myLoc
(the actorList).add( me )
pSprite = sprite( firstEmpy( ) ) -- firstEmpty is an custom handler
pSprite.puppet = TRUE
pSprite.member = member( "bmpTOPSECRET" ) -- where bmpTOPSECRET is a name
of your stamp sign bitmap
pSprite.loc = myLoc
return me
end
And every time if user is using "Stamp tool" this handler should to wokr (in
some Movie script):
on mouseDown
if STAMP=TRUE then
script( "STAMP PARENT SCRIPT" ).new( the mouseLoc )
end if
end
and findFirst( ) definition (in Main movie script):
on firstEmpty
repeat with i=1 to 150
if sprite( i ).member = member( 0 ) then return i
end repeat
alert "There is no empty channel!"
end
-----Original Message-----
Subject: <lingo-l> Stmap tool
I need to create a stamp tool that will leave a stamp where ever the user
clicks any ideas? I had hoped to be able to do this using trails.
Thanks
John
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]