This might help

-- Find a free sprite channel to puppet
-- Choose a range of numbers you arent using for other sprites
-- and a range large enough to accommodate however many of them you are
anticipating
repeat with i = 100 to 200
    if sprite(i).puppet = FALSE then exit repeat
end repeat   
sp = sprite(i)
-- puppet it
sp.puppet = true
-- set the member.
sp.member = member("folder")
sp.loc = point(x,y)
sp.ink = whatever inkmode you need
sp.blend = whatever other properties you need


J


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hart
Sent: Monday, March 03, 2003 3:20 PM
To: [EMAIL PROTECTED]
Subject: <lingo-l> create multiple sprite instances during runtime


Hi all:
  System is Win98SE, D8.5

I'd like to use Lingo to create multiple sprite intances of an image
member, during projector runtime.  The image is the typical PC folder
icon and is positioned as sprite(4)in the score, frame 7.  The number of
folder icons to be shown is based on a linear list of filenames I've
already retrieved.  But...short of manually placing multiple instances
of the member image ("folderIcon" ) offstage and relocating the points
at runtime, I can't figure this one out.  The objective is to create a
vertical stack of folder icons with the corresponding folder name after
it, just like Explorer.

  Any help is most appreciated.

Thanks,
John
John Hart
Send email, get paid! 
Sign up with my id, please:
http://www.zwallet.com/join.html?user=johnhart


______________________________________________________
Get Paid... With Your Free Email at
http://www.zwallet.com/index.html?user=johnhart
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to