First of all the bootcamps were a success if we think about that all tickets were sold out before the Adobe Developer Day started. The resources used at three of bootcamps held at Adobe Developer Day are now available by the evangelists Cornel Creanga and Mihai Corlan on their blogs.
Using the following links you [...]
Yesterday I’ve been working with images: loading, resizing, removing, etc. I got into a challenging issue: I had to vertically position a label after an image resize – but a resize that is triggered by setting maxWidth and maxHeight keeping also the aspect ratio.
I tried to get the new width and height after the resize [...]
You can monitor your memory usage/leaking with System.totalMemory property. This way you can see how memory is used, where leaks are and you can optimize those parts that are eating too much memory.
In simple words use System.totalMemory as bellow (in KB):
var memoryUsedInKb:Number= Number(System.totalMemory/1024).toFixed(2);
I used it to show the used memory in different units: bytes, Kilobytes, [...]
In the previous article, Remove Duplicate Chars from a String, I posted a way to remove duplicates characters from a string and make it of unique chars. So to make myself clear I’ll give the following example:
Source string: “aabbccaaddee”
Should be: “abcde”
(note the underlined characters).
In my previous article TLP has commented and created a better method. [...]
This post is about how to remove duplicate characters from a string. And what I mean is that I want to make every char unique.
Ex: “aabbbcccaadddee” will become “abcde“.
In “short words” the following steps are taken:
Split the string to an array (source array)
Create a second empty array which will retain the unique values
Sort the [...]