Solved

How do I position a WindowedApplication in Flex 3

Posted on 2009-07-08
2
521 Views
Last Modified: 2013-11-11
Hi,

My Flex3 AIR program is based on a WindowedApplication.  When I run it, the window top is positioned in the middle of my screen.  I would like it to be at the very top.  How can I position it there?  

Thanks

Kevin
0
Comment
Question by:caherciveen
2 Comments
 
LVL 9

Accepted Solution

by:
danyul_c earned 500 total points
ID: 24806421
In your applications src folder (or wherever you have your main mxml file) there will be a YOUR_FILE_NAME-app.xml file.

In there scroll down to the <initialWindow> tag and in there you will find an <x> and a <y> tag. Simply uncomment them and specify the position you would like your AIR app to appear in when it opens.

So maybe you simply want to uncomment the y and set it to 0 if you want it on the top but don't care about the x position.
0
 

Author Closing Comment

by:caherciveen
ID: 31601080
perfect
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Google Chrome - Where is "Enable Resource Tracking" 2 11,532
free flash maker 5 205
Adobe Flash Free Transform Tool 2 128
Adobe Flash Install via GPO - Remove Prior Versions From GPO? 1 156
First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now