|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
1. handle the onClose event of the main window to store its size and position
Code:
getMainWnd().onClose = function () {
var x = this.left;
var y = this.top;
var w = this.width;
var h = this.height;
writeProfile(...)
...
}
Code:
var x = parseInt(readProfile(...)); ... if (x <0 || x > SysInfo.displaySetting.pelsWidth) return; if (y ...) return; var wnd = getMainWnd(); wnd.move(x, y, x+w, y+h); |
|
|||
|
meester, I revise that. It is NOT working.
I tried to apply it in the same ways you had, and it wouldn't work. Can I give you or Swfkit the skp and you guys fix it? |
|
|||
|
sure, you can mail it to me and I'll take a look at it.
btw: did you include the fscommand on the first frame of your swf-movie Code:
fscommand("ffish_eval","Restore()")
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|