Page 1 of 1

clearing imageData!

Posted: Mon Mar 23, 2009 7:13 pm
by haitham
Hi,

When I have something like the following code:

-- MyImage is an image area
-- SomeData is a binary data of an image
set the imageData of image "MyImage" to SomeData


Now the image of "SomeData" appears in the "MyImage" area.
How can I clear and remove the the image from the image area "MyImage"?

I tried:
set the imageData of image "MyImage" to ""
set the imageData of image "MyImage" to empty

but both didn't work.

Anyone can help please.

Thanks,
Haitham

Posted: Mon Mar 23, 2009 7:39 pm
by Klaus
Hi Haitham,

like this:
...
put empty into img "MyImage"
## :)
...


Best from germany

Klaus

Posted: Mon Mar 23, 2009 8:24 pm
by haitham
Hi Klaus,

Well .. that's tricky :/ but still nice.

It seems that I am still didn't get familiar with Revolution. Programming in Revolution is different somehow from programming using C++, Visual Basic or ActionScript 3.0. In Revolution, you have to know exactly how you should write the right sentence.

Anyway, thank you very much for you quick response.

Regards,
Haitham