| This feed does not validate. (details) 19 Jul 02:48 I had a Flex Builder 2 project that I wanted to make an AIR application, but there were a bunch of custom settings on it as well as a bunch of files. I didn't want to manually set all the settings and do a svn export then re-import everything back in. There may be a lot easier way to do this, but by following these steps you can convert your Flex FB2 project to a AIR FB3 project. It also depends on how complex your app and settings are. 3 Jun 10:51 I was playing around with one of the chat samples using fds with a simple messaging system setup to pass chats around and was curious to trigger session start and ends somehow. In the real world we know most people don't click a logout button, they just close the window. I wanted the application to send a message to the other users in the chat that someone had signed off when the browser was closed or they navigated away from the page. 3 May 08:04 Who doesn't want to get better at playing Atari Kaboom? It's my personal favorite Atari 2600 game, so I figured how hard would it be to mimic the basic actions in Flex and Actionscript? That being said, I've created a little Kaboom simulator. It's not a full port of the game, but it lets you control certain things like the bomber speed and the number of bombs being dropped. It is not a masterpiece, but it shows the basic workings of the game. 28 Apr 04:56 After flipping through a few pages of the Foundation Actionscript 3.0 Animation: Making Things Move! book, I was drawn into the world of animation. Being a typical backend ColdFusion guy that converted to Flex, this was a very interesting read. I was surprised out how simple it is to make things very interactive. Once you get over the fact you need to dig out your math skills. Who would have thought that sin, cos, tan, and their arc equivs would be so important? 17 Apr 06:25 Flex Modules are a great way to separate different portions of your application, but one thing to watch out for is when you are using modules with embedded fonts. If you are using embedded fonts in your application, you must include them in each of the modules you are using. If you fail to do so, any module trying to output text will be blank or the font may not be applied how you'd think. If you included the fonts in your main application and not in the modules, you get a case of missing text. 11 Apr 06:17 After some discussion with a fellow Universal Mind co-worker, we decided that we should move the code that is handling the parsing of the coldfusion message to it's own Cairngorm event/command. This keeps the controller clean and leaves the logic to our new ParseCFMessageCommand. Our Revised Message Handler in the Controller private function onCFMessage( event:MessageEvent ):void { // Issue an event to parse the message var cfmessageevent:CairngormEvent = new CairngormEvent( EventNames. 11 Apr 01:00 ** Don't forget to check out the update to this post here ** One of the requirements of a Flex project I am working on is to only let the user have one active session at a time. If the user is currently logged in, the application must close the first session and open a new session. 10 Apr 09:57 You would think that embedding your Flex application into an HTML page would be an easy task, but what happens if the user doesn't have the flash plugin? What happens if it isn't the current version? The flex builder generated code works well, but not perfectly. 10 Apr 08:32 I finally released an update to the Flex SQLAdmin application that allows it work with tables/columns with spaces. I should have done it from the start, but all columns/table should have been enclosed in brackets to solve this problem. 1 Feb 14:06 Here is an example of a flex app calling a cfc that returns a query object to be graphed. It will refresh the data every 2 seconds. The cool part about this is that graph uses a custom item renderer to display the negative numbers in a pink shade. I created a new renderer that extended the ProgrammaticSkin and implemented the IDataRenderer. |