I am getting a graph that looks correct except for the fact that all the labels are being rendered on the verticalAxis instead of being grouped (Normal and Abmormal). As an aside, in my real code, the date field is an actual Date object rather than a string, if that makes a difference.
var exampleData:ArrayCollection = new ArrayCollecti...
How to stop this sound ? :
MySound.play(0,100,null);
...
This page describes how to override the drawHighlightIndicator/drawSelectionIndicators methods for the header of a DataGrid, but an AdvancedDataGrid does not have "headerClass" in mx_internal. It instead has an headerRenderer.
How can I remove those blasted highlights over an AdvancedDataGrid in Flex 3?
...
Hello,
I want to generate a button sequence on ButtonBar with some disabled buttons:
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var nav:ArrayCollection=new ArrayCollection();
...
function initApp():void
{
...
I have made a tile list is Adobe Flex as follows
<mx:TileList height="130" width="636" rowCount="1"
columnCount="8" columnWidth="150" direction="horizontal"
allowMultipleSelection="false" enabled="true" borderStyle="solid"
id="profilelist" verticalScrollPolicy="off" dataProvider="{xmlListColl}" itemRenderer="PageImageRend...
Hello people,
I am writing a Flash app in Flex Builder 3.
I have a problem. I need the URL of the place where the Flash app has been embedded.
mx.core.Application.application.url
This gives me the address of the original swf file, but I actually need the URL of the HTML file where this SWF has been embedded.
is there a way ???
th...
Hello people,
I need to get the URL of the HTML where the SWF is embedded. I found out that it should be a piece of cake with BrowserManager, but unfortunately I use SWFObject to embed swf in html! and BrowserManager doesn't like that!!
could someone help me with this?
cheers
...
I have a datagrid which has id="myGrid" in my application, from it I call a component. Now from the component I can call parentDocument.myGrid.selectedIndex = 0; and it works fine.
But I want to make the component reusable, and I would like to pass the ID to the component each time, so myGrid will change, how to properly send the ID to ...
Hi all,
I am using an extended datagrid which takes its height
on the basis of measured height of items.
Item renderer for datagrid is a canvas. Which holds one more canvas(header for item renderer)
and a text area.
The problem I am facing is with the header canvas in item renderer.
Header canvas has one label which diaplay a name of us...
How can I create a menu like this in flex 3.
...
The invalidate/commitProperties model used by mxml components is very useful, in my experience, and I'd like to be able to make use of it in domain model objects in my actionscript applications. How can I go about adding lifecycle events like that to my objects? Is there a global object lifecycle manager?
...
Is there a way to create components compatible with Flex 3.5 by using Flash CS5? I'm stumped. Whenever I run the "Convert Symbol to Flex Component" command and then try to use the resulting .swc file in a Flex 3.5 app, I get multiple instances of the following error:
1046: Type was not found or was not a
compile-time constant: Matr...
Hi.
i has a question in flex 3 i can't get vars using HTTPservice method="GET"
in the code:
<mx:HTTPService id="variables" method="GET" request="var1,var2" resultFormat="text"/>
private function init():void{
variables.send();
Alert.show(variables.lastResult.toString());
}
when using this url:
bin-debug/conectado.html?var1=hel...
suppose i have 3 buttons(for example say, productin, marketing, sales ) on my main.mxml..
once i click on one button it should take me to abc.mxml page with production data, once again if i click on second button it should take me to the same abc.mxml but with marketing data. same as for 3rd button also,
how can i achieve this ?
...
Hi all
I wondering whats the difference between url and destination using httpservice in flex.
I came across a httpservice example that looked something like this
service.resultFormat="e4x"
service.method="GET";
service.destination="http://www.blash.com" // I used an actual page
service.addEventListen...
Hi,
when clicking on a row in this editable datagrid, the whole text is selected. How can I set the cursor to the first character. I've tried itemEditBegin(ning) and expected to be able to use for the ItemEditor a method like setSelection()...
Please let me know, if you need anykind of additional information!
Thanks,
Werner
<mx:Advan...
public var dataGrid:DataGrid = new DataGrid();
dataGrid.dataProvider = gridDataFeed.set;
dataGrid.id ="dataGrid";
dataGrid.percentWidth = 150;
dataGrid.minColumnWidth=120;
dataGrid. editable=true;
dataGrid.percentHeight = 75;
dataGrid.addEventListener( mx.events.DataGridEvent....
HI,
O.K, not technically a programming question but it's still relevent for this forum I think.
I'm wondering if theres any cheat sheets around for flex?
Ideally I'm really looking for some comrehensive list of lifecycle events and functions such as creationComplete, preinitilize etc.
Also It would be really cool to get a comprehensiv...
when the value of txt1 is less than 10 i get error message as " the amount entered is too small" how do i cahge this error message and color of it......here is the example i got
i main thing is how to customize it
http://livedocs.adobe.com/flex/3/langref/mx/validators/NumberValidator.html
...
We have standard flex 3 project, and We have left everything as default, no change in style at all, and we deployed our project and noticed that on Mac the character spacing is very bad and overall look and feel is not as clear as that of windows.
Here is the difference, left one is Windows and right one is Mac.. the default flex font c...