Good point Tuviah!

Note Edwin, you can also:

on mouseUp
  answer file "Pick an image:"
  if it <> "" then
      put url("binfile:" & it) into image "myinternalimage"
  end if
end mouseUp

which allows you to set the imagedata of an image (and alphadata, too!) from
a file (or URL) outside of Revolution. The target image DOES NOT have to
have the same width and height.

This is also a way to create a 'non-referenced' image from a referenced one.

For instance, say you have an image "test" with it's filename set to
"C:/hello.png"

Then, you can

put URL ("binfile:" & "C:/hello.png") into image "test"

and it will now 'set' the imagedata for that image.

best,

Chipp

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tuviah Snyder
> Sent: Friday, July 25, 2003 7:54 PM
> To: [EMAIL PROTECTED]
> Subject: : RE: RE: moving images between stacks
>
>
> >set the imagedata of img 1 of stack "Untitled 2" to the
> imagedata of img 1
> of stack "Untitled 1"
> Better to use
>
> put image 1 of stack "untitled 1" into image 1 of stack "untitled 2"
>
> this preserves the compression, alphadata and mask, and will work with
> images of any size.
>
> Tuviah Snyder <[EMAIL PROTECTED]> <http://www.runrev.com/>
> Runtime Revolution Limited - Software at the Speed of Thought
>
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to