Quantcast
Channel: polyGeek.com » Actionscript
Browsing latest articles
Browse All 5 View Live

SpringyTiles : break an image into tiles that spring to place

I've been playing around with Bitmaps/BitmapData and came up with this. The main .as class loads an external image and then uses a Tiles.as class to break the image into rows/columns and then randomly...

View Article


Image may be NSFW.
Clik here to view.

Actionscript needs an icon

Where’s the love? Adobe has all sorts of icons on that Wheel-o-icons of theirs. There’s even icons on there that I’ve never seen anywhere else. So what about good’ol Actionscript, eh? Really, where’s...

View Article

Using the DrawingAPI to make wavy circles and stars

Ingredients A bunch of Sprites 1 cup of graphics.lineStyle A dash of Vector3D and Matrix3D – adds an extra dimension to the dish ( ha-ha ) And most importantly a pinch of sin and cosine. view source...

View Article

Add commas to a number for readability

Do you need to display a large number and want to add commas to it for readability. The following code should work. Actually, it works for numbers that aren’t too big. Not sure when it starts to break...

View Article

Using graphics.copyFrom to CircleTheWagons

CircleTheWagons will take an arbitrary Sprite and repeatedly place copies of that Sprite around the perimeter of a circle. Presumably you have drawn something on the graphics layer of the Sprite...

View Article

Browsing latest articles
Browse All 5 View Live