I'm seeing an odd behavior when trying to use stack graphics as the icon states for buttons.
1) The pdf tutorial states "We recommend that you keep any images which you plan to use as icons on a single card or within a substack". However, if I make an Assets sub-stack and put my graphics there, all other stacks no longer see them. As far as I can tell, the graphics have to be duplicated in every stack that will use them. Very unfortunate.
2) When I click on the "wand" graphic to bring up the image library from within the Inspector, some of my graphics show up as blank squares. The graphics are fine, but I can't tell which to click on since the library doesn't want to show me a preview of which is which. I have uploaded a screenie to illustrate. You can see what the library is showing me, and to the right are the six graphics in the stack, which it fails to show correctly.
Problems With Graphics for Buttons
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Problems With Graphics for Buttons
#2 (images from "this stack" not showing up properly) is bug #6424, filed two years ago.
Re: Problems With Graphics for Buttons
Because of this bug I generally add the graphics to a new card in the stack I want to access them with. It's an easy matter then just to copy this library card to any stack where these graphics are required. It's a pain when you want to add new images across several stacks but doing it this way has nether let me down.
Another option I sometimes use is to have the images in an accessable folder and ship this with the app.
This has a major advantage that you have the images in one place so are easier to update if required.
One of my apps which has to connected to the internet in order to function checks the datestamp of the local image against a duplicate named image online. If the online version is newer this is downloaded to the library folder, this allows me to make graphical changes on the fly and in this paticular app allows me to reset a background image for the app which has current news embedded and is also themed for the month/year etc.
Another option I sometimes use is to have the images in an accessable folder and ship this with the app.
This has a major advantage that you have the images in one place so are easier to update if required.
One of my apps which has to connected to the internet in order to function checks the datestamp of the local image against a duplicate named image online. If the online version is newer this is downloaded to the library folder, this allows me to make graphical changes on the fly and in this paticular app allows me to reset a background image for the app which has current news embedded and is also themed for the month/year etc.
Andy .... LC CLASSIC ROCKS!
Re: Problems With Graphics for Buttons
Hi aturban,
...
start using "the (sub-)stack with all the icons in it"
...
I am doing this for years and never had problems!
Best
Klaus
All the icons will be available to all open stack when you:aturban wrote:I'm seeing an odd behavior when trying to use stack graphics as the icon states for buttons.
1) The pdf tutorial states "We recommend that you keep any images which you plan to use as icons on a single card or within a substack". However, if I make an Assets sub-stack and put my graphics there, all other stacks no longer see them. As far as I can tell, the graphics have to be duplicated in every stack that will use them. Very unfortunate...
...
start using "the (sub-)stack with all the icons in it"
...
I am doing this for years and never had problems!
Best
Klaus