Last end of the week has been a busy time for Adobe. They released quite a few updates to Flash and AIR platforms and some security updates for Flash Player, Acrobat Reader and Acrobat.
Now the last public version of Flash Player is 10.0.32.18 and can be downloaded from http://get.adobe.com/flashplayer/. The update refers to this security [...]
In a current project I run on the following problem: didn’t see a blur filter applied on a background. Started debugging and even though was no error neither compile errors nor runtime. But a the Flex Builder console panel, where traces appear, a special output text warning appeared:
Warning: Filter will not render. The DisplayObject’s filtered [...]
This week I’ve been working on a project that uses deep linking with SWFAddress library. SWFAddress is a useful tool that lets you go to a specified part of a flash site by changing the browser’s url.
Anyway this project was in part completed but had to do some changes and fix some bugs. Most bugs [...]
Last week I had to write a small piece of code to send to a webservice a number from a text input. All was fine for the normal test values (0,1,100). The problem appeared when I tried to send the number -9223372036854775808. Instead of receiving this number I got -9223372036854776000. So I started to do [...]
The paper “Application-Specific Attacks: Leveraging the ActionScript Virtual Machine” written by Mark Dowd in which he describes various techniques that promise to open up a class of exploits and vulnerability research previously thought to be prohibitively difficult. While the Flash vulnerability described in the paper [pdf] has been patched by Adobe, the presentation of a [...]
I don’t know if you got in trouble when working with xmls but recently I found a bug (or a feature). Some differences when using toString() and/or xmlToString().
Take a look a the following code:
public var test1:XML = new XML("
<permissions></permissions>
");
public var test2:XML =
<permissions></permissions>;
public var test3:XML = new XML("
<permissions>
<test1>test</test1>
</permissions>");
public var test4:XML =
<permissions>
[...]
In a previous article I told you about the benefits of RSL’s. But you need also to know how to create them from a swc and how to use them.
First step is to create a new “Flex Library Project”. Write all the code you want to have in it. Then in your main application [...]
I was working to a flex project, I need a canvas where I have to put some elements on a big surface, so I really need to have scrollbars. That’s fine. If I move an object to the right-bottom corner it’s working great, if the object goes out of working space, will go under scrollbars, [...]
I wanted to write a few words about the deep object copying in flex (aka as making an absolute identical replica of an object no matter it’s class).
There is a function in the flex API called ObjectUtil.copy This is a very nice function but the problem is it cannot work on all object classes. [...]
It seems that the constants behave strangely in Flex.
Here is why:
public const X:String = "X";
public const Y:int = 101;
public const NotSoConstant:XML = …some random xml…
Now here comes the fun part:
var x:string = X;
x = "aaa";
trace(X + ":" + x); // X:aaa
var y:int = Y;
y = 10;
trace(Y +":" + y); //101:10
var constantOrNot:XML = NotSoConstant;
constantOrNot = …another [...]