hmm, Button still acts on his on and doesnt stick to the bottom, nows its
somewhere in the middle, very strange behavier :)

2007/5/8, Igor Costa <[EMAIL PROTECTED]>:

  Tadas

It's a Bug

But a Bug with Work arround.

Here's a little solution works, but the Bottom should work at all.


<?xml version="1.0" encoding="utf-8"?>
<mx:Application includeInLayout="true" scroll="setStyleBottom()"
autoLayout="true" xmlns:mx=" http://www.adobe.com/2006/mxml";
     layout="absolute">

     <mx:Script>
         <![CDATA[

                private function setStyleBottom():void
                {
                    MyBar.setStyle("bottom",
mx.core.Application.application.screen.bottom++);
                }
         ]]>
     </mx:Script>
    <mx:ApplicationControlBar  id="MyBar" bottom="0" right="0" left="0">
        <mx:Button label="Flex-Coders"/>
    </mx:ApplicationControlBar>
    <mx:Panel x="185" y="41" width="250" height="847" layout="absolute">
    </mx:Panel>
</mx:Application>


Regards.

Igor Costa





On 5/6/07, Tadas Ziemys < [EMAIL PROTECTED]> wrote:
>
>   Hello!
>
> i wanted to make ApplicationControlBar in bottom of my site. It works
> well as long as there is no vertical scroll bar. When it appears and i
> scroll down ApplicationControlBar (or anything else with property
> bottom="0"), doesnt move and appears in middle of application.
>
> Any solutions to this problem?
>
> Thanks in advance
> Tadas
>



--
----------------------------
Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta

Reply via email to