Well, the image size is nothing special, nothing too large or small, but the point is, I made a new project file, and I’ve made a simple function that will display each image from the imagesheet on the stage, 2 buttons to flip front and back, and I can say this works just fine on my pc, my android, my mac and my iphone, so it would seem the image is not the problem in this case.
I can think of no reason why this file should work in one project, and not the other, if I’m using exactly the same file, and the code.
it’s a large png file, with, as of now, 113 elements in it, and in my test project they work just fine, as I’ve just said, but on my original project, for some reason, a few of the images do not render. what I’m going to try next is actually using now the same functions from my test project in my actual project, and see what happens.
UPDATE:
I’ve tried the old file in the old project, with the new function to see all the images in turn that I’ve used in my test project, and all the parts are rendered correctly, so I guess what I should do now it devise some debugging mechanism and see if I can spot some hidden error in the code where I’m parsing the imagesheet where the images I need to not render, will keep updating.
UPDATE:
OK, I’ve traced the location and size of my image on all devices, the location and sizes printed are just fine on all devices, so my next step was to change the problematic image, and try to render a different image and see what happens, since I have other images in my imagesheet that have the exact same size as my “bad” image, and in this case, the mac and iPhone still refuse to render the image, so I can say that it’s not a problem of my specific frame in my imagesheet.
Also, it would seem that for all practical purposes, the project acts as if the images are there, since the problematic image is a button out of a set of buttons, where I position each button according to the position of the last button, the elements after the problematic button are rendered in their intended location, so the project can “see” and “feel” the image where it should be, but it does not show it.
UPDATE:
I’ve user the “bad” button frame instead of a different button I have on the same screen which had the same size, and it worked, so it’s not a problem of not rendering the imagesheet specific frame, but it’s somehow related to the position I’m rendering in…
LAST UPDATE, AND SOLUTION:
So I finally found a solution, even though the problem is still a mystery…
I have some buttons, titles and graphics I set on the screen, and off screen, then I insert them all into a display group, as I should, at the ends of my placing all the items, so I could drag and scroll that group as I’d like.
2 of these button did not render for some, still remain unknown, reason, they were not the first, or last, but somewhere in the middle.
The solution I found was to change order of the items in my display group, since I didn’t mind button 3 to be placed, visually, above button 2, since they will scroll the screen together and will never overlap, and this changing of the order is what made this work again. Do any other items don’t render well now they take up the old problematic buttons position in the hierarchy?? nope, they all render find, which is why I’m saying there is a solution, but I still don’t know what the problem is.
Hope this helps someone who have the same problem.