New topic: 

Images not appearing in compiled App

<http://forums.realsoftware.com/viewtopic.php?t=14898>

       Page 1 of 1
   [ 6 posts ]                 Previous topic | Next topic         Author  
Message       BodoniSystems           Post subject: Images not appearing in 
compiled AppPosted: Tue Jul 17, 2007 12:14 pm                        
Joined: Tue Jan 30, 2007 10:44 am
Posts: 26              Hi 
I can't get any imported images to appear when I compile for Mac. 
I've tried so far: 
• pict, bmp and jpg files 
• setting images in an imagewell 
• backdrop of a canvas 
• Setting the backdrop in the IDE, and at runtime 
• Compiled as a Universal, and PPC 
 
Everything works on the PC side fine AND it works fine when compiling as a 
debug version. The images appear fine in the IDE- I can look at them and zoom 
in. I'm using RB2007R3. MacPro 10.4.10, and the MBS plugins 7.4 
 
Anyone else come across this? 
Lee   
                            Top               phi           Post subject: 
Posted: Tue Jul 17, 2007 4:48 pm                        
Joined: Wed Oct 12, 2005 6:43 am
Posts: 284              You could save them within your project and extract 
them in a temp-folder (using a binary filestream) during runtime and then load 
them dynamicly.   
                            Top               BodoniSystems           Post 
subject: Posted: Fri Jul 20, 2007 7:27 am                        
Joined: Tue Jan 30, 2007 10:44 am
Posts: 26              Well, loading the images at runtime works fine, so I'm 
doing that. 
 
Bit annoying though 
 
Lee   
                            Top               jamesee           Post subject: 
Posted: Mon Jul 23, 2007 4:00 am                               
Joined: Thu Mar 08, 2007 8:24 pm
Posts: 165
Location: Port Vila, VANUATU              Interesting.  I've got the same 
problem but the other way round.  My splash screen image works fine on the IDE 
and on compiled versions on the Mac, but when I compile for Windows it just 
comes out blank. 
 
I've noted your workaround thanks phi.  It looks a bit cumbersome, but I'll try 
it if I can't find anything better. 
 
Cheers 
 
jamesee    
                            Top               BodoniSystems           Post 
subject: Posted: Tue Jul 24, 2007 5:47 am                        
Joined: Tue Jan 30, 2007 10:44 am
Posts: 26              I'm loading the images from a resources folder at 
runtime and creating a picture object. 
 
The same images work fine in another app, compiled the same way. 
 
Lee   
                            Top               DogPaws           Post subject: 
Re: Images not appearing in compiled AppPosted: Mon Jul 27, 2009 10:53 pm       
                        
Joined: Sat Nov 10, 2007 11:35 am
Posts: 60              I was having the same problem with the image working 
fine on Mac but showing up blank on Windows.  Window.refresh after showing the 
window did the trick.   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 6 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to