Utah Web Site Designers


Apr 09 2008

Clark Outdoor Products - CA webpick of the day

web_webpick.jpg

Congratulations to Clark Outdoor Products for getting chosen as the webpick of the day.  We’re proud to have had the fortunate opportunity to do work for Clark Jungle Hammocks. They’ve been a great client that has given us a lot of trust and creative freedom.

About Communication Arts/Webpick of the day: 

“Webpicks features outstanding examples of Web design selected based on a combination of superior aesthetics, technical expertise, functionality and overall site experience.”

Communication Arts is the premier source of inspiration for graphic designers, art directors, design firms, corporate design departments, advertising agencies, interactive designers, illustrators and photographers—everyone involved in visual communication.


Feb 14 2008

AS3 Event Troubleshooting

Tag: Flash ActionScriptMerrick @ 4:39 pm

Alright to kick this off I will warn you; I’m a terrible writer. That being said let me get down to what this post is really about, the AS3 MOUSE_LEAVE event. Generally the syntax to add and use an event would be as follows:

stage.addEventListener(MouseEvent.MOUSE_LEAVE, someFunction);

function(event:MouseEvent):void
{
trace(”Your mom goes to college”);
}

Because MOUSE_LEAVE is an event using the mouse it would then belong to the flash.events.MouseEvent. That is also stated in the AS3 Documentation. This is incorrect, however, there is a simple fix - call the event from the class it is actually in… Not what it should be in. You would do it like so:

stage.addEventListener(Event.MOUSE_LEAVE, someFunction);

function(event:Event):void
{
trace(”Your mom goes to college”);
}

Notice the removal of “Mouse”. Interestingly enough when testing your SWF Flash Environment it won’t work. Don’t fret it will work beautifully when actually opened in the Adobe Flash Player.