Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As 2DH gave me the hint, i have prepared this sample, </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="900" minHeight="672"&gt; &lt;fx:Declarations&gt; &lt;s:Move id="moveUp" yFrom="0" yTo="-475" target="{helpWindow}"/&gt; &lt;s:Move id="moveDown" yFrom="-475" yTo="0" target="{helpWindow}"/&gt; &lt;/fx:Declarations&gt; &lt;fx:Script&gt; &lt;![CDATA[ private function buttonUp_clickHandler(event:MouseEvent):void { moveUp.play(); } private function buttonDown_clickHandler(event:MouseEvent):void { moveDown.play(); } ]]&gt; &lt;/fx:Script&gt; &lt;s:layout&gt; &lt;s:VerticalLayout gap="0"/&gt; &lt;/s:layout&gt; &lt;s:BorderContainer backgroundColor="#000000" height="100" width="100%"/&gt; &lt;s:Group height="475" width="100%" clipAndEnableScrolling="true"&gt; &lt;s:VGroup left="0" top="0"&gt; &lt;s:Button label="Play Effect UP" click="buttonUp_clickHandler(event)"/&gt; &lt;s:Button label="Play Effect DOWN" click="buttonDown_clickHandler(event)"/&gt; &lt;/s:VGroup&gt; &lt;s:BorderContainer id="helpWindow" backgroundColor="#CCCCCC" y="{-helpWindow.height}" right="0" height="475" width="125" /&gt; &lt;/s:Group&gt; &lt;s:BorderContainer backgroundColor="#000000" height="100" width="100%"/&gt; &lt;/s:Application&gt; </code></pre> <p>so now i have set my center container's <strong>clipAndEnableScrolling</strong> to <strong>true</strong>, and problem solved</p> <p>Thanks to both the stack members:)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload