Dashboards are an easy way to let someone get clear picture on data, as also a great tool to compare different factors. With Flex you are able to create different kind of dashboards. The following tutorials will teach how to do it: In this tutorial, the Nitobi Grid, an Ajax component, is used to build an [...]
ruminations on technology
I was just reading this article this morning about an exploit in the historyFrame.html file of the Flex 3.01 SDK. The article states that Flex 3.01 SDK contains this vulnerability and that the issue was fixed with the Flex 3.02 build. I downloaded build 3.0.2.2095 dated June 17, 2008 and compared the historyFrame.html and history.js files [...]
Flex Framework Source in the Debugger - Java developers had been enjoying the Java SDK level of debugging for a long time. This step by step instruction tells how to do the core source debugging with Flex SDK source. The more you do Flex, the better chance you will need this. Drawing in Flex with UIComponent [...]
With this release, the AIR runtime has gone global: - The runtime has been translated into ten additional languages: Japanese, French, German, Traditional Chinese, Simplified Chinese, Korean, Spanish, Italian, Russian, and Brazilian Portuguese. - The AIR APIs and file formats have been updated to enable AIR-based applications to be localized - International keyboard input is fully supported - AIR [...]
One of the great things about the new Flex open source project, is that it isn’t just the framework that has been opened up. We have even pulled back the covers on the compiler. Today, Matt Chotin posted on the open source wiki what used to be an internal document that describes how the Flex [...]
The latest tutorial at The Tech Labs, this time performed by Stéphane Schittly. In this tutorial, you will learn how to integrate photos from Flickr in your Flex application, using as3flickrlib. View Tutorial and download source files

In this tutorial, you will learn how to integrate photos from Flickr in your Flex application, using as3flickrlib.

posted in Flex by Carlos Pinho Leave A Comment
©2008 The Tech Labs. All Rights Reserved.
FunFX is an test framework for functional testing of Flex applications. It’s open-source and leverages Ruby for writing testcases. I haven’t given it a try yet but I thought I would blog about it as it looks like a great resource for creating Automated testcases. The framework is the result of a master thesis at the Norwegian University [...]
I find the PopUpButton to be a very useful component, and I think it is underrated. Thus it is rarely used by developers/designers. A PopUpButton can open any UIComponent by a simple click of a button, it saves the developer the hassle of dealing with the PopUpManager and locating the pop-up at the exact point to [...]
The Yahoo! Maps AS3 Component is nothing short of astounding, a clean and powerful Flex component that delivers sophisticated mapping quickly and easily. I needed to add mapping to an app recently and was pleased to see how well this component delivered. If you are interested in adding mapping to your apps, I highly recommend that you take a look at this component. And here are detailed steps to help you get started. To use the Yahoo! Maps AS3 Component you'll need your own Yahoo! Developer Network Application ID. If you have one already, then you're all set. If not, click on the "Get an App ID" link on the component page to obtain one. Once you have an App ID, you'll need to download the Flex component itself. There is a download link in the middle of the component page, download the ZIP file, and expand it in a local folder somewhere. There are lots of files in the ZIP file, but the really important file is the YahooMap.swc file. Make sure you know the path to this file, you'll need it when you create your Flex project. Then create a new Project in Flex Builder. You can define a Server Technology if needed, although for tinkering the first time you may want to keep the Project as simple as possible. In the 3rd screen in the New Flex Project wizard you can specify Source Paths and Library Paths. Select the "Library path" tab as you'll need to add the YahooMap.swc. Click the "Add SWC" button, and then browse to the YahooMap.swc file and click "OK". You should see the YahooMap.swc listed in the "Build path libraries" list. You can then finish creating the Project. Now let's create the basic UI. This example will display the map in a large box on the right, and the left will contain simple text boxes, one to enter the map location, and the other to specify map searches. Here's the MXML code: The code is pretty simple, and the only really interesting item is the <mx:UIComponent> which will be used to display the map. Paste this code into your app, and compile and run it, just to make sure all is working. Next we'll add basic mapping. Here is the updated code: Let's take a look at the above code. The big change is the <mx:Script> block. First come a series of import statements, and then two variables are defined. The first, appID, contains your Yahoo! Developer Network ID, replace the placeholder text in quotes with your own ID. The second defines the YahooMap itself. The initApp() function (called on creationComplete) first creates a new YahooMap instance, and then defines the handler that will be called upon map initialization. It then initializes the map, passing the appID, along with the desired height and width (using the height and width of the mapUI UIComponent). Next a series of options are set, turning on panning, the scale bar, the map type widget, and the zoom control (you can omit these, or add other options if desired). And then finally, addChild() is used to add the yahooMap object to the mapUI UIComponent. The code also contains two other functions. yahooMapInitialize() is called once the map is initialized (in response to a YahooMapEvent.MAP_INITIALIZE event). It sets the default zoom level and initial map location, and also specifies a resize handler. This is important, without a resize handler the displayed map would not resize if the app were resized. The resize handler function itself, yahooMapResize(), is called whenever the app is resized (in response to a ResizeEvent.RESIZE event), and it simply resets the map size (again using the height and width of the mapUI UIComponent). You can paste this code into your app, and run it. You'll have a fully functioning map, allowing zooming and panning, and supporting multiple display types (Map, Satellite, and Hybrid). Next we'll add code to allow users to enter a map location. Here's the updated code: Not a lot of changes here. First, we've added some more needed import statements. We've also added a variable of type Address (to store the set map location). Two functions have been added to the code. setMapLocation() accepts a string (whatever the user typed in the txtLocation box) and then creates an Address object for the passed string. As you are probably noticing, the Yahoo! Maps component is used asynchronously and is thus highly event driven. setMapLocation() sets an event handler that will be called when the Address object has been successfully geocoded, and then it perform the geocode. The geocode operation does not do anything to the map, rather it locates matches and converts them into map locations. The event handler, yahooGeocodeSuccess(), first obtains any results generated by the geocode operation. It is possible for a geocode operation to return multiple results, but this code ignores all but the first match, and then uses that first match to set the map zoom level and location. And finally, setMapLocation() was added to the first <mx:TextInput> and <mx:Button> to the enter and click events respectively. Save these changes, and then run the app. Now you can type in a country name, or a city and state, or a US zipcode, and the map will be repositioned to display the best match. Now for the final change, this time allowing you to search for matches within the displayed map. Here's the code one last time: Once again, more import statements have been added. We've also added a variable of type LocalSearch to perform local searches (searches within the displayed map). The second <mx:TextInput> and <mx:Button> controls now invoke a function named mapSearch(). This function first removes any map markers (left from a previous search, there will obviously be none the first time this function is invoked), and then performs a local search specifying the search text, map zoom level and location, and search radius (in miles). This search is also asynchronous, and the yahooSearchSuccess() function is invoked when the search completes. (This event handler is added in the initApp() function above). yahooSearchSuccess() obtains the results and then loops through them, creating a LocalSearchItem for each and then using that to create a SearchMarker, and then adding that marker to the map. Save this code, and then run the app. Type in a location, and then do a search for "ATM" or "pizza" or anything else. You can try setting the map location to "San Jose, CA" and then find "Adobe Systems, Inc.". Pretty cool, and not a lot of code either. And that's just the start of it. Yahoo! has posted lots of great examples, so check those out. And the component also supports distance, traffic data, and much more, so be sure to browse the API documentation. And once you have the basics down, adding integration to backend data (perhaps pulling addresses from a backend ColdFusion app to map them) is just as easy. Have fun with this, and if you create anything cool and public facing, please share the URL.
Reading the Alex Harui's blog, I found this interesting post about a new Adobe Open Source project called the Marshall Plan. I read that the "Marshall Plan" is the nickname for the SDK feature to support cross-versioning.
On the Flex Team official blog Matt Chotin wrote that the SourceForge.net 2008 Community Choice Awards are open, and wouldn't it be great if Flex were a winner? Click here to nominate Flex SDK and select the "Best Tool or Utility for Developers" category.
In this tutorial you will learn how to make a 3D product viewer similar to the usual automotive industry sites, the  360º viewers. Read Tutorial
I thought I’d put up a fun demo SWF from my “Flash Bang” talk of a couple of weeks ago. This is an example of what can be done with the new FlashPlayer 10 (”Astro”) Sound API; it synthesizes sounds on the fly that are synchronized with colliding objects in a simple physical simulation. [...]
I thought I’d put up a fun demo SWF from my “Flash Bang” talk of a couple of weeks ago. This is an example of what can be done with the new FlashPlayer 10 (”Astro”) Sound API; it synthesizes sounds on the fly that are synchronized with colliding objects in a simple physical [...]
Google has just released a Flash edition of the Google Maps API. In this tutorial you will how to install the necessary components and build a very basic map. Read Tutorial

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