New topic in General: Loading images by file and setting a mask to it problems
x11joex11 - Wed Apr 02, 2008 2:17 am <http://forums.realsoftware.com/viewtopic.php?t=21590> Hey there I got a question, maybe there is a quick answer. I'm loading in some images into my program by using the folderitem class and .openAsPicture() method and then storing it to a global variable for reference later. I then load another image as the mask for it and then tell the global variable I created that it's mask is the 'mask' image I have set. Now I know the mask works because if I load the images manually by dragging them into the program and in the IDE set the mask property for the image that needs the mask to the mask it will work. However if I set the global variable to manually set the mask nothing happens? (By manually I mean, in code saying picture1.mask=theMaskImage), or something along those lines. The images I'm trying to load are .png's, I can change the format if it's suspected, and I will be playing with that next. I'm on Mac Os X running Realbasic 2008 R1 - Joe _________________ -=Domain Finder=- -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
