I would like to make apps that can run in a flash enabled browser and decided flex would be best for me so I started to learn that. AFAIK flex has a GC but how that GC works compared to the ones in other languages I've seen may be a bit different. I have found this but apparently there is (or were) huge memory leaks that could not be pre...
I'm currently maintaining some flex code and noticed very many functions which are declared like:
private function exampleFunc():void {
....
}
These functions are in the global scope, and aren't part of any specific class, so it's a bit unclear to me what effect declaring them as private would have. What restrictions does the "pr...
/* I start with this: */
<Report>
<prop1>4</prop1>
<prop2>2255</prop2>
<prop3>true</prop3>
<prop4>false</prop4>
<prop5>true</prop5>
</Report>
/* I want this result (change the value of node "prop5"): */
<Report>
<prop1>4</prop1>
<prop2>2255</prop2>
<prop3>true</prop3>
<prop4>false</prop4>
...
When calling the acceptClient method on a conflict I get the error below.
The acceptServer method works just fine - and I am lost...
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.data::ConflictResolver/updateMessageForAcceptClient()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\pro...
I work on a collaboration web app, built with Flex 3, that needs to support multiple languages.
Does anyone know which fonts are best for creating embedded font libraries for Chinese, Korean, Japanese, and Russian languages? I know Arial Unicode MS will do the job, but I don't know if it will do the job best.
Localization alone won't...
I am trying to do a simple datagrid in Flex with a doubleclick event, but I cannot get itemDoubleClick to fire:
<mx:DataGrid id="gridReportConversions" height="100%" width="100%" mouseEnabled="true" doubleClickEnabled="true" itemDoubleClick="refererRowDoubleClicked(event)">
<mx:columns>
<mx:DataGridColumn width="75" dat...
I'm trying to switch back and forth between an embedded font (used for English-language characters) and the _sans system font (used to display Chinese characters) in an input field.
I'm looking at the charCode of the typed-in character, prior to displaying it, and determining the appropriate font to use, and setting the defaultTextForma...
Using Flex 3, I have a Button which is skinned using PNGs specified in a CSS style sheet.
Button.addextra {
downSkin : Embed( source="img/add-extra-icon.png" );
overSkin : Embed( source="img/add-extra-icon.png" );
upSkin : Embed( source="img/add-extra-icon.png" );
disabledSkin : Embed( source="img/add-extra-icon-dis...
Hi,
This Question asked about embedding a flash player in .net. The provided answer is to host the ActiveX Flash player on the form.
This works for simple things, like playing a flash movie. But what if you want to provide data hosted by the .net application to a flex application? Is there an efficient way to transport data from the .n...
Hey there,
I've got a rather large flex app that we've just built for a client. Now, the bossman tells me that more clients are interested in the app. However, their implementations will need a few small tweaks (don't they always!).
We're using Cairngorm and from what I can tell thus far, the only things that will be different between ...
I have a Flex App that allows you to dynamically build an animation. It has a UI and a display of the resulting animation, which is a custom Class extending UIComponent. Is there some way to allow users to save/export the dynamically generated Component to a SWF, for reuse in other Flash/Flex Apps?
...
I want to create buttons with icons in Flex dynamically using Actionscript.
I tried this, with no success:
var closeButton = new Button();
closeButton.setStyle("icon", "@Embed(source='images/closeWindowUp.png");
...
What would be a clever way to make a 'please wait' control for a Flex application for long running operations like calling a webservice.
I am not asking about the graphical portion of it - just the 'controller' part. How should I trigger it and hide it. I am planning to make just a simple canvas with text in.
For instance :
can I som...
I have a Flex application with multiple modules.
When I redeploy the application I was finding that modules (which are deployed as separate swf files) were being cached in the browser and the new versions weren't being loaded.
So i tried the age old trick of adding ?version=xxx to all the modules when they are loaded. The value xxx is...
I have a label function like :
private function formatDate (item:Object, column:DataGridColumn):String
{
var df:DateFormatter = new DateFormatter();
df.formatString = "MM/DD/YY";
if (column.dataField == "startDate") {
return df.format(item.startDate);
}
return "ERR";
}
Which I use in a datacolumn by using la...
Hi Everyone,
I am using a canvas which has a degrafa background, so far so good.
However when scrolling apears the background (degrafa grid) does not get redrawn.
In the code the bg strokes are linked to the container height. The thing is container.height does not change even when scrolling.
How do i get the heigh of the whole area so ...
Hey guys,
I need to run some precompile steps before I build my project using FlexBuilder. I assume I will need to use ANT to do this. Any tutorials that anyone knows of that can help me along my path? I know next to nothing about ANT and Eclipse (FlexBuilder).
Thanks!
...
According to the adobe flex docs: http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html
Using an image multiple times
You can use the same image multiple times in your application by using the normal image import syntax each time. Flex only loads the image once, and then references the loaded image as many times as n...
I have a tab navigator control and I would like to make all of the tabs a certain color, say blue...
How can this be done?
I have tried through the following CSS:
TabNavigator
{
tabStyleName: "tabs";
}
.tabs {
backgroundColor:#6588b9;
}
but it only seems to work with the selected tab...
I then tried to do it programtica...
I'm using FlexBuilder 3. I love the way the layout guides tell you when a component you're placing on a canvas is so far from the next component (presumably 8 pixels). Is it possible to change the distance at which the ruler guide pops up? I'm putting a series of labels close together and would like to change this to, say, 4 pixels.
...