thanx for helpin, but after consulting the multimedia handyman on
director-online i found this script (using fileIO) which was exactly what i
needed.(see below)
Though i have realized that BuddyAPI seems to be THE Xtra to use since
everybody seem to recommend it.But how hard is it to learn?
on mouseUp me
-- add the name to our list
set myFile = new(xtra "fileio")
if the machineType = 256 then
-- Windows
setFilterMask(myFile, "*.bmp, *.jpg, *.gif")
end if
set photoFileName = displayOpen(myFile)
-- assign the filename to the displayed castmember
set whichMember = the member of sprite 2
set the fileName of member whichMember �
= photoFileName
-- dispose of xtra
set myFile = 0
end
thanxAlot
-----Ursprungligt meddelande-----
Fr�n: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Skickat: den 1 februari 2001 11:20
Till: [EMAIL PROTECTED]
�mne: Re: SV: <lingo-l>search for file...
Hi,
Use buddyApi's baFindFirstFile() function. two functions are free if you
using demo version of it.
baFindFirstFile( "c:\", "yourfile.exe" )
Ramesh CT
Team Leader - Multimedia
Phoenix Global Solutions (I) Pvt Ltd
Office: 91 80 6665948 Extn:2169
Mobile: 9844117802
http://www.lingoman.net/
[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!]
[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!]