Hi, Adding a single image was just an example, I want to add more than just an image to the borderless Window.
I recently noticed that the AIR sample PixelPerfect accomplishes what I am trying to do. I'll be looking at it more closely next. Regards, Ivo --- In [email protected], "Vadim Melnik" <[EMAIL PROTECTED]> wrote: > > Hello Ivo, > > To add only single image to the stage, you need to play with more low level stuff that mx..Image. Have a look at things like BitmapAssets, TextField, stage align, stage scaling etc. > > P.S.: Out of curiosity, do you have already something working similar to my next example with images:)? > > -- > Thanks, > Vadim. > > ----- Original Message ----- > From: Ivo > To: [email protected] > Sent: Tuesday, November 06, 2007 11:10 PM > Subject: [flexcoders] Re: Borderless, no title bar splash screen... > > > Hi Vadim, > > Your example is kind of what I have, I have trouble adding items to it > tho, > > snip... > > var img:Image = new Image(); > img.source = SPLASH_IMG; > wnd.stage.addChild(img); > > ... > > the items added to the wnd stage do not display. I imagine its > something simple I am missing, cant tell what tho. > > - Ivo > > --- In [email protected], "Vadim Melnik" <vmdocua@> wrote: > > > > Hello Ivo, > > > > Does it help, (AIR Beta 2)? > > > > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:WindowedApplication > > xmlns:mx="http://www.adobe.com/2006/mxml" > > layout="vertical" > > width="400" > > height="300" > > click="exit()" > > showStatusBar="false" > > showTitleBar="false" > > showGripper="false" > > verticalAlign="middle" > > horizontalAlign="center" > > > > > > > <mx:Button label="New Standard Window" click="createWindow(true); > > event.stopImmediatePropagation();"/> > > <mx:Button label="New Splash Window" click="createWindow(false); > > event.stopImmediatePropagation();"/> > > <mx:Script><![CDATA[ > > > > private function createWindow(std:Boolean):void > > { > > var opt:NativeWindowInitOptions = new NativeWindowInitOptions(); > > opt.maximizable = true; > > opt.minimizable = true; > > opt.systemChrome = > > std?NativeWindowSystemChrome.STANDARD:NativeWindowSystemChrome.NONE; > > opt.transparent = false; > > opt.type = std?NativeWindowType.NORMAL:NativeWindowType.UTILITY; > > > > var wnd:NativeWindow = new NativeWindow(opt); > > wnd.title = "Hello World"; > > wnd.width = 100; > > wnd.height = 100; > > wnd.activate(); > > } > > > > ]]></mx:Script> > > > > </mx:WindowedApplication> > > > > > > Thanks, > > Vadim. > > > > ----- Original Message ----- > > From: Ivo > > To: [email protected] > > Sent: Tuesday, November 06, 2007 8:19 PM > > Subject: [flexcoders] Borderless, no title bar splash screen... > > > > > > Is it possible to create a splash screen in Flex so that it doesnt > > have the max/min/close buttons, title bar & status bar? > > > > I've been playing with Application, with NativeWindow, with > > WindowedApplication setting the showFlexChrome='false'but no luck. > > > > I see in the docs that specifiying NativeWindowSystemChrome with a new > > instance of NativeWindow should do it but I am unable to figure how to > > properly use it. Any examples I can take a look at out there? > > > > Thanks, > > > > Ivo > > >

