Can you tell me what error you are seeing in swf8 and swf9 or swf10? Do you happen to have the Flash debug player installed? It will give some more detailed error information from the flash runtime in swf9/10, that perhaps you could copy and send to us.
On Sun, Oct 4, 2009 at 4:55 PM, Omar BELKHODJA <[email protected]>wrote: > I'm using firefox 3.5.3 + openlaszlo-4.6.1-windows-dev-install.exe + > debugger off + swf9. > > I've checked again and it does work using dhtml but not in swf8/swf9. This > is quite bad, because I've chosen openlaszlo to avoid javascript which I > judge too slow compared to flash... Any idea why it doesn't work in flash > mode ? > > > Max Carlson a écrit : > > This works fine for me in trunk/4.7, Firefox 3.5 DHTML - with the debugger >> off. What version of OpenLaszlo and browser are you running? >> >> Omar BELKHODJA wrote: >> >>> Hello, >>> >>> I'm quite new to openlaszlo. I've started a little program with >>> login/password window. I want to have the cursor at the starting of the >>> application focusing into the login textedit. This doesn't seem to be >>> working with the piece of code I've writen (tested in firefox/swf9). Below >>> is the source code. Doesn't anybody know why it doesn't work ? >>> >>> Thanks ! >>> >>> <?xml version="1.0" encoding="UTF-8" ?> >>> <canvas id="Canvas" width="100%" height="100%" bgcolor="#EAEAEA" >>> align="center" valign="middle"> >>> <handler name="oninit"> >>> Debug.debug('canvas init'); >>> lz.Focus.setFocus(LoginEdit.parent); >>> Debug.debug(lz.Focus); >>> Debug.inspect(lz.Focus.getFocus()); >>> </handler> >>> <window id="LoginDlg" title="Welcome to Kanfous !" clickable="false" >>> width="200" opacity="1" bgcolor="#EAEAEA" x="${(Canvas.width - >>> LoginDlg.width) / 2}" y="${(Canvas.height - LoginDlg.height) / 2}"> >>> <handler name="oninit"> >>> Debug.debug('window init'); >>> //this.animate('opacity',1,500,false); >>> </handler> >>> <simplelayout axis="y" /> >>> <view width="100%"> >>> <handler name="oninit"> >>> Debug.debug('view init'); >>> </handler> >>> <simplelayout axis="x" /> >>> <text width="60">Login</text>text> >>> <edittext id="LoginEdit" width="100%"></edittext> >>> </view> >>> <view width="100%"> >>> <simplelayout axis="x"/> >>> <text width="60">Password</text>text> >>> <edittext id="PasswordEdit" password="true" >>> width="100%"></edittext> >>> </view> >>> <view align="right"> >>> <simplelayout axis="x" spacing="10" /> >>> <button onclick="parent.parent.close()">Cancel</button> >>> <button onclick="parent.parent.close()" >>> isdefault="true">OK</button> >>> </view> >>> </window> >>> </canvas> >>> >> >> > -- Henry Minsky Software Architect [email protected]
