views:

56

answers:

1
+1  Q: 

In Flex 4.. how??

http://stackoverflow.com/questions/950571/how-can-i-set-window-application-as-light-weight-in-flex-still-not-get-answe

There's a solution but how to do it in flex 4 using spark? Because it says it can't find "window"...

+2  A: 

Window is an AIR only class.

http://livedocs.adobe.com/flex/3/langref/mx/core/Window.html

http://docs.huihoo.com/flex/4/spark/components/Window.html

So, the way you do this in Flex 4 is the exact same way you do it in Flex 3; but you'll have to be developing an AIR application not a browser based application.

If you were more specific issues; please expand and perhaps share some code.

www.Flextras.com
well, what I'm doing is inserting this:var window:BlankWindow = new BlankWindow();window.type = NativeWindowType.LIGHTWEIGHT;window.open(true);an I resieve debugging error that "window" does not exist...that's in Flex 4 SDK, If I change it to SDK 3, then there will be no error, that's shy I'm asking how to do it in the new sdk with "s" tags instead of "mx"
Yan
Add a runnable example to your original question and I'll take a look.
www.Flextras.com