You have available literally thousands of sprites (or whatever the maximum number of sprites is as listed in your movie properties).
What you need to do is:
- Puppet the sprite. Supposedly they auto-puppet, but I don't believe it. Puppeting it saves a lot of trouble.
- Set the member of the sprite to be the artwork of your folder (sprite(x).member =member "folder")
- Set the rect of the sprite to be where you want it to be (or set the loc, typically the center, where the regpoint will be positioned)
- Set the visible of the sprite to be true
- Set the forecolor of the sprite to 255. This used to be required, may not be required now, but I always do it anyway.
As for puppeting - puppeting tells Director that you have taken responsibility for controlling the sprite. This works fine if you are doing it all in Lingo. If you are using the score, though, then on the next frame entry, the sprite as defined in the score will reassert itself.
If most of your stuff is in the score and not in Lingo, then you will not be able to do the above (assuming you don't want to) and you will instead have to look at score recording which is more cumbersome.
But if you are doing it all in Lingo, then the above should get you going in the right direction. I might have missed a step, but hopefully not.
- Tab
At 03:20 PM 3/3/03, John Hart wrote:
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!]
