Thanks Vadim, this is the kind of information I need.


-- Keith H --
 keith-hair.com


---- Vadim Melnik <[EMAIL PROTECTED]> wrote: 
> Hi Keith,
> 
> To add framework components to NativeWindow, some extra coding is necessary, 
> like setting stage scaleMode and align to StageScaleMode.NO_SCALE and 
> StageAlign.TOP_LEFT, monitoring stage resize event and applying changes to 
> UIComponent. Actually mx.managers.SystemManager source code is good example.  
> 
> And another sample that might simplify life:
> 
> http://www.partlyhuman.com/blog/roger/apollo-native-windows-part-2
> http://partlyhuman.com/articles/apollo-windows/WindowManagerSimple.zip
> 
> 
> -
> Thanks,
> Vadim.
> 
>   ----- Original Message ----- 
>   From: [EMAIL PROTECTED] 
>   To: FlexCoders 
>   Sent: Wednesday, December 12, 2007 7:17 PM
>   Subject: [flexcoders] [AIR] Flex Framework inside extra NativeWindow?
> 
> 
>   Can anyone post an example or post a link to information using Flex 
> Components in a NativeWindow?
> 
>   I'm using Flex to open a NativeWindow but I would like to use Flex 
> components inside of that newly opened NativeWindow.
> 
>   So far I've only been able to add non-Flex UIComponents by adding them to 
> NativeWindow's stage property.
> 
>   var myTextField:TextField=new TextField(); //Can't use TextArea from Flex 
> Framework
>   myTextField.text="Some dummy text";
>   nativeWindow.stage.addChild(myTextField);
> 
>   -- Keith H --
>   keith-hair.com
> 
> 
>    

Reply via email to