PDA

View Full Version : Replace Image



nickdigital
04-21-2012, 03:54 PM
How does the image replace command work?

On Mike Green's website I see .replace and replaceimage but neither work.

Example:


myimage=Image();
myname=getfile("Hello");
myimage.replace(myname);
.replace gives me "invalid object method)

Example:

myimage=loadimage("c:\images\myimage.tga");
replaceimage(myimage);

replaceimage(); gives me "unable to locate function reference"

nickdigital
04-21-2012, 04:10 PM
I figured it out...my Image() object was empty. :foreheads