Flex :: TabNavigator - Gap Between The Top Of The List And The Bottom Of The Tab Menus?

Oct 23, 2011

Apologies for the rookie Q - trying to learn Flex/Actionscript and just having some basic layout issues. (Using FlashBuilder 4, with Flex 4.5 HERO SDK) I have a TitleWindow, and have embedded a mx:TabNavigator within it. I have then placed a list within the first tab and set its width/height to 100% However, there appears to be a gap between the top of the list, and the bottom of the tab menus. Why is this happening and what is the best way to ensure the top of the list aligns up flush with the top of the VBox?

[Code]...

View 1 Replies


Similar Posts:


Actionscript 3 :: Flex 3 Or 4. To Have TabNavigator With The Button On The Bottom

Nov 21, 2010

Is it possible to place the Tabs on the bottom of a TabNavigator?

Currently, I want to see if Flex4 can cretae tabs for me positioned on the bottom.

Currently I can use [URL] for his positionedTabNavigator and yet it looks wonky, when I apply rounded corners on the tab, it rounds the wrong end.

View 1 Replies

Flex :: Removing The Border At The Bottom Of The List Items?

Jul 21, 2011

Highlighted portion in red! How do i remove it? Code to render list is below:

<s:List id="ui_lstIndexList" width="175" height="600" fontFamily="TwinCen"
fontSize="24"
alternatingItemColors="[]" borderVisible="false" downColor="#7fceff"

[code].....

View 3 Replies

Flash :: Flex Spark List Scroll To Bottom When New Data Is Added

Oct 6, 2010

I have a Spark List (spark.components.List) backed by an ArrayCollection for its dataProvider. The List has a vertical scrollbar when there's too many rows to display. What I want is when a new row is added to the List for it to scroll to the bottom to show that new row.

I've tried calling List's ensureIndexIsVisible from a listener on the ArrayCollection. This doesn't work because the List hasn't yet fully rendered the new row. It will either scroll to the second from the last row, or throw the exception:

[Code]...

View 3 Replies

Actionscript 3 :: Create A Flex List Component With The 0 RowIndex Starting At The Bottom Instate Of The Top

Nov 9, 2010

Does anybody know how i can create a stacking list component (just like photoshop) where the first row starts at the bottom and the second on above the bottom and so on. Normally the list component works like this.

[Code]...

View 3 Replies

Actionscript 3.0 :: Xml Accordion Menu That Has Main Menus / Sub Menus Buttons With A Mask

Feb 3, 2009

I'm trying to create an xml accordion menu that has main menus and a sub menus buttons (movieClips) revealed with a mask. Simple question, How do I stop the mask area which reveals the sub menus catching mouseEvents on the submenus?The main menu button is a movieClip, it has the mask sprite attached to it as a property so it can scale dynamically to reveal the subMenus. They are set as children of the main menu button container. In my code I've set mainMenu.mouseChildern = true. But when the mainMenu is clicked I change mouseEnabeled = false to help prevent the main menu receiving events. This helps on rollOver rollOut events, but when I click or mouseDown on the subMenu the mask catches the event also and activates the main menu again. I've tried the obvious mask.mouseEnabled = false; mask.mouseChildern = false; mask.hitArea = null; and even setting mask.alpha = 0 but this has no effect at all.

I don't understand why the mask has to extend the hitArea property of the mainMenu and why this can't be set to null. It also seems crazy that when mouseChildren = true the parent clip also has to receive notice of the event.

View 2 Replies

PHP :: Flex - Refresh Particular Tab Of TabNavigator?

Nov 3, 2009

I am using a Tab Navigator component in which there are three canvas components. When I click one of the canvas (or tab), a Pie Chart is displayed. Actually what happens is that on-click
1. the canvas sends an HTTPService whose url is set to a php file
2. That php file actually gets information from a database. Based on that information an xml file is created
3. Fusion Chart uses that xml file to display a pie chart

The database is being updated after some time. Is there any way the Pie Chart may get updated after every 3 minutes to reflect the modifications in the database? or
Can I send the particular HTTPService again and again after every 3 minutes 'in background'? or
Is there any good way to update the information in a particular canvas (or tab) of Tab Navigator?

View 3 Replies

Flex :: SelecedIndex Of Tabnavigator Is Appended To Url?

Nov 2, 2009

In my flex application when I added a tabnavigator control and ran the application, I found that a "#" was appended to the url in the browser and whenever I select one of the tabs the url changes to this "myurl#app=7049&c152-selectedIndex=1" reflecting the index of the selected tab, is this a normal behavior of the tabnavigator,

View 2 Replies

Flex :: Select A Tab In A TabNavigator In A New State?

Feb 7, 2010

in my case I click a button. it calls changeTabState() ; it changes the state and then needs to select a tab using selectedIndex. but that does not work properly. If i go back go the main state and click the button again, it works as it should.Button:

<mx:Button x="741" y="21" label="Upload" click="changeTabState('login');" visible="{loggedIn}"/>
Function:

[code].....

View 1 Replies

Flex :: Resizing Contents In TabNavigator In 3

Apr 12, 2010

I am working on tabNavigator in flex 3. I have tileList within it. Contents in the tab comes dynamically so I cannot provide explicitly fixed height and width. I need to resize the tabs depending on the contents within it. To resize the tabs I have enabled 'resizeToContent' property of tabNavigator.For some reason it is not resizing as expected. 'resizeToContent' works fine for other child items in tabNavigator but fails when I use tileList as child in tabNavigator that time tileList resizes to its default size(4 rows are only visible). So i was wondering if there any way so that I can force tileList to display all its items without putting scrollbars after its default size.

just by invalidating size on creationComplete ,will that resize all tabs for me. I am having n-number of tabs in tabNavigator as user can add tabs and content within it. how can I achieve this. I am new to flex so just getting confused with its behaviorand struggling with this issue from long time.

View 1 Replies

Flex :: Set Tab Index > 0 In TabNavigator At Initilize?

Jun 9, 2010

How to set tab index > 0 in TabNavigator control at initilize, flex

View 2 Replies

Flex :: Adobe: Hiding Tab Bar In TabNavigator?

Jul 7, 2010

Does anyone know how to hide the tab bar up top on a flex tabnavigator component? I don't want to see the tab bar at all and I don't need to click on it (I have an automated iterator through the tabs).

View 1 Replies

Flex :: TabNavigator Not Showing Children

Aug 23, 2010

I have a TabNavigator component which is not showing its children when adding them at runtime.[code]...

View 1 Replies

Flex :: Add Button In TabNavigator Header?

Nov 5, 2010

i want to add minmun/maximum button on tabnavigator header.

View 3 Replies

Flex :: 4.5 TabNavigator CornerRadius Not Working?

Oct 19, 2011

I'm having the hardest time finding a way to simply add rounded tabs to a TabNavigator control.I have seen examples which seem to be really simple but they don't seem to work in Flex 4.5. Here is some sample code:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]......

View 2 Replies

Flex :: Get Information Of Tabs Open In TabNavigator

Jun 19, 2009

i am opening tabs with click event on tree list view. Problem is that i do not want open tab Pista as u can see in image again. i want to focus that open Pista tab.

View 1 Replies

Flex :: How To Find Height Of Children In TabNavigator

Nov 13, 2009

I'm having sizing issues with a TabNavigator. The direct children of the TabNavigator are Canvases, and within these I am adding Images. I'm trying to resize the images to fit within the Canvas without scrollbars. The Canvas height is set to 100% of the parent, which is the TabNav. Then I'm setting the image.height = parent.height *.9. The result is that Flex is generating scrollbars because the images are too high. It appears that the root cause is that the height property of the TabNavigator is the height of the entire component, including the height of the tabs. I'm assuming therefore it also contains that little strip of space between the tabs and the children of the TabNavigator. This makes sense, but is there a property that returns only the height of the children? I'm aware of the scrollbar policy properties and I've experimented with those. I know I can also try a different multiplier for the image size to get it to fit. It just seems like there should be a property to get the size of the space for the children.

View 1 Replies

Flex :: Stop TabNavigator From Adding HASH To URL

Dec 21, 2009

I have a TabNavigator component that keeps added a hash (#) to the URL. I need to prevent this. I have it set to historyManagementEnabled="false" but it is still adding the # to the URL when it initializes. The reason why adding this hash is such a problem is because, I am using .htaccess to give my URL a pretty URL like domain.com/designer/category/product/id when the page is really located at domain.com/product.php?pid=id So in order for my assets to load correctly I had to add a base tag like this:
<base href="[URL]" />
But since I have this base tag set, whenever my flex app adds the # to the URL, the page is now automatically redirected to the homepage. Any way to stop the TabNavigator from adding the # to the URL.

View 2 Replies

Flash :: Open Tab From TabNavigator With Actionscript In Flex

Mar 22, 2010

I've got a TabNavigator with multiple canvas children. How can i open one of the children with actions script (imagine it as a tab with an intro and after login the tab with content needs to be opened). I have tried this.parentDocument.tabs.selectedIndex(1); but that doesnt work.

View 1 Replies

Actionscript 3 :: Styling Buttons Of Flex TabNavigator?

May 22, 2010

I created a TabNavigator with a bunch of NavigatorContent inside it, and want to skin just the buttons of the tabs themselves. So I added a skinClass, but looks like in the documentation, there's no skin part to target the button specifically.

Do I have to style the mx:TabNavigator itself to accomplish this? I was hoping not since I don't know how to style mx components and am more comfortable with styling spark.

View 2 Replies

Actionscript 3 :: Flex Tabnavigator Cuts Off Labels

May 18, 2011

I have a problem with the TabNavigator. The labels of the tabs are getting truncated and once the user places their mouse over the tab it redraws again. Is there anyway to redraw the label of the tab programmatically?

View 2 Replies

Flex :: TabNavigator Can't Handle Disabled Children?

Jun 8, 2011

I've got a problem while migrating my TabNavigator from Flex 3 to Flex 4.5. Stripped to the bare minimum, the following code will produce the bug, namely that the second child of the TabNavigator fails to be created properly:

<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"

[Code]....

Is this really a Flex bug, or is there something I'm missing? I'm using Flex 4.5.0.20967, and all of this worked well in Flex 3.5.

View 1 Replies

Flex :: Get Individual CreationPolicy On Canvas Child Of A TabNavigator?

Oct 19, 2010

Having read about Container creationPolicy (thanks all the references in StackOverflow)I have a TabNavigator and AS code in the initial Tab needs to reference components of second tab (a Canvas with multiple children).But the components of the second tab are null until that Tab is rendered.

According to the documentation as I read it, I should be able to set creationPolicy on the second tab/Canvas to "all"; the TabNavigator will instantiate all its top-level children, even with its multi-view creationPolicy="auto"; and I was hoping that when creating the child Tab/Canvas, that the creationPolicy="all" of that single-view Container would be honored.

But it appears that this is not the case; if the TabNavigator has creationPolicy="all" then the second Tab is populated (but so are the third, fourth, ...); but with "auto" the second Tab is created, but not populated, even though its creationPolicy="all".Is there a way to get just selected Tabs to pre-instantiate?

View 1 Replies

Actionscript 3 :: Know Index Value Selected / Opened Tab Flex (TabNavigator)?

Oct 18, 2011

I have a mx Tab navigator and added several childs...I can use selectedindex(int) to open/select the respective (int) tab but How do I know the value of a selected/open tab?

View 2 Replies

Flex :: Maintain Combobox Selected Item Across TabNavigator Tabs?

Mar 30, 2010

I've just recently started out using Flash Builder and have a question surrounding states. In fact I'm not entirely sure it is related to states but read on and I hope it will become clearer. I currently have a custom component that contains 3 comboboxes. This resides in a TabNavigator component. The TabNavigator consits of 5 pages (Tabs). The custom container holding the comboboxes should display the same selected data across all Tabs. ie. If I am in Tab1 and select an item from one of the comboboxes then click on Tab2 I need to mirror the combobox's selection in Tab2.

View 1 Replies

Css :: Flex 3 - Style Not Applying Completely On Dynamically Created Tabs In TabNavigator

Jan 19, 2010

When I create a tab dynamically via ActionScript, the style for the newly created (and selected) tab get applied to the skins, but not the text, unless I click on another tab and then click back to it.

[Code]...

View 1 Replies

Flex :: Tabnavigator - Hide Some Tabs In Tab Navigator And Show Them Only When Certain Event Occurs

Sep 20, 2010

I am using tab navigator. And it has thee tabs "Search", "Show as text", "Show on map" I have a address search box in Search tab. I would like to hide other two tabs if search has not happened yet. So if user hasn't searched any thing other two tabs shouldn't be visible.

View 1 Replies

WebKit Browsers :: Error In Flex Webapp With TabNavigator Loaded Using SWFLoader?

May 19, 2011

I use a flex app (A) to load another flex app (B) using SWFLoader (both built using Flex Builder 3 sometime ago).Everything works fine as expected across all (IE, FF, Chrome, Safari) desktop browsers.However, if I use a TabNavigator within the flex app (B) then when you click on any of the tabs it unloads the flex app (B) and re-starts flex app (A). This behaviour appears to be limited to Webkit based browsers (Chrome & Safari) the rest of the browsers (IE, FF) work fine.

View 1 Replies

Flash :: Creating Menus In Adobe Flex

Jul 9, 2011

I am working on a game in flex, and I am trying to figure out how to create menus in the game. I am was thinking it would be easy just to add and remove a child for the menu, but then it would be a pain to make interactive.I am trying to do both a pop up menu and an always on screen menu, like a bottom menu bar, so if anyone has any ideas please let me know. I am completely new to flash and flex and don't really know where to start past making the actual game.

View 2 Replies

Flex :: "preload" The Google Maps API In A TabNavigator Tab?

May 6, 2010

I have a Flex 3.5 Air Application; The main window has, besides the header, a TabNavigator. In a Tab, I've put a Google Maps object. It works fine, except that it "loads" very slow and the whole application freezes ( not responding problem ).

Now I would like to fix that but don't really now how to implement one of these solutions:

1) Load the API before the whole application loads.

2) Load the API somehow async, when the tab is clicked. I don't really need a fancy preloader, it's enough that my app doesn't freeze.

Please note that I'm "110%" sure that it's the GoogleMaps's fault since the tab canvas is empty, and no other code is there [double checked that]. Also please note that the map only loads, then I call the setCenter method, so no other operations that could freeze it.

EDIT: I managed to determine that not the Api Object creation is slow, but the actual display of it on the GUI. Here's the line of code. ResellersMapClass only extends the Google Maps API class since I intend to add there extra functionality. But right now is clean.

this.map = new ResellersMapClass();
//between here
this.mapContainer.addChild( this.map );
//and here

View 1 Replies







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