> When a cast file is selected from Director's own "Where
> is..?" dialog, and
> the user selects a file that is not a valid cast file,
> Director tells you
> so. How does it know? What does it check? Can I check this
> before even
> assigning a file to be the cast's external source (on Mac and
> Windows)?

Slava,

if you are letting users load assets that are in external castLibs the
way to do this is to be sure, even on the Mac, to have a file
extension. then only display files of a certain type. I think you can
do this on the Mac using FileIO, I know you can on the PC.

if they have renamed other files with a C*T extension, well we can't
help stupidity. <grin> Director will not load it tho & will throw an
error.

hth

Al Hospers
CamberSoft, Inc.
al<at>cambersoft<dot>com
http://www.cambersoft.com

A famous linguist once said:
"There is no language wherein a double
positive can form a negative."

YEAH, RIGHT



[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!]

Reply via email to