I've recently started working with an application written using Adobe Flex 3. We're using several deprecated functions and unfortunately we can't remove these dependencies.
The documentation says to set -show-deprecated-warnings=false into the Compiler Additional Options. This isn't accepted, but I've found that using -show-deprecatio...
For a normal Flash/Flex application I would include my Unit Tests in my application project (perhaps in a tests source folder alongside my main src folder). I'd then have two application entry points: the app, and it's tests.
How are people doing this for their Flex Library Projects? You know, the kind that produces a SWC file. As far a...
This is a two-part problem:
A) I'm implementing several irregular drag-drop operations in Flex (e.g. DataGrid ItemRenderer into Tree). My preference was modifying DragManager operations to meet my needs, and in fact using DragManager allows me to do everything I need, but I'm having serious issues with performance. For example, draggin...
In a flex tileList, is there a way to get the cell-address of a given item? i.e. for a given item, get the row/column location for that item in the list.
...
While trying to load a Bitmap onto a SWFLoader the Event.COMPLETE event is not being triggered
mySWFLoader.source = new Bitmap(Bitmap(someEvent.content).bitmapData);
but if I use a URL as source the complete event is triggered:
mySWFLoader.source = "http://example.com/123.jpg";
Is there some kind of restriction while using Bitmap a...
Is there a workaround for displaying multiline text in Flex 3? The two controls I have tried so far are mx:Text, and mx:TextArea. Each control has its own bug associated with it. For reference: mx:Text bug - http://bugs.adobe.com/jira/browse/SDK-9819 mx:TextArea bug - http://bugs.adobe.com/jira/browse/SDK-12616. Basically, neither contro...
I have a small RIA that I built as a learning/make-my-life-easier project that uses Flex and ASP.Net. Currently, my architecture utilizes straight HTTP posts and the server responds with xml. I posted another question about security in my web app and some people mentioned SOAP. SOAP is something I've never actually used and I was wonde...
Hello Everyone,
I have a datagrid column with a button that opens a modal dialog box allowing the user to upload multiple files. In the code below, the browseAndUpload() method does that. When the user finished uploading files and closes the upload box the closeUpload() method is called. I know for a fact that the uploaded files are ...
I am acquiring the contents of a table to fill a dropdown box in a Flex 3 application:
<mx:ComboBox dataSource="{myList}" />
The list is populated by the contents of a database table of persons:
Public, John Q
Doe, Jane
...
The combo box, however, also needs to have some other meta-entries in it that do not come from the database:
...
I'm trying componentize one of the pieces of UI in an AIR application that I'm developing in Flex. In this example, I want to display file information on a single line (which has an icon, some text/link and the size).
My code looks like this (component is called FileDisplay):
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx=...
I am a ways into developing an client that communicates with a pre-existing server using the Actionscript Message Format (AMF). I love designing my GUI in Flex, as I've found refactoring my GUI to be very straightforward since everything is nested well in the mxml file. However, there is alot to be desired in the API's that are availab...
Hi,
I'm passing the following parameter as an url fragment to flex. (#groupID=2385)
This works great on the development box, but when I put it on the production server.. nothing.
Do you think this is a server configuration issue. I presume that flex is talking to the javascript file 'AC_OETags.js' to make this all happen.
Any pointer...
In my TileList, I want to select the TileList items on rollover, as opposed to the click event. I already have the TileList setup to allowMultipleSelection = "true".
...
Hi,
How do i open file and get its content as a ByteArray in AS3. I saw examples, using FileStream & File classes from flex.filesystem, but the doc says it's for AIR only.
Thanks,
Nava
...
I'm starting to develop a website with flex. I need a charting library. It's very important to have good looking and interactive charts. I have been testing charts included in flex builder and fusion charts for flex.
Does any body know any other charting library for flex? I don't mind the cost of the library. I prefer to pay and have a g...
Is there a way to make the default item renderer in a Datagrid look like a text input field?
I just want to tell the user, that he can change the value of this cell.
Thx,
Martin
...
Hi community,
I wanted to ask how I can put links into a datagrid. My dataProvider is the folling xml
<xml>
<item>
<name>A name</name>
<url>A url</name>
</item>
<item>
<name>Another name</name>
<url>Another url</name>
</item>
</xml>
sure with some more items in it. Now I want to have a datagrid that displays the name as a...
Hello Everyone,
Within a DataGrid, I have a DataGridColumn that uses a custom component as the item renderer. Within the component, I have an ArrayCollection that stores a set of value objects. My problem is that I cannot access the ArrayCollection values from outside of the item renderer component. Does anyone know how it would be p...
I have searched up and down the internet for even the slightest mention of the 'this' reference, and have found NOTHING!!! Nobody seems to talk about 'this' at all. I'm an experienced c++ programmer, so I am more than familiar with the idea of a 'this' pointer/reference. My question is just what exactly is the 'this' reference in an a...
I have two labels (A and B) in a Flex VBox, with the horizontal alignment set to "center". I'd like to set A to be vertically centered (in the exact center of the container) and B to be underneath A (or on the bottom; either will do). What's the best way to rig this?
...