Posts under Tag: code
Pass Values to a SWF with JavaScript and SWFObject

SWFObject provides a simple way to pass values to a SWF using only JavaScript: no server-side code required! In this tutorial, we’ll build a fundraiser meter that can easily be updated with the amount donated so far, without needing to recompile the SWF.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
Drawing with JavaScript in HTML5 vs ActionScript 3 in Flash

The same icon is drawn in JavaScript on an HTML5 canvas element and in ActionScript 3 in Flash. The differences in code is discussed after each step. The source code for each option is included for download.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
jQuery – How to Create a News Ticker with just a few JavaScript lines?

We’ll be using jQuery for creating the News Ticker which allows us with only a few code lines (eleven in our case) to obtain outstanding effects, which consume few resources and give the extra touch to our website.
Thanks to this simple article you will learn how to create a News Ticker. All we need is (X)HTML, CSS and a little [...]

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
CSS DIY Organization

I’m surely no different from you in that I want to be able to come back years later, pick the code up, and understand exactly what is going on.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
Using Twitter’s @Anywhere Service in 6 Steps

Last week, Twitter released @Anywhere, which, with only a few added lines in your code, can bring all of Twitter’s platform functionalities into your website. @Anywhere can allow for anything, ranging from converting a simple @username into a clickable link, to even creating new tweets directly from your personal site. I’ll show you exactly how to do so in this [...]

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
How jQuery Beginners can Test and Improve their Code

jQuery’s arrival has made the process writing JavaScript laughably easy. But, you’ll notice that making small changes to your code improves the readability and/or performance significantly. Here are some tips to get you on your way to optimizing your code.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
A Better Way to Build Flash Banners

Banner development is often plagued by multiple files, fragmented code and messy timelines. This tutorial will show you how you can create a project template to serve as a solid base which will help you develop robust banners quickly, freeing you up to focus on bringing the creative idea to life.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
Optimizing Your ActionScript Code

Tips how to optimize your ActionScript 3.0 code.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
Pure CSS Vignette

Our latest posts have mostly been about design, so today we’re going full on code monkey with a cool CSS3 technique: Vignettes! The technique involves a few divs, a bit of simple CSS, and a whole lot of fun.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments
Making Flash games with FlashPunk – Colliding with Tilemaps

In this tutorial we look at some collision detection code to collide entities with Tilemaps. Demo and source code included.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
By RSS with 0 comments