If you have a big project you will soon find out that you’ll need to have to versions of the application. One that you work on and one that you need to give it as a release build. On a release build you need to get rid of unwanted things like pre-filed login credentials that [...]
This Flex component allow you to play Youtube movies into you Flex applications and also to be able to customize the look of your player. Actually I put a main movie component and two control sections, one for: play, stop, mute, unmute and time figures (current second and total number of seconds of the movie); [...]
What is AMF and a bit of history
Action Message Format (AMF) is a compact binary format that is used to serialize ActionScript object graphs. Once serialized an AMF encoded object graph may be used to persist and retrieve the public state of an application across sessions or allow two endpoints to communicate through the exchange [...]
Mihai Corlan, Platform Evangelist at Adobe, finalized a “book like” article for PHP developers. I mentioned the “book like” words because the article is long, very long.
The purpose of Mihai’s article is…
I want to share with you some of the things that are specific to Flex in relation to PHP. At the same time [...]
The last week I have been working on a Flash/Actionscript 3 project and everything worked well. The project got in an 75% finalized. Meanwhile I needed to install a software product and it crashed my Windows Vista. Saved the important data and tried to fix it without having to reinstall the whole OS and all [...]
Let’s say you created a new component and you want to add some properties that need to be bindable. Something like this:
<flexer:myComp width="400" height="200" myNewSetter="{_myData}" />
<mx:Script>
[Bindable]
private var _myData:String= "";
</mx:Script>
And when we do this
_myData = "new_val_1";
the myComp component should know that _myData has changed and should modify itself [...]
It’s recommended to use same SDK version components in same file, so I skin a button in Flex SDK 4 using only Spark components.
In Halo we use to add an icon to a button using icon property:
<mx:Button width="120"
icon="@Embed(source=’ico/add-blue.gif’)"
[...]
Now Flash Builder 4 and Flex SDK 4 are available, so we can play around in beta version.
As you probably already know there are same changes regarding skinning from Halo to Spark, I search the web, I read the manual and I think that I got some skills .
It will be a series of [...]
I’ve been playing with Tweensy these days. Tried to understand how it works and how to create effects using particles generator. At some point I run into an error like the following one:
ReferenceError: Error #1065: Variable Box is not defined.
at global/flash.utils::getDefinitionByName()
…
What triggered it is this part of [...]
This weekend I’ve been programming a new tree component that is intended to be used as a hierarchical menu. One thing that I have to do was to change the default behavior of the disclosureIcon. If you wonder what is the disclosureIcon, it is the grey arrow that shows if there is a node or [...]
Last week we received an email from someone having problems changing the position of the close button of a TitleWindow or Panel component. After a short brainstorming we found a solution and created a new component.
If you wonder how we did it the answer is simple: we extended the TitleWindow component and got into [...]
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 [...]
If you need and auto resized text area then you are in problems. As far as I know there is no property to use to make a text area auto resizeable.
I really needed an auto resizable text area so I started searching and studying. I found that we can use mx_internal properties, variables and methods [...]
Today I managed to find this error twice. It is happening in AIR applications. I had the same application in Flex and then I ported it to AIR. The error that appeared is this:
SecurityError: Error #3015: Loader.loadBytes() is not permitted to load content with executable code.
The error is saying that you’re no more allowed to [...]
In a previous article I explained how to create a custom preloader that will replace the very first flex preloader (the one that appears when starting application). That article was created using Flex Builder 2 and now needs an update because Flex Builder is at version 3 since a good time and Gumbo is on [...]