flex

Flex Datagrid within repeater - Data bind warning

Hi everyone, In my Flex app I am using a repeater to show a report on my database data. On this report the user can "drill-down" on the data to show more detail. In order to make this easier on the eye I have a header label and then a datagrid within the repeater. Whilst this works perfectly, because the dataprovider for the datagrid...

using constraint layout and percentage layout together flex

Hi, I'm trying to use percentage based layout along with contraint based layout to achieve the following layout http://imgur.com/rgoBe.jpg I have 3 canvas set in my app with the correct percentages but I setting things like top=10 left = 10 to create "border margins" has no effect. How can I fix this? EDIT <containers:GradientVB...

Extend from Number class in Flex Action Script

Hi, I need a way to "extend" or proxy the Number class in ActionScript. Basically I'll overload the toString method of it. But the Numbers should remain comparable with "<" and ">" operators. ...

a question on Bindable in Flex

Hello there, I have a class called which is called ChartInfo,and it has a getter and setter methods as: [Bindable] public function set isShowingPower(b:Boolean):void { _isShowingPower = b; hasChanged(); } public function get isShowingPower():Boolean { return _isShowingPower; } The _isShowingPower is the property. However,...

Downloading data posted to server as a file from Flex

Hello All, This should be trivial, and I'm pretty sure I did it once before. I'm trying to post data up to a server and have it bounced back to me as a file download, prompting the native browser file download box. I know the server part works just fine becasue I can post from a demo web form, but when I run the following Flex 3 code...

How to layout out a component differently depending on the amount of space available?

I am trying to build a sort of button bar in Flex - something like the horizontally laid-out bookmark bar you'd see in most modern web browsers, where when you run out of horizontal space, you can click on the arrows button(>>) to get a drop-down to see the rest of the items which did not fit into the horizontal space. Problem is, how ca...

Adobe AIR - Inconsistencies in detecting whether Adobe AIR runtime is installed

I am having issues detecting whether Adobe AIR is installed using the following process: http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html Having installed Adobe AIR 1.5, we are at times getting a value of not installed from the getStatus() function of the air.swf located at http://airdownload.adobe.com/a...

How can I add controls to the title bar of a flex panel?

I'm trying to implement a collapsible TitleWindow popup by adding a handle to the top right corner of a Panel control. Unfortunately, the image that I add as the handle doesn't show up when the control is drawn. I can trigger a redraw by changing the source of the image, so apparently it's there, but it's somehow hidden. Is there a way...

How can I cancel a DataGrid ToolTip before its shown?

Hi I've got a DataGrid that shows a tooltip on each item.. but there are a few items where there shouldn't be a tooltip. So I thought I could prevent the being showed. protected function toolTipStart(event:ToolTipEvent) : void { LOG.debug('Start ' + event); event.stopImmediatePropagation(); } But it does not work. Has anyone ...

SWFAddress 2.4 in Webkit: problem when setting value to empty string to a page with base.

We recently upgraded the SWFAddress version from 2.2 to 2.4 in our Flex project. Our Flex project consist in a main application with several sections inside, and that's where SWFAddress acts. Each section has a URL slug, so when you click a section the URL Address goes to "#sectionX", and when you return to the home section the URL Addre...

[Flex / Flash Builder 4] Web application development: how to start? best structures? best books & tutorials?

[Flex / Flash Builder 4] Web application development: how to start? best structures? best books & tutorials? thanks ;) ...

TypeError: Error #1009: Cannot access a property or method of a null object reference.

I get this error when i launch the application(flash type with dismiss all and continue) and i'm out of ideas: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Magazin/xmlService_resultHandler()[D:\Documents and Settings\chechu\Adobe Flash Builder 4\Magazin\src\Magazin.mxml:41] a...

Flex open window behind active window

In Flex Air app, how do you open a window behind an active one? I tried following and i can't seem to get it to work <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" ...

Flex VS Ajax / JQuery / Prototype or any otherjava script?

I am rebuilding one product website where client has 1000 of products which he wants user to filter as per his requirement without refreshing page. I am confused I should hire flex developer or Java script developer to deliver such project, looking at low bandwidth issue in India, which technology is more preferred? will using flex can e...

create a simple live drawing board/whiteboard application using flash as3, and flash media server 3.5.

How do I create a simple live drawing board/whiteboard functionality using flash as3, and flash media server 3.5. ...

use a style.css file from a .swc and build the Flex project with ANT

I have an .SWC library with a style.css file inside. The .SWC file is added to my project and the style.css is used this way: <fx:Style source="assets/style/style.css" /> If I want to build my project with an ANT-script it says that "the external stylesheet couldn't be found". In ANT you need to write the path for assets with an leadi...

Selecting One Particular Data Item

I've created an Flex app. It currently has an drop down menu. With the option to select a Channel. Once the channel is selected the data pulls through. But, what I want to do is just pull through one channel of data as opposed to multiple items of data. How can I achieve this? My code is quite simple at the moment and looks like this : ...

How to rename an attribute in XML ?

i have XMl like <record id="1" name="CustomerInfo"> <field name="id" index="1" type="String"/> </record> i want to rename "name" attribute to "match" like <record id="1" match="CustomerInfo"> <field match="id" index="1" type="String"/> </record> ...

Make Flex Fit the Users' Screen.. No matter what screen size

Hi, Making an Flex App. Just wondering if anyone has created something that fits automatically to the users' screen size and how I go about doing this? One of the principle things is that I need an background image, which is obviously going to have to scale / resize to match the users screen. Thanks ...

Flex ChangeWatcher doesn't work

I'm trying to implement a binding between some custom-built models and just beginning to dabble with the whole mx.binding.* collection. I tried this simple, stripped down example, but can't get the binding working correctly. Can somebody tell me where I'm going wrong? // Model package { import flash.events.EventDispatcher; public c...