开发者

Widget in Adobe AIR position bottom-right

开发者 https://www.devze.com 2023-04-06 23:32 出处:网络
Thanks in advance. I\'m a graphic designer. I have to make a widget that shows some icons. I\'ve made an icon that starts in systemtray, all I need is to make the window application that start at bot

Thanks in advance.

I'm a graphic designer. I have to make a widget that shows some icons. I've made an icon that starts in systemtray, all I need is to make the window application that start at bottom over the icon.

I don't know anything about flex...

I've done this so far in application.xml:

<?xml version="1.0" encoding="UTF-8" ?>
  <application xmlns="http://ns.adobe.com/air/application/1.0">
<id>com.widgetStatus.widgetStatus</id>
<filename>widgetStatus</filename>
<name>widgetStatus</name>
<description>Test</description>
<version>0.1a</version>
<initialWindow>
    <content>html/index.html</content>
    <title>widgetStatus</title>
    <systemChrome>none</systemChrome>
    <transparent>true</transparent>
    <visible>true</visible>
    <minimizable>false</minimizable>
    <resizable>false</resizable>
    <width>400</width>
    <height>300</height>
    <x>1268</x>
    <y>646</y>
</initialWindow>
<icon>
    <image128x128>/icons/widget128.png</image128x128> 
    <image48x48>/icons/widget48.png</image48x48> 
    <image32x32>/icons/widget32.png</image32x32> 
    <image16x16>/icons/widget16.png</image16x16> 
</icon>

The application starts over the systray but only with my resolution obliuvsly. Now I need to do something like that:

Positioning Flex/AIR Desktop App Window to the bottom right corner

How can I wor开发者_运维技巧k with that script in flex? I understand that I can put the code into xml.

Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消