Friday, January 27, 2006

Free Friday - Flex 1.5 - mx.charts.PieChart by Darron Schall

Free Pie Charts! Darron has been working in a large set of charting examples using Flex 1.5. This example uses dynamically loaded xml from an HTTPService as a dataprovider for a Pie Chart. Just FYI, IFBIN 2.0 is almost ready, we've been busy!


Open Example SWF in a New Window


This example is available with full source and documentation within Flex® by Example.

More to come.

Ted :)

Friday, January 20, 2006

Free Friday - Flash 8 - Pixel Dissolve by Guy Watson

Pixel Dissolve uses flash.display.BitmapData.pixelDisolve to dissolve from one image to another with a scrollbar to customize the effect. Nice work Guy!


Open Example SWF in a New Window


This example is available with full source and documentation within Flash® by Example.

More to come.

Ted :)

Friday, January 13, 2006

Free Friday - Flex 2 - Hallo Welt / Hello World using AS3 Namespaces by Darron Schall

Darron put together this Hallo Welt / Hello World example to introduce namespaces in AS3. AS3 namespaces allow you to package classes, constants, and methods under a defined name. In this example, namespaces are used for localization in german and english.


Open Example SWF in a New Window


This example is available with full source and documentation within Flex® by Example.

More to come.

Ted :)

Thursday, January 12, 2006

Flex 1.5 - mx.validators.EmailValidator by Rich Tretola

Rich put together this example using mx.validators.EmailValidator in Flex 1.5. The example shows you how to validate input text within a form.


Open Example SWF in a New Window


This example is available with full source and documentation within Flex® by Example.

More to come.

Ted :)

Wednesday, January 11, 2006

Flash - V2 Equipment Interface Component Set by Jonathan Kaye

Jonathan Kaye added his V2 Equipment Interface Component Set into IFBIN. The set includes 25 AS 2.0 (FP 6+) Flash components, using the Macromedia v2 component architecture, comprised of interface elements one may find on devices and equipment.

The target set is shown at http://www.FlashSim.com/FMXISComponents/.

Included Components:

- Momentary and toggle buttons
- Round dials and sector dials (gauges)
- Jog and potentiometer knobs
- Barrel dial
- Keypad (grid)
- Timer and stopwatch
- Numeric (digital) display and alphanumeric display
- Slider
- Joystick
- LED Bar (chip) plots
- Three-position switch with auto-center optional
- Lamps (LED)
- Event Recorder and Playback Component

Open Example SWF in a New Window


This example is available with full source and documentation within Flash® by Example.

More to come.

Ted :)

Tuesday, January 10, 2006

Flash 8 - FileReference.download by Tink

Tink provided this example using the flash.net.FileReference.download method. The example provides usage for all events in an AS2 Class. FileReference.download allows a user to download a file and save it to their local machine directly. In the example it downloads a ZIP file containing HTML documentation and the SWF file for the example.

Note: This feature is currently broken in the Alpha Flash Player 8.5.0.133 in FireFox, use Flash Player 8.0.22.0 for correct behavior. IFBIN has reported the bug to Adobe.


Open Example SWF in a New Window


This example is available with full source and documentation within Flash® by Example.

More to come.

Ted :)

Friday, January 06, 2006

Free Friday - Flash - Unique, Random, Serial Movies, Image Loader by Brajeshwar Oinam

This is a Flash SWF or an Image Loader spiced with the ability to load a SWF's and Images via an external XML file. Coded in ActionScript 2.0 and adorned with Model View Presenter pattern it is a really great example. Great work Brajeshwar!


Open Example SWF in a New Window

The SWF/Image Unique, Random, Serial Loader will try to load an SWF or an Image either randomly or in a serial order. In order to get to the next or a random SWF, the mother Splash looks up for the splashes with the method splashDone();. Thus all splashes will need to called the method _parent.splashDone() for this example to work. In the case of an Image, it is considered single frame and thus the method is automatically called. One may be able to customize the SWFs or the images in the splash.xml available in the download.

The SWF is published to version 6 to attain high compatibility with browser-flash-plugins. Coded in ActionScript 2.0 and adorned with Model View Presenter pattern. Well, you might as well look at it as a simple MVP sample.

This example is available with full source and documentation within Flex® by Example.

More to come.

Ted :)

Thursday, January 05, 2006

Flash - Dynamic Sound Example by Edwin van Rijkom

Edwin put this great sound example together. Depending on the location of a MovieClip, the sound will dynamically adjust the pan and volume of the sound.


Open Example SWF in a New Window


This example is available with full source and documentation within Flash® by Example.

More to come.

Ted :)

Wednesday, January 04, 2006

Flex 1.5 - D&D Tools Version 5 by Jesse Warden

Jesse has completed Version 5 of D&D Tools, a large Flex multi-user application for playing Dungeon's and Dragons online. D&D Tools is a very well designed, large, and well architected Flex 1.5 application. It contains many reusable components and concepts for Flex development.


Dice Roller Form

The application is designed to be run both within a custom projector and online using a Multiple Document Interface MDI in Flex. The windowing code in this application is very nice and provides custom windowing controls and a managed taskbar.


Multi-Sided & Multi-User Dice

The application utilized FlashCom Server for shared gaming and has two roles, DungenMaster and Players. Depending on the role you are using, you will be granted controls to edit gameplay. For example, players can share dice rolls over the network and the Dungen Master can reveal assets and certain portions of the board.


Action Panel

D&D Tools V5 completely removes the need for location based gameplay of a very complex and dynamic board game. I know Jesse has invested over 2+ years in its development ongoing. It is one of the most interesting Flex applications I have ever seen both in terms of multi-user applications and also in terms of Flex solutions. Jesse has solved some complex problems in creating this version of D&D Tools and having reviewed the codebase there are some very meaningful elements to reuse.

Jesse, amazing work as usual! :)

D&DTools Development Site and Prior Versions


This example is available with full source and documentation within Flex® by Example.

More to come and happy gaming!

Ted :)

Tuesday, January 03, 2006

Flex 1.5 - Container Activation by Theodore Patrick

This examples defines a method activateContainer to manage container properties in a generic way. Simply pass a target container to activate or deactivate it. The method consolidates management of many container properties and enabled state-like behavior in any container in Flex 1.5.

This method is very handy for dynamic layouts where you need to collapse and expand containers in place. Ideally you can call one method to show a certain container then call it again to hide the container. In many cases this model of activation enables you to use plain HBox and VBox rather than resorting to using ViewStacks with duplicate forms. I typically use this model to hide and expose optional form items or UI elements that are for advanced use and do not need to be seeing 80% of the time. Plus once you get the hang of it, you can see many layout options that were not tangible before.

There is also a subtle trick here that is worth noting. If you set a containers height or width to 'undefined', it will automatically resize to the minimum area of the containers children. This is very handy as you can adjust the view easily to accommodate an expanded or collapsed layout. Next time your struggling to resize a container to a minimum possible size, just set height and width to 'undefined'.


Open Example SWF in a New Window


This example is available with full source and documentation within Flex® by Example.

More to come.

Ted :)

Monday, January 02, 2006

Flex 1.5 - mx.validators.CurrencyValidator by Rich Tretola

Rich put together this example using Flex 1.5 and mx.validators.CurrencyValidator. The example accepts text into a TextInput control and validates the data as currency. Validators are essential for managing end user input and they are easy in Flex once you get the hang of them.


Open Example SWF in a New Window


This example is available with full source and documentation within Flex® by Example.

More to come.

Ted :)