background preloader

Tutorials and Tips

Facebook Twitter

Reintroducing.com Blogging Receptacle. Reintroducing is the online portfolio of Matt Przybylski, an interactive developer from the Chicagoland area specializing in front end development. I'm currently employed as a senior interactive developer at Sapient and have freelanced in the past for companies such as Razorfish, DraftFCB, TribalDDB, and Arc. My previous focus was on the Flash Platform and I've now moved to HTML/CSS/JavaScript as my primary languages of choice. I'm always open to learning new technologies as I believe you've never learned enough in this evolving industry. Outside of computers my hobbies include spending time with my family, playing/watching basketball, woodworking, cheering for the Chicago Bulls, watching movies/TV shows, and playing video games (you know, the usual nerd stuff). I love to travel and try to take one vacation a year to unwind and recharge. If you'd like to get in touch and speak about freelance opportunities, please do not hesitate to use the contact form below.

Build an ActionScript 3.0 HTML Box with XML and CSS Support. In this tutorial, we'll create an HTML Box which parses content loaded from XML and CSS.

Build an ActionScript 3.0 HTML Box with XML and CSS Support

The perfect PHP clean url generator. Clean url generators are crucial for search engine optimization or just to tidy up the site navigation. They are even more important if you work with international characters, accented vowels /à, è, ì, .../, cedilla /ç/, dieresis /ë/, tilde /ñ/ and so on. First of all we need to strip all special characters and punctuation away. This is easily accomplished with something like: function toAscii($str) { $clean = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $str); $clean = strtolower(trim($clean, '-')); $clean = preg_replace("/[\/_|+ -]+/", '-', $clean); return $clean; } With our toAscii function we can convert a string like “Hi!

The result will be a-piata-is-a-paper-container-filled-with-candy, which is not cool. There are many ways to do this, maybe the easiest is by using iconv. Style htmlText with CSS in your Actionscript. Overview In flash you can have text areas that are rendered as html.

Style htmlText with CSS in your Actionscript

You can also apply formatting styles to this html. This will show a simple example on how to apply css to html text in flash. I’ll do a simple anchor tag style to show you the ropes. We’ll style a link to be underlined and then when you hover or mouse over it, we’ll change the color. Steps Example Actionscript. Logan Buesching » Running AIR applications w/o installing AIR on Linux. Recently, Adobe released an AIR client for Linux.

Logan Buesching » Running AIR applications w/o installing AIR on Linux

Some people complained about the need for root privileges for not only installing AIR itself, but also for installing AIR applications. Using Google Maps’ New Features for Flash. After such a positive response to my first tutorial Implement a Map Using the Google Map API for Flash I decided to write a second.

Using Google Maps’ New Features for Flash

Since that first tut the Google Map API has been updated, allowing developers to (amongst other things) add 3D viewing to maps. This is a great feature and during this tutorial I'll explain how to use it. Also, lots of people requested an explanation for adding custom markers; that's the second thing we'll discuss here today. Step 1: Download The SDK Component I won't build further on our previous map because we need to download the new Google Map Component. Step 2: Install the SDK Component. Tags support in htmlText flash as3. 1. anchor tag <a></a> Three attributes are supported: 1.1 href: URL can be relativl or absolute.

Tags support in htmlText flash as3

Notice: the absolute URL must begin with “ otherwise, flash player will regard it as relative URL. 1.2 target: define the name of target loaded page, options: _self,_blank,_parent,_top; _self means current window and current frame _blank means open a new window _parent means the parent of current frame; _top menas the highest frame of the current frame; Writing an ActionScript 3 Tween Function - Flash. Now that we have set the foundation for the Tween animation in our FlashR project, we are ready to code the ActionScript that will run the animation.

Writing an ActionScript 3 Tween Function - Flash

First, we will add an Event Listener to listen for a mouse click. When a mouse click occurs, a function will run that will create the Tween. Open the project that you have been working on with the previous tutorial and let's get started. First, we need to decide what will start the Tween animation. Will it start as soon as the Flash file loads into the browser or will it be started by a certain event. This Event Listener will call the showRec function when a mouse click occurs. "x" This argument identifies the object's property that we want to control, the x location of the object. Back.easeInThis argument identifies the type of easing that we want to use. Back.easeInNotice that the Back class is followed by a period and then the easeIn method. 100This next argument will give Flash the initial x location for the object on the stage.