View Single Post
  #2 (permalink)  
Old 09-22-2003, 03:43 AM
SWFKit SWFKit is offline
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:[getMainWnd] this object is out of order !

Hi,

Sorry for our poor documentation, it's not a bug of SWFKit.

If you set the values of caption, position or size of the main window in the "initialize" script, the values will be overridden. For the "initialize" script is called just after the main window is created. Before the main window is appeared on the screen, SWFKit will set it's caption, position or size with the values you defined in the "Set projector options" dialog. Anything you did in the "Initialize" script with the main window then has no effect.

SWFKit pro 2.0 has fixed this problem. It provides an Application object, you can change the options of the projector at runtime just like in the "Set projector option" dialog.

The x, y, dx, dy parameter of the Shell.run method only works in very special case. They are almost useless. Use this code instead,
wnd = Shell.run(app);
wnd.left = xxx;
wnd.top = xxx;
wnd.width = xxx;
wnd.height = xxx;

We realized how poor our documentation is and we have made much effort to improve it. SWFKit 2.0 must be well tested before we release it, that's why it has been delayed again and again. You don't have to wait for two more months, maybe just one week or so, we will finish all our works, and you will enjoy the new version.

We plan to release several editions of 2.0, lite, standard and pro. All 1.x uses can upgrade to 2.0 pro for free.

We noticed you gave us many useful suggestions on our forum. Thanks for your kind help.
Reply With Quote