Open justasSav opened 10 years ago
a. Passed image attribute like this:
var free = Draggable.createView({ image:'default.png', //absolute path? top:0, left:0, width:100, height:100 });
Doesn't work. Console shows error 'INVALID URI'. Draggable is not visible.
b. Creating imageView like this works.
var image = Ti.UI.createImageView({ image:'default.png', width: '100px', height: '100px', top: '100px' });
c. Tried adding image to free:
free.add(image); //compiles but image not shown
a. Passed image attribute like this:
Doesn't work. Console shows error 'INVALID URI'. Draggable is not visible.
b. Creating imageView like this works.
c. Tried adding image to free: