On 1/25/11 12:19 PM, William de Smet wrote:
Hi there,

Why doesn't this work for BMP files?
answer file "Kies een foto:" with type "All
Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf"

on mouseup
     answer file "Choose:" with type "All
Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf"
                if it = empty
                then
                   put empty into img "x1"
                     exit mouseUp
                end if
                put url ("binfile:"&  it) into img "x1"
end mouseup

It looks like it should work. What goes wrong?

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to