ActionScript 3.0 :: Gap Between The Accordion?

Sep 15, 2009

Code:
<mx:Accordion selectedIndex="0">
<mx:HBox label="0" borderStyle="outset">
<mx:DataGrid rowCount="6">

[code]....

I found there is a gap between the datagrid and the second accordion tab. The more HBox I add, the bigger gap it has.Workaround:I tried to add verticleGap = "0", this fix the problem. But according to the documentation, verticleGap by default is -1, which still should not see the gap.[URL]

View 0 Replies


Similar Posts:


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

Help Please! External Linking Xml Accordion?

Aug 15, 2011

The accordion i created works by recreating a single movie clip as the frame/holder for each and every 'tab' the accordion has.Now I want to have seperate links for each 'tab'. which means, at the 1st tab for example, if you click anywhere on the content area, it will take u to page #a.If you go to the 2nd tab, click, it will take u to page #b.

the current flash file has holders in it in order to let it load the xml data. such as the tab titles, content etc. they are also reproduced in AS hence there is only one instance of each in the FLA.I have created an area which is TO BE the "clickable" area on each page. But i do not know what else to do from here...

View 1 Replies

How To Do Flash On Accordion Panel

Aug 29, 2011

I was looking around and I found this website. How did they do the flash on the accordion panel? So that part of the panel jumps to the other side (without the wiggle) and then the active panel shifts over to the right? [URL].

View 2 Replies

Flex4.5 Accordion With Checkbox?

Aug 4, 2011

I have the following code for accordion in Flex 4 with couple of checkboxes inside, since the checkboxes are plenty i made it inside a list so that it can scroll. but when I try to run this code the checkbox only shows as label and no checkbox beside it. what is wrong with my code.

[Code]...

View 1 Replies

Actionscript 3.0 :: MOUSE_OVER In Accordion?

Jun 7, 2009

I got this accordion from http:[url]....and I would like to have a MOUSE_OVER event on the buttons.The problem is that I don't know how to target the movieclips that are in the library of the accordion.fla file.

View 3 Replies

CS3 Inserting An Accordion Inside A ScrollPane?

Mar 10, 2009

I've just used the accordion component in flash to successfully load some external data into it.For the purpose I want to use it, the accordion is a good option.However, as you keep adding more and more elements into it (and, presumably, there will eventually be lots of them in this project), the headers start to take up more and more space, up to the point that you can't see the content.So yes, I made it so that the accordion adjusts its size depending on the number of elements it needs to display each time. And that works fine.BUT... then, there's a point where the accordion is just too big for the stage... so it doesn't fit, and you can't see part of it.I thought it would be possible to insert the accordion inside a ScrollPane, but I can't make it work.

The first step would be to put the accordion component inside a new MC. But when I do that and test the movie, I get a very weird behaviour of the component. It loads the content, but at first only half of the component shows up. Then when you click some items, they don't display properly and do weird things.Still, I went forward and tried to put that MC inside a scrollPane (gave the MC a linkage name, etc.), but still the scrollPane seems to display a "blank" accordion inside it, not the one with the content.Is it possible at all to get a working accordion inside a ScrollPane? If not, can you think of any other way to make the accordion component "scrollable" so that it can have whatever size is needed, and still be usable?

View 2 Replies

ActionScript 3.0 :: Recreating An Accordion Menu

Nov 5, 2009

This was part of a previous post , since I cannot figure how to re do the AS to call actions to a frame i will have to do the menu from scratch. here is the original [URL] I need to re create the animation which I have done using 4 movieclips and eventlisteners for mouseevents. On rollover mc expands On rollout mc closes. problem is I need to figure a way that when you rollover an mc it is called to the top or front of the other 3 and can open without being obscured

[Code]....

View 8 Replies

ActionScript 3.0 :: Accordion Code Not Working?

Jan 2, 2011

I am trying to put together a little accordion animation for a site. I am using code from this site:

[URL]

I only need 3 panels instead of 4 so I took the code and changed it to this:

package
{
/**
* Accordion Menu

[code]...

You would think that SOMETHING would happen now. Even if its just a strange movement of some kind. But nothing does happen. Not even an error message of any sort. I started messing with that X and Y value but nadda thing. All of my movie clips are named correctly. card1, card2 and card3. Maybe it has something to do with the packages? I have never used components before like tweenlite. I took the files and just placed them in the folder with my flash movie.

View 3 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

ActionScript 3.0 :: Infinite Tsunami Accordion?

Jan 27, 2010

I posted on Kirupa Yesterday trying to get help with a project. I've had no response because the help I need is admittedly a pain in the behind. I'm at the end of my thether here so I thought I try posting here also. I'm in the process of trying to make an "infinite scrolling tsunami accordian". Sounds sweet right.

Its supposed to grow as items are moused over along with accordion functionality. also it is supposed to wrap around the items. Ive gotten very close but I have some problems that I've hit a wall on. I've never seen a 3 in one menu like this and it'd be really cool to get it going.

So far I have the tsunami effect and the wrapping around. The only problem is that when you click on an item, instead of the items below it animating to the bottom bound of the menu and then appearing at the top when they go too far theres a big *** pause and then they just jump to wrap around position.

The accordion aspect is there too but I can't figure out how to handle the spacing when an item is expanded. I've attached a zip file containing the project in the hope that somebody might have the time to try and me flesh this out . The class in question is named infiniteTsunamiAccord.

View 0 Replies

ActionScript 2.0 :: Accordion Code That Uses XML For The Buttons

Mar 10, 2010

I am using an accordion code that uses XML for the buttons. Here's an example of one of the buttons:

[Code]....

View 2 Replies

ActionScript 3.0 :: Accordion Menu Without XML Or TweenLite?

Dec 9, 2010

I was wanting to use this code for a project: trouble is I can't have the file call any extraneous files. Since I am still learning I am not sure how to go about adusting this code. Essentially I need it to function exactly the same but using the AS3 Tween Class in place of Tweenlite.

///////this is the code I would love to alter!/////////
import gs.*;
import gs.easing.*;
panel1.props = {lx:0, rx:570, ind:1};

[Code]....

View 3 Replies

ActionScript 2.0 :: Accordion Menu / XML Tutorial?

Feb 2, 2006

Im in really need of a tutorial or working sample of a Accordion menu using XML, like the one�s from : http:[url]....

View 3 Replies

ActionScript 2.0 :: Accordion Menu Not Collapsing Entirely

Sep 18, 2007

So if you click on Capital Strategies group on this page: [URL] you'll find a .swf file that has a collapsible menu (accordion menu). Everything works great except for two problems:
1. There is some sort of wierd masking occuring that's clipping the bottom of the menu as you'll see.
2. The items don't collapse entirely.
I assume this has something to do with actionscript but as I'm sifting through it I'm just not having much luck.

View 1 Replies

ActionScript 2.0 :: TRULY Flexible Accordion Menu?

May 27, 2008

i've been looking for a decent accordion menu forever. a coded one, not that component crap that you can't customize worth a damn. i couldn't find one that didn't make my head hurt or didn't require the menus, etc. to be created beforehand. so i finally knuckled down and made one. lazy me. and since i've seen a bunch of posts looking for them, i thought i'd put my efforts here for everyone to use and enjoy. nothing like bashing your head against a wall trying to do something simple.

the code is VERY flexible and quickly adaptable to XML implentation (which i'd actually originally did this for). and, best of all, everything is customizable. out the hoo-hoo. oh... and i commented the hell out of it for my staff, because it's often better to know WHY something works so you can learn from it and use the principles in your own stuff. there are a couple of finesse things with regard to the spacing that just need a tweak +- 1 pixel... but i thought i'd get this up before i move on to something else.i'm working on making this into a class and when i do, i might throw it up if anyone is interested. and mad thanks to the 'lmc_tween.as' crew. i know Zigo is the new deal, but there's life in the old stuff yet!

View 1 Replies

Change Accordion Menu Bar Background Or Text?

Nov 8, 2009

how can i change accordion menu bar background or text ?

View 5 Replies

ActionScript 3.0 :: Accordion Menu Doesn't Move

Apr 11, 2012

url...In basic tutorial there is extra part of button where you add menu name "home, about us" etc.But I don't need this. I needed more simplier. From xml file I load an image or swf. And then you just mouse over it and it moves and it clicks. No extra 30 pixels for button space.If i change AS line ldr.x=0 to ldr.x=27 then it moves, but there is extra unnecessary empty space between content things. I don't need it. What should I do?

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

Actionscript 2 :: Accessing Header Movieclip In Accordion?

Mar 26, 2011

I want to create a list with flash cs3 using the accordion component (the user clicks on a row, and the row expands). The icon of the header is a movieclip "My_icon":

var oAccordion_1:Object = oAccordion.createChild("Datasheet", "Icon", {icon:"My_icon"});

Movieclip "My_icon" contains a dynamic textfield with the instance name "lblHead".
No I want to change the text of the textfield like this:

oAccordion_1.icon.lblHead.text = "mytext";

But trace(oAccordion_1.icon.lblHead) gives undefined. However trace(oAccordion_1.icon) gives me "My_icon".

how I can access lblHead inside the header mc?

Btw. I know the accordion has a label itself, but I want to have more than just a label inside my header.

View 1 Replies

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

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 :: How To Delete Accordion By Drag Drop

Jun 22, 2009

I have a dynamically populated accordion with 6 tabs or so. I would like to delete one accordion section (I have vbox inside the accordion) by drag and drop.

View 0 Replies

ActionScript 2.0 :: Initial Accordion Component State?

Jun 23, 2009

Is there a way in AS2 to control the Accordion component so that the initial state is all children are closed?

View 0 Replies

ActionScript 2.0 :: Accordion Menu With Springy-ness?

Oct 26, 2009

I am having a little trouble trying to design something similar to this:I tried to do layers with buttons and MC's but it didn't work very well. I think they are using the accordion feature but modified...

View 1 Replies







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