Donovan H main header graphic Art, Graphics, Development, and other things creative... Art, Graphics, Development, and other things creative...
left menu top

Catagories

#Actionscript #Art #Blender3D #Charity #Cooking #Design #Flash #Free! #Games #IT #Java #Javascript #Life #Music #PHP #Programming #Video #Web #Work

Posts

CSS/JS 3D Cube

FeedMeComics Beta Launch

Shadowrun: The Anarchy Wars

J-B Weld a Bicycle Peddle to the Crank Arm

Introducing PolySure

Cyber Monkey 3D

Famous Artists in Modern America: Raphael

Arts Shows and Photography

Controling the Google Map Iframe

The Dark Lord Rises

Custom Form Check Boxes - JavaScript Class

HTML Color Selector Class

Styling Snipt Code Embeds

Simple Accordion JavaScript Class

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

Ana's Corner

ConstitutinalWar.org

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

AnimatedImg - Javascript Class

CyberMonkeyDev.com Up

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!

Jordan

Grendel Babies

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

Revisiting Design

Howl's Moving Castle

End the Fed 2009

Chicago!

Timer Tools AS3

Free Wallpapers!

Flash to PHP communication

Dynamic Timer Event Handling

JavaScript XML node array

XML to JavaScript structure return

Appalachian Trail

AS3 XML class [dXML]

Let Oklahoma Vote

MurderOne Shirt App

Stelor Games

Universal Click Handler

R,G,B, to HEX and back

Snipt.net

Kirupa Art Contest, 2nd!

AS3 Preloader Class

Purple Cauliflower

Paul is FREE!!!

Wallpaper tutorial

My First C++ App

Vigilant Logos

Free Paul Jacob

XML picture displayer

Flash Web Site Template

Afterdeployment.org

Easy Effects AS3

Election Judge

Attack of the Frownies

Gootropolis On-line World

Ohio Valley Recovery Inc.

Symphony City

Challenger Learning Center Site

CLC, E-Missions Site



Click to show the previous background image. Click to show the next background image.
blog title



FeedMeComics Beta Launch

2/14/16

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!




AnimatedImg - Javascript Class

5/10/11
Some time ago I had an urge to create an animated set of .png images. Well, in the fun of experimentation I went a little over board and made a full javascript class that not only animates several different types of image files, but also offers a nice set of play control methods and event listeners!

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;


Makes this;

Animation Type
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.



Timer Tools AS3

10/5/09

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


Free Wallpapers!

8/25/09
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!
UPDATE!
You can find all my wallpapers in my art section.



Flash to PHP communication

7/29/09
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


Dynamic Timer Event Handling

7/28/09
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!


JavaScript XML node array

7/14/09
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!!!




XML to JavaScript structure return

7/12/09
I can't help it, I love xml. For those of use who started out as artists and designers, denied the privilege of touching the database, xml was our bypass. Anyways, this is nothing to special, but it is something very useful. This little function returns the proper xml format of you clients browser to your javascript.

example:
var xmlDoc = makeXML(); xmlDoc.load("some_doc.xml");




AS3 XML class [dXML]

6/1/09

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!


Universal Click Handler

5/1/09



R,G,B, to HEX and back

5/1/09



Snipt.net

5/1/09

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!


AS3 Preloader Class

3/17/09

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.


XML picture displayer

10/10/08
I am happy to announce I have come up with something truly useful for all of you who want to make a simple image slide show but don't want to do all of the heavy coding. My neat little XML based Flash app allows you to crate a slide show with an unlimited amount of images. Every thing is controlled through a nice little XML document that allows you to control the size of your images, positioning, and even offers a nice set of transition effects!
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.



Flash Web Site Template

8/22/08
Ok, for those who are new to AS3 or would just like to download a nice template to throw info into, download my example site and you will see plenty of good code commenting along with an easy to use and update interface!



Easy Effects AS3

5/23/08
Easy Effects is a new class I have created for Action Script 3, witch is aimed at handling transition effects for large scale projects. With the Easy Effects class all you do is name an object and the script will animate it for you! It is also very easy to add or customize effects as you see fit (if you know a little AS3).

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.