Hello!
So I am pretty familiar with memory management in Java, C and C++; however, in flash what constructs are there for memory management? I assume flash has a sort of virtual machine like java, and I have been assuming that things get garbage collected when they are set to null. I am not sure if this is actually the case though. Also...
Hi all,
I updated a flex application from flex 3.5 to flex 4.0.
We are using ant for compiling our project and we have a mxmlc task to handle the flex part.
After the upgrade, our mxmlc task broke.
Here is the task definition:
<taskdef resource="flexTasks.tasks">
<classpath>
<pathelement path="${FLEX_HOME}/ant/lib...
I've installed the Flex 4 SDK and overlayed it with the AIR 2.0beta2 SDK and am unable to bet the Flex chrome to show up when I try to use Spark's WindowedApplication.
the simple MXML -> http://pastie.org/909375
When I use the MX WindowApplication everything works fine, but somehow I'm not getting the Spark version to work as I expect....
Hi,
I'm in the process of building my first serious Flex application and have started out using Flex 3.4 even though 4.0 was available mainly due to the larger number of resources. But now I feel very comfortable with the Flex API's, is it worth upgrading to Flex 4?
What are the benefits? And can I expect much pain when porting my exis...
hi , i am pretty newbie in terms of flex/RIA frameworks. mostly done work on server side. as i search on internet , people are using a lot different framework, cairngorm to mate. so my question is , as i am baby stepping through flex, should i go for learning framework ? or without framework ? ( as of now , those DI,DAO,VO and IoC doesnt...
I've got HTML component as part of a datagroup itemrenderer which I need to resize the content of (there are lots of them).
This works quite well but the content looks really crusty. No font antialiasing. Even at 50% looks crusty.
I've considered generating thumbnails bitmaps on load 'complete', but that would be my last resort.
<mx:...
hi
i have a spark List control. it has a dataProvider that shows reply from twitter search.
i have created a function for change handler like this:
protected function list_changeHandler(event:IndexChangeEvent):void
{
ta.text = coverflow.selectedItem.title;
}
so, whenever i select each of the it...
<?xml version="1.0" encoding="utf-8"?>
<s:BorderContainer
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
creationComplete="creationCompleteHandler(event)"
xmlns:mx="library://ns.adobe.com/flex/mx"
mouseWheel="mouseWheelHandler(event)"
backgroundAlpha="0"
width="100%"
...
I've got a flex component which works pretty well but unfortunately turns into a
disaster once used in a datagroup item renderer of about 40-50 items.
Essentially it uses bitmapdata to take screenshot of a fully-rendered webpage in
mx:HTML (this version of webkit rocks btw, miles better than flex 3).
The code is pretty self-explanatory...
I have a DataGrid table with columns name, phone.
In column name I would like to add a picture near the name of the person.
How can I add a picture in a datagrid row?
<fx:Declarations>
<fx:XMLList id="people" xmlns="">
<test>
<name>moshe</name>
<phone>555</phone>
</test>
</fx:XMLList>
</fx...
Hey,
I'm trying to get familiar with the whole keyboard event detection thing.
Here's my sample code.
<fx:Script>
<![CDATA[
import flash.events.KeyboardEvent;
import mx.controls.Alert;
private function init():void{
addEventListener(KeyboardEvent.KEY_DOWN,reportKeyDown);
}
...
Hi
On GridItem object there's a colIndex and on GridRow a rowIndex. But both are declared internal so I do not have acces on that information.
Is there another way to get the position of an object in a grid.
cyrill
...
I am creating a vertical button bar with 3 buttons.
How do I force the same width for all three buttons so it doesn't look like crap?
<s:ButtonBar x="10" y="10" dataProvider="{viewstack1}" >
<s:layout>
<s:VerticalLayout gap="-1"/>
</s:layout>
</s:ButtonBar>
<mx:ViewStack id="viewstack1" left="115" paddingRight="0" right=...
I'm doing something wrong, but I can't figure out what. Simple project in flex4, whereby I create a skinned combobox (fragments at end).
If I turn on the 3 skin references (over-skin, up-skin, down-skin), the combobox appears to simply stop working. If I remove the up-skin, hovering over the combo produces a flickering effect, where it ...
In the .NET world order, companies like Telerik provide awesome sets of components for web/windows/silverlight.
Who are the equivalents in the Flex/Flash universe?
I see lots of sites filled with little 10/20 dollar menu components or uploaders, but I'm really looking to find something a step above that.
Thank you!
...
Hi everyone,
As the title says, I want to retrieve tables of data from a SQL database, using Flex 4 and .Net WebService.
I'm new to both Flex and DotNet. Please tell me a proper way to do it.
This is what I've done so far:
Retrieving an array of string: (this works)
.Net:
[WebMethod]
public String[] getTestArray()
{
String[] ...
In Flex3, I could compile pure as3 code and use "embed" tags to load in images. This was done by Flex making a BitmapAsset class.
I can still do this in Flex4.
However, there was a trick to fakeout flex3 and use my own mx.core.BitmapAsset class to remove some of the extraneous stuff Flex's BitmapAsset brings in with it. This is descr...
Hi I'm trying to setup a RegexpValidator that only accepts a string of alphanumeric characters between 6-30 characters long and requires one number. I'm new to Regular Expressions and everything I've tried seems to keep returning an invalid ValidationRsultEvent. Here's a chunk of code:
<mx:RegExpValidator id="regexValidator" source="{pa...
I have a BorderContainer with several objects inside of it. I want it to fit snugly around its own contents, but it doesn't. It seems the default size of a BorderContainer is 112x112. That is so wierd considering no other containers have that default size. Is there a way to set the width and heigh properties to "auto" or something like t...
I am running the same AIR application under windows, linux and Mac OSX
Windows and Linux look fine, but under mac OS-X the controls are not showing any text.
Button, Tooltips, Labels, Check boxes, everything is blank.
I just ported that app to Flex 4. Flex 3 versions of the same app on the same OSX machine works.
How can I get controls ...