Posts Tagged ‘flash’

Changing Flash stage size from ActionScript

Sunday, January 4th, 2009

Changing the stage size can’t really be done in a pure sense just with AS, unfortunately.... Read More

Menu and Banner from XML with AS3 and Flash CS3

Tuesday, December 23rd, 2008

I’ve just finished remaking the menu/banner of Sea Bees, one of the bigger diving shops here in Phuket. ... Read More

Detecting Flash player version with JavaScript

Thursday, November 20th, 2008

The other day I needed something to check which version of flash player a user has. It’s all connected to the new problems with uploading that were introduced in Flash player version 10. For some reason the solution we are using needs to know if the player is of version 10 or lower in order to act accordingly. For some reason this will solve a problem with IE6 having a player version lower than 10, don’t ask me why, I’m not the one implementing this. My only mission was to detect version.... Read More

Flash 10 and jQuery multi-file uploader

Friday, October 31st, 2008

Update: There is now a real world project using this multi file up loader, with automatic watermarking of pictures to boot: Image manipulation and watermarking in PHP with GD2.... Read More

Shockwaves in Wordpress with jQuery Flash

Friday, August 15th, 2008

The other day I had to figure out how to load a shockwave into a wordpress post, I decided to do it with jQuery jFlash. I always edit in HTML mode so I could just paste the following in my article:... Read More

Simulating Gravity in Flash

Thursday, August 14th, 2008

I’ve got some kind of compulsory disorder. Sometimes I just have to do some simulations, play with physics and get a break from normal web development. I haven’t had an “episode” in over two years now (view the last one), but a few days ago all this pent up need just had to be released and this tutorial is the uber-geeky result. Just touch the spheres with the mouse pointer, not too fast or you’re gonna break out of orbit!

... Read More

Limiting character types in input fields with Actionscript 2

Monday, August 4th, 2008

This is a small snippet that will force the input in a named input field (in our case it’s input_txt) to be numbers only.... Read More

AMFPHP in Flash CS3 with AS3 - jQuery.post style

Monday, July 28th, 2008

The other day I was asked to demonstrate how to setup AMFPHP in Flash. As I’ve already done it many times in Flash 8 with little or no problems I felt relaxed about it. The machine I was to demonstrate on only had Flash CS3, no problem I thought and fired up an Actionscript 2 project. The extra components you are required to install in Flash 8 are probably already integrated by now I thought and copy pasted code from an older project, hit ctrl-enter and got a debug window complaining about a lot of missing classes. Apparently you have to copy that stuff from somewhere in the Flash 8 program dir tree and put in the corresponding place in the Flash CS3 dir tree. We didn’t have any Flash 8 installed though…


So I started a new AS3 project instead and started googling my ass off for a quick solution (the designers I were demoing to started getting restless), which I found in the form of Oscar Trelles‘ nice AS3 Flash remoting example. I followed the tutorial but no it didn’t work. The staging server had .htaccess with password protection that ruined things this time. I had to give up, I told them I would get back to them and here I am!... Read More

Extendable Flash Banner with jQuery Flash

Saturday, July 26th, 2008


Yesterday I had to figure out a way to make an extendable banner in Flash that when extended covers the content. The main idea with the approach I took is to load the shockwave in a div tag that is positioned above the content and have a movieclip in the shockwave for instance move down when the mouse is positioned over it.... Read More

Flash Banner part 2 - The ActionScript and Shockwave

Saturday, July 12th, 2008

See the prior tutorial on what kind of information the ActionScript in this tutorial needs and how it is generated.... Read More