Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


Constant XML not so constant?
2007-10-25 07:45:22
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 xml... Now you would think that constantOrNot will be different from NotSoConstant? You would be wrong. It seems that in the cases of XML objects the initial setup of the constantOrNot is done by using a reference pointer. So if you modify the constantOrNot it will also modify the constant it was used to set it up.


Three Very Good Flex Resource Sites
2008-03-07 07:28:52
Today I found this three sites filled with flex resources: - DeGraFa (Declarative Graphics Framework) - ScaleNine - Flexgeek DeGraFa is a framework made to do a much easier job when working with shapes, events, skinning, etc. ScaleNine is a collection of themes to use in flex applications and FlexGeek is a blog with very useful examples of how [...]
Read more: Sites , Resource , Three

Spell Checker in Actionscript 3: Spelling Plus Library (SPL)
2008-03-06 09:18:28
Big RIAs need good interaction with the user. In big applications (like Buzzword, etc) with intensive text processing is a must to have implemented a spell checker. A very good spell checker that is built in Actionscript 3 is Spelling Plus Library (SPL) by gSkinner - the license is here and can be bought from here. It [...]
Read more: Checker

Flex 3
2008-02-25 08:29:27
A few hours ago a message went across the world and did a lot of "damage". It's subject: "Adobe AIR, Flex Builder 3, and the Flex 3 SDK are now live !" Yes you heard right:Flex 3 is now final :). In the following days I will write an article about the differences between Flex 2.1 and [...]


Browser Window Close Event and Flex Applications
2008-02-25 07:27:39
When speaking about RIA one of many nice usabilities is that to be able to give feedback to the user when it comes to critical actions like submitting important data, saving work, etc. Let's have the following example: You log in into a RIA with your user and password, you do changes to your data [...]
Read more: Window , Applications , Close

Flex 360 Conference in Europe
2008-02-19 07:16:54
During 7-9 April 2008 there is a Flex meeting in Milano. Price 360 euros. More details here or here. I may be there as well :).
Read more: Europe

Flex and PHP web-service
2008-02-17 02:52:36
Table of contentsWeb Service small how-toFlex and PHP web-service Yesterday I had to do a small flex application that resided on a server with php. Since I required a connection to mysql I wanted to use the same class I did before to connect to web-services. But PHP does not support web-services (and WSDL) by [...]


Hand Cursor on a Label
2008-02-15 03:27:10
If you have a label and you want to show a hand cursor when the mouse is over it you have to set three properties as bellow: lbl.useHandCursor = true; lbl.mouseChildren = false; lbl.buttonMode = true; where lbl is public var lbl:Label = new Label(); Job's done!


How To Remove the “Black Line” from a Tree Control (Drag and Drop Enabled)
2008-02-08 09:51:02
Today I found a way to remove the "black line" of a tree which has drag and drop functionality enabled. I did that by skinning. Searching through the help I've been crossing over a property named "dropIndicatorSkin" where (as its name is suggesting) the drop line is drawn. So I just re-skinned it. Here is the [...]
Read more: Control , Black

Custom skin for tab bar navigator
2008-02-08 07:06:59
This it's an working example of how you can customize your tab bar navigation. So, we have a MXML file, style file and a skin script. Let's see them all.In MXML file we just link style.css file and I have used a TabNavigator component with 3 tabs. Style.css files contains to [...]


Very First Flex Preloader Customization
2008-02-07 04:28:59
Two days ago I needed to customize the very first preloader of a flex application (the one that is shown before finishing loading initialization classes of flex). My first impression was that it cannot be changed because I thought is something built in the Flash Player but at the end I found a way using [...]
Read more: Customization , First

First Flex Camp Romania in 2008
2008-03-13 03:07:00
When: Next month, more precisely on 16th of April Where: Same place like last Flex Camp - Adobe Romania Office, Anchor Plaza, Bdul. Timisoara, nr. 26Z, Bucharest You can register here: More info here and on myadobe.ro. Hope to meet you all there!
Read more: First

First Flex Romanian User Group Meeting
2008-03-11 15:11:02
Today was the first meeting of the RoFUG (Romanian Flex User Group ). Among the attendees were: Andrei, Stelian and me from the Flexer side, Bogdan Dinu (the manager of the group - or the godfather ), Cristian Ivascu (you may know him from Adobe's Flex Camp), Costin Aldea and Iulia. Some other persons were [...]
Read more: First

Remove Duplicate Chars from a String
2008-03-11 10:37:56
This post is about how to remove duplicate characters from a string. 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 source array with case insensitive Store current value for comparison Walk through the whole source array and for each [...]
Read more: Duplicate , String

Find Cursor Position in a HtmlText Object (RichTextEditor, TextArea, TextField)
2008-03-18 12:39:29
Last task I finished was something linked with templates. I needed to create a simple template engine where adding a field was a necessity. I started using RichTextEditor which is based on a TextArea so it implements htmlText property. That is an easy way having all that nice functionalities like bold, italic, font choosing, color [...]
Read more: Cursor , Object

Find Cursor Position in a HtmlText Object (RichTextEditor, TextArea, TextField) - UPDATE
2008-03-26 10:12:22
In the previous article I came out with a function that calculates the position of the cursor in the htmlText which is different than the position in the normal text. Rick draw my attention in his comments to some flaws which are correct: the & and other similar special chars are not counted correctly and [...]
Read more: Cursor , Object

Adobe Player Security Update
2008-03-25 03:16:48
Adobe plans to release a new security update for the Flash Player on 9 April 2008. The update plans to fix the issues listed in the December 2007 Security Bulletin ABSP07-20 for DNS rebinding and cross-domain policy file vulnerabilities, and Security [...]
Read more: Adobe , Update

Strip Html Tags - with allowable tags
2008-04-08 06:05:20
Lately I've been working with Rich Text Editor so I found that I need more than what RTE offers. Recently I needed a function to strip HTML tags. If you have a PHP background you can remember the strip_tags function from PHP4 and PHP5 where you could strip all HTML tags but the ones you [...]
Read more: Strip

nl2br - New Line To BR
2008-04-09 08:10:22
Programmers with PHP background may miss some great functions that would make programmers life much easier (nl2br in PHP). Working with HTML in Flex is a big task and as you found in the previous article more functions are needed to process HTML strings. In this article a simple function will transform any new line to [...]


External Flex Project
2008-04-15 06:10:28
Itzik Kubi, is looking for a flex developer that would help him to build/improve his test environment. This is a relative short project(about 100 hours) that is suitable for a shoreoff student/freelancer. Here are some of the requirements:  - An experienced Flex developer  - Experience with Flex Builder/Eclipse  - Experience with LCDS/BlazeDS and the different services (Remoting, Messaging, Data Management)  - [...]
Read more: External , Project

We’ve been at FlexCamp Bucharest Romania 2008
2008-04-17 12:50:56
As we promised, we have been present to FlexCamp Bucharest Romania 2008 and there were about 90 people, more than half of them for the first time at FlexCamp. It was a great time and we discussed about new technologies like Adobe LiveCycle Data Services, BlazeDS, new flex frameworks like PureMVC and Caringorm, and the [...]


Mouse Click and Space Key Press on a Button
2008-04-17 12:31:42
Flex is a very powerful instrument but needs to be learned and studied. Some time ago I got into a bug - that is what I thought at the first impression - but is not. I talking about the Mouse Event.CLICK event which is triggered also by the KeyboardEvent.SPACE. Please try the following example and you'll understand [...]
Read more: Click , Space , Press

Fx{r} Wallpapers
2008-04-16 05:20:51
If you like Fx{r} now you can download new wallpapers. Click here to see the gallery. We hope to release new wallpapers on new ideas soon. Enjoy!
Read more: Wallpapers

Alternativa 3D - two new examples
2008-04-18 11:19:12
In a previous article we presented a new 3D engine framework. Now this engine evolved and now is moving better/faster. On the site of this engine are two new examples and you can see that this engine is the future of online gaming. Enjoy the examples and great job done by the guys at Alternativa.


Flash NULL pointer exploit
2008-04-18 04:52:23
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 exploit s 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 [...]


Converting a flex 2 app to air
2008-04-23 07:35:56
Last week I tried to convert a small flex 2 application to air. It went pretty smooth with some minor exceptions that were fixed fast. So if you have a flex 2 app and did not do anything fancy in it then it all should work fine. Keep in mind that flex 3 has some modifications [...]


Comparison: Remove Duplicate Chars from a String Via Array and RegExp
2008-04-23 06:59:20
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. [...]
Read more: Array

Resizable Canvas - Horizontaly
2008-04-25 12:00:20
Yesterday I started to implement a new control: Resizable Canvas . A very interesting task which needed some thinking because there are more than one ways to achieve this. My implementation is based on a canvas that includes a reskined button as the right edge of the canvas for dragging. The canvas will be resized when the [...]


Resizable Canvas - …and Vertically
2008-04-29 10:28:08
In the previous article I explained how to create a horizontally resizable canvas. In this second part we will implement also the vertical resize functionality. Taking into account that we have the previous article to implement this new functionality will not be a hassle. All we have to do is to duplicate some UIs, methods, events [...]
Read more: Canvas

Resizable Canvas - Horizontally
2008-04-25 12:00:20
Yesterday I started to implement a new control: Resizable Canvas . A very interesting task which needed some thinking because there are more than one ways to achieve this. My implementation is based on a canvas that includes a reskined button as the right edge of the canvas for dragging. The canvas will be resized when the [...]


Page 2 of 4 « < 1 2 3 4 > »
eXTReMe Tracker