Solved

How do I position a WindowedApplication in Flex 3

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to convert pdf file to html file 8 377
Add 'birds singing' to homepage 5 90
Firefox fullscreen video lags 4 147
bandwidth 5 64
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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

705 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

18 Experts available now in Live!

Get 1:1 Help Now