At 18:56 -0400 07/10/2002, g r i m m w e r k s wrote:

>I'm curious here - if I wanted to do the file directory viewer like a normal
>mac view, with little folder open/closed icons -- so I have an offscreen
>text member that I populate the listing. I'll then create an image buffer
>that will be the display size for the listing, and do a repeat loop of the
>lines visible in the member to add to the offscreen buffer, and put the icon
>next to the line, right (shorhand, sorry...baby getting ready for a bath).

You could try that but I think you would be insane to do so, 
especially if you have a structure of any appreciable length or depth.

You might be able to grab a shot of the text member with the picture 
property (not image) and compose things on top of it, but if you want 
files and folders, embed Wingdings or Webdings and use their dingbats 
instead to draw the first couple chars of any line.

Wingdings, I believe, uses 0 and 1 for an open and closed folder, 
respectively, and I think 2 for a document icon, so it makes things 
easy -- just put in the digits and set the font, then set the rest of 
the member's line to whatever font you want.

>So should I create a property list of the lines (if need be) and add each
>lines rect, then for rollovers checking inside(mouseloc, rectlist[I]) to see
>if a line should be changed for the rollover, etc.

I wouldn't do that either because -- frankly -- rollover hilite 
functionality is overrated and eats too many cycles. ;)

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
         http://shop.osborne.com/cgi-bin/osborne/0072195622.html
[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