Skip to content

cjgammon

whatever i feel like writing about

Tag: as3

Thoughts about hack-a-thons

By cjgammon Last updated: October 14, 2005April 29, 2022

So I attended a game jam this weekend.  I  haven’t done any flash programming for about 2 years, so it was fun to take a trip back into the past and write some Actionscript again.…

Read more of Thoughts about hack-a-thons →

Posted in actionscript, adobe, games Tagged actionscript, as3, development, flash, game, stage3d, starling

CSS Sprite Map Generator for background-image

By cjgammon Last updated: October 14, 2005April 29, 2022

So yesterday I thought it would be useful to have a tool that generates CSS classes based on defined slices of an image.  There are tools out there that do this but I wanted to…

Read more of CSS Sprite Map Generator for background-image →

Posted in web, workflow Tagged as3, css, linkedin, web

Flixel Animated TileMap

By cjgammon Last updated: October 14, 2005April 29, 2022

So I was putting together a game where I wanted an animated tilemap in flixel, it did not seem to have this functionality natively, so I created a class for it and thought I'd share.…

Read more of Flixel Animated TileMap →

Posted in actionscript, games Tagged actionscript, as3, coding, flash, flixel, game, linkedin

flash punk 101

By cjgammon Last updated: October 14, 2005April 29, 2022

I've been playing recently with Chevy Ray's FlashPunk library, which can be found here. It's a 2d game library built on the premise of bitmapped data for all the speed and performance benefits that comes…

Read more of flash punk 101 →

Posted in actionscript, games Tagged as3, coding, flash, game, linkedin

flash cs4 loading font from external swf

By cjgammon Last updated: October 14, 2005April 29, 2022

Here is a pretty basic overview of how to load fonts from a .swf, great for sites that have many languages, particularly asian characters, where you may need to specify characters or fonts while not…

Read more of flash cs4 loading font from external swf →

Posted in actionscript, web design Tagged actionscript, as3, flash, font, linkedin

translating flash site text and audio part 2

By cjgammon Last updated: October 14, 2005April 29, 2022

Step 2:Audio Class The Audio Library Class, this is a place to store all the references to the audio files to retrieve them and play them back with the getAudio(id) method. It loads the audio…

Read more of translating flash site text and audio part 2 →

Posted in actionscript Tagged actionscript, as3, flash

translating a flash website text and audio

By cjgammon Last updated: October 14, 2005April 29, 2022

Step 1: Text Class The Text Loader Class, This is a class used for all the text in the site. It takes a few parameters, most notably your model, or whatever class you are storing…

Read more of translating a flash website text and audio →

Posted in actionscript, web design Tagged actionscript, as3, linkedin

Papervision3D filter notes

By cjgammon Last updated: October 14, 2005April 29, 2022

Typically when adding filters in papervision you have to use ViewportLayers and apply the filters to them, however this can become messy and tedious if you are applying filters to a large number of objects.…

Read more of Papervision3D filter notes →

Posted in actionscript, design Tagged 3d, actionscript, as3, coding, development, flash, papervision, web

as3 custom events made easy

By cjgammon Last updated: October 14, 2005April 29, 2022

I've seen a lot of tutorials on this and none of them seem so straightforward so here goes. So let's say i have a class and i have another class that extends something like socket…

Read more of as3 custom events made easy →

Posted in actionscript Tagged actionscript, as3, flash

looping through object parameters

By cjgammon Last updated: October 14, 2005April 29, 2022

today i wanted to be able to pass an object into a function and have it apply the parameters of the object to my custom movieclip class, so I needed to loop through an object's…

Read more of looping through object parameters →

Posted in actionscript Tagged actionscript, as3, flash

Archives

  • April 2025
  • March 2025
  • July 2024
  • February 2023
  • January 2023
  • November 2022
  • June 2022
  • May 2022
  • April 2022
  • October 2021
  • June 2020
  • January 2020
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • October 2016
  • December 2015
  • October 2015
  • August 2015
  • August 2013
  • October 2005
RSS
© Copyright cjgammon. All rights reserved.