简体   繁体   中英

Flex Air application: open window on right bottom corner

I am developing a flex air application and i want to it open in right bottom corner as notification..How do i do this.

Thanks Atul yadav

Go to your project directory in flex builder. Lets say your app name is Test

Go to Test->src There you should find an Test-app.xml

In that you will find data regarding the width, height, x and y coordinates of the window to be opened.

change the following lines there:

<!-- Whether the user can resize the window. Optional. Default true. -->
<resizable>false</resizable>

<!-- The window's initial width in pixels. Optional. -->
<width>200</width>

<!-- The window's initial height in pixels. Optional. -->
<height>300</height>

<!-- The window's initial x position. Optional. -->
<x>800</x>

<!-- The window's initial y position. Optional. -->
<y>600</y>

You might have to change the X,Y values according to your screen.

If you just want a popup, you should take a look at the popupmanager class for adobe air.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM