How do I internalize an image source?

Chipp Walters chipp at chipp.com
Tue Jul 29 15:55:01 EDT 2003


put url("binfile:" & "C:/test.png") into image "myinternalimage"

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Graham
> Sent: Tuesday, July 29, 2003 10:08 AM
> To: RunRev Users List
> Subject: How do I internalize an image source?
>
>
> I guess I should know this, but I couldn't find it in the docs:
>
> An image can either have a source which is an external file with an
> explicit path (the filepath), or it can contains its own source (as the
> result of creating the image via 'import'), in which case the 'source'
> field in the Inspector for the object will be empty and no external file
> will be invoked when the image is displayed. This is explained in the TD.
>
> How can I switch internalised sources without creating new image objects,
> as always happens (AFAIK) when one uses the 'import' command,
> i.e. how can
> I copy a picture (say a GIF) from one image to another without
> maintaining
> an external file reference in the second image and without creating a
> completely fresh image? I want to do this so as to maintain the custom
> props etc of a specific object while changing what the user sees on the
> screen, without having to install external files along with my
> app. I think
> it must be possible, but I can't work out how to do it.
>
> TIA
>
> Graham
>
> ---------------------------------------------------
> Graham Samuel / The Living Fossil Co. / UK & France
>
>
> _______________________________________________
> 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