I'm loading an external SWF (pre-made by an other department of the company I work for) using flash.display.Loader. I then traverse the display list, register all objects and listen for added/removed events to handle future changes to the list.
var obj:DisplayObjectContainer = loadEvent.currentTarget.content as DisplayObjectContainer;
v...
Hi all
I am using color picker where the colors will initialised dynamically.If the color picker contains only one color i am unable to trap that color on change event. if it contains more then one color i am able to get the particular color from picker. So please reply if any one knows how to get the color if picker is having only one ...
Hi All,
I was just going through one code used to draw one chart. This code is written in the updateDisplayList of the itemrenderer of column chart. I am not good at the graphics part of flex. Can anybody please explain me what this code is doing. I can see the final output, but am not sure how is this achieved.
var rc:Rectangle = new ...
Using org.as3commons.reflect I can look-up the class name, and instantiate a class at runtime. I also have (non-working) code which invokes a method. However, I really want to set a property value. I'm not sure if properties are realized as methods internally in Flex.
I have a Metadata class which stores 3 pieces of information: name,...
I am working in flex builder 3 with an XMLListCollection and have run into this (should be simple) parsing snag...
The XMLListCollection Data:
<data>
<term name="NUMBERS">
<alt_form name="1"/>
</term>
<term name="LETTERS">
<alt_form name="A"/>
<alt_form name="B"/>
<alt_form name="C"/>
</t...
Hey everyone,
First off, sorry for my noob-ness. Believe me when i say ive been rtfm'ing. Im not lazy, im just dumb (apparently). On the bright side, this could earn someone some easy points here.
I'm trying to do a match/replace with a pattern that contains special characters, and running into syntax errors in a Flex 3 app. I just wan...
Hi Friends,
I think there is bug in Flex charting.
"DATETIME AXIS DOES NOT SUPPORT SERIES STACKING IN CERTAIN CASES WHILE LINEAR AXIS AND CATEGORY WORKS FINE IN SIMILAR CONDITIONS"
This happens for 'clustered' and 'stacked' types when each series has its individual data provider. If data provider is assigned with chart itself it will ...
Given a rich text editor, I want to save the "rich" text to a database, and load it later.
So how can I get and set the rich text?
I looked at the API and there is a property called text which is only PLAIN text, not what I need. There is another property called textSnapshot which sounds like maybe thats what I need to use, but its REA...
I am using advance data grid in my project and i have made a separate component for datagrid.
I have set the property 'selectionMode' to single cell.I am also using some text boxes in cells.Now I want when a user navigate through keyboard using UP,DOWN,LEFT or RIGHT arrow key and selected cell have textbox then at that time navigation st...
is it possible to call the function which is defined in the itemrenderer from main mxml itself?
Thank's in advance....
...
I have following data:
var data: ArrayCollection = new ArrayCollection(
[
{ name: "ProductA", user: {login: "loginA", email: "emailA"} },
{ name: "ProductB", user: {login: "loginB", email: "emailB"} },
{ name: "ProductC", user: {login: "loginC", email: "emailC"} }
]...
Hello.
I have a source collection (now a simple Array). At run-time I create ArrayCollections using the same array as the source (each collection show the same source, but they are differently filtered). My problem is, when a new item added to the source, the already created arraycollections wont updated if one of the property of this n...
I understand that in Flex builder we can right click on a CSS file and choose 'compile to swf' and our CSS SWFs will automatically be compiled along with the main app.
Is possible to compile the CSS file only (not with the main app) from the command line?
I want to :
Give clients a Flex CSS file to hand edit
Allow them to upload the ...
I'm trying to use Flex Compile Time Constants to include the date and time the SWF was built (source control revision/timestamp such as SVN:Keywords is not sufficient for our needs, we need to know the actual build time, not the commit time).
I've tried using actionscript (like the documentation suggests you should be able to):
-define...
hi all,
I want to display some data in a separate browser window instead of using popupManager. How do i do that. Also i need to pass parameter to that window, based on that parameter, i ll call the service and get the required data and display that in the datagrid.
...
Hi when i am trying to give windth and height to a window through navigateUrl method its not opening my codevar js:String = "window.open(http://[Domain]/Project/pages/sample.jsp,'win','height=608,width=999');";
var urlReqest:URLRequest = new URLRequest("javascript:" +js + " void(0);");
navigateToURL(urlReqest,"_blank");
its not...
Hi,
I have a WindowedApplication with a listener on keyboardEvent (on the ENTER key), but when the user choose to use the colorpicker and type an hexadecimal code then hit ENTER the event is propaged to my WindowedApplication too.
I have to stop the propagation.
Any hint or snippet ?
thanks
P.
...
Hi
I have tried the options given on Adobe Livedocs : adt -package -target native myApp.exe myApp.air, but I keep getting the message "-storetype required". I then try with adt -package -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.air and get the same message.
I have already created the .air file and the .p12 ...
Maybe this site is not the right one for this question, but it is really hard to find anything about this topic on Google. Here it goes:
Has anyone worked with GIS in Flex 3 and most importantly Elips Studio (www.openplug.com)?Since this tool is used in our project and it's still in Beta, so none of the map APIs are supported at the mom...
Hi,
I've created a AS3 class which extends UIComponent so that I can easily add it to my MXML layout. It works fine, but I'm trying to figure out how to update the UIComponent width and height dynamically. I want my super UIComponent to draw a border around the content, so I need get the specific 'content' dimensions in order to do this...