flex

my flash site often doesn't render until I refresh

http://randomdorm.com Our client communicates with a Rails backend to get login details and then logs into an Adobe LCCS server. We have been cruising right along but around noon yesterday we developed a bug that causes the swf to not render until you refresh the page. On subsequent refreshes it pops up right away. The problem happen...

Flex AdvancedDataGrid: Need to show a hand cursor when mousing over non-leaf nodes.

When using Adobe Flex (Version 3), how can I show a finger cursor (usually seen over links) when mousing over non-leaf nodes of an AdvancedDataGrid component that shows hierarchical data? I'm using AdvancedDataGridLinkRenderer as the groupItemRenderer. ...

MXML composite container initialization error

I'm getting an odd error from my composite canvas component: An ActionScript error has occurred: Error: null at mx.core::Container/initialize()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\Container.as:2560] at -REMOVED THIS FOR STACK OVERFLOW-.view::EditableCanvas/initialize()[.../view/EditableCanvas .... It s...

FLEX: is possible to use AreaStroke and AreaFill in a css file ?

hi, I would like to simplify my code and add the possible to the css file: <mx:AreaSeries styleName="timeArea" name="A" yField="A" areaStroke="{new Stroke(0x0033CC, 2)}" areaFill="{new SolidColor(0x0033CC, 0.5)}" /> Can I move areaStroke and areaFill to css ? What would be the resulting css ? thanks ...

Flex/Flash professional Components - What's the equivalent of companies like Telerik?

In the .NET world order, companies like Telerik provide awesome sets of components for web/windows/silverlight. Who are the equivalents in the Flex/Flash universe? I see lots of sites filled with little 10/20 dollar menu components or uploaders, but I'm really looking to find something a step above that. Thank you! ...

Preload SWF and Images.

I have a flashbuilder project with a big image. The problem is that the default preloader does not load the images/swf's inside the project. Is there a way to preload them? ...

How to create a dynamic hierarchical charts using flex

i am developing a tool to create dynamic hierarchical charts.. am able to create object i.e circles and link it dynamically. i want to set properties for those objects.. can someone tell how to do it. ...

Flex: arrayCollection inside another ArrayCollection ?

hi, can I create an ArrayCollection into another ArrayCollectionon in Flex ? (or just an array.. or a list if I cannot) thanks ...

Flex barChart and XML Data

<Projectlist> <Project> <ProjectName>Alcoswitch - ToggleSwitches </ProjectName> <ProjectStatusname>Planning</ProjectStatusname> </Project> <Project> <ProjectName> Transverse Wedge</ProjectName> <ProjectStatusname>Canceled</ProjectStatusname> </Project> <Project> <ProjectName>High Speed ...

ItemFocusIn Not Working on Non-Editable DataGrid in Flex

I realize that ItemFocusIn is somehow only applicable to editable datagrids in flex, nevertheless I want to fire an event anytime the user selects a new row in a non-editable datagrid. I have successfully used the CLICK event, but this event is not fired when the user uses the keyboard to select a different row in the datagrid. What do...

compare in flex store

i have used adobe flexstore and modified it for my own application, but in the flex store the compare cars option does not work properly as it displays the same data fr all cars. plz sum1 temme how to implement the compare part. the code wud rilly be appreciated. btw i m using flexstore in flex 3. ...

FLEX: how can I get the width of my linkButton object ?

hi, How can I get the width of my LinkButton object ? myLinkButton = new LinkButton(); myLinkButton.label = "blabla"; myLinkButton.setStyle("fontSize", 24); myContainer.addChild(myLinkButton); trace (myContainer.width); //this doesn't work because I haven't directly set the attribute thanks ...

Flex through Flash Builder 4; Connecting to a dynamic XML feed: "The response is not a valid XML or a JSON string"

I am learning how to use Flex with Adobe Flash Builder 4 standalone. I am working my through the Adobe Flash Build 4 Bible by David Gassner. This has led me to create my own micro problems to try and solve. I am trying to connect to a dynamix XML feed created by the following aspx page: generate_xml.aspx When I create the data connecti...

FLEX: can I set labels visibility ?

hi, Can I set label visibility in Flex ? newUser = new LinkButton(); newUser.label = "hello"; newUser.labelPlacement = ButtonLabelPlacement.BOTTOM; newUser.label. //visibility ? thanks ...

FLEX, Actionscript: 2 questions about mouseOver event and image scaling

hi, 1) if I create items in a for loop, is correct to add a new eventListener for each item ? Or should I add only 1 eventListener to the parent ? and call the event through ID ? 2) if I want to scale my item, (a LinkButton with icon image), I noticed that the icon is sometimes resized with delay, so I have a bit of flickering when I t...

FLEX: passing costructor parameters for MXML-based custom components ?

hi, I've implemented a MXML custom components and I would like to pass parameters to the constructor: newUser = new userComp("name"); instead of using set methods. Is this possible if the custom components has been built in MXML (with initialize=myPseudoCostructor() method ?) Or I can only set the parameter with an additional line o...

FLEX: the custom component is still a Null Object when I invoke its method

Hi, I've created a custom component in Flex, and I've created it from the main application with actionscript. Successively I invoke its "setName" method to pass a String. I get the following run-time error (occurring only if I use the setName method): TypeError: Error #1009: Cannot access a property or method of a null object referenc...

FLEX: wrap buttons in the HBox, instead of seeing scrooling bar

hi, 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"> ...

Flex, HBox: how to horizontally center all children ?

hi, I cannot center the components in my VBox. I would like to set the standard css element "align: center". How can I do that in Flex ? <mx:VBox> <mx:LinkButton label="Tag1" /> <mx:Image source="@Embed(source='../icons/userIcon.png')" /> <mx:Label id="username" text="Nickname" visible="false" fontWeight="bold" /> </mx:VB...

initial caps in actionScript using Regex

I'm trying to do initial caps in actionScript with no loops but now i'm stuck. I wanted to select the first letter or every word then apply uppercase on that letter. Well I got the selection part right, but at a dead end right now, any ideas? I was trying to do this with out loops and cutting up strings. //replaces with x cant figure o...