Flex :: Hbox HorizontalScrollPosition Not Working?

Jan 12, 2010

I am applying hb.horizontalScrollPosition = value and it does not work withhorizonalScrollPolicy = on/off. Is there any other way to achieve this?

View 1 Replies


Similar Posts:


Flex :: Set The Hand Cursor On A HBox?

Aug 12, 2011

I'm trying to set the hand cursor on a HBox. I've tried buttonMode and useHandCursor but have had no luck. This example displays the busy cursor. how to make it display the flashPlayer's hand cursor?

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:components="com.dn2k.components.*" >

[code]....

View 4 Replies

Flex :: Change Size Of An HBox In Flex To Fit It's Container?

Jul 28, 2010

I create an HBox, fill it with a grid of buttons, and set the scroll policy. When I resize the window, the stage changes size, and so does the HBox ... to a point. Once it reaches the height of the Grid it contains, it stops shrinking, like it has a "min-height". This ruins the scrollbar that I'm trying to establish in this case.

I've set the height to 100%, shouldn't it always take the height of the stage, it's parent?[code]....

View 2 Replies

Flex :: Center Align A Button In A Hbox?

Oct 7, 2009

I have a VBox inside which I have 4 HBoxes. The second level HBox is initially hidden.When I click the label, 'Show more Options', the second level HBox is displayed.Now I have the space occupied by the 'second level HBOx' empty and the 'search' button appaers below the space.My first question is, Is there a way to position the Search Button in such a way that, the space is not there and after the 'Show more Options' label is clicked, the 'Second Level HBox' appears?And the second question is, Can I position the Search Button at the center of the page. Is there any method to center the contents of a HBox of a VBox?This is my code:

<mx:Form x="47" y="219" width="80%" >
<mx:VBox id="searchBox" >
<mx:HBox id="searchTitle" width="100%" height="20" backgroundColor="#2680D5">

[code].....

View 3 Replies

Flex :: Fill An HBox In From The Right - VBox From The Bottom?

Jan 27, 2010

I only really need the HBox answer but figure that if we get a good answer in here I'm trying to do a similar thing with a VBox. It would be nice to know this in both actionscript and MXML. So I have an HBox that I want some text aligned from the left and some radios from the right. Like so:

[CODE]...

View 2 Replies

Flex :: Button Behind Transparent Hbox Unclickable?

Feb 15, 2010

I have a HBox with no background, but with some children. Behind the HBox is a button which need to be clicked. The button is unclickable at the moment because the HBox is on top of it. I need the button to be clickable and still have the HBox on top of it

View 1 Replies

Flex :: Wrap Buttons In The HBox Instead Of Seeing Scrolling Bar?

Apr 18, 2010

I have a HBox and I dynamically add Buttons into it. I want to distribute such buttons horizontally, however I would like to place there on more rows if there is not anymore horizontal space, instead of seeing the scrolling bar.How can I do that ?

<mx:HBox id="tagsPopup" visible="false" horizontalAlign="center" width="100">
<mx:LinkButton label="Tag1" />
<mx:LinkButton label="Tag2" />
<mx:LinkButton label="Tag3" />
<mx:LinkButton label="Tag4" />
</mx:HBox>

View 1 Replies

Flex :: Change VBox To HBox Dynamically

May 4, 2010

I am in need of a strange solution. I have one requirement in which I am displaying two components in a VBox. But on click of the main container I need to maximize that and need to display the components in horizontal. I was just wondering whether I can change the VBox to HBox and viceversa dynamically using actionscript or some other way.

View 1 Replies

Flex :: Change Background Image Of HBox?

Oct 25, 2010

I have assigned a logo image of my software to HBox as follows [code]...

Now I need to change the backgroundImage to some other image on a event.

View 1 Replies

Flex :: Horizontal Align Components Inside HBox

Oct 17, 2009

Is there any way to set horizontalAlign from Action Script not from mxml?

View 1 Replies

Actionscript 3 :: Create HBox With Only The Top Corners Rounded In Flex?

Oct 27, 2009

I'm trying to create an HBox in flex that has only the top corners rounded. HBox (and all the other flex containers) have a cornerRadius style, but it applies to all corners. I'm not seeing a way to specify the style of individual corners.

Is there any built-in way to do this, or will I need to write my own custom drawing code to draw the background with rounded corners?

View 2 Replies

Flex :: Fcreate HBox Component With Default Values

Dec 7, 2009

I want to create an HBox component; for example HLBox that behaves exactly like an HBox but has as default width and height 100%.

View 1 Replies

Actionscript 3 :: Flex 3 Make Text From 2 Labels In A Hbox Look Like One Word?

Nov 2, 2009

I'm adding dynamically labels to hbox, and i need to remove all spaces between the text of 2 nearby labels

i did horizontalGap = 0 for Hbox
padding left and right = 0 for labels

anything else i could do ? or maybe some other component

[Code]...

View 1 Replies

Flex :: Create Wobble Effect For A Component (VBox/HBox)?

May 11, 2011

how can we create a wobbling effect using flex 3?I need something like the effect which is show in ubuntu when we see an alert or move a folder.

View 1 Replies

Progressbar - Flex HBox With Background Color And Rounded Corner?

Jun 7, 2011

I am facing a wiered problem in Flex. I Have a canvas with a HBox and Label. Please find the code below.

<mx:VBox verticalAlign="top" horizontalAlign="center"
fontSize="12" fontWeight="normal" verticalGap="0">
<mx:Label text="Cover" />
<mx:Canvas width="120" styleName="pbcontainer">
<mx:HBox id="pb" height="35" />

[Code]...

View 1 Replies

Flex :: Progressbar - HBox With Background Color And Rounded Corner?

Nov 10, 2006

I am facing a wiered problem in Flex. I Have a canvas with a HBox and Label. Please find the code below.

<mx:VBox verticalAlign="top" horizontalAlign="center"
fontSize="12" fontWeight="normal" verticalGap="0">
<mx:Label text="Cover" />

[code]......

View 3 Replies

Flex :: Insert HBox Between A AdvancedDataGrid Header And Grid Data / Content?

May 24, 2011

I need to insert a Box containing some text that appears between the grid header and main content and spans all the grid columns. I've been searching and experimenting (addChildAt()) but no luck so far. Is this possible to achieve?If not, is it possible to dynamically render the text in the header itself, below and spanning the column header text?

View 1 Replies

Resize HBox Width To Fit Content?

Aug 8, 2009

I have an HBox with a fixed Width and Height and a Border. In that HBox I have a viewStack with a few different views.When the viewStack changes views, I want the HBox container to keep resizing to its content. Currently it stays at the fixed width.Is there any way to do that with an HBox setting?

View 2 Replies

Actionscript 3 :: Finding Class Like VBox, HBox In Flash Pro CS5?

Sep 27, 2011

Flex has great classes for manipulating with controls in multiscreen apps like VBox, HBox, VGroup etc. But my project is in Flash Proffesional CS5.

View 1 Replies

Flex :: 9scalling Is Not Working At Runtime (although Working In Flash)?

Jul 10, 2010

I created a 9-scalled background in Flash CS5 which is working fine in Flash CS5.But when i imported it as embeded graphic in Flex, and change dimensions in runtime, 9-scalling doesnt work.Here is my 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 1 Replies

Flex :: Working With Data In Flex By James Ward / EmpWeb Example In Flash Builder 4.0 Beta

Jul 31, 2009

From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]

View 1 Replies

Actionscript 3 :: Flex Web Application Resize Method(and Scale X / Y) Not Working On Server But Works On Local Flex Builder

Oct 18, 2011

I have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.

[Code]....

View 1 Replies

Flex :: Windows Authentication Is Not Working In Flex

Feb 2, 2011

We have a situation where a web application within an intranet requires windows authentication. This way employees of the company can login to their desktops and have automatic access to the web application and also be identified automatically without having to login because Windowns Authentication takes care of that. The problem is that we've added a Flex module to the web application. The web application comes up fine and authenticates the user can then navigate to the page where we have the Flex application. Which loads fine. The problem is that the Flex application also needs to communicate with the same server about this user but this communication is not working and is prompting the user for a password. Even if the correct user/pass is entered it fails and the Flex application can't talk to the server which requires Windows authentication.

Our expectations was the since the IE browser housing the flex application was already authenticated that all communication from the Flex app would also carry with it the necessary information to enable it to access the server without authentication.

View 2 Replies

Flex :: Cookies Working In Flex But Not In Air

Dec 11, 2010

I've got a flex app which I'm porting to air, the two apps are identical except for the root tag being WindowedApplication rather than Application.The problem is that cookie/session based logins are working for the flex app in the browser but not for the air app. Reading the docs says that cookies are available for air and the URLRequest manageCookies is true by default.I've investigated further and it turns out cookies are working in Air and are used for all subsequent requests after the login, but the cookie does not survive a shutdown of the application and the user is required to login again when they restart.

View 2 Replies

Flex :: Flex - Long Image Links Of Facebook Is Not Working In Mx.image.souce

Aug 11, 2010

I am creating one desktop application of facebook.

So here I am getting streams from facebook post. So when any facebook application's long image link I am getting that I can't display in Image container, this is not displaying image.

One also fact is that, When I am giving this link directly then it is working.....

When I have seen this in Charlse Debugging proxy then it is displaying 403,Forbidden error of image.

View 2 Replies

Asp.net :: Embed Flex In Asp .net Not Working

Dec 8, 2009

I just copied Flex builder's generated html from the tags, and pasted in an ASP .NET page, the page shows up no errors , I can see a grey rectable the size of my flex file but there's nothing in it its blank and I am stumped why?? Why when it's showing up perfectly fine via the HTML file that flex generates.[code]

View 1 Replies

Xml :: Flex Link Not Working?

Feb 22, 2010

There this link in Flex that was working and now isnt... Flex is giving me a headache with this one because it is not throwing any errors either.

In the script part of the XML I have this:

private function onLinkClick( event:TextEvent ):void {
var url:URLRequest = new URLRequest( event.text );
navigateToURL( url , "_top");
}

[Code].....

It was working but now the link doesn't and the swf's not throwing any errors either. This is very strange behavior, would anyone know why the link won't work?

View 1 Replies

Flex :: Regexp Not Working?

Nov 9, 2010

I'm using Flex 4. I'm driving myself crazy. Why won't the following work?

// in my Application tag:
creationComplete="replaceMe(event)"
// in my script block:

[code]....

my text area (id="test") says "She sells seashells by the seashore."...it should say "sche sells seaschells by the seaschore."

View 2 Replies

Flex :: Dataprovider Tag Is Working

Feb 7, 2011

i m new in flex and was trying example but getting nothing

[Code]...

i think i m doing something wrong in dataprovider tag reason is when i use dataProvider = "{d}"

View 2 Replies

ActionScript 3.0 :: OpenWithDefaultApplication Not Working In Flex 3

Jul 10, 2010

I am using flex 3 and was previously developing my application with Adobe Air 2.0beta SDK. Today I upgraded my SDK to use Air 2.0 and all of a sudden openWithDefaultApplication is not working anymore. If I point to a File object, the IDE is able to find the method. However, I get the classic:
ReferenceError: Error #1069: Property openWithDefaultApplication not found on flash.filesystem.File and there is no default value.
I have also updated my (+app.xml to point to adobe AIR 2.0 instead of 2beta.

View 1 Replies







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