Screen shots would be good please mate - I don't seem to get any problem
with the sample AIR, I'm probably still misunderstanding the issue
though ;) 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 17 January 2008 10:52
To: Flash Coders List
Subject: Re: [Flashcoders] Windowing in AIR

Well, kindof, if you install that EmployeeDirectory app, you see that
when you drag, the size of the window is only as big as the content, and
then your operating system displays an border for how big the app
is(only if you dragg it). when the app is folded out (when you press the
little i button) and you start dragging you see that the border when you
drag it, is again just as big as the app.
What happends with my app is that that border always stays the same, the
size of my canvas i specify in the Flash IDE, and cannot make it any
smaller. The bounds of my app will never confine to my content but only
to my canvas. I want my bounds to be smaller accourding to the state of
my app. Does that make any sense to you?

If not clear, i can make some screenshots and place on my website if
that helps,

Thanks,

Sid

Matthew James Poole wrote:
> ...Ok, I think I see what you mean. NativeWindows are always 
> rectangular
> - The OS doesn't allow anything other than this. So the dimentions of 
> the NativeWindow will always be bigger than the size of the content if

> it isnt rectangular in appearance.
>
> The work around for this is to not to set your drag on the containing 
> NativeWindow, but put it on your next container inside that... Does 
> that answer your question?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sidney

> de Koning
> Sent: 17 January 2008 10:01
> To: Flash Coders List
> Subject: Re: [Flashcoders] Windowing in AIR
>
> Hi Matthew,
>
> Thanks for the answers; like i said:
>
> The problem that i dont want is that when my app unfolds, my 
> 'appllication canvas' is actully bigger that what the user sees. When 
> you dragg the app i want the draggeble area to be confined to the size

> of the current state of my application). When your current state is 
> smaller than your canvas, you still see the border.
>
> For instance when you look at the EmployeeDirectory app, on 
> http://labs.adobe.com/technologies/air/samples/ and when it folds open

> the 'canvas' is also stretched, and when you drag it, the borrder is 
> only confined to the current state of the app.
>
> Can you tell me how this can be realized?
>
> Cheers, Sidney
>
>
>
> Matthew James Poole wrote:
>   
>> Hi Sid,
>>
>> 1. NativeWindow's have height and width properties, so you should be 
>> able just to set these directly 2. A NativeWindow is just that - an 
>> OS
>>     
>
>   
>> native windo - so at best you can have a MC in a NativeWindow 3. see 
>> 2
>>     
>
>   
>> - a NativeWindow can have many MC's inside it...
>> 4. Not really, though if it was the same size it would appear to be 
>> masked (assuming the top one was visible) 5. Yes just set the width 
>> and height, x and y properties onEnterFrame
>>
>> Cheers
>> Matt
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of 
>> Sidney
>>     
>
>   
>> de Koning
>> Sent: 17 January 2008 09:16
>> To: Flash Coders List
>> Subject: [Flashcoders] Windowing in AIR
>>
>> Hi List,
>>
>> Couple of questions about AIR and NativeWindows.
>> - How do i set the width and height of an NativeWindow? Can i do that

>> in the code or only in the descriptor file?
>> - Can a NativeWindow also be an MovieClip (living in the library with
>> linkage) and how do i set this?
>> - Can a NativeWindow be composed of multiple movieclips?
>> - Can a NativeWindow be masked with another NativeWindow (to create a

>> sliding panel below the other NW)
>> - Is it possible to animate an NativeWindow (using third party 
>> classes
>>     
>
>   
>> like Tweener)
>>
>> What i would like to accomplish is this: The AIR app launches in a 
>> certain width and height but when i click a button, the app unfolds 
>> to
>>     
>
>   
>> a bigger version with the content, can i, at certain times set the 
>> size of my NativeWindow bigger?
>> (The problem that i dont want is that when my app unfolds, my 
>> 'appllication canvas' is actuly bigger that what the user sees. When 
>> you dragg the app i want the draggeble area to be confined to the 
>> size
>>     
>
>   
>> of the current stat of my application)
>>
>> Help is appreciated :)
>>
>> Cheers,
>>
>> Sidney
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> _____________________________________________________________________
>> _ This e-mail has been scanned for viruses by the Virtual Universe 
>> e-mail security system - powered by MessageLabs.
>> http://www.virtual-universe.net
>>
>> _____________________________________________________________________
>> _
>>
>> Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London
>> NW6 6RJ
>>
>> Tel:      +44 (0) 870 788 6000  
>>
>> Fax:     +44 (0) 870 788 6689
>>
>> Web:    www.virtual-universe.net
>>
>> ---------------------------------------------------------------------
>> -
>> -------------------
>>
>> CONFIDENTIALITY NOTICE
>>
>> This e-mail may contain information which is confidential and
>>     
> privileged. If you are not the named addressee of this e-mail, you may

> not copy or use it, or forward or otherwise disclose it to anyone
else.
> If you have received this e-mail in error, please e-mail the sender by

> replying to this message and then fully delete it from your system.
>   
>> Any views or opinions presented in this e-mail are solely those of 
>> the
>>     
> author and do not necessarily represent those of Amplefuture Group.
> Amplefuture Group reserves the right to monitor e-mail communications 
> from both external and internal sources for the purposes of ensuring 
> correct and appropriate use of our communication equipment.
>   
>>
>> _____________________________________________________________________
>> _ This e-mail has been scanned for viruses by the Virtual Universe 
>> e-mail security system - powered by MessageLabs.
>> http://www.virtual-universe.net
>>
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>   
>>     
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ______________________________________________________________________
> This e-mail has been scanned for viruses by the Virtual Universe 
> e-mail security system - powered by MessageLabs.
> http://www.virtual-universe.net
>
> ______________________________________________________________________
>
> ______________________________________________________________________
> This e-mail has been scanned for viruses by the Virtual Universe 
> e-mail security system - powered by MessageLabs. 
> http://www.virtual-universe.net
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>   

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

______________________________________________________________________
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

______________________________________________________________________

______________________________________________________________________
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to