Products | Support


WACK - Window Application Control Kit
WACK V 1.4
Window Application Control Kit

Tutorial 1:
WACK will paint a window with default property settings. Default windows have the same look&feel like Macromedia components.
Example 1
myWACK.createWindow("win1",null,"Example",200,140);


Tutorial 2 :
Methods, properties and event-handlers let you customize your windows.
Example 2
win1=myWACK.createWindow("win1",null,"Example",200,140);
win1.setBackgroundColor(0xcccccc);
win1.setTitleColor(0x123456);
win1.setTitleFontColor(0xFFFFFF);
win1.setTitleText("Hello World");
win1.setBorderWidth(0);
win1.setBorderColor(0x000000);
win1.setHighlightColor(0x000000);
win1.setShadowColor(0x000000);
win1.draggable = false;
win1.resizeable = false;
win1.maximizeButton = false;
win1.minimizeButton = false;
win1.autoScroll = true;
win1.onClose = function(){
trace("Window Close");
}


Tutorial 3:
This turoial shows how to create internal windows. When creating internal windows you need to specify the path to the root window.
Example 3
myWACK.createWindow("win1",null,"Outer Window");
myWACK.createWindow("win1","win1","Inner Window");
myWACK.createWindow("win3","win1.win1","Inner Window");


Tutorial 4:
Either attachContent or loadContent to the contentpane.
Example 4
myWACK = this.attachMovie("myWACK","MyWindowApplicationControlKit",0);
myWACK.createWindow("win1",null,"WACK - Window");
myWACK.win1.attachContent(idName, newName, depth [, initObject]);
var myWin1 = myWACK.createWindow("win2",null,"WACK - Window");
myWin1.loadContent(url [, method]);

Introduction
  • Introduction

  • Tutorial

  • Examples

  • Credits
  • License
  • The usage of WACK is for free. Even for commercial projects. We only would like you to tell us where you used it so we can build a reference list.
  • No Derivative Works. coma2 permits others to copy or distribute only unaltered copies of WACK - not derivative works based on it.
  • You can tell us your wishes for future versions of WACK in the forum.

  • Download
    From here
  • WACK 1.4.1

  • From other sites
  • Component Headquarters

  • Flashcomponents
  • From Macromedia
  • Extension Manager
  •   http://www.coma2.com | Germany - Landwehrstrasse 60-62 | 80336 München | Fon +49 89 322 111-0 | Fax +49 89 322 111-29 | contact@coma2.com