Hi Nitin!
if you want to import more than one image and if you want them to be
imported into cast members:
Create one bitmap cast member, name it, let's say "forImport" and write the
following in a movie script:
on importPicts
mypath = "(the path to the directory that contains your images)"
repeat with i = 1 to 9999999
nextFileName = getNthFileNameInFolder(myPath, i)
if nextFileName = EMPTY then
exit
end if
member("forImport").fileName = myPath & nextFileName
-- create new cast member
newMember = new(#bitmap)
newMember.image = member("forImport").image.duplicate()
end repeat
end
(untested Lingo)
Michael von Aichberger
-----Ursprungliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von nitin sharma
Gesendet: Mittwoch, 17. April 2002 16:33
An: [EMAIL PROTECTED]
Betreff: <lingo-l> Re: importing image into director file by lingo
hi
can anybody know how can we import images into my
projector by useing lingo.
thanks in advance
nitin
[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!]