My custom item editor opens a titlewindow (too much stuff to show in an inline editor) which obviously steal the focus, so I get a itemeditend event and the datagrid destroy the editor at the wrong (for me) time. I think to have to keep the itemeditor alive until the titlewindow job is done, but how? DataGridEvent reason is "other" and l...
Hi Experts,
Is it possible to make httpService Requests synchronous in Flex?
if yes pls tell me how to do this.
It was asked to me in an interview.
Thanks
...
Hey folks,
my mission is to select an item in a DataGrid instance with nothing but the coordinates on screen.
We are implementing right-click functionality in our Flash application, with the goal of being able to right-click a DG row, which would select that row plus show a popup window containing some context commands.
I have managed...
Hi all,
I have a Flex Column Chart, which shows bars with each positive and negative values.
I only want to have a horizontal line at 0 to distinguish between positive and negative values.
I turned off all the axis.
How could I achieve to get this line?
Thanks,
Martin
...
Is it possible to retrieve flashvar parameter in mxml code and if so how? Up to now i have been using Application.application.parameter.name to get what i need.
...
I'm working on a general code library for ActionScript 3.0 called as3lib which includes several extensions to the core API and some useful functions. I've written several unit tests (using FlexUnit) to make sure everything is working correctly.
What is the best way to organize these tests in the library? Currently, I have all my code in...
Hello!
Is it possible to dynamically show row index for DataGrid rows ?
I have a static ArrayCollection which is set to be DataGrid's data provider and I would like to always have row numbering for each populated row (e.g. in a column called "#").
Thanks!
...
Hello!
I'm new to Flex and I want to separate app tiers/components as much as possible.
So I have three mxmls:
X.mxml which has a datagrid with
students
Y.mxml which must be able
to tell which student is selected in
the X.mxml's datagrid (row id ?)
XY.mxml which uses the previous 2
Which is the best practice here ?
Thanks.
...
I have the following question regarding Flex/AIR data grids:
Can I access the value of a var of one aggregated object as a dataField of a column of the DataGrid?
What I would like to have is:
public class A {
public var id:String;
}
public class B {
public var a:A;
public var value:uint;
}
<mx:DataGrid...
I'd like to have an overlay that draws lines between selected items in different Flex 4 List controls.
The problem is I can't figure out how to access the x, y coordinates of the list's item renderers.
Any help appreciated.
...
Hi,
I have a mp3 file and I would like to play it from one position and for a certain duration.
I have first used the Sound class, the play method where I can specify the start but not the duration.
I have looked then at SoundEffect class where you can specify a duration and a startTime.
However I do not know how to play it from a AS...
The only video playback control I can see in Flex is mx.controls.VideoDisplay, which appears to support .FLV only. Is that correct? Are there other ways to play video in a Flex app, and do they require anything on the server side or can you just point at a hosted video file, and Flex takes care of streaming/buffering?
Also, if you put 2...
I am loading css file in Flex 3 AIR application. While reading the style name, I am lowercase version of it (i.e, .NewFontStyle is converted to .newfontstyle)
how to get name as mentioned in css file.
my code:
private var prefsCSS:StyleSheet = new StyleSheet();
private function ReadStylesCSS():void
{
fileStream.open(appStorageDi...
Hi
I am working on a flex application which communicates with a Rails backened.
When i request for some data, It sends back xml feed.
In some cases, if given parameters are not valid, then rails return an error feed with status code = 422 as following
email is wrong
But I dont get this feed in FaultEvent of Flex, How could i read erro...
Hi all,
I am devloping an editor with spell check feature in Flex + AIR using Sqlite as an embedded database.
In database I have a table with the words. The table contains lacs of words. I have written the code to search for the word in table. I have used the sync method for all this. This pauses my application while searching.
I would...
How the FaultEvent listener in HTTP Request is getting called? Is it based on the status code of response? If yes for what all status code It will get called?
...
Assume I have the following class:
class Example
{
function set something(value:String):void
{
trace("set something");
}
function doSomething():void
{
trace("something");
}
}
I can access the functions as objects like this:
var example:Example = new Example();
var asdf:Function = example.doSom...
I'm working with eclipse, blazeds and Flex Plugin, and every time I create a Web Dynamic Project then add a Flex Project Nature to it this error: "An unknown item is declared as the root of your mxml document" appears just as the perspective view changes and I click on the design mode. As far as I know the only lines of code written on t...
I'm looking for a game library for Flex that supports such features as:
Movement
Inventory
Items
Does anyone know of any libraries that might be suitable?
...
/*
[Bindable]
public var rows1:ArrayCollection=new ArrayCollection([
['Google', [{Projectname:"1", Client:0},
{Projectname:"2", Client:1},
{Projectname:"3", Client:2},
{Projectname:"4", Client:3}]
],
['Yahoo', [{Projectname:"1", Client:4},
...