ruminations on technology
ruminations on technology
If you don’t already know, Flex 3’s deep linking support is a tremendous boon to the RIA developer, insulating our lot from having to worry about the whole sorry, shoddy business of communicating little strings between our application and the fragment chunk of the browser’s location URL. Applications that have some notion of navigational [...]
It’s funny how your brain works, or at least how mine works. For this release, I was tasked with creating the refactoring features in Flex Builder 3. That meant implementing find references, find declarations and some basic refactorings…not the smallest or easiest undertaking ever Anyway, there’s an interface called IOccurrence that [...]
The EncryptedLocalStore APIs use DPAPI on Windows and the Keychain on Mac to encrypt arbitrary data and associate it with a specific OS user, AIR application ID, and publisher ID. That means applications can encrypt and store data that only the current user and the current application can decrypt. And the best part is that it's extremely easy to use...

I stumbled upon this gem in the Flex API about the intensity of the setStyle() method on processing. I only recently had the need to use it and was quite shocked at how slow this actually was. Granted I used it on a Datagrid which is probably not the best idea but I'm a bit of a if-it's there-then-use-it-kinda-guy.

Joan Lafferty blogged about the upcoming changes in Moxie for setting component and sub-component styles. Very insightful article. It immediately made me ask the question. How does this impact the setStyle() method. Presumably the "StyleProxy" should alleviate this problem as you have more control over what style is set to what component, regardless of the hieracrhy.

See the warning in the Flex api here »

Slowly but surely I’ll release a series of posts covering content from presentations I’ve given online and at Adobe events during the past few months. Some of the content includes: Using Flex with PHP Branded applications with AIR Showcasing local industry applications (customer presentations) Using ColdFusion messaging gateways with Flex Integrating MS Exchange with ColdFusion and Flex We’ve also just finished a [...]

Recently I came across a Flex bug when working on canvas. If you have a canvas with an object centered inside ( horizontal or vertical, it's the same ) and scale this object the result is that the canvas will clip left and top its contents!
To understand what I mean see this example and try to scale the image:

And this is the code used:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundAlpha="0">
	<mx:Number id="scale">1</mx:Number>
	<mx:VBox horizontalCenter="0" verticalCenter="0">
		<mx:HBox width="100%" horizontalCenter="0">
			<mx:Label text="Zoom" /><mx:HSlider value="{scale}" change="{scale = HSlider(event.target).value}" width="100%" />
		</mx:HBox>
		<mx:Canvas width="200" height="200" 
		backgroundColor="#EEEEEE" borderColor="#666666" 
		borderStyle="solid" verticalCenter="0" horizontalCenter="0" >
			<mx:Image id="image" source="@Embed('../assets/test.png')" scaleX="{scale}" scaleY="{scale}" 
			verticalCenter="0" horizontalCenter="0" />
		</mx:Canvas>
	</mx:VBox>
</mx:Application>

As you can see once the image is scaled and it's bigger that its parent, you wont be able to see it top left corner anymore. This is an annoying bug for me!
Later I found that someone opened a ticket in the Flex bug management system here: http://bugs.adobe.com/jira/browse/SDK-13009
A couple of days ago I received a notification that the bug has been closed... and incredible they closed it as NOT A BUG!
I can understand that finding the bug in a file with 5000 and more lines of code it's not easy and can cause horrible headache, but the reason they gave it's nosense! It's completely a different thing that the reason of this bug.
Moreover what's the connection between flash and html?

Flex have been designed since the 1.0 version as a framework for building RIA (Rich Internet Applications).
A RIA have to behave as a desktop application that runs using the web browser. One of the advantages of Flex agains Ajax is that the first technology provide to the user a behaviour which is much more similar to desktop applications that the one provided using HTML+Javascript. And so my questions is: why should Flex behave like HTML when one of its most important features is to be different from HTML ?
Flex behaves like other SDKs used to develop desktop apps in many situations which are much less important than the one hilighted above. So why close this bug (yes. it is a bug) providing as explanation that it is correct because it behaves like HTML ?

In the coming weeks get set for a FREE mini-conference for ColdFusion developers by ColdFusion developers. And better yet we’ll have renowned ColdFusion expert Ben Forta joining us along side long time CF’ers Mark Blair, Nick Watson (UK) and the many community experts here in Oz. Here you’ll see more than just ColdFusion. How about powering [...]
ruminations on technology
The demo I posted yesterday on using custom metadata has been fixed. Thanks to those who pointed out the bug. See it here
Last week at MAX Barcelona, I did a couple of off-the-cuff presentations and samples for the Flex Boot Camp session on Wednesday afternoon. I promised a few people I would post those samples on my blog. If you saw my presentation at Max, this is not the demo from the presentation, But you still [...]
A new pricing was announced for Flex Builder 2 which becomes effective 1st November. Flex Builder 2 without charting currently costs $499.99 at Amazon, its new price starting 1st November 2007 will be $249.99 (that is gonna be a saving of $250!!! ) yoo hoo! Flex Builder 2 with Charting will become $100 cheaper to $699, [...]
ruminations on technology
ruminations on technology
Adobe Australia are holding a “Refresh” event for the local developer communities. This is your chance to hear first hand the latest news and announcements surrounding Adobe’s developer technologies! I promise you will not be disappointed! So come and spend an afternoon with your local Adobe crew including myself, Matt Voerman, Mark Blair, Mark Szulc [...]
ruminations on technology
Nahuel Foronda just posted a cool example of a button skin that uses states in order to create a color animation on mouse over. The skin is written almost entirely in pure MXML, with a little bit of AS just to attach the filters to the button label. This really shows the power of using [...]
“Well,” you may be saying, “Thermo looks great and all, but what do I do in the meantime?” The good news is that we have some nice improvements coming in Flex Builder 3 that help automate the visual design workflow, and you can try them out in the Flex Builder 3 beta that we posted [...]
ruminations on technology

Subscribe to Planet Flash

Search

Tags

&lt;head&gt; 3d 3d Flash Actionscript actionscript 3 ActionScript 3.0 Adobe Adobe Air Adobe AIR (Apollo) Adobe Flash Adobe Flex AdobeMAX08 AIR AIR Adobe Integrated Runtime Announcements apollo Art AS2 as3 Asides awards Babble BEA Beautiful Web Books Business Cairngorm ColdFusion Community Components Conference Conferences degrafa design dev Development Events Examples Featured Flash Flash CS3 Flash experiments flash player Flex Flex 3 Flex Builder Flex Builder Development Flex Example FMS Fun Gallery General GeoWeb Google Industry Inspiration iphone Jobs Links linux Marketing MAX MAX 2007 Misc News news & events Off topic Open Source Other Papervision3D Parallax Denigrate Personal photos Photoshop Process Processing Resources RIA Singularity Site News Stuff techmology Technology Tennis Thinking Loud Tips Uncategorized Video Whatever

Blogs

Buttons

Planetarium