flex

I need to pass a URL on Click in Flex...

My situation is i am generating XML using PHP, on every delete i will be getting the XML updated which will be shown in TREE in Flex. Now when i use this, it does not call the PHP page to update the XML. <mx:HTTPService id="theUrl" url="http://localhost/file.php" resultFormat="e4x" result="httpService_result(e...

how to use this flex compiler option copy non embeded files to destination folder

i am using mxmlc for building the flex projects using ant.how to use flex builder-> copy non embeded files to destination folder compiler option in ANT ...

Flex AdvancedDataGrid Tree Custom Drag

I'd like to implement a custom drag on an AdvancedDataGrid tree structure, which only allows the drag on the branches (not leaves). I'm having much difficultly with this, trying to use the MouseDown event, but not having luck! Okay, I think I've got the mousedown able to figure out if the item is a branch of leaf. Any help on how to ...

Placing a link inside a Flex Grid?

How can I place a link inside a Flex Grid? ...

Flex builder resource management bug

I have discovered a very strange bug with the Flex resource manager in my 3.3 Flex SDK. I have created an example with view source enabled here: http://pixelbox.net/demos/buttonBug/ As you can see I am not doing anything strange, other than settings a maxWidth and then giving the button some text that causes it to truncate. The proble...

Calling a php file everytime when i click the button in Flex.

The problem i am facing right now is a filename.php generates filename.xml.... and this filename.xml is called in my Flex Tree. Now everytime i update my DB, the values are not getting reflected into filename.xml unless i call the filename.php Now how would i call filename.php from flex which will make the update of xml... I have tri...

in flex, dynamically load Sound object from encoded bytes

I have a legacy file format that contains sounds embedded in it (in various encodings). I would like to be able to play these sounds in Flash (Air?) by reading the sound bytes out of the file and instantiating a Sound object with them. If the sound is unencoded (e.g., raw pcm), I've found that I can use the new flex 4 SampleDataEvent.S...

How can I detect the child element of a variable parent in E4X (Flex 3, specifically)?

I have XML that looks like this: <question> <type_elt> <opt_out_flag /> </type_elt> </question> type_elt is not an element name; it might be <single>, <multiple> or something else, determined at runtime. How, given this, can I detect the presence of the opt_out_flag element? I tried this (where xml refers to the ques...

SQLite and Flex

I am developing a GPS calculator that uses a lot of data to calculate different values, such as RMSE (root mean square error) and NSSDA (national standard for spatial data). The data is from a variety of different models of GPS units with a great degree in variation, i.e. internal/external antennae; auto, WAAS, DGPS, PPS signal; open, l...

XML Caching issue in FLex

private function loadGallery():void { theSend.url = "http://localhost/userMana/file.xml"; theSend.send(); } I am calling this XML in Flex Tree and its works fine, but when after an update in XML it does not update back in my TREE unless i compile my flex builder again. ...

How do I delete a value from an Object-based associative array in Flex 3?

I need to remove the value associated with a property in a Flex 3 associative array; is this possible? For example, suppose I created this array like so: var myArray:Object = new Object(); myArray[someXML.@attribute] = "foo"; Later, I need to do something like this: delete myArray[someXML.@attribute]; However, I get this error mes...

convert a PDF to a jpg ?

In a Flex/AIR application, I need to create snapshots (like big thumbnails) of local PDF files (one per page, if indicated). Ideally, I would like to do it all on the client side (PDF is a public specification, albeit a REALLY COMPLICATED one). I have read about an "Adobe plug-in" but I cannot find a specific piece of software that mak...

flex multiple array collections with a single datasource

How can I populate multiple datagrids in flex with a single datasource that is filtered differently for each datagrid. I'm assigning the event.result from my remote object call to three different array collections, each with its own filter function. When I assign and refresh the filter functions, they each affect all array collections....

Overriding Tag level external CSS of a Flex control

I have an external CSS file which defines the style for the Button tag. Button {fontSize 11; blah...} I'm trying to override this style for the buttons of a ToggleButtonBar: <mx:ToggleButtonBar dataProvider="{pm.portalNavigation}" fontSize="16" /> Unfortunately, this doesn't seem to work. The fontSize stays at 11. How can I over...

Filling Datagrid from remote http service

Hi! I am trying my first flex application. And have a problems adding data from xml http service to datagid. My xml file looks like this: <players> <player> <name>test</name> <status>F</status> <claimed>1</claimed> </player> <player> <name>meta</name> <status>F</status> <claimed>1</claimed> </player>...

Auto-sizing the height of a TileList

Is there a way to have the TileList component to auto-size to its contents? I have tried setting it 100%, but it seems that won't help. I don't want to hard-code the height because the content will be vary, and I don't want scrollbars to show up. Please help. ...

may i know what is different viewstack and states in flex ?

In my flex project i used one option like Link button . If i like it will be open new page contain more information and components . Which container is suitable one ? Where is used viewstack and stages ? if you know please explain it . or refer me ...

Open state of all nodes in Flex Tree

I need the Flex tree control by default open... where all nodes are visible. theTree.openItems = xmlListColl..node; This is not working. <?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <root> <module> <node> <node> </module> </root> ...

Flex : Pass parameters across multiple applications

Hi, Is there any way we can pass parameters from one flex application to the other flex application ? I know we can pass parameters from module to application and vice versa. Thanks Sumukh ...

After working for years, videos in my Flex Application won't play, just "buffering"

An application I wrote for a client almost 2 years ago using Flex 2 has stopped playing the .flv videos. It's been nearly 9 months since I've had to perform any updates to the app, so I don't have the source code on the computer I'm using at the moment. I'm not sure how often the client uses the application, so I can't say exactly when...