Hi
I have a Flex List which is databound to a Array. My problem is that when I reorder the List using the built in dragMoveEnabled, the values are reset to the original values.
I assume I need to somehow do a two-way databinding but I am not sure how.
<mx:List width="100%" top="20" id="uiItemList" dragMoveEnabled="true" bottom="0...
How do I have one a background image for each list object and a different background image on rollover.
...
I need to use a global flag. This flag will be set whenever I change my datagrid i.e. add/ update rows, change checkboxes, radiobuttons, etc. in my screen. Also, on what event can this global variable be set. Will "change()" or "click()" work. Need some idea in this context.
...
I have been tearing my hair out now for a week or so, it's time I sought some help...
I am coding a small app to show me the next train leaving the station. Normally only the hour of the next train is shown, but if you click on the prefs button, the application window enlarges and a datagrid is shown with the trains and hours. Clicking ...
How do I create a simple drawing board/whiteboard functionality in Flex ?
...
I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following:
<default-channels>
<channel ref="my-secure-amf">
<serialization>
<log-property-errors>true</log-property-errors>
</serialization>
</channel>
...
Hi All,
I have created some shapes dynamically at run time by mouse drag, Now i want to delete any selected item the white board.How can i achieve that.
Currently i am able to delete the last drawn item through "removeChild()" method, but not the previous items.
Please help.
Thanks in advance.
...
We have a Flex 3 application of which the main .swf is running in Firefox. Lets call this application Main.swf.
I'm required to create a secondary .swf, call it Panel.swf which is to be embedded in a separate Firefox popup window, which will be invoked via ExternalInterface calling JavaScript from Main.swf.
Is it possible to link Main....
I'm somehow creating a stack overflow in Flex 3...I'm trying to get data out of a modal dialogue window as such:
Main application:
var myPopup:MyPopup;
function buttonClick( event:MouseEvent ):void
{
myPopup = MyPopup( PopUpManager.createPopUp( this, MyPopUp, true ) );
myPopup.addEventListener( CloseEvent.CLOSE, handler, false, 0, tru...
Hi Guys,
I am trying to make a text editor in Flex.
i can move image on mouse click.
Problem is it moves with the key up or down handler. But it moves out of text area after the last line in textarea. And it also doesn't move with scroll.
Pls give suggestions for these problems.
Thanks.
Regards,
Shivang
...
Hi All,
i am required to zoom a canvas through Hslider.
The problem is after zooming the canvas i cannot scroll to the extreme left and top of the canvas i.e some part of left and top canvas are not visible. i cannot find the reason.
The source code for the example is given below.
"
import mx.events.SliderEvent;
private functio...
i am opening tabs with click event on tree list view.
Problem is that i do not want open tab Pista as u can see in image again.
i want to focus that open Pista tab.
Pls give ur suggestions.
Thanks.
Regards,
Shivang
...
Flex's text-editing controls (mx:TextField, mx:TextArea) offer functions for doing "stuff" with the selected text (selectionBeginIndex, selectionEndIndex, setSelection), but the text-displaying controls (mx:Label, mx:Text) don't seem to offer anything of the sort.
After some tinkering, I've tried subclassing Label then writing functions...
Hi Friends!
I'm doing a Flex 3 project wherein I've to load SWF based on the availability of required file. And the loaded SWF file will be placed in a container (a Panel) at a particular location i.e. coordinates. This I don't want to do in MXML as the SWFLoader container shows a cross marked box if the file is unavailable.
So friends...
Hi,
In my flex application, I would like to know the edit mode of insert key programmatically. In the status bar of the application there should be an indicator for the mode in which currently working. As the insert key is toggle key, how can i know the mode of it?
Thanks in advance.
...
My Flex3 application must display meaningful application-level error messages from the server.
This article article says that Flash has severe limitations on receiving error info, whether as status codes, response body, or response headers as described. I can use any of these from my servlet. But apparently none are accessible!
But the...
When, in ActionScript, an event is dispatched:
foo.addEventListener("some event", someHandler);
foo.dispatchEvent(new Event("some event"));
At what point are the event handlers executed?
I ask because I caught this at the end of an Adobe developer guide:
Notice that some properties are assigned to the [AsyncToken] after the call ...
Hi, I have a DataGrid that is populated by an xml response of a web service. Currently, I poll every 5 seconds against the web service to maintain data freshness, as such is essential. Now, this polling can can change the data in one of the columns of the DataGrid, and I would like to style the rows with colors based on the content of a ...
I have been trying to understand the way ActionScript's events are implemented, but I'm stuck.
I know that AS is single threaded, which means that only one event handler will be executing at a time, and also means that handlers will be executed in a deterministic order*.
For example, consider the following code:
1: var x = {executed: ...
Hi,
In my flex application I have scenerio like this:
parent to child
Vbox->Canvas->Sprite->Textflow
In this scenerio now I need to have dynamic height of the textflow & its parents. Here the root parent is the itemrenderer of the datagrid I have.
I need the heights of rows to be adjust according the content in it.
Right now I am imp...