From: Stefan K. <ste...@tu...> - 2006-01-11 11:20:25
|
Hi everybody, I'm new to enflash and really impressed. Thanks for the great work. Currently I'm diggin into the internal structures to be able to work with it. Here are a few questions I can't currently answer but hopefully someone out there has a better knowledge of enflash than me ;-) 1. I wanted enFlash not to occupy the whole Movie. I created a handler for "themeset" and resized the ui using _ui.setSize(200,300); This works fine, as a draggable window correctly disappears when draggin it out of this region. But the black background still exists over the whole movie, which I tracked down to a mysterious MovieClip "Button29" which I don't create. (My createUI Method looks like this: private function createUI():Void { var win = _ui.addWindow(new Window("mainWin")); win.title = "Test"; var pane = win.addPane(new ScrollPane("testPane")); pane.opaque = true; win.setSize(300,150); var ta = pane.addItem(new TextArea("ta")); ta.value = "<b> Hello</b> world"; _ui.removeEventListener("themeload", this, createUI); //debug("ui created"); } Does anybody know when and where it is created? 2. there always appears a yellow focus box around buttons, titleBars etc. Is there any way to switch this off? 3. I have to create the whole UI rotated by 90 degrees (For a terminal monitor rotated by 90 degrees). I tried to simply rotate the movieClip I give to the EnFlashConfiguration Object. Everything is rotated but the controls aren't sized correctly (eg. the window TitleBar has a height of around 100 px) I currently don't have a good understanding how enFlash resizes/positions its components so I'm really stuck here. I'd like to help making enFlash better and easier to understand. Is there any wiki floating around where I could post enFlash specific Notes especially for beginners to get started? I won't have much time, but some notes on the structure of external themes/langs, standard events, when they are deployed and what should be done inside their handlers would be really helpful. Thanks again. Regards Stefan Klug |