flex3

How to put ads on a flex based application ?

Can you please tell how can we place ADS (whether Google Adsense or others) on a website completely designed in FLEX? ...

Flex: Set datechoose to only choose Month/Year

I am builder a graph that is going to cover an entire month. The user may change the Month/Year but there is no point in choosing a date for the month as it is going to show the entire month anyways. So is there a way to maybe make the DateChooser date always the first and only allow the user to pick the month and year? Thanks!! ...

Flex/Spring: Working with join table/entity

Hi guys, I have a question regarding mapping and entities/domains with Flex/Spring mapping via BDS. I currently have domains mapped to tables, and I am working off existing code to try and change the logic from web services to work with Blaze. Now, i came across a value object used previously that mapped to a datagrid, but that value o...

Load dynamic swf generated by Flex 3 in a div

I am trying to load the dynamic SWF file which has 100% width and height ,generatd by my flex 3 in a div. using Jquery load() function. The div wherein i am trying to load is visible for sometime but after that my SWF comes out of div and takes whole viewport area to display the SWF. I have tried to provide fixed height and width to div ...

Flex: How to time an UI action using Flex Builder profiler?

My flex application, processes user request and makes an HTTP request to the backend, for data processing, and renders the data on the UI. (typical HTTP request-response based application). I need to do a performance analysis on the whole system, in order to identify and resolve bottlenecks, hence need to measure the time-split of the w...

Flex 3 event bubbling set to false.. how to make it bubble then??

I have a flex app with lots of nested views and popup windows.. I'd love to catch all the CHANGE events in the application at the top level.. all of them, simply to notify the user that he has changed something (trust me it makes sense in my app). Now, I tried to add an event listener in the Application creationComplete handler like thi...

How can I access the test name of a FlexUnit 4 test?

In FlexUnit 1 it is possible to access the name of the currently-running test using the TestCase.getName() method because all tests subclass TestCase. In FlexUnit 4, however, there's no base class for tests; the tests are identified by annotations. So, how can I replicate the getName() functionality in FlexUnit 4? ...

IE crossdomain filter on flex application

I have an application that uses a flex form to capture user input. When the user has entered the form data (which includes a drawing area) the application creates a jpg image of the form and sends back to the server. Since the data is sensitive, it has to use https. Also, the client requires both jpg and pdf versions of the form to be ...

how to use Open flash chart (or any library) in flex 3 project?

Hello, I want to use Open Flash Chart in Flex3/AS3 project? I mean, How Can I use Open-flash-chart in Flex application client side.. ??? (I use FlashDevelop) Can i do that by just adding .swf file?? If yes? then where to add? I am not using FlexBuilder, I am using FlashDevelop OR Command line for compiling.. Or I have to add .swc ...

create a fading border for page in flex 3

Hi, I am in the middle of a project and I am building this look-book kid of thing such that each page is a set of 3 images. So when I press next it displays the next in the set. I am modifying the imageRail image gallery component. Now what I want is that the border of the page to fade in as the user goes from one set of pages to the ne...

Page number display in Flex3

Hi, I am building a image gallery in flex 3. In each page I have 3 images show. I would like to allow the user to see the page number he is on at the top right corner as below 1/2/3/4/5/6>> Here page 3 is the current page and would be shown in black whereas other page numbers are in white. When we have more than 6 pages, they are not...

FDT:Flex and cannot access local file

Hi guys, I am using FDT for Flex development and when I compile, and it tries to access a flv file, I get the error "cannot access local file". This is obviously a security sandbox thing. Now I tried adding crossdomain.xml to the root and it still makes the same error. I know somehow I need to add to my project use-network=false, but i...

ViewStack not showing change at first ....

I have as good as finished a new project I’m working on now for a while, and I have this small problem coming up at the fine tuning. The area of concern is so I believe the ViewStack I’m using, but I’m not sure so here the details. I have several check boxes (4), and only one at all times can be selected to show off associated Radio Bu...

what get selected column value In Advanced data grid

How to get value of selected column form Advanced datagrid whose visble propery is false . ...

starting with flex - please let me know if the direction is right (ActionScript vs MXML separation)

Hi, I've just started learning flex using OReilly "Programming Flex 3.0". After completing three chapters and starting fourth (ActionScript), and not having enough patience to wait till completing chapter 22 I started to practice :) One bit that I have most worries about right now is the the dual coding mode (MXML vs ActionScript) P...

Difficulty accessing Google Search API with Flex

Hi - I am trying to get the number of incoming links to a page through the Google Search API. It is not working (just returning Null) Here is the code <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();" width="320" height="480" backgroundGrad...

Find out if Flex component (tree) ist scrollable?

How can you find out if a Flex Component (in my case the tree) is scrollable? I tried it like this if (_listOwner.height < _listOwner.measuredHeight) { // so stuff } from within the tree's item renderer but didn't succeed. Access to the tree's scrollbar is private so that I can't get the info that way. ...

How can I add an image to my Flex application at with ActionScript?

EDIT: I just needed to add: import mx.controls.Image; I have an MXML file, and when I can add image tags to the XML and it works. But, I can't figure out how to create an image and add it to the canvas programatically with AS. I was hoping this would have worked: var card:Image = new Image(); //ERRORS ON THIS LINE: call to possibly u...

Flex - Using the vanilla preloader to load additional assets?

I have a Flex application that automatically loads the SWF and it's contents and displays the default progress bar like in all Flex apps. Currently I have a class in the application using a Loader instance to load an external bitmap to be added to the stage/canvas. I'd like to handle the loading of this bitmap in the Flex default preload...

[AIR/FLEX] Images in custom itemRenderer don't scale to fill height of HorizontalList container

I'm new at this and I've been trying to dynamically load images/swf files into a HorizontalList. As the user scales the application, the HorizontalList scales, but the images don't. I've been able to get images to scale within a Canvas object, but I've had no luck with the HorizontalList. Note, I'm using ObjectProxy to get rid of weird...