?
Solved

How do I position a WindowedApplication in Flex 3

Posted on 2009-07-08
2
Medium Priority
?
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
danyul_c earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
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 how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

770 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