hi
Michael von Aichberger

thanks for ur help but its not working i don't know
why
i write ur script but nothing is happing.

i created one bitmap cast member & named it,
"forImport" and write following
script in 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
 
but.......

where i m wrong ?
if i want this script on a button then?

i should write it in button script?

plz help again

lots of thanks

nitin



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
[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