Not a Function
function myFunction(type:int):void { switch (type) { … case AWESOME: { function doSomething():void { … } … doSomething(); } … } } Error: doSomething is not a function.
MoreNot magic, just a different kind of science.
function myFunction(type:int):void { switch (type) { … case AWESOME: { function doSomething():void { … } … doSomething(); } … } } Error: doSomething is not a function.
MoreI’ve been working on Itsy lately, because, let’s be honest, my fire demo was only marginally cool. Now, however, even people who aren’t my mom may tell me it looks cool! Check out my new fire: [iframe src=”https://thegoldenmule.com/labs/ParticleDemos/examples/newFire.html” width=”100%” height=”400″ width=”400] Now that’s an improvement. On to the bonus tutorial. [WARNING: Bonus content ahead.] In […]
MoreE4X in AS3 is flippin sweet. In fact, when I work in Flash I generally use XML over JSON or any other serialization or data storage solution because I can use E4X queries. I know several developers that embed Flash objects in web pages just so they can parse XML with it and pass it […]
MoreI have so many blog posts in my head–Itsy updates, a spritesheet tool I’ve been working on, a neato Flash optimization I discovered, some thoughts on the current state of gaming–more stuff than I have time to write. In fact, I’m also pecking away at the novel I began writing in November. I may be […]
More