24
2012
Communication between PHP and JavaScript
While developing a WordPress theme there are numerous occasions when you will need to communicate between PHP and jQuery (JavaScript). The concept may seam hard but it is really an easy process. To pass a variable from PHP to JS you will use the same approach as with passing a PHP variable to CSS. First I will show you how to pass a simple variable and then we will try to pass an Array. Let’s [...]
3
2011
How to use cookies in jQuery
Last few months I have kind of drifted away from Flash (don’t worry I also have some Flash projects in my mind). Currently I am working on few WordPress themes so I needed to learn a lot of new stuff. I started my journey with web development from Flash so I didn’t have strong HTML/CSS background, I had to learn it now… I spend last few weeks on polishing my knowledge of HTML, CSS, PHP, [...]
7
2010
ActionScript 3.0 Basics Custom Events Part 3
Prerequisites: This part of our tutorial assumes you already have a fairly good understanding on AS3 classes and packages. If you don’t, please consider reading the Introduction to Object-Oriented Programming tutorial by Dru Kepple – start learning, then come back here to learn more :) You’re gonna write some ActionScript code, so you’ll need a good ActionScript editor that preferably supports syntax highlighting, such as TextMate for Macs, or FlashDevelop for Windows, although the Flash [...]
7
2010
ActionScript 3.0 Basics – Custom Events Part 2
As promised in the first part of my “ActionScript 3.0 Basics – Custom Events” tutorial, let’s now put our knowledge to good work and start creating our first AS3 custom event class! Prerequisites: This part of our tutorial assumes you already have a fairly good understanding on AS3 classes and packages. If you don’t, please consider reading the Introduction to Object-Oriented Programming tutorial by Dru Kepple – start learning, then come back here to learn [...]
16
2010
ActionScript 3.0 Basics – Custom Events Part 1
Disclaimer: This is by no means a complete reference guide to creating ActionScript 3.0 Custom Events, it’s rather a 3-part tutorial intended to help you get started with building your own custom AS3 events. The tutorial is structured as follows: 1st Part: A Quick Reminder About The ActionScript 3 Event Model 2nd Part: Getting Our Hands Code-Dirty – a.k.a. Building Our First ActionScript 3 Custom Event 3rd Part: Wrapping It All Up – or – [...]
6
2010
Complex AS3 Button Tutorial by Tsafi
Today we have a guest blogger in the house, his name is Tsafi, he agreed to contribute a tutorial for us so here it is… This is Complex Button class pure AS3 with a rounded corner, gradient fill, Tween color and Auto text size adjust. First you need to ask your self why do I want to make custom button base on Action Script? Well a few reasons: 1. You can reuse the class and [...]
22
2009
How to change color of Sprite or MovieClip
Some of you may wonder how to easily change the color of a sprite, the answer is fairly simply use ColorTransform class. While developing stock applications or websites you may run into this kind of problem. Stock files always have to be customizable, most of them are XML driven, those websites give a user (buyer of website/app) ability to quickly change the color of (almost) any object in the website. This short tutorial explains how [...]
15
2009
Making a simple button in AS3
I personally never use Button symbol when creating a button, I always use MovieClip or Sprites and then I add to it button functionality. For example the simplest button I can think of is a green rectangle. We can make this kind of button very easily bellow I show you how: Draw the green rectangle, you can do this either on the time line or using ActionScript, I will do this with ActionScript (if you [...]
28
2009
Video Player / Flex MXML Component
I have just uploaded on FlashDen my new product: Flex Video Player, you can easly add it to your project as a MXML component, customize the autoPlay, autoRewind, start Volume and source FLV . You can easly change the design or color. The UI is gerenated by actionscript code, also if you play around a litle bit you can change the width and height of the player. I have just uploaded on FlashDen my new [...]
28
2009
ActionScript 3.0 migration cookbook from Adobe
Adobe has released a migration cookbook for those of you who want to change from AS2 to AS3 :) This cookbook is great it contains many useful information about as3 and huge amount of examples. You can download it here in pdf format. I have switched from as2 a year ago, It was worth it! All of you eventually will have to switch to as3. I think sooner is better :) Please tell me what [...]


An article by










