Changing Flash stage size from ActionScript
Sunday, January 4th, 2009Changing the stage size can’t really be done in a pure sense just with AS, unfortunately.... Read More
Changing the stage size can’t really be done in a pure sense just with AS, unfortunately.... Read More
I’ve just finished remaking the menu/banner of Sea Bees, one of the bigger diving shops here in Phuket. ... Read More
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
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
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
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
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
See the prior tutorial on what kind of information the ActionScript in this tutorial needs and how it is generated.... Read More
Update: Toggling the collation in the settings for the whole database, in for instance PhpMyAdmin has been known to solve quite a few problems.... Read More
Update 01/11/2008: There is now a new Flash only version that works properly with version 10 of the player.... Read More