Flex :: HDividedBox Accordion List Resize?

Sep 15, 2011

I'd to use a HDividedBox and I have resize problem.Indeed, when I reduce the width of accordion component, the list is not reduce.Find below my code

<mx:HDividedBox width="100%"
height="100%"
color="0x323232">

[code].....

View 1 Replies


Similar Posts:


Flex :: Is Mx.containers.HDividedBox Deprecated ?

Aug 30, 2011

Is mx.containers.HDividedBox deprecated by some spark container in Flex 4.5? I'm new to Flex programming and can't find any spark replacement for it.I want to have 2 Lists separated by movable vertical bar.

View 1 Replies

Flex :: Resize A SpriteAsset Without Adding It To The Display List?

Mar 31, 2010

I have an embedded image asset (with a scale9 grid), and I'm trying to get the bitmapdata when it's resized, but I can't seem to do this without adding it to the display list.

I try this:

spriteAsset.setActualSize(w,h);
spriteAsset.width = w;
bmd.draw(spriteAsset);

But when I then draw out the bitmapdata with graphics.beginBitmapFill(), I just get the original un-stretched image.

Or do I need to take 9 separate BitmapData images and make 9 separate bitmap fills?

View 2 Replies

Flex :: Disable A 4 Spark List's Auto-resize?

Mar 8, 2011

I'm developing a Calendar application, and I'm using a Spark List inside a Panel for each individual day, in a 5x7 grid. I'd like to make sure that the individual lists stay the same size and simply add scrollbars when needed, but I'd also like to avoid setting an explicit width or height to maintain compatibility with multiple screen resolutions.

View 1 Replies

Flex :: Moving More Than One Divider At A Time In HDividedBox

Mar 22, 2010

I'm trying to have a minimap display with a draggable viewport below a chart. I essentially have this to control the viewport of the chart:

<mx:annotationElements>
<mx:HDividedBox id="dividedBox" horizontalScrollPolicy="off" width="100%" height="100%" liveDragging="true" borderSides="bottom top">

[Code].....

Problem is, only one divider actually moves at a time. I found that if I set a timeout of about 50ms before moving the next divider that both dividers move. However, this seems like a rather awkward way to approach this and is error prone.

Anyone know if it's possible to move two dividers in a HDividedBox simultaneously or should I be taking another approach?

View 1 Replies

Flex :: Resize Nested Mx:Lists To Display All List Items?

Aug 17, 2010

I'm trying to create a nested list in Flex which will dynamically resize to display all children when the data provider changes.

Here's a simplified example which illustrates the problem:

<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;

[Code].....

The list sizes remain static when items are added.

If I add variableRowHeight="true" to the outer list then the inner lists will correctly resize. But the outer list itself remains at a fixed size.

How can I have both lists resize automatically to display all children?

View 1 Replies

Flex :: Decrease Width Of HDividedBox Divider Bar Length In It?

Sep 21, 2010

How we can lessen the length of Dividing bar between two components. like in this example i want the length only of two pixel.

View 1 Replies

Flex :: Prevent Dragging Of A HDividedBox's Divider Based On A Condition

Feb 23, 2010

I'd love to be able to prevent dragging of a HDividedBox's divider based on a condition. for example:

[Code]...

View 3 Replies

Flex :: Set The Initial Ration Of The Size Of Child Elements Of A Hdividedbox?

Sep 9, 2011

I have a Hdividedbox, which has three child elements.

I want to set the initial ration of sizes, such that the first one is 30%, the second is 40% & the third is 30% of the Hdividedbox's width.

View 2 Replies

Flex :: Mouseover - HDividedBox Flicker With LiveDragging Enabled *only* When Mouse Is Over Component?

Apr 15, 2011

I've noticed that an "out of the box" HDividedBox has some serious flickering issues when liveDragging is enabled, but only when the pointer is over the contents of the DividedBox while dragging. If you grab the BoxDivider and move the pointer off the component while dragging, the flicker goes away and the component renders properly.

I have tested this with both my customized component and an extremely basic HDividedBox implementation with Group, SkinnableContainer, and BoxContainer children as well as nested groups with clipping.All types of children exhibit the same behavior.

<mx:HDividedBox width="500" height="200" liveDragging="true">
<s:SkinnableContainer minWidth="0" backgroundColor="green" percentHeight="100"/>
<s:SkinnableContainer minWidth="0" backgroundColor="blue" percentHeight="100"/>[code3].....

View 1 Replies

ActionScript 2.0 :: Accordion Component - Populating The Accordion With The Data?

Jul 10, 2009

I have an accordion component on my stage and I really do not even know where to start to do .I found this code on the Adobe help pages and it causes the movement of the accordion to bounce... which is great... but my problem is populating the accordion with the data.

Quote:

import mx.core.View;
import mx.transitions.easing.*;
top_acc.createChild(View, "first", {label:"FIRST", icon: vt[i]});[code]........

My accordion is called "top_acc".I have three(3) labels... (FIRST,SECOND, and THIRD) Within there i would like arrays to be displayed for the select label.My arrays are defined and when i trace them i get exactly what i am looking for... the format of the code to add an array to my accordion...then upon selecting the item in the array displayed i would to be able to display that same array value in a text box called "my_selection" ....also the amount of items in the array are not static and change day to day..

View 2 Replies

ActionScript 2.0 :: Create An Accordion Menu With Out Using The Accordion Component?

Mar 6, 2007

how to create an accordion menu with out using the accordion component.

View 14 Replies

Flex :: Open Percentage On Accordion?

Dec 9, 2009

I'm currently developing a Flex application with an accordion containing 2 canvas: one of them containing a DataGrid and the other one a form.When the user clicks on one of the DataGrid's rows, it opens the accordion on the second (form) canvas. However, I'd like to open the second part of the accordion only by half, so they can still see the data in de datagrid.

View 1 Replies

Flex :: Customize Accordion And Panel Look?

Sep 17, 2010

I want to increase the (height) size and change the color of a spark accordion header, similarly I want to change the color of a spark panel header. Can I do this through mxml properties and css or will I need to use a custom skin?

View 1 Replies

Flex :: Accordion Flickers When Refreshed?

Mar 10, 2011

I have an accordian which contains a repeater. That repeater takes an array as a dataprovider. The array in turn gets data from an XML file, on server, via HTTPService.

Now, data in the XML file gets modified after sometime frequently so I send the HTTPService after every 5 secs by using a Timer.

Problem: When the timer timesout after 5 secs, HttpService is sent, data is retrieved and showed in accordian but each time this happens, the accordian flickers. Thus, the flickering happens every 5 sec which is quite irritating.

Can I somehow remove the flickering to make the accordian update seemlessly? If it's the problem with accodian, will it persist if I use a DataGrid in place of accordian?

View 1 Replies

Flex :: Flex 3 Resize The Label And Text When Resize The Window?

May 11, 2010

i am creating flex 3 component when i re size the window i need to re size the labels and text.how to do this?

View 1 Replies

Actionscript 3 :: Accordion In Flex With Only Headers And No Containers?

Dec 17, 2010

Is it possible to create Accordion with only the headers without adding any containers in it? Is there a way so that I can just create the Accordion with three sections with only labels?

View 2 Replies

Flex :: Add Button To Its Accordion Header Which Can Clickable?

Feb 2, 2011

I want to add a button with a cross to the header of the accordion which can be clickable. that means i want to display a message when the some one click on that button. i go through many of the samples in the web but couldn't get it done.

I tried with also a CanvasButtonAccordionHeader, it shows the button but when i click it, it didn't give the message although i created the click event handler.

View 2 Replies

Flex :: Make Accordion Slide From One Pane To Another?

Mar 1, 2011

If you add an Accordion navigation component to Flex Application, like this[code]...

Question is: what code should I write to make my Accordion's panes switching animated?

(Like in Adobe's demo called Tour de Flex)

To see what I mean by animated switching between panes:

1) go here: [url]...

2) select Other Components -> Containers -> Super Accordion in the left pane

3) click on Super Accordion's pane headers and see them moving

View 1 Replies

Flex - Flash Accordion And Image Sizing?

Jan 20, 2012

[URL] how to build something like that with controllable column numbers, width and images that might be using XML.the main thing is how to accomplish such an effect?P.S. I've developed an Image Slider using Flash Builder 4.5 The problem is that when I included that in HTML page when someone performs ZOOM with CTRL+ Mouse wheel in a browser, the DIV that holds my SWF file and SWF file itself increases in size but the image itself that is inside my slider still remains of the same size.. How to fix it?

View 1 Replies

ActionScript 3.0 :: Flex - Accordion. No Child Selected?

Oct 21, 2008

When i create a new Accordion object and add some items to it with a dataProvider The default selected Child is 0.

View 3 Replies

Css :: Set Skinning Like UpSkin,downSkin,overSkin To Accordion In Flex?

Aug 12, 2009

In my project i used Accordion . if i add skin to Accordion then so error ? but i tried like

<mx:Accordion borderStyle="solid" width="212" height="346" upSkin="@Embed(source='image/UPDATE.png')" >

But shows error like Cannot resolve attribute 'upSkin' for component type mx.containers.Accordion. how can i add overskin,downskin,upskin to Accordion in flex ?

View 1 Replies

Flex :: Accordion Component : Open Multiple NavigationContents At Once?

Jun 23, 2011

Is there a way to open multiple navigation contents at the same time with the Accordion in Flex 4.5 ?

View 1 Replies

Flex :: Flash - Resize Children When Parent Is Resize?

Jul 29, 2009

I have Buttons which I have rotated vertically within a Canvas, that is working fine. The problem occurs, when the user resizes the window to a small size a vertical scroll bar appears, I would rather have each button squashed upto a smaller size.

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="40" maxWidth="40" xmlns:myComponents="myComponents.*"
horizontalScrollPolicy="off"

[code].....

View 2 Replies

Flex :: Resize Event And Resize Effect Of A VBox?

Dec 8, 2010

I'm having a little issue with the resize event and resize effect of a VBox.

I have something like this:

<mx:VBox id="container"
backgroundColor="0xFFFFFF"
backgroundAlpha=".9"
paddingTop="15"
paddingLeft="15"

[Code]...

View 3 Replies

Flex :: Accordion Child Controls Are Null Until Open The Panels?

Dec 18, 2009

I am using Flex AS3, i have a accordian with two tabs each tab contains some text boxes and i am trying to access these child controls from button event handler which resides outside the accordian, Problem is these controls are null until i open the tabs of accordian.

View 2 Replies

Actionscript 3 :: Split Accordion Panels Into Multiple Files In Flex?

Feb 15, 2012

I have five panels with some logic in every of them.

How could I split styles, code and layout for every panel to several files?

View 1 Replies

Flex :: Accordion In Flex 4.5 Mobile App?

Jan 24, 2012

I want to work on text layout to display in a vertical accordion. I was able to work with accordion in web app but unable to work on a mobile app since the accordion is not available in mobile flex. Please help me to work on flex mobile accordion. Also suggest me how to display the paragraph contents and bulletins in flex mobile accordion...

View 1 Replies

Flex :: Resize Datagrid On Browser Resize?

Sep 28, 2010

I have a datagrid that occupies 100% of browser screen. I want the grid to automatically resize when the browser is resized to small or full screen.

View 1 Replies

Flex :: 4.1: <mx:List> Had RowCount Properly For The Limit The Displayed Items. <s:List> Doesn't

Aug 11, 2010

I'm using flex 4.1 to write an application. i read in the documents that has the rowCount property to set how many items to display. the does not have that property. how can I limit the list to display 3 items ?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved