Stop an Animation/Video From Playing When Hiding the Object

By default in HTML, if a Flash object is hidden, the DOM will not play nor load the animation. However, what happens if you have some tabs that hide the animation or video? This was an issue I ran into when building my portfolio. After doing some digging I found a solid solution that worked well for stopping the animation or video. Continue reading…

Customize a Category Page With Genesis

Lately I’ve become a big fan of the Genesis framework for WordPress. It simplifies so many things for WordPress development. One thing that I recently needed was to apply specific categories a template page. Basically I had many categories that specific introduction content that I needed on the page. It was necessary to keep all other aspects for each category utilizing the same template. I found it was quite simple to implement once I learned some key features that Genesis has built in. This tutorial assumes that you are already using the Genesis Framework. Continue reading…

Converting a Flash Animation to an HTML5 Canvas

I recently created this Flash animation at O.C. Tanner that had a fun design by Steve Newman.

I thought I would challenge myself and see if I could convert it to HTML5 using a JavaScript library by Grant Skinner called EaselJS. Easel is appropriately named since it makes holding the canvas highly manageable. It basically simplifies writing to the HTML5 canvas; it is nearly as easy as doing it in Flash. I took all the assets I used in the Flash project and utilized placement from the Flash interface and animated the elements within the canvas with JavaScript. Some of the animation was simplified, but for the most part I think it turned out quite well. I even tested it on my iPad and it works great (minus the sound not working).

Reward Matters Continue reading…

Customizable jQuery Drop-Down Menus

Drop-down menus are standard in websites to easily organize site navigation. By applying a few lines of jQuery and accompanied with some CSS, you can easily create some slick looking menus. A while back I wrote about “Generating a Dynamic Selection DropDown with jQuery and AJAX.” For simplicity of that tutorial, I didn’t focus on drop-down menus, but you could easily apply the dynamic content driven in that tutorial to the methods explained here.
Continue reading…

Using JavaScript to Communicate With Flash

JavaScript to Flash

Lately I have been working on this project that requires JavaScript to communicate with the Flash on the page. It is something that I have done in the past, but this time I was running into issues that were giving me problems. Sometimes the issues were in all browsers, but many times the errors were only showing up in Internet Explorer. Here I will go through the steps to properly set up your Flash and JavaScript and explain a couple ways to avoid seemingly erroneous errors so communication between the to can take place. Continue reading…

How to Clone Objects in AS3

Cloning simple objects in AS3 can have great advantages when creating an application. It creates shortcuts for recreating an object. I have put together a simple example of my exploration with cloning TextFormat and TextField objects. These methods can be applied to cloning other objects as well. Continue reading…

How to Animate a Line Drawing With Flash Using Actionscript 3: Part 2

If you haven’t read Part 1 on Animating a Line Drawing, I suggest you start there. It goes into the basics of recording your animation using points with the click of a mouse. Here, in Part 2, I have decided to go into more depth of enhancements of the line drawing tool for greater control while experimenting with options and certain effects.

Continue reading…