flex3

Font embed error in Flex

I'm trying to embed a font in Flex and the code I'm using looks the same as the example, but throws an error. This is the code I've written: [Embed(source="data/posca_mad_thrasherz/posca_mad_thrasherz.ttf", fontName = "fontGraffiti", fontWeight = "bold", mimeType="application/x-font")]; private var funFont:Class; But I get...

How to create an overlay in advanved grid in Flex

Hi: I'd like to know how to create an "overlay" in Flex's Advanced Grid? See the sample here http://tinypic.com/r/4ieccm/4 ...

save StyleSheet object to css file in Flex3

hi, i can able to create StyleSheet object , i need to save that StyleSheet object to css file(in the css format). how can i do in flex3 Air application , is there any build in library ? Or links available to save as *.css file Thanks in advance ...

Manually setting max and min on a verticalAxis.

I have a candlestick chart that is working great when the numbers being dealt with are large but when the numbers are small the vertical axis starts at the very top of my data and ends at the very bottom. For example if my max number in my XML is 12 and my min is 11 the charts top is 12 and the charts bottom is 11 with 11.2, 11.4, 11.6, ...

Is there a way to add a link text or button to the panel header along with the panel title in Flex?

I have a panel in my application. My requirement is, I also require a link, that is "Help options" to appear in the panel's header. In the left, we will have the Panel's title and in the right corner, I need this link. Is that possible? ...

AS3 asdoc inheritance issue.

Hi, I have an API that inherits flash.display.Sprite .When I try to generate the ASDocs for the API, The ASdoc shows that my class inherits from flash.display.Sprite, but doesnt link or there is no click-able link to the Sprite's ASDoc. Can anyone tell me what I am missing. The command I am using in my ant script is <java jar="${asd...

Blazeds service time stats

Hi, My Application : I have java remoting services(more then 25) on my (Tomcat BlazeDS)server which are called from my Flex client application. My Requirment : I need to collect stats on them like how much time each service is taking(total time). There are three approaches I can do this in my opinion(may be more) 1) change eac...

Loading swf Problem in Air,Flex3

Hi, I have 2 swf file, one file is loading fine in SWFLoader in Air application but another is not loading, i dont know why its happening. differents between two file :- For ex: Swf1 is Main swf .(it has dependency file like xml to read and render) swf2 is Sub swf(which will load (or called) inside swf1 in run time) . When try to...

how can i select particular checkbox within datagrid itemrenderer in flex ?

I have button like random click ,if i click this button then will select 15 checkbox within datagrid itemrenderer checkbox But i can't access the checkbox ? please refer me ? How can access the checkbox ? <mx:DataGridColumn headerText="1" rendererIsEditor="true" editorDataField="selected"> <mx:itemRenderer> <mx:Component> <mx...

Get Fscommand in Flex3

Hi, I have one swf file in that i used fscommand to get final output when submit button clicked in that swf , i am loading that swf in SWFloader in flex3 .i need to get fscommand value as Alert, how to get that value first and display as alert. Thanks in advance ...

How to install Flex Builder 3 - What backend to connect to?

"What technology best describes the backend that your Flex application will connect to? " I've used Flash for a while, now I'm looking to install Flex Builder 3 trial version to try it out and i'm stumped by the above question. Do I need to install something before i install Flex? ...

Spacing problems with Flex VBox and IncludeInLayout

I have components inside a VBox with a verticalGap of 5. I don't always want all of the components to show, so I set their IncludeInLayout property to false, but the verticalGap of 5 still shows. Anyone know how to get around this? ...

how to access the datagrid in one mxml in another component?

I have a datagrid in my mxml file, say, samp.mxml. <mx:DataGrid id="taskDataGrid" dataProvider="{initDG}" variableRowHeight="true" editable="true" width="100%" paddingBottom="1" paddingTop="1" height="55" > <mx:columns> <mx:DataGridColumn dataField="Select" editable="true" rendererIsEdito...

how to use UIComponent/Flash in Flex

Hi, I am new to Flash/Flex. I would like to use a Component I created in Flash extending fl.core.UIComponent. How do I use this in Flex? Do I just export it as a swc or do I have to use the Flash Flex 3 kit which will convert it to a UIMovieClip. That does not sound right. I would appreciate a few simple steps describing the proc...

Help with Flex application design

Hello everybody! First of all, I am sorry that this is not a 'question that can be answered' like it is written in 'How to ask' section, but I think that stackoverflow is the place where I will get the best 'answers' so please help me with this one; I have in mind to make some Flex application which will be used as some kind of (powe...

Clear DateField in Flex 3

there's no way to clear a date after it has been inserted! I had to add an ugly button near it to clear it programmatically... Do you have a nicer solution? ...

actionscript: undefined public variables??

I have a class like this.. public class Doc { public function Doc():void {} public var myVar:Boolean; } How can I know if the value hold by myVar is the default false, or someone has assigned false to it ?!? Isn't there an undefined state? How can I achieve such a thing? ...

how can i disable (enabled="false") particular checkbox in datagrid item Renderer ?

In datagrid i shows number of checkbox for example 20 checkboz ,in 20 checkbox if i select any 15 checkboxs then remining checkboxs will be disable (enabled="false" But 15 selected checkbox accessable ? How can i do that . i tried <mx:DataGrid id="dg" width="100%" height="100%" rowCount="5" dataProvider="{dp}"> <mx:c...

how to manipulate child control in flex

Hi I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you ...

Flex Debugger wont launch - Only on particular project.

When trying to launch Flex debaugger on my project, it does not launch and I get an error instead. Every other project in different workspaces launches just fine. This is the only one giving me an issue. Here is the error: Process terminated without establishing connection to debugger. Command: "C:\Program Files\Adobe\Fl...