$(#main_frame).paintContent = function(gfx)
{
gfx.pushLayer(#background-area);
gfx.translate(0.5,0.5);
gfx.strokeColor(color(255,255,255))
gfx.strokeWidth(1)
gfx.rectangle(start_x,start_y,500,300);
gfx.popLayer();
}
$(#main_frame).refresh();

  

var baseImage = self.loadImage(self.url("./image/ball.png"));
function drawCanvas(gfx){
gfx.drawImage(baseImage,0,0,cur_x,cur_x); } container.paintForeground = drawCanvas;
container.refresh();

  

05-11 23:00