Quick actionscript 3 lightning effect
Posted: February 11th, 2009 | Author: jos | Filed under: Actionscript & Flash | Tags: Actionscript & Flash, Flash | 4 Comments »Here’s the source
Here’s the source
NRG³ heeft samen met Coca-Cola Zero een grote codepromotie opgezet rond de 22ste James Bond film Quantum of Solace. Met de unieke codes op de actieverpakkingen kunnen Coca-Cola Zero drinkers een exclusive Bond experience winnen: racen in snelle wagens of mixen met de sterren tijdens de première van de film in Nederland. Wij ontwikkelden een concept met een spannende Bond touch, waarbij de website zelf al een Bond experience biedt. Coca-Cola Zero drinkers checken in de rol van secret agent hun code in een explosieve 3D-omgeving op www.coca-colazero.nl.
Quantum of Solace gaat dinsdag 4 november in Nederland in première. Drink Coca-Cola Zero en beleef al voor de première je Bond experience!
We’ve been having many problems lately with our flash applications, communicating with webservices. Since a couple of weeks (maybe even months?) our flash application did not get a response from a webservice. Therefore, the request was not closed properly and we got our fallback timeout window continuously.
And then I read a snippet from this blogpost that it might have to do with the crossdomain policy file settings. I checked the section concerning http-request-headers, inserted these into the crossdomain policy file, and everything worked as normal immediately.
I don’t have a definite answer yet to why this all happened, and why one has to specify the headers next to the domains now, but I suspect a (security?) update in the flash player lately could have triggered this effect.
Het enige dat nog ontbreekt aan (de standaard) Flex Builder 3 is een subversion client en een link naar Flash CS3 om direct te kunnen compileren. Je wilt namelijk ook gewoon fla bestanden met libraries vol graphics kunnen maken en tegelijkertijd toch een goede as3 editor hebben. Hier vind je de oplossing voor een complete IDE, inclusief Subclipse voor het versiebeheer (in Windows).
Je moet nu alleen zorgen dat je fla dezelfde naam heeft als het project. Ik ging er in de twee-na-laatste stap van punt 3 ook vanuit dat je je fla bestanden in een fla map hebt staan. Deze kun je uiteraard naar hartelust varieren, als je dan bij de external tools die map maar gelijk houdt.
Hoe dit werkt? Het .bat bestandwordt gerund, deze maakt een tijdelijk jsfl bestand aan waarin een simpel script wordt geschreven om je fla te openen en te testen. Simpel, maar zeer doeltreffend!
met dank aan dit artikel
Having helped beat the French by attending the Adobe onAIR 2008 tour in Amsterdam, I’ve been AIRborne! What a fantastic product! Here’s the first produce; a little app that gets the (Dutch) iBOOD offer of today: AIRBood!
Thanks to AIR, this single app will now run on Windows, MacOS and Linux!
When consuming webservices with flash, you’ll probably use the mx.services.PendingCall class to handle the results from the webservice. After a long struggle, there appeared to be a bug in the PendingCall class. When your date object is totaly empty, check if the webservice includes milliseconds in the dateTime object. The PendingCall class wants these milliseconds to be there, otherwise the thing doesn’t parse and returns an empty object :-/
see also: this post
Sjees! this has taken almost 2 days of the project! Hope this helps you not to run into this
Here’s an example of a transition that can be achieved by cutting op an image into bitmap ‘textures’ and use those for animating. I commented the script so you can easily change the behaviour
mind you: the sources need the FuseKit from MosesSupposes installed
I am so happy with my Roku SoundBridge! And now I found out there’s a Roku control protocol with which you can connect through a socket!! Yeeeha! You can then fully control the SoundBridge! The possibilities are endless.
Ofcourse, being a Flash developer I could not resist trying to do it in Flash. And it works beautifuly. Here’s the flash sources for anyone who wants to take this as a start or learn from it. It’s AS3, because it has to connect through a socket. It’s the very basic functions (previous, stop, pause, play, next, volume slider and powerbutton). But it’s the beginning of something beautiful. There are sooo many commands to use in the RCP!

Lemme know if you’ve created something out of this. I’m very curious!
als we nog steeds alles uitprinten om naast de computer te lezen wil ik ook gewoon t-shirts online kunnen bekijken in een rek! =P
mijn eerste stapjes op het gebied van digitale kledingrekken:
kledingrek