Extracting Images from a http:// page

xavier.bury at clearstream.com xavier.bury at clearstream.com
Fri Feb 10 09:04:30 EST 2006


  --set the imageData of image 1 to  url  "binfile:" & myImagePath

should be

  --set the imageData of image 1 to  url  ("binfile:" & myImagePath)
 
the parenthesis are important...

i tried this which worked quite well

put url ("http://xxxx.xxxx") into img 1 and that worked...

sorry for inducing the binfile error ;)

cheers
Xavier


use-revolution-bounces at lists.runrev.com wrote on 10.02.2006 14:42:40:

> Hi Again,
> 
> Thanks a lot that worked just fine! The extract below reads thru the 
> URL list and flashes each image in an Image Object. However, I can't 
> seem to set the imageData, only the fileName. I don't want to hold 
> the image as a reference, but rather I want to import the image into 
> the stack. Is this possible? Uncomment the "set the imageData" line 
> below and comment the "set fileName" line, I just get a blank image.
> 
> 
>    put myURLList into field 1
> 
>    repeat for each line myImageLine in myURLList
>      put offset("src=" & quote,myImageLine) into myFromOffset
>      add 5 to myFromOffset
> 
>      put offset(quote,myImageLine,myFromOffset) into myToOffset
>      put myFromOffset + myToOffset - 1 into myToOffset
>      put char myFromOffset to myToOffset of myImageLine into myImagePath
> 
>      put myURLBase & myImagePath into myImagePath
>      --set the imageData of image 1 to  url  "binfile:" & myImagePath
>      set the fileName of image 1 to  url  "binfile:" & myImagePath
>      wait for 0.5 seconds
>    end repeat
> 
> Any ideas???
> 
> Thanks a lot
> All the Best
> Dave
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



-----------------------------------------
To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is 'firstname.familyname at clearstream.com'.

Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list