I have following code.
<s:DropDownList dataProvider={_dataProvider}/>
<fx:Script>
private var _dataProvider:ArrayCollection = new ArrayCollection([{label:"one", data:1}, {label:"two", data:2}]);
</fx:Script>
I want to bind the data property of the selectedItem in the DropDownList. Is there a way to do this?
...
I'm trying to create a skin for a Flex 4 spark Panel that will create a border on the left/right side of the panel that matches the header of the Panel. Basically a silver frame all the way around the edge of the Panel similar to the old Flex 3 mx:Panel. I've been experimenting with a skin file all day and can't get anything to work. ...
Hello,
I am very new to programming in FLEX. I have inherited a FLEX 4 project that invokes web services to display data to the end user.
My default package has one .MXML file, that has the component references to the Login screen (another .MXML file) and the Main screen (yes, another .MXML file).
The login process works fine. I have...
Code:
var myPattern:RegExp = /\"/;
trace(a.replace(myPattern, "\\\""));
<TEXTFORMAT LEADING=\"2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">sdfdsfdsf</FONT></P></TEXTFORMAT>
above im using that regular expression to escape the " in the string. however it only does it for the first ...
In a data grid after updating the record the updated data will not come without refesh ?
What can I do?
...
can any one suggest a tool or component to integrate with web based application with a workflow or business process designer ...
...
Hi,
Is there any sql query validator in frontend side or in any language for validating the query syntax before executing in the database ?.In my current project i have to validate the the sql query in flex before it goes to back end ,coz it has to pass lot many layers before hitting database and the hitting the DB and coming back wit...
Hello Community!
I'm stuck with an issue and I cannot understand why it behaves like that...
In a for loop, I'm passing the for index as an event parameter. However, the eventHandler is getting the wrong index, but the right target...
Here's some code.
.as class method:
public function set dataProvider(a:Array):void
{
var x:int =...
Hi,
from my Flex app I want users to upload a .csv file to SQL server.I thought a possible approach would be:
-upload file to the server
-quality check the file there
-send back the file to flex to sow it in a datagrid
I am stuck in the uploading. I have the following code but I am always getting the 2038 i/o error. There is even no...
Apparently, it is not possible to have a chart with several independant horizontal axis.
What I am trying to achieve is :
display a bar chart, organized by any category
overlay a line (actually a single horizontal line) on top of it (to display some sort of threshold)
I tried doing the following :
[Bindable] public var columnsD...
Extremely frustrated with this. I've created a simple class that extends the UIComponent. I create an instance of this class in a parent class and utilise the 'addChild' method to add it to the parent. I've overridden the 'updateDisplayList' method of the extended UIComponent to add my own drawing routine using the 'graphics' object.
...
In a spark list I could use the change event to find out which item has been selected or deselected.
The dispatched IndexChangeEvent object has the properties newIndex and oldIndex holding this information.
But with multiple selection allowed this doesn't work anymore because newIndex and oldIndex could refer to indices of still selecte...
On the server side, I have an array of objects. Each object has 3 integer fields and 2 binary fields.
I've utf encoded the binary data and json encoded the array & sent it to Flex client side.
On the client side, decoding data, I've got a String representing the binary data (utf decoded).
Now, how can I convert this String to ByteArray...
Hi,
If I developed my webpage entirely using Flex, is it searchable by Google and other search engines?
Thank you very much.
...
I have a Flex list and a custom ItemRenderer. I'd like to be able to have some items in the list use a different ItemRenderer (say, depending on the class of the item). Is this possible?
E.g.:
<s:List dataProvider="{_systems}" itemRenderer="myItemRenderer"/>
Most items in _systems use myItemRenderer. But if element 3 of _systems is "...
I am searching for a way to convert an email address once entered in a textfield as an object like shown in this image on MS office outlook ;
the point is that now in outlook as my cursor is positioned just after "[email protected]" if I click backspace I will delete the entire email address, as if it was one object and not simple tex...
I am rendering html in a Flex 3.x UITextField. The problem I am facing now is that when punctuation is at the end of a word, it can sometimes be wrapped to the next line.
For example:
That which doesn't kill me makes me stronger
,so I became a developer.
This seems like a bug in the algorithm to me. Is there a workaround?
...
Hello to all.
I am using BlazeDS and I want to visualize it in a presentation. Therefore I am searching fo a BlazeDS logo. I only find 4-5 matches on google images, like this one:
http://www.clemencanaria.co.cc/wp-content/uploads/2009/01/blazeds-logo1.png
Is this the official logo? And if yes, where could I get an image with a better r...
I was curious if anyone knew of a way to get VI/VIM key bindings in Flash Builder 4. I know that I can just edit the files in VIM directly, but as I am just getting started in Flex - I would prefer to use the IDE until I get my feet about me.
I am running Flash Builder 4 on OSX Snow Leopard.
Any help would be greatly appreciated.
...
Is there a way to find the radial distance using the zipcode?
My task is to search the all the users residing with in a specified distance. I know the zipcodes of the users.
Eg, users between 25 miles from the current location.
I have other search categories, for which i am using mysql queries. I am unable to figure anything out fo...