VBox Problem ....or Flex bug

Hi All,
I have a layour which contains a list.
The list appends many VBox dynamically.
We can access each VBox by click an arrow so it expands down.
The layout works fine when the content in vbox is less .
If the vbox has more content and we expand all the VBox then the stylesheet is not properly rendered.
What might be the problem ....
Or it is bug .

This is probably not a bug, and we can probably help you with it.
But you'll have to post simplified yet complete code.
Please boil down your problem into a simplified yet complete code post that still exhibits the issue, with sample data if necessary.

Similar Messages

  • Hey Guys, problem with Flex Time.

    Hey Guys,
    i have a problem with Flex Time. I was searching for a way to copy my 1-Tackt Timplin Beat to make 12 out of it, but there were always "wholes" between the new inserted regions. So i found Flex Time, but then when i choosed a Region, pressed the Flex Time button, nothing happend, except that the Header became a little bit bigger, as if there would been added a few more options, but there came only more free space .
    Would be great if somebody could help me!:)

    I would suggest Option dragging the bottom right edge of the Region so it fits precicely to the grid, then copy.  This is a quick way to time stretch...

  • [svn:osmf:] 12276: Integrating Flex bug - 226

    Revision: 12276
    Revision: 12276
    Author:   [email protected]
    Date:     2009-11-30 09:28:54 -0800 (Mon, 30 Nov 2009)
    Log Message:
    Integrating Flex bug - 226
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/media/LoadableMediaElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 12213: Integrating Flex bug - 207

    Revision: 12213
    Revision: 12213
    Author:   [email protected]
    Date:     2009-11-25 14:26:06 -0800 (Wed, 25 Nov 2009)
    Log Message:
    Integrating Flex bug - 207
    Modified Paths:
        osmf/branches/flex4/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/branches/flex4/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 12212: Flex bug - 207

    Revision: 12212
    Revision: 12212
    Author:   [email protected]
    Date:     2009-11-25 14:16:26 -0800 (Wed, 25 Nov 2009)
    Log Message:
    Flex bug - 207
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 12210: Flex bug - 232

    Revision: 12210
    Revision: 12210
    Author:   [email protected]
    Date:     2009-11-25 13:31:08 -0800 (Wed, 25 Nov 2009)
    Log Message:
    Flex bug - 232
    Modified Paths:
        osmf/branches/flex4/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/branches/flex4/framework/MediaFramework/org/osmf/utils/MediaFrameworkStrings.as

  • DataGridColumn.visible property:  Why always true?  Flex bug?

    Can anyone tell me why when I have a DataGrid with many
    columns that requires scrolling, for even the DataGridColumns that
    are offscreen, visible always returns true? I would have expected
    it to return false if the column is offscreen. Is this a Flex bug?
    Best regards,
    Jason

    Install Flex 2.0.1 SDK and then ! a hotfix
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb401224
    Should help.

  • [svn:osmf:] 12278: Integrating Flex bug - 226

    Revision: 12278
    Revision: 12278
    Author:   [email protected]
    Date:     2009-11-30 09:32:46 -0800 (Mon, 30 Nov 2009)
    Log Message:
    Integrating Flex bug - 226
    Modified Paths:
        osmf/branches/flex4/framework/MediaFramework/org/osmf/media/LoadableMediaElement.as
        osmf/branches/flex4/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • Flex Bug Quash - Round 2 Indy Style

    Want to help improve the quality of Flex for yourself and others? Have a bug that you’re dying to have fixed? Come join the Flex Bug Quash on Sunday May 17th. You can participate either in person at the 360|Flex event in Indianapolis or remotely via Adobe Connect. We recently hosted the first Flex Bug Quash in Seattle and had quite the turn out with 180 participants, 2/3rds of which were remote. Prior to this event, in the 13 months that Flex has been open source, we had received 111 patches, in the Seattle Bug Quash alone we got another 57 patches from the community, bring us up 168 patches submitted. This event was a definite success and we hope to have an even better event in Indianapolis! This is a great opportunity to share your knowledge of Flex, learn from other leet Flex developers, and contribute to making Flex a better product. For more information check out bugquash.com.

    alexj wrote:I love it too
    Thanks.
    Labello wrote:any chance of a fitting openbox-theme to evolve?
    Sure. It's easy to make em. Keep your eyes open.
    Foucault wrote:
    Very sweet theme, I really like it. I would like to point out something though. I don't know if it's only for me but the hover effect on comboboxes makes the text illegible.
    Example
    http://i.imgur.com/0FPMR.png Mouse off
    http://i.imgur.com/qmiFa.png Mouse on
    I've corrected that now and I'll upload version 2.0.1 in a moment.
    Edit: Seemse like I have a few reuests about more colors. I'll fix that to and upload a new version in the morning instead. I'm really tired and need some sleep.
    Last edited by Hund (2010-09-14 06:32:34)

  • Flex Bug - Programmatic Skinning!

    I believe I found a Programmatic Skinning bug in Flex.
    Whenever I set the "borderSkin" property to a custom skin
    class, the flash player hangs in all browsers, the CPU peaks around
    95% and memory is consumed rapidly.
    After waiting for about 10 minutes I get the following...
    [SWF] C:\Documents and Settings\Chris.Simeone\My
    Documents\Flex Builder 2\Skinning-Lessons\bin\gridBorders-debug.swf
    - 408,071 bytes after decompression
    undefined
    at
    mx.core::UIComponent/getClassStyleDeclarations()[C:\dev\GMC\sdk\frameworks\mx\core\UIComp onent.as:6810]
    at
    mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\fra meworks\mx\styles\StyleProtoChain.as:142]
    at
    mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\fra meworks\mx\styles\StyleProtoChain.as:173]
    (FYI: The previous error line is repeated 191 times)
    I tried tracing my custom skin class (by setting breakpoints)
    but none of the code ever fires - the debugger never goes into the
    code.
    When I remove this line from my CSS file -
    borderSkin:ClassReference('GridBorders'); - the application
    runs fine.
    To test this further I grabbed the example on the bottom of
    this
    page
    and the same exact error occurs. Note it the "borderSkin" property
    is set on the VBox tag.
    I tested other programmatic skinning examples that use
    upSkin, downSkin, etc and they all work fine. I only have this
    problem when assigning a skin class to the "borderSkin" property.
    Would someone please confirm this is bug? I followed the
    Programmatic skins recipe to the letter.
    Thanks
    Chris Simeone

    I found the problem. It's in my CSS file. If there's a
    "borderStyle"
    property as defined below the application hangs. Take out the
    "borderStyle" property and the app runs.
    See my test code below (FYI: it does not do much. My first
    attempt at
    border skinning using code)...
    GRIDBORDERS.CSS » HERE'S THE PROBLEM
    Application
    background-color: #FFFAC7;
    GridItem
    borderStyle: solid;
    borderSkin: ClassReference('GridBorders');
    GRIDBORDERS.MXML
    <?xml version="1.0"?>
    <mx:Application pageTitle="Grid Borders"
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Style source="GridBorders.css"/>
    <mx:Grid height="640" width="940">
    <mx:GridRow width="100%" height="66%">
    <mx:GridItem width="66%" height="100%" >
    </mx:GridItem>
    <mx:GridItem width="33%" height="100%" >
    </mx:GridItem>
    </mx:GridRow>
    <mx:GridRow width="100%" height="33%" >
    <mx:GridItem colSpan="2" width="100%" height="100%" >
    </mx:GridItem>
    </mx:GridRow>
    </mx:Grid>
    </mx:Application>
    GRIDBORDERS.AS
    package
    import mx.skins.*;
    import mx.containers.Grid;
    import flash.display.*;
    import flash.utils.*;
    public class GridBorders extends Border
    public function GridBorders()
    super();
    override protected function updateDisplayList( w:Number,
    h:Number
    ):void
    graphics.lineStyle( 15, 0xFFFF00, 0 );
    graphics.beginFill( 0xFFFF00, 1.0 );
    graphics.drawRect( 0, 0, 10, height );
    graphics.endFill();
    private var _borderMetrics:EdgeMetrics = new EdgeMetrics(1,
    1, 1, 1);
    override public function get borderMetrics():EdgeMetrics
    return _borderMetrics;

  • SSL Problem in Flex

    I am using Flex with PHP via AMF PHP. Building application
    was fine. But it gave me problem when I deployed it to server which
    sits behind SSL layer. The problem is not associate with data
    accessing I can access data very well but I when I go to any other
    page after visiting flex part it just kicks user out to login page
    again. If I simply use HTTP protocol it does not happen but if I
    use HTTPS protocol it does. I did intense research in this problem.
    I tried following solutions.
    USE crossdomain file name crossdomain.xml
    loadpolicy file
    class="mx.messaging.channels.SecureAMFChannel" in
    service-config.xml
    class="flex.messaging.endpoints.SecureAMFEndpoint" in
    service-config.xml
    lastly here is my crossdomain.xml
    <?xml version="1.0" ?>
    <!-- https://imtecintranet/shopping -->
    <!DOCTYPE cross-domain-policy SYSTEM "
    http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="*" secure="false"
    to-ports="443"/>
    </cross-domain-policy>
    All this solution mentioned in different websites including
    flex documentation didn't worked. It's not the problem from PHP
    side since it works perfectly with Flex if I use HTTP protocol so I
    think problem is in Flex side. I read in this website
    http://www.onflex.org/ted/2005/11/using-flash-player-under-https-with.php
    that flash player have bugs and so, I tried to solve this
    problem by using cross-domain.xml file but unfortunately this
    didn't solve the problem. Any help will be greatly appreciated.

    with some additional attributes added on to server.xml <Connector /> tag application is loading fine in local environment.
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" bufferSize="64000" maxHttpHeaderSize="64000"  socket.appWriteBufSize="64000" socket.appReadBufSize="64000" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:\Users\user_name\.keystore" keystorePass="*****" allowTrace="false"/>
    But the same changes are not working in UAT environment, any clue on it will help me.
    thanks in advance.

  • Incrementaly display VBox: limitation in Flex?

    Hi,
    I posted this question before without usable answers what
    makes me thinks that this is one of Flex 3 limitations. I have a
    VBox and want to add up to 150 charts (maybe even more later) as
    its children. What happens is that Flash calculates all the charts
    and then displays them all at ones. This takes about 20 seconds.
    Therefor I would like to build the VBox incrementally and redraw
    the VBox after each chart has been added. For the purpose of
    illustration here some sample code:
    var profileTab:ProfileTab = new ProfileTab();
    for each (var data:XML in allData)
    var chart:ProfileConfigChart = new ProfileConfigChart();
    profileTab.addChild(chart);
    chart.init(data);
    // Here I would like to force a redraw. Impossible?
    I tried many things among the following:
    * Recursively add each chart in a callback-method in
    callLater()
    * Dispatch an event when ProfileConfigChart is addedToStage
    and implement a listener to add the next chart
    * profileTab.invalidateDisplayList() and other
    invalidateXXX()
    Did I find a limitation in Flex?
    Cheers,
    Andrej

    The callLater() approach does not work, as I said before.
    The Timer-approach does work. It seems like a workable
    solution, the only problem is to estimate the Timer-interval. If
    the Timer-interval is smaller than it takes to calculate the chart,
    Flash is not given the time to update the screen and it does does
    work. In my case it is difficult to estimate the calculation-time,
    since it depends on the size of the XML passed into the chart.
    Therefor a cleaner approach would be to add the next chart as
    the previous chart is is actually DRAWN on the screen. I though I
    could use the event addedToStage for the chart, but this event
    seems to be triggered when it is added to the display list only. Is
    there a similar event that is triggered after a component is
    actually DRAWN on the screen?
    Thanks for your workaround!
    Cheers,
    Andrej

  • Parallel effect reversing on its own. FLEX BUG.

    Hi,
    The problem is that the parallel effect (that includes resize
    and move) plays well with my custom component, however when it
    reaches the EFFECT_END, it plays in reverse to its original
    position, on its own. I cannot figure it out why. This reverse
    effect is done in half of the duration set.
    This is the code:
    private function setLayoutAndPosition( pod:*, rect:Rectangle
    ):void
    // Transition the location
    var move:Move = new Move( pod );
    move.xFrom = pod.x;
    move.xTo = rect.x;
    move.yFrom = pod.y;
    move.yTo = rect.y;
    move.duration = 2000;
    // Transition the size
    var resize:Resize = new Resize( pod );
    resize.widthFrom = pod.width;
    resize.widthTo = rect.width;
    resize.heightFrom = pod.height;
    resize.heightTo = rect.height;
    resize.duration = 2000;
    var parallel:Parallel = new Parallel();
    parallel.addChild(move);
    parallel.addChild(resize);
    parallel.play();
    I am utilizing an effect taken from the source code of the
    Flex Developer Center called Community Widgets (
    bottom of the page)
    which is working correctly. Its pretty cool eh!.
    BTW: Took me some time to find out why I couldn't run the
    source code. You have to rename ListEvent to any other name.
    If anybody has any idea please le me know,
    Many thanks!
    Jose.

    "jose3" <[email protected]> wrote in message
    news:[email protected]...
    > Hi myIP,
    > After days of trying different things I figured out what
    was the problem,
    > I am
    > not sure if it is a bug or if it is a natural behabiour
    of Flex.
    >
    >
    > The thing is that if you position a component (Canvas
    FE) with
    > constraintColumns and constraintRows and then you apply
    an effect that
    > affects
    > its position or size, after the effect reaches the
    EFFECT_END the
    > components
    > goes back to the original position-size on its own.
    >
    > Here is an example:
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > layout="absolute"
    > applicationComplete="init()">
    >
    > <mx:Script>
    > <![CDATA[
    >
    > import flash.geom.Rectangle;
    > import flash.utils.Dictionary;
    >
    > import mx.effects.Move;
    > import mx.effects.Parallel;
    > import mx.effects.Resize;
    > import mx.events.EffectEvent;
    >
    > private var minimizedLayout:Dictionary = new
    Dictionary();;
    >
    > private function init():void {
    > minimizedLayout[ can ] = new Rectangle( 5, 200, 300, 50
    > }
    >
    > private function onClick(e:Event):void {
    > setLayoutAndPosition( can, minimizedLayout[can] );
    > }
    >
    > private function setLayoutAndPosition( pod:*,
    rect:Rectangle ):void
    > {
    >
    > // Transition the location
    > var move:Move = new Move( pod );
    > move.xFrom = pod.x;
    > move.xTo = rect.x;
    > move.yFrom = pod.y;
    > move.yTo = rect.y;
    > move.duration = 1000;
    >
    > // Transition the size
    > var resize:Resize = new Resize( pod );
    > resize.widthFrom = pod.width;
    > resize.widthTo = rect.width;
    > resize.heightFrom = pod.height;
    > resize.heightTo = rect.height;
    > resize.duration = 1000;
    >
    > var parallel:Parallel = new Parallel();
    > parallel.addChild(move);
    > parallel.addChild(resize);
    > parallel.play();
    >
    > }
    >
    > ]]>
    > </mx:Script>
    >
    > <mx:constraintColumns>
    > <mx:ConstraintColumn id="col1" width="5%"/>
    > <mx:ConstraintColumn id="col2" width="20%"/>
    > </mx:constraintColumns>
    >
    > <mx:constraintRows>
    > <mx:ConstraintRow id="row1" height="5%"/>
    > <mx:ConstraintRow id="row2" height="20%"/>
    > </mx:constraintRows>
    >
    >
    > <mx:Button label="Move Canvas" x="333"
    click="onClick(event)" y="29"
    > height="107"/>
    >
    > <mx:Canvas id="can" backgroundColor="#D91414"
    > left="col1:10" right="col2:0"
    > top="row1:10" bottom="row2:0" />
    >
    > </mx:Application>
    >
    >
    > If this is a normal behabiour (if anybody knows about
    it) I can just try
    > to
    > end the effect after EFFECT_END, else I listen to any
    suggestion.
    >
    > How should I proceed it it is a bug?
    Listen for the effect end, and then explicitly set the width
    and height of
    the affected component to the new size.

  • RemovedEffect error - Yet another Flex bug?

    Is it just me or are there a lot of inexcusible bugs in the Flex framework?  Maybe I'm just not used to working with a "fledgling" technology, I don't know.  But today I ran into an error with the removedEffect of HBox.  I've added a removed effect to the box and sometimes when I try to remove a bunch of items at roughly the same time, I get this error:
    RangeError: Error #2006: The supplied index is out of bounds.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$addChildAt()
    at mx.core::Container/addChildAt()
    at mx.effects::EffectManager$/removedEffectHandler()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()
    at mx.core::UIComponent/callLaterDispatcher()
    I've Googled it and some folks seem to have had a similar problem but I haven't seen a workaround.  Any ideas?
    Thanks in advance,
    Moshe

    Seems like I was able to work around it by bypassing the removedEvent trigger and just creating triggering my own effect.  I have quite a bit of code so the explanation won't really be done justice by cutting and pasting so I'll try and improvise:
    A little more background... I've been having quite a few issues with the TileList so I've decided to try and create a simple TileList of my own that has only the functionality I need.  The "item renderers" are just mini-HBoxes within a larger "TileList" HBox.  The renderers designate an effect:
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" >
          <mx:Parallel id="removedBlurEffect" target="{this}" duration="200"> 
                <mx:Resize heightFrom="{this.height}" heightTo="0"/>
                <mx:Blur blurYFrom="0" blurYTo="30" />
                <mx:Fade alphaFrom="1" alphaTo=".75" />
          </mx:Parallel>
        ... OTHER STUFF ...
    </mx:HBox>
    Later the containing HBox responds to removals from the data provider ArrayCollection and rather than removing the corresponding child HBox, it fires the effect and only once the effect has ended does it remove the child...
    private function onCollectionChange(event:CollectionEvent):void
        if(event.kind != CollectionEventKind.REMOVE) return;
        // Trigger the effect for each of the items that have been removed
        for(var j:int = 0; j < event.items.length; j++)
              // Cast the current data item to be removed (perhaps this is not necessary)
              var eventUploadableImage:UploadableImage = UploadableImage(event.items[j]);
              // Look through the children to find the item that has been removed
              var children:Array = this.getChildren();
              for(var i:int = 0; i < children.length; i++)
                  var currRenderer:ImageTileDisplayItemRenderer = ImageTileDisplayItemRenderer(children[i]);
                  var currImage:UploadableImage = currRenderer.uploadableImage;
                  if(currImage == eventUploadableImage)
                        currRenderer.removedBlurEffect.addEventListener(EffectEvent.EFFECT_END, onRemoveEffectComplete);         
                        currRenderer.removedBlurEffect.play();
                        break;
    private function onRemoveEffectComplete(event:EffectEvent):void
         var renderer:ImageTileDisplayItemRenderer = ImageTileDisplayItemRenderer(Parallel(event.currentTarget).target);
         renderer.removeEventListener(EffectEvent.EFFECT_END, onRemoveEffectComplete);
        this.removeChild(renderer);
    Anyway, seems to work so far.  I'm definitely open to a better way of doing this.
    Thanks!
    Moshe

  • I have a major problems with foxfire bugs/ glitches on my windows XP and with windows vista. I cannot get to sties it wont let me get through. I am frustrated and tried deleting cookies still have the same problem. How do I fix this?

    I try to go to my Hotmail email and it wont let me go through. so I deleted cookies and still the same issue with my home page. It will not go to home page it just goes to a blank page. I do not want to constantly deal with this problem. You have bugs and everything else in this browser. Please work out the bugs.
    Thanks

    That may be an incompatibility between Hotmail and Firefox 10.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

Maybe you are looking for

  • Notifications in Release 2

    All, Anyone find a way to get the notifications working in Release 2 of OCS? Rumor was they were going to tie it into the smtp servers on OCS but they are not working. Everything else seems to work fine in the new release. Thanks, Dennis

  • After i export my project from iMovie, where does it go?

    i exported mmy project to idvd and i cant find my project, i have it on my desktop but it wont open up or play please help.

  • How to get invoice verification money?

    hi i am an abaper, can someone explain to me what  the invoice verification is? how to get invoice verification money? is it in RBKP?

  • SNMP Traps - Mangled packet issue

    One of our client using EMC SMARTS trap Adapter  to collect SNMP traps from Resource Manager Essentials > Tools > Change Audit > Automated Action. recieves mangled packet every night around midnight from the LMS3.1 server as shown below. I could not

  • How to enable "ValidateXML" for a specific Composite/process in 10g BPEL?

    Hi , In *11g*, from em console, Its possible to enable/disable the XML(payload) validation both at server & just for a specific composite/process level. In case of *10g*, from the BPEL console, we could only enable/disable the XML(Payload) validation