js object and js function class

var yung = { variable : xxx, add: function () { } }

they are all accessible by other

yung.Class = function(someSetting) {

var privateVar
this.publicVar
function privateFunction
function publicFunction

//public function
$.extend(this, {
publicFunction: publicFunction
});

yung.obj = new yung.Class(someSettings);

}

scope:

(function(object1, jquery, window, settings) {

code….

})(object1, jquery, window, settings);

blackberry debug token

http://docs.blackberry.com/en/developers/deliverables/27280/Running_unsigned_apps_debug_tokens_1585072_11.jsp

http://docs.blackberry.com/en/developers/deliverables/27280/Configure_app_signing_from_cmd_line_1463563_11.jsp

About Configuring your application
http://docs.blackberry.com/en/developers/deliverables/27280/Configuring_your_application_1524626_11.jsp

About tablet xml
http://docs.blackberry.com/en/developers/deliverables/23959/Configuring_your_application_1524626_11.jsp

trick on as2

dynamic new a movieClip with init var
http://www.jonnyreeves.co.uk/2007/05/movieclips-and-object-scope-in-as2/

WORTH to read, many FAQ about as2
http://www.senocular.com/flash/tutorials/faq/#newmovieclip

event receive and dispatch and delegate example
http://flash-creations.com/notes/asclass_eventdispatcher.php

hope example help
http://www.bit-101.com/blog/?page_id=1164

reference will be missed at first explanation
http://stackoverflow.com/questions/896335/referencing-movie-clip-class-instances-immediately-in-actionscript-2

EventDispatcher instantiate methods
http://archive.darronschall.com/weblog/2004/03/the-many-faces-of-eventdispatcher.html

container constructor first -> button constructor
container constructor want to call button stuff, but button hvnt construct
http://www.kirupa.com/forum/showthread.php?241544-AS2-0-Linkage-and-attachMovie-Woe