Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


Flex :: Increase The Height Of Container Dynamically And Introduce Scrollbar On The Browser

I am trying to increase the height of container with increase in the number of contents inside the container. Like in my case i m using tileList inside tabNavigator , when I put contents inside the tileList, the height of tileList does not increase beyond vertical height of the viewport. It puts scrollbar on the container. I want to increase the height of an flex container with increase in the contents and introduce scrollbar on the browser with increase in contents in the flex container.

View 3 Replies (Posted: Mar 29 10 at 5:32)

Sponsored Links:

Related Forum Messages For Flash category:
Datagrid - Increase The Panel Height In Flex Dynamically?
I have a panel inside which I have a datagrid and a button. The functionality is that when I click the button, an row gets added to the data grid. I have described the pane height and width in %. But as the number of rows in the data grid increase, due to fixed panel height, a scroll bar appears in the data grid. But I want the panel height to increase dynamically as I increase the data grid rows.This is my flex code:

import mx.collections.ArrayCollection;[code].........

Posted: Oct 7 09 at 5:04

View 3 Replies!   View Related
ActionScript 3.0 :: Flash Movie Height - Browser Scrollbar
I have an image gallery with a bunch of thumbnails displayed on the page in a grid-like layout. Currently, the swf sits in a HTML page set at 100% width and height. There's a resize listener that adjusts the layout so that the thumbnails all fit on the page
at once. So, as the browser window gets narrower, the columns decrease and rows increase as the thumbnails get pushed down the page.

The problem is, once the thumbnails get pushed far down far enough to go past the bottom of the browser, the overflow is hidden and the thumbs "below the fold" are not accessible. Is there a way to pass the dynamic height of the SWF, so that the browser detects whether or not it should display the side scroll bar?

Posted: Nov 10, 2008 9:36 AM

View 1 Replies!   View Related
ActionScript 2.0 :: Regular Browser ScrollBar To Appear/disappear When The Movie Height Is Changed
Im currently working on a full dynamic flash website and I want it to look and behave like a good old HTML/CSS page. Meaning that i want a regular browser scrollBar to appear/disappear when the movie height is changed.

So my new killer app simply demands a width of 1000 pixels, but can be any height, and I want people to see the vertical scrollBar on their browser.

I changed the "100%" for the width to a fixed number like "1000", and keep the height parameters at 100%. I thought that will do the job, But NOT I�ve googled and found some interesting stuff, but nothing really I can use (javascript solutions).

Posted: February 26th, 2006

View 1 Replies!   View Related
ActionScript 2.0 :: Increase The _height Property Of A Window Without Increase The Height Of The Title?
How can I increase the _height property of a window without increase the height of the title and the bar at the top of the window ?

I want only to increase the part of the window where I put textFields and buttons.

Posted: 08-19-2011, 12:37 PM

View 6 Replies!   View Related
Flex :: Increase Height Of Dropdown Box For AutoComplete
I am using the AutoComplete component in my Flex website. Everything is fine, but there is one issue. If I type something in the text area, and the items that are searched are alot, i want to increase the height of the dropdown box.

Below is the code to my autocomplete
<auto:AutoComplete borderStyle="none" id="txt_global_search"
textAlign="left" prompt="Search Content"
allowEditingNewValues="true" allowMultipleSelection="true" allowNewValues="true"
[Code] .....

Posted: Mar 11 10 at 1:53

View 1 Replies!   View Related
Flex :: Dynamically Adding Container To A Dynamic Container
I have a loop that goes through data from a book and displays it. The book is not consistent in it's layout so I am trying to display it in two different ways. First way(works fine) is to load the text from that section in to a panel and display it. The second way is to create a new panel (panel creates fine) and then add collapsable panels(nested) to that panel. Here is the code from the else loop.

else if (newPanel == false){
// simpleData is just for the title bar of the new panel
// otherwise the panel has no content


The error I get is: ReferenceError: Error #1069: Property panel4.4 not found on components.readTest and there is no default value.

I have tried setting the "name" property instead of the "id" property.

Posted: Sep 21 11 at 23:25

View 1 Replies!   View Related
Bind A Flex Component's Height To Height Of Browser Window?
I want to constrain the height of a flex component to the height of the browser viewport.

The component's children are populated from a database table using a repeater, and are basic checkboxes. There are enough of them that the flex app ends up being about twice the height of the screen, which means some of the rest of the layout goes crappy on me. How can I force the component that contains these to limit itself to the size of the viewport?

Posted: Nov 10 09 at 21:24

View 4 Replies!   View Related
Get Total Height Of A Container's Children In Flex?
If I have a container, and I set clipContent to true, how do I get the total height of the children inside it? Is there a method for doing this without itinerating through every child and summing the heights?

Posted: Aug 9 10 at 20:19

View 1 Replies!   View Related
Flex :: What Is The Actual Height Of A Container Without Scrollbars
what is the actual height of a container in Flex without scrollbars? Height and measuredheight seem to tell me what the visual height of a container is, but I want to know that number plus any height that is being 'hidden" below a scrollbar.

Posted: Jun 29 11 at 15:27

View 2 Replies!   View Related
Flex :: Border Container Maximum Width And Height?
Using Flex 4 AIR, what is the maximum widtha and height I can set for line and the bordercontainer?

bc:borderContainer = new borderContainer();
bc.width = 80000;
bc.height = 80000;

Posted: Jul 22 11 at 3:57

View 1 Replies!   View Related
Flex :: VGroup - (Parent) Container Does Not Change Height With Children?
I have code like the following:
<s:VGroup gap="10" id="group" height="100%">
<s:Label text="This is page 2" />
<s:Button content="Resize Canvas" click="resize(event);"/>
<mx:Canvas id="photoCanvas" color="#567898" backgroundColor="#125567">

I don't understand why the following does not work:
Pushing the Button resizes the photoCanvas's height (gets taller or smaller). Since the photoCanvas control is a child element of the VGroup shouldn't the container update itself to the new height? The Vgroup has ALWAYS the same height, no matter what the (total) height of the children is! I would like the VGroup to adjust itself and get a height value equal to the sum of its children heights. Is this not possible??

Posted: May 13 11 at 20:40

View 1 Replies!   View Related
Flex :: Setting A Group Container Height To 0 Does Not Hide His Children?
I need to resize a Group using myGroup.height = 0. And it works, but myGroup's children are still visible, I do not know why...

Posted: Feb 21 at 15:52

View 1 Replies!   View Related
ActionScript 3.0 :: Height Of Scrollbar To Height Of Scrolling Content?
I made a scrollbar class that works pretty well. I'm trying to come up with an idea for how to set to the height of the scrollbar vs the height of the scrolling content. This is a standard thing that happen in the OS. Seems there should be a minimum number and the maximum value should be reached as the size of the content approaches the size of the visible area.

Posted: 11-08-2009, 05:32 AM

View 3 Replies!   View Related
Flex :: Limit The Size Of A Child Container With Percentage Width/height Of 100%?
How can I limit the size of a child container with percentage width/height of 100%?


<mx:HBox id="container" width="100%" height="100%">
<mx:HBox id="scrollContainer" width="100%" height="100%">
<!-- keep this content limited to the size of "container" -->


Apparently I can get the desired behavior if I change HBox to Canvas but I would still like to know how to accomplish this with a HBox and why it differs from Canvas.

Posted: Mar 11 11 at 14:27

View 3 Replies!   View Related
Actionscript 2 :: Flash - Set Container's Height To The Height Of The Textfield
I've created a dynamic text field, and set autoSize to true, so it can grow was tall as necessary. I then want to use the _height value to size a container graphic (speech bubble). Here's the (simplified) code:


Returns 19.6 followed immediately by 35.2. It's as though reading txt._height causes it to recalculate, so it's correct the second time. I also tried the textHeight property, which also seems to get recalculated after _height is accessed. This sequence, for example:


Posted: May 6 11 at 20:43

View 2 Replies!   View Related
Flex :: Dynamically Add Component In Container
I want to dynamically add component in Container like Canvas(TileList constraints each child has the same size, GridList is poor in performance), for example


when I click the button, I hope add a component(whatever the component is, and maybe each component has different size), and if the total width of all added child is greater than myHolder, I hope the new child can begin in new line, and stretch the height of myHolder at the same time.(layout with custom code is better)

Posted: Mar 18 11 at 6:04

View 2 Replies!   View Related
Flex :: Scrollbar On Dynamically Rendered Component?
I'm trying to display a custom component i made inside a panel but when it renders the content is displayed outside of the panel box and there's no scrollbar.a panelan instance of myComponent inside the panela button that calls a method on myComponent that adds some controls into itWhen i run the application and press the button the following is displayed:See that the controls added dynamically in myComponent get over the panel's bottom line instead of showing only the visible part of the component and a scrollbar.

Posted: Jun 4 11 at 9:25

View 1 Replies!   View Related
Flex :: Dynamically Add Words Of Text To A Container?
I have a scenario where I want to dynamically add words of text to a container so that it forms a paragraph of text which is wrapped neatly according to the size of the parent container. Each text element will have differing formatting, and will have differing user interaction options. For example, imagine the text " has just spoken out about ". Each word will be added to the container one at a time, at run time. The username in this case would be bold, and if clicked on will trigger an event. Same with the news article. The rest of the text is just plain text which, when clicked on, would do nothing.

Now, I'm using Flex 3 so I don't have access to the fancy new text formatting tools. I've implemented a solution where the words are plotted onto a canvas, but this means that the words are wrapped at a particular y position (an arbitrary value I've chosen). When the container is resized, the words still wrap at that position which leaves lots of space.I thought about adding each text element to an Array Collection and using this as a datasource for a Tile List, but Tile Lists don't support variable column widths (in my limited knowledge) so each word would use the same amount of space which isn't ideal. how I can plot words onto a container so that I can retain formatting, events and word wrapping at paragraph level, even if the container is resized?

Posted: Jun 3 10 at 16:13

View 1 Replies!   View Related
Flex4 - Dynamically Adding Scrollbar To Flex Component?
I have been stuck on this for far too long. I think it's simple so I must be misunderstanding something. I want these to display across the full width of my flash app. When I shrink the width of the flash player I want a scrollbar to appear. At the moment no scroll bar is appearing.


Posted: Sep 8 11 at 13:41

View 1 Replies!   View Related
ActionScript 3.0 :: How To Increase Height Of Object
I am a very fresh guy in flash, I have experince in Javascript , C++ and other programming languages. So I am very much interested in doing task with Action script and get results which are not possible by GUI.I want increase the height of Movie clip using action script, So I tried to increase .height property the height increased but It increased in both direction top & bottom) I want to keep it bottom fix. I tried ScaleY, too but no luck.Somehow we can adjust the bottom after resizing but it won;t give good effect when we are using tweening or other animation.

Posted: Jun 13, 2010 4:44 AM

View 1 Replies!   View Related
Professional :: Increase Height Of Mc And Keep Its Width?
i have a mc which seize is height = 150 and width = 2 (like a line). i have a script which rotate this line and increases its length. this works, however i dont know how to keep the width so that it wil remain 2. this is the scrip in as3 :

function rotateMoveClip_u(e:Event)
var target=(center.x);


Posted: Mar 31, 2012 7:47 AM

View 2 Replies!   View Related
Actionscript 3 :: Add Keyboard Shortcut To Flex-project To Focus Container Browser?
What would be the appropriate way to add some AS in a flex-project, giving giving focus back to the parent browser.

ctrl-q: i'm blurring flash
ctrl-t: ah, a new browser tab.

Posted: Nov 9 11 at 9:51

View 1 Replies!   View Related
Professional :: Increase Swf File Height And Width?
I am trying to increase a swf file height and width so it can fit better in my screen. I don't want to rework on everything again in my fla file because it's big hassle. (changing background size makes every symbol off). Are there anyway to do it?

Posted: Jul 8, 2010 7:01 PM

View 3 Replies!   View Related
Actionscript 3 :: Resizing Flex Application In Browser - Set Autoexpanding Height?
I am developing small application for training purposes. There after click on the button is done, the new panel is added to application, to the button of the application. Once I come across strange problem. The vertical scroll bar never appears.


Posted: Feb 8 10 at 19:34

View 2 Replies!   View Related
Copyright 2005-08, All rights reserved