Kategoriarkiv: ActionScript
Find out if a loaded swf is AS2 or AS3
Sometimes you build a swf that will load other swfs at runtime. Most of the time they are managed from a cms and the editor have no idea what so over what actionscript is. To them a swf is a … Läs mer
Fake sinewave
First of all, this is just an experiment. A very simple, yet useful experiment. Sometimes you want to create sinewaves but don´t want to go thru all that math for some reason. So, why not use something built into Flash? … Läs mer
Inverted Mask – The latest and greatest. A sneak peek.
Ok, the latest and greatest might be pushing it a bit. But I needed to update my inverted mask AS3-lib so that it supported animated masks, moving backgrounds et cetera. The code isn´t really ready for prime time use quite … Läs mer
Hur känns det att HTML5 kommer ta ditt jobb?
Efter som jag jobbar som flashutvecklare får jag ofta frågan ”Hur känns det att jobba med något som kommer försvinna?”. Även om jag vet vad de syftar på frågar jag ofta vad de menar. ”Ja men du vet, HTML5 kommer … Läs mer
stage.stageHeight return the wrong value by 100 pixels
I found a rather wierd bug in the Flash CS4 IDE today. When I traced the height of the stage Flash returned the value minus 100 pixels. My stageheight was 288 but Flash told me it was 188. Strange. Very … Läs mer
goSquare – Geolocation iPhone app gjord i Flash CS5
goSquare är, som ni kanske listat ut, en rippoff / parodi på GoWalla och FourSquare. I all enkelthet fungerar det så att den utnyttjar iPhonens GPS för att skicka koordinater till en databas. Dessa koordinater skickas även en sväng genom … Läs mer
