Win an Ipad
  Developer   Documents   Window

Window

This article explains how to create game or enterprise application.

Window

Window is special case of View. It is a view re-sized to full device screen. It handles  system events only. System events are listed in the table below :

onHide onShow
onIdle onProcess
onQuit onDraw
onStart  


Window is used in application and game development. Window is a first responder and controls application runs.


Example of Window:


var app = new Moscrif.Window();
app.onStart = function(sender) {
    //on start code goes here
}
app.onDraw = function(sender) {
    //on draw code goes here
}
app.init();
app.run();

 ScrollView   Window   Box2D 
Write a Comment (0)
Subject
Please complete this mandatory field.
HTML Tags Not Allowed!
Comment
Please complete this mandatory field.