I am loving the stupid names I’ve been using for these posts. Pretty soon you’ll have no idea what I am talking about.
In my last post, I showed you have to create a new class and the topic of access modifiers was mentioned. I would like to expand on that topic and use it to introduce a new one for class creation.
As you can tell by the horribly cheesy name of this post, this one is about classes in AS3.
For me the move to AS3 also meant the move to doing everything in class files as opposed to writing it in the on a frame of the timeline.
This was very confusing and difficult for me as I was not only learning the new syntax of AS3 but also was thrown head first into event life cycle, display list issues and other things that come along with writing classes and class packages. Stuff that I had never dealt with before (or at least didn’t know I was dealing with it).
This will be the first in a series of posts on classes in Flash and I will be learning as much as you do I’m sure. So here we go.
Continue reading “A Touch of Class”
My wife runs a very successful clothing store in beautiful Port Carling, Ontario called Ohm Life. She asked me to help her create a website that was simple, elegant and captured the feel of her store. We came up with the look by mixing cutout elements with splashes of watercolor texture
I am very proud of the logo I created for Ohm Life when the store was first opened. It has appeared in many different places and I have created all the print elements for them. We have done, awnings, door and window graphics, water bottles, business cards, and hang-tags. Continue reading “Ohm Life”
Opening a URL in Action Script 3
Navigating to a URL in AS 2 was pretty straight forward.
As with most things in AS3 that has changed a fair amount. It is no longer one line of code. I’ll show you everything and then walk you through it Continue reading “Going Somewhere?”
I have tried the blog thing a couple of times without success. I’m just too busy and really no one reads this stuff anyway. I figure since I am paying for this server this time it’ll stick … maybe.
So here is my site. RyanWelcher.com. Enjoy.
We were very excited when Northland Properties contacted us to give Dennys.ca a face lift. We dove right in to create a very fun and interactive experience. The home page had seasonal themes that would have snow falling on the elements, leaves blowing in the wind, or grass and flowers growing.
We created 2 games for the D-Zone, the portion of the site created for kids, that included an interactive colouring book and a memory style game based on menu items.
UPDATE: The current Dennys.ca has undergone another face lift to align the branding closer to that of it’s American counterpart. We did updated versions of the colouring book and memory game as well as added a simple Jigsaw Puzzle. Continue reading “Denny’s Canada”
My business partner and I had the opportunity to work with SRO/Anthem to create a new online presence for the band Rush. The original site was a mish-mash of elements that had been added onto by various other service providers and we were tasked with creating a high-impact site that would streamline the site but still allow for fans to access over 30 years of information about the band.
We created both a Flash and HTML version of the site to accommodate users of all bandwidth limitations as well a custom CMS to allow for easy updates to both sides of the site.
The initial launch was timed with the release of the album Snakes and Arrows and there was a sneak peek of a new track that was offered exclusively online.
So the first thing you may have noticed is that everything in AS2 that had an underscore in front of it no longer does in AS3. That is a MAJOR issues for all of us lazy coders that just want to copy and paste old AS 2 code into an AS3 document – it will fire all sorts of errors such as this one:
Warning: 1058: Migration issue: The property _x is no longer supported. Use the DisplayObject.x property instead.
Continue reading “Syntax”
If you’re like me you probably never used Event Listeners in AS2. Not unless you needed to do something “crazy” (insert sarcasm here at how amateur I was then, I’m only slightly less amateur now but that’s besides the point)
Well AS3 is all about Event Listeners, well Events actually. Actionscript is an Event based language. When something happens it dispatches an Event of some form and you have to react to it to make things go.
Wiring up buttons is a great way to introduce the concept of listening for and responding to events and has the upside of being THE MOST BASIC THING YOU EVER HAVE TO DO when building a website or anything that requires users to interact with an interface. So lets get started because we have clients waiting.
Continue reading “Buttons and Events”
Using the Hand Cursor on a button
In AS2 we took for granted that when we assigned a mouse event (onRelease, onPress, onRollOut etc) to a movie clip Flash by default would change the cursor from the arrow to the hand when the user interacted with that movie clip.
In AS3 that is no longer the case. You have to implicitly tell the clip that it should work that way. Luckily, it’s a very easy step.
myClip.buttonMode = true;
That’s it. Your done.
Personally I like the change, you have to want the clip to work that way and take the steps to do so. I know when I am doing something quick and dirty that it’s a pain but as a programmer I like the idea that I control the functionality.