Solved

How do I position a WindowedApplication in Flex 3

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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 this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

695 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