Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.


Parameter initializer unknown or is not a compile-time constant.

Posted January 21, 2010 by senocular

I've added a new error to the compiler errors list: Error #1047 Parameter initializer unknown or is not a compile-time constant. This is probably not as common as some of the errors listed there, but I do include a workaround for this sometimes annoying and frustrating error that could hopefully help a few people out there.

Private Browsing in Flash Player 10.1

Posted January 19, 2010 by senocular

If you didn't already know, Flash Player 10.1 - the next major release of Flash Player - will support private browsing, not unlike your current gen browsers! Jimson, whom I met when he was an intern here at Adobe, has the skinny in a new devnet article:

Flash Player Errors and How to Fix Them

Posted December 03, 2009 by senocular

I've recently posted two new tutorial pages with descriptions of some common Flash Player-related errors and what can be done to fix or handle them. There's only a few errors on there now, but as I run into people finding more (especially many times over), I'll be adding to the list. The two pages are separated into runtime errors and compiler errors.

ActionScript 3.0 Reference for the Adobe Flash Platform

Posted November 19, 2009 by senocular

If you hadn't noticed, the ActionScript 3.0 Reference for the Adobe Flash Platform, which allows you to dynamically filter APIs by frameworks and platform, is now out of beta. And what's more exciting, the old Flash authoring go URL, http://adobe.com/go/as3lr now points to it! Sorry authoring APIs. You no longer have a dedicated go URL, but the full ActionScript 3.0 Reference for the Adobe Flash Platform includes you, as well as Flex, and TLF, and LiveCycle, and ColdFusion, and lions and tigers and bears - OH MY!

Flash Player 10.1 Beta, Now Available on Labs

Posted November 16, 2009 by senocular

Here's your chance to test drive the new Flash Player 10.1 beta. A beta is now available on Adobe labs. Now, these builds are the desktop versions of the player only, not any of the mobile versions of the player. They're still in the works, but these builds are just not, if not more important and if anything else, they can be an indication of what to expect for those players. Memory use anyone? Check it out. You might be surprised.

senocular.com is Google-less

Posted November 04, 2009 by senocular

Where's senocular.com when you search for senocular on google? Nowhere. Because it's not listed.

senocular.com got blacklisted on Google recently because of a hacking that caused the site to violate Google's quality guidelines. This was one of a couple hackings that have occurred over the past couple of years. I only have myself to blame, including insecure source files in some demos and old projects on the site that have become easily exploitable.

Thankfully, so far, hackers have only been injecting links into the site instead of ruining content. Nevertheless, it is not tolerable. This past occurrence was an especially tricky attempt that only displayed the hacker's links when being crawled by popular search engines such as Google's.

Every time I think I've patched things up, something else ends up happening. I've finally decided to take action and wipe the site clean and restart again from scratch.

It's about time, too. The current system is running off of a flat-file database I started in college when we didn't have access to any kind of normal database for site development. And I've never been a fan of the design (also years old). I hate colored backgrounds. Blue? COME ON! Heh. I've been considering/threatening WordPress for a while now, but I might end up stripping everything down to the basics to start. Porting the existing content should be easier that way, at least. We'll see.

What does this all mean? Probably no site for a little bit, then an ugly (or "plain") site for a while after that, with some obscure parts deleted and others moved. Stay tuned.

Update: As of now, senocular.com is back up on google. I've also noticed that the post just made its way to MXNA. Good timing.

AS3: Order of Operations

Posted November 02, 2009 by senocular

I've just added a new tutorial, Order of Operations in ActionScript, which covers, unsurprisingly, the order of operations in ActionScript. This includes topics revolving around the object life cycle, frame processing, and events for both Flash Player 9 and Flash Player 10. Yes, they are different, especially in terms of handling frames.

Implicit Imports, XMLParser, and Failure in Flash

Posted November 01, 2009 by senocular

Have you ever noticed that you don't have to import any of the native flash classes when writing timeline code in Flash Professional? This is because they're automatically imported for you in an effort to simply basic timeline code usage. These imports are even outlined in a file called "implicitImports.xml" within Flash's configuration directory for ActionScript 3.0. Lets take a look at its contents:

Flash CS5 will support custom code hints

Posted September 21, 2009 by senocular

One of the best things about Flash Professional (CS4 and those before it) is that you can open it up and immediately start coding with minimal syntactical overhead (class definitions, imports) to get results simply and easily. One of the worst things about it is the code editor's lack of maturity and inability to help you work with your custom APIs through code hints and auto-completion. That will change with Viper, the code name for the next version of Flash (CS5). flashmagazine has more with their coverage of FOTB09.

New AS3 Tutorial: Asynchronous ActionScript Execution

Posted September 21, 2009 by senocular

It's been a while, but I've finally added a new tutorial. This one covers what could essentially be threading in AS3 - taking synchronous operations and breaking them up to be executed in segments over multiple frames, primarily for the purpose of preventing player lockup (allowing rendering while processing).