Images & urls & keeping the image with no connection

Monte Goulding monte at sweattechnologies.com
Sat Sep 14 18:59:01 EDT 2002


YES! Thanks that's exactly what I want. It works with http too. Perfect for
offline browsing!!!!

Offcourse! Have a look at the put docs DOH!
>
> Monte,
>
> Found what you're looking for (I think):
>
> -- Assumes you have an image called "myinternalimage" already existing on
> the card
>
> on mouseUp
>   answer file "Pick an image:"
>   if it <> "" then
>       put url("binfile:" & it) into image "myinternalimage"
>   end if
> end mouseUp
>
> The basic construct is:
>
>     put <imageDescriptor> into <imageDescriptor>.
>
> If you use "imageData", there is an expectation that the target image has
> the same exact rectangle as the source image (otherwise you get garbage
> colors). If you use the construct above the target image object is
> automatically resized to fit the incoming image (or scaled if the
> lockLocation is true).
>
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
>
> ----- Original Message -----
> From: "Monte Goulding" <monte at sweattechnologies.com>
> To: <use-revolution at lists.runrev.com>
> Sent: Saturday, September 14, 2002 5:50 PM
> Subject: RE: Images & urls & keeping the image with no connection
>
>
> >
> > OK Yes as I said I know what import paint does. I was looking for
> something
> > that would be equivalent to:
> >
> > set the imageData of image "myinternalimage" to the imageData of image
> > "myExternalimage"
> >
> > That sounds like it should work but it produced a very messed up image.
> >
> > The docs also say nothing about "import paint form url " it's
> only file. I
> > also got an error message when I just tried. So the import
> command is not
> > what I need.
> >
> > To me it would be logical if setting the filename property to empty
> actually
> > imported the image but perhaps this would be bad for some
> strange reason I
> > can't think of????
> > >
> > > Uh, Monte, that's what 'import paint' does. It will import a
> copy of the
> > > graphic and make it an internal image that has no connection
> to outside
> > > source material.
> > >
> > > Ken Ray
> > > Sons of Thunder Software
> > > Email: kray at sonsothunder.com
> > > Web Site: http://www.sonsothunder.com/
> > >
> > > ----- Original Message -----
> > > From: "Monte Goulding" <monte at sweattechnologies.com>
> > > To: <use-revolution at lists.runrev.com>
> > > Sent: Friday, September 13, 2002 10:31 PM
> > > Subject: RE: Images & urls & keeping the image with no connection
> > >
> > >
> > > >
> > > > Yes I know about import paint what I was really after was a way to
> just
> > > copy
> > > > the image and make it an internal image. It seems even the imageData
> > > doesn't
> > > > work to do that. The reason why I need to do this is I want
> to use an
> > > image
> > > > on a web server but if there is no connection I just want to either
> > > display
> > > > the last image that was seen or a default image.
> > > >
> > > > >
> > > > > check out the 'import paint' command...
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: use-revolution-admin at lists.runrev.com
> > > > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte
> > > > > > Goulding
> > > > > > Sent: Friday, September 13, 2002 9:22 PM
> > > > > > To: Rev List
> > > > > > Subject: Images & urls & keeping the image with no connection
> > > > > >
> > > > > >
> > > > > >
> > > > > > How do you keep an image while offline?
> > > > > >
> > > > > > Monte Goulding
> > > > > > B.App.Sc. (Hons.)
> > > > > >
> > > > > > Executive Director
> > > > > > Sweat Technologies
> > > > > >
> > > > > > email: monte at sweattechnologies.com
> > > > > > website: www.sweattechnologies.com
> > > > > > mobile: (+61) 0421 138 274
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > use-revolution mailing list
> > > > > > use-revolution at lists.runrev.com
> > > > > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > > > > >
> > > > > _______________________________________________
> > > > > use-revolution mailing list
> > > > > use-revolution at lists.runrev.com
> > > > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > > > >
> > > >
> > > > _______________________________________________
> > > > use-revolution mailing list
> > > > use-revolution at lists.runrev.com
> > > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > > >
> > >
> > > _______________________________________________
> > > use-revolution mailing list
> > > use-revolution at lists.runrev.com
> > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > >
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list