PostsCSS/JS 3D Cube
FeedMeComics Beta Launch
Shadowrun: The Anarchy Wars
J-B Weld a Bicycle Peddle to the Crank Arm
Cyber Monkey 3D
Famous Artists in Modern America: Raphael
Arts Shows and Photography
Controling the Google Map Iframe
The Dark Lord Rises
HTML Color Selector Class
Styling Snipt Code Embeds
I Stand with Rand
Glen Bradley for NCGOP Vice-Chair
CSS 3 @(at) Rules and Font Embeding
Happy New Year, New Site!
Making a Simple House with Blender 3D
Happy, Mic Check 121212
Making Mountains with Blender 3D
Bash ~ indexOf
Midwife Advocates Website
My Own City - Part 2
Virtual Box VS. VMware
My Own City (In Blender 3D)
The Return of DonvanH!
Geishas and Watercolor
More Vector Cartoon People
Basics of Graphic Optimization for Flash
Veterans for Ron Paul 2012
Dynamic Draggable Divs
AK Donovan Sole Brutha ~ Time Lapse
Disengaged Reality ~ Time Lapse
HTML5 Canvas Drawing
Charlotte, Photography, and Penguins
North Carolina CPM Rally
DJ The Sypher @ Heaven and Hell
Making a World... Map
TDI Site Complete
AS3 vs HTML5 Drawing
Poked in the Face ~ Time Lapse
WeAreChangeDC.org BETA up!
SamMenkmeller.com is GO
Prince of the Pavement
Speed cooking for 100
AS3 to Clipboard to JAVA communication
Lighten Up ~ Time Lapse
AmbieMac.com is Up
Howl's Moving Castle
End the Fed 2009
Timer Tools AS3
Flash to PHP communication
Dynamic Timer Event Handling
AS3 XML class [dXML]
Let Oklahoma Vote
MurderOne Shirt App
Universal Click Handler
R,G,B, to HEX and back
Kirupa Art Contest, 2nd!
AS3 Preloader Class
Paul is FREE!!!
My First C++ App
Free Paul Jacob
XML picture displayer
Flash Web Site Template
Easy Effects AS3
Attack of the Frownies
Gootropolis On-line World
Ohio Valley Recovery Inc.
Challenger Learning Center Site
CLC, E-Missions Site
Over the years I have done a lot of experiments using HTML canvas elements, so when a friend told me there aren't enough good web comic aggregates it gave me an idea. Not only would I make a site where you can find links to all kinds of great web comics but you can also make your own!
FeedMeComics.com features all of the tools you need to get started making comics and sharing them on-line. You can either upload your own images or use the on-line drawing tools built by yours truly to make your comic and share it with the world. Also, membership is free and unlike some other websites I don't make any claim to your work, even if you used my tools to create it.
So whether you are an artist or just like to read some comics from time to time, sign up on FeedMeComics.com and enjoy!
Ok, lets go over a little of how it works, shall we? First lets create a simple animation of a ball bouncing using. There are only three basics things we need here. One, an array of image files. Two make sure my animatedImg class is included. Three, make a call to the passing in the array, so this;
Notice how ball one appears to be only playing half of the animation while ball two bounces smoothly up and down. The set of images we have passed to our AnimatedImg object is in fact only half a ball bounce. When creating an AnimatedImg you can dictate how it plays from the start. there are 7 types, and they are referenced through a 0 index array. The values are; 0 = "stopped", 1 = "playOnce", 2 = "repeat", 3 = "playBackwardOnce", 4 = "playBackwardRepeat", 5 = "forwardBackwardOnce", 6 = "forwardBackwardRepeat".
Methods and Events
Now for the exciting stuff adding interaction to your AnimatedImg. For this example I dug up an old favorite, Chance the original character from my old Skate-er-Guy game. Click on him and he'll do a hard flip for you. Click on him again and he'll reverse his play direction! Anyways, here is the code used to make the skater interaction.
There is some slight buggyness with mouse based events I'm trying to work out. Currently, the mouse events stand a chance of not registering from what I believe is the click happening as the image is changing frames, thus the AnimatedImg has no clickable area for that brief instance. Anyways this project is about to be moved over to Cyber Monkey open source and hopefully I can get Dan and some of the other monkeys to join in and make it shine.
Well I'm not into super gigantic posts so I'll cut to the chase, if you would like to use this class for a personal project or to just play with feel free to DOWNLOAD THE EXAMPLE PACKAGE. If your going to use this for some corporate business, please e-mail me and let me know.
Lately I have have found myself wanting to store functions to be called at a specific time, at differing intervals, different functions, and all kinds of complicated timer events. I have standardized the way I use timers with a base class called TimeTools that has two different ways it expands on the basic usability of time based events. Any function or series of functions are easily set to fire at any given time.
The functions are fully dynamic, the times are fully dynamic, and you can add any parameters you want. The first method in this class is the delayCommand which stores a function, call time, and parameters to be applied. The second is the timedCommandStack which creates a TimedCommandStack object. A TimedCommandStack executes an array of commands in order in a set interval.
DOWNLOAD EXAMPLE PACKAGE
Over this past year I have had a habbit of making desktop wall paper. Some of them are pretty cool and I thought to myself, why not share these with the folks who actaully visit my site. So here they are for you to download and use(click on the thumb nail then right click on the bigger image and save as). No water marks, restrictions, or any of that non-sense, enjoy!
You can find all my wallpapers in my art section.
There have been a lot of people asking me about flash to php communication. Mainly the common get/post methods. Here is an example I threw togeather for someone and figured I might as well share it on here. Below is a working example (kind of boaring I know). Feel free to download the zipped up example to see the guts of what is going on here.
PHP to Flash Example Download
So, I had a bunch of things that needed to happen in order one after the other, yet there was only one event that fired off all the functions. Well of course I needed to come up with some clever enter frame or timer event. For reasons that are rather trivial, yet valid I have chosen to use a timer event. So then what do I do with the list of functions I want to call? Well lists are just arrays. Ok, what about the parameters for the functions? Ok, let's make our main array multi-dimensional, and the sub-arrays can be a function with parameter values simple right! Have a look for yourself; I'll probably expand this later into a static class you can just throw operations at.
UPDATE: I did expand this and make it into a nice little class package. View the post or just download the class package!
To accompany the makeXML function, here is is a method I use to get an array of node values by node name. I do realise I need to put this in a packaged product to help understanding of the js-xml methods. But this should prove helpful to some I hope. GRAB THE VALUE OF SEVERAL NODES!!!
var xmlDoc = makeXML(); xmlDoc.load("some_doc.xml");
So, since I do a lot of work with XML, I have made a actionscript3 class that makes it easy to load and transverse XML documents. This AS3 class package contains features of both the XMLList and XMLNode objects. While it is a little heavy, the ease of use greatly makes up for that. I call it dXML which is short for "dynamic XML" and "Donovan's XML". I have been using it for the past couple months and have recently decided it's good enough to share! So, please download and use my class, and please send me comments on how to make it better!
DOWNLOAD EXAMPLE PACKAGE!
WOW!!! I have found a truly awesome site for the modern traveling developer, snipt.net. The idea is actually rather simple, you copy your code to the site and it displays your code in wonderful syntax highlighting. Then if your ever out on the go and can't quite remember how you structured some efficient piece of code, just go to your Snipt account and look it up!
You also have a choice weather the code you add to the site is public or private. In the spirit of open source I lean towards making all my snips public in the spirit of open source! I am already in love with this site, it has a very clean look and is easy to use, and for all of you who have been wishing I would share code more often, well now every time I add to my snipt account I will also post it to my site, wow, that mean I'll be updating my blog A LOT more. Catch ya in the biteArray!
Ok, so who is tired of making a preloader for every mid to large size project? Yes it is essential to have something pretty for people to look at while they are waiting for your page or other info to load. But wouldn't it be nice if setting up a preloader was only a couple lines of code? YES!
Soooo, I have made a rather slick preloader class will track anything you tell it to (well so far only The Stage, MovieClips, Loaders, and Sound), just by calling Preloader.trackLoading(your_obj);. All the public functions are static, so they can be access directly by the class name + function name. The super nice part is you can call Preloader.trackLoading(stage); on the your stage and let the preloader do all the work, so anytime you loaded a moive onto your stage the preloader knows and will kick on and do it's thing.
Sound is a little different, I am still trying to capture where in the event phase a sound starts loading, so for now anytime you load a sound via script you would have to tell the preloader to track it manually like, Preloader.trackLoading(ur_sound);.
So, you probably are wondering how simply tracking the data will lead to your own custom pretty loader. There are two stored functions by the preloader class, onLoaded and whileLoading and these are read/write. Well, anyways, if your really interested go ahead and download the class and it's example files.
Though I still consider it in it's beta version, it is fully functional. I haven't had many outsiders test it yet, but hey that's what your for! So download it, try it out, and write me back telling me what you think! I need feedback to make this better.
I make use of some great classes by Jack Doyle, TweenLight and TweenFilterLight you don't have to use these but the standard set of transitions relies on them heavily, for your convenience I have included these files in the package! Hey why not download the Beta version and tell me what you think. Download EasyEffects example package.