Flex :: Accordion Component : Open Multiple NavigationContents At Once?
Jun 23, 2011Is there a way to open multiple navigation contents at the same time with the Accordion in Flex 4.5 ?
View 1 RepliesIs there a way to open multiple navigation contents at the same time with the Accordion in Flex 4.5 ?
View 1 RepliesI've seen all kinds of accordion menu examples that allow for one pane open at a time, but I really need one that can have more than one open at a time.
View 4 RepliesI need to create an accordion interface that can have multiple open panels. I have seen so many examples out there that allow one at a time, but none that allow the user to have a few panels expanded at one time.
View 2 RepliesI 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..
how to create an accordion menu with out using the accordion component.
View 14 RepliesI'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 RepliesI 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 RepliesI have five panels with some logic in every of them.
How could I split styles, code and layout for every panel to several files?
I've an Accordion component in my Flex application and works great, but I found a little glitch in its behaviour.While one of its menus is opening, it shows a white rectangle and, when it completely loads, it shows me the content. But I want to show the whole content without this "white" rectangle when it loads.For example:
Image 1: My Accordion is ready to use
Image 2: I want to open another submenu, so while it's opening, a white rectangle is shown (I was really quickly to take an screenshot)
Image 3: Recently opened submenu is fully loaded.Here is my source code:
<mx:Accordion id="accordion" width="100%" height="90%" verticalGap="0" horizontalGap="0" creationPolicy="all">[code]...........
Is there a way in AS2 to control the Accordion component so that the initial state is all children are closed?
View 0 RepliesI've got an mx accordion component that I want to populate at runtime. However, the first box will populate fine, but all the others return null reference so I can't access them. Does this have something to do with which one is currently selected? I'm creating my accordion:
<mx:Accordion x="398" y="207" width="331" height="250" alpha="1.0" borderStyle="solid" borderThickness="0" cornerRadius="10" fontFamily="Arial" color="#000000">
<mx:VBox label="EDITOR'S NOTES" fontSize="10" width="100%" >
[code].....
I am trying to build a Calculator used in health circles to project next year's profit and loss etc. I am using flash cs3 and actionscript2.My flash project is based on accordion component with 6 child panes, each pane having a movie clip with input text, dynamic text etc.I have a couple of push buttons that has click eventhandlers taking care of calculations . All the calculative functions are in the actions layer frame 1.I need help in displaying the same calculated fields as dynamic text in a new movie clip in another layer before printing the same movie clip.The present situation is like this, I am able to calculate all the fields, but when i click a button to show a new movie clip with all the calculated fields, all the variables are displayed as "undefined".
the dynamic variables in the new movieclip is referenced correctly i guess, i use pp_acvcfy = myacc.overheads.acv_cfy; where myacc is the accordion component , overhead the child pane and acv_cfy the dynamic text inside the pane 'overhead'. pp_acvcfy is the dynamic text in the new movie clip. Please help
I'm loading a webpage inside a HTML component in AIR. By default, when something is clicked the next page is loaded inside the HTML component itself. I want the links from that page to open in an external web browser.
View 1 RepliesI have a component in AIR like so:[code]The 2 alerts both work. however nothing happens when you click the new window link.all 3 links works when in a real browser so I know its ok.Is there just no support for window.open in the AIR HTML component? or is this a bug?Is there a work around?
View 2 RepliesHow to open multiple pop up browser windows from ActionScript?
View 2 RepliesIs there a FLEX component that uploads multiple files in a multipart/form-data POST request?
View 3 RepliesIn short: I need an event listener in a custom component so all its instances (without editing them) react at the same time, fired by a dispatched event in its parent container. In detail: I have a custom component with Tab navigator. (The tabs are intended to show different preferences for different Languages.) I have a button bar with buttons for all the languages. There are a lot of instances of the custom component.
I want to click in a button of the languages bar and get ALL the instances switched to the same tab (the custom component contains the logic to change the tab). I can do it by adding the event listener for EACH INSTANCE of the custom component, so it calls an internal function that changes the tab. But it seems to be very coupled, isn't it? I wonder if it can be done in the master CLASS of the component, so it listen for events in its parent container, whichever it is. In my mind this code shoud work, but it doesn't (obviously ill'use a custom event to pass the new language value): this.parent.addEventListener("lang_change", this.change_tab); This way I can just drop an instance of the component, and see it working for itself.
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 RepliesI 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?
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 RepliesI 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.
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
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].....
[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 RepliesWhen i create a new Accordion object and add some items to it with a dataProvider The default selected Child is 0.
View 3 RepliesIn 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 ?
I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.
[Code]...
I have a component "child" which has a cancel button. Now this component is placed in a state called "newChildComp" I also have another component called "parent". In the parent component, i have a button that dispatches an event. Here is the event code:
[Code].....
so, basically,i am checking to see if the cancel button component in the Child component, while i am still in the parent Compoent, was clicked, if it was clicked, call the cancelButtonHandler. The problem is by the time the addNewChild handles the event, that cancel button was still null. My question is how do i solve this without using the itemCreationPolicy on the cancel button?
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 RepliesHaw can i see if the colorpicker component it's open or closed ?
View 6 Replies