Button Back ground image issues !!!
Recently i happened to add the values for the following properties of Button.
1.backgroundImage:'1.gif'
2.backgroundSelectedImage:'2.gif'
but i don get these graphics at run time….can some one help me on this issue
3 Answers
-
Are you sure that is the right path? Remember that those are supposed to be relative to the current "js file"
-
Yes ofcourse raul they are in the same folder that has the Js file.
*Resources *--App.js *--1.gif *--2.gif
-
I know it has been a long time, but maybe the gif images were not exported correctly. I would suggest saving as PNG.