Downloads:
Note: I'd consider most of the downloads on this page as historical curiosities at this point, since they use rather old versions of software. I'll leave them around as sort of museum pieces I suppose.
Please see the disclaimer
at the bottom of this page before downloading or using any
of the examples provided here.
- TextField MaskFormatter Class - This is an Actionscript
class that enforces a mask on an input textbox. It extends the textfield
prototype, so to use it you could simply type
myTextfield.mask("(###)
###-####)");. Works pretty well, though I think a bit
processor intensive. Documentation to come.
Preview
| Download source
- FInputText Component
This Flash MX component brings together some of the most
useful methods of handling input text fields, including setFocus animation,
bevelled background, word completion, FStyleFormat support, a standard
FUIComponent API, and data validation.
Preview
| Download FLA |
View tutorial/notes
- FlashCoders BookMarklet
A little bookmarklet to do a quick search of the flashcoders
archive. Just drag this link on to your links bar in Internet
Explorer:
flashcoders
search
Should work with other browsers as well, though not tested. It's a
hack of the Google version, so just follow the instructions here.
- artsight.net:
complete Flash MX web site source code.
I spent some extra time on the above site working on my design
patterns and building up a library of Flash components/classes. It's
far from perfect, but if you are having a hard time getting started
on organizing Flash MX apps, this might be a good place to start.
There are two hacked listbox components included that you might want
to use. The 'essays' page of ArtSight.net uses a 'floaterBox' component,
while the 'gallery page' uses a rebuild of Sam
Wan's Fisheye Menu - a 'Fisheye Thumbnail Box'. Both make use
of the standard FUI component structure and dataproviders! They aren't
quite flexible enough for production level, but I plan to turn them
into .mxps later. There are a number of other classes and components
included you might be able to reuse as well. It is also a good example
of using Paypal in your site in a non-intrusive way, and includes
some Paypal components. You can read an essay I wrote using artsight.net
as an example: Presenter as Timeline
Manager in Flash MX. I'd love to hear
from you if you have questions or have reused them in your own
work!
-artsight.net
source code
- Flash Scroll Wheel Manager
I'm making available the javascript I use to allow scroll
wheel support for scrollpanes etc in Flash 6. This javascript only
works with Internet Explorer 6+, so it isn't very flexible, but at
least it is something. If you can develop for Flash 7, then scroll
wheel is already supported. I didn't write the javascript, but the
prototypes for the FUIComponents I did. The nice thing about these
prototypes is that they will scroll a different amount depending on
how fast you roll your mousewheel (calculating wheel delta).
-wheel manager.as
- CSV parsers in Coldfusion MX
Working as the developer at Ibulient
Research required me to set up content-management systems that
would allow them to upload mass amounts of data at a time. Simple
form-based management would take too long for the initial data entry,
and so I set up a number of pages that would parse Excel-generated
.csv files, since their data was in this format. Here are a couple
of coldfusion pages that do so:
- A simple Coldfusion Component I use to convert a csv file into
a Query object. The upload page also makes use of WDDX to pass
the data to a user confirmation before database insert.
- csvParser.zip
- Data Massaging Foreign Key IDs with Flash MX:
A common problem with allowing a user to fill out an excel file
instead of using a form is the lack of control one has over database
fields that are foreign keys to a separate table. With a web form,
one would have a select menu to constrain the user's choice. One
solution for excel files is having the user look up IDs in a separate
list. In this example, I allowed them to enter in free text, and
then used a Flash movie to check each element against the database.
If the field's text wasn't already present in the foreign key
table, the user would be given the choice to either insert a new
row, or select a pre-existing one. The Flash movie would then
use Flash Remoting to retrieve the foreign key ID. Also an example
of using WSDL and FlashVars to initiate an object. If I use this
approach again, I plan to turn this file into a Custom Tag.
-Advanced
CSV parser / normalizer
- I also have a number of PHP examples. Feel
free to email me
if you would like to have a look at them.
Disclaimer: All files on
this page are given as-is, although I'd be glad to hear
from you if you would like to discuss a consulting contract. They
are given with the understanding that they are not perfect, and indeed
often only half complete, but are given with the hope that you will
be able to make use of parts of them in your own projects. A majority
of the code has already been borrowed from other open-source examples,
so I don't make any claims to originality. On that note, all elements
provided are copyright Diorama
Design, including the structure of information provided by Ibulient,
and the design of ArtSight. Enjoy! -Dylan Marks
|