|
|||
|
Hello everybody,
1. In my application there will be a lot of forms to load from the mainmovie, so I'll wrote a function instead of calling a script each time. But the problem is that when calling a SCRIPT, the modeless form loads fine, but loading from a FUNCTION does nothing (also the screen flickers once, there's happening something... but no form). Here's the function code: //Initialize script //first read displaysetting for full screen display var ds = SysInfo.displaySetting; var swidth = ds.pelsWidth; var sheight = ds.pelsHeight; function openForm(myMovie) { var form = new Form(); FlashPlayer.backgroundColor = 0xB2AFE0; //for filling wide 21', 22' screens form.movie = getAdditionalFile(myMovie); form.showCaption = false; form.canDrag = false; form.show(false); //show modeless form, so change displaysettings directly to fullscreen form.window.width = swidth; form.window.height = sheight; form.window.center(); return; } //In Flash btnkr_btn.onRelease = function() { fscommand("FFish_Eval", "openForm('test.swf');"); }; Again, calling a modeless form from whitin a function seems to do nothing. Someone any idea whats going wrong? WHEN THE FORM.SHOW = TRUE, the (modal)form will load fine, but I can't change to fullscreen, so I want a modeless form. 2. There is also a short but (nasty) grey flicker when the form loads (when you click the button). Is there a way to avoid this, or at least change that color to the mainmovies backgroundcolor when the form is building up? 3. Is there a way to avoid closing the modeless form with ESC? Or to take over the settings from the mainscreen? A lot of questions for a pre-user, but I want to be sure some things work ok before developing more applications with SWFkit. Thanks. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|