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
Solved

How do I position a WindowedApplication in Flex 3

Posted on 2009-07-08
2
523 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
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.

828 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