Author Archive for Rich

01
Jul

How to confirm Flash Professional update 11.0.1


The latest Flash Professional update, 11.0.1, does not modify the version number in the About box. This is because the update adds and alters support files but does not update the application binary.

It’s a natural habit to look at the version number for confirmation that the update was successful. Seeing 11.0.0.485 after an update may prompt you to try the process again even though it may not be necessary. Ideally, this will save you some time.

The easiest way to see that the update was applied is to look for iPad support in your Publish Settings. Check the menu File > Publish Settings: Flash “tab” > Player drop down to make sure it says iPhone OS. In addition, clicking the resulting Settings button will show iPad in the Device drop down menu in the middle of the settings dialog.

You can also check for a successful update without opening Flash by checking an AIR version number:

Windows:
C:\Program Files\Adobe\Adobe Flash CS5\en_US\Configuration\External Libraries\Air2_0.dll

MAC:
/Applications/Adobe Flash CS5/Common/Configuration/External Libraries/Air2_0.bundle

The version number after the update should be 11.0.0.489. (Thanks to Nivesh Rajbhandari, for confirmation on the external file version.)

16
Jun

Flashbelt 2010 Tips and Tricks Session


Here is a partial set of files from my Tips and Tricks session at this year’s fabulous Flashbelt conference. (The remainder of the material covered revolved around live demos or use of code by those a lot smarter and more talented than I. More information is in the archive.)

Thanks to Dave Schroeder and everyone at Flashbelt, as well as all the speakers and attendees, for another great conference. I saw less of the show this year due to other obligations, but still had a great time. Next year, it’s vacation time!

Flashbelt 2010 Tips and Tricks Partial Source

10
May

Flash CS5 still uses AS3


Update: To answer some of the questions coming in, Flash CS5 still uses AS3. ActionScript 3.0 is the core scripting language of the Flash Platform. Flash still supports AS1/2 as well as AS3, but Flash Builder 4, Flex Builder 3, the Flex SDK (command line compile) FDT, Flash Develop, AIR, and similar, all require AS3.

12
Mar

Advisory Board


We’re trying to organize possible improvements to our book, Learning ActionScript 3.0 (O’Reilly) and we’re looking for opinions about which changes are needed.

We hope to have exchanges with readers that have specific suggestions about ways to simplify, clarify, or otherwise improve the text. Our current thinking is that comments aren’t the best way to get this kind of detail, especially when we expect reader opinions to differ.

So, we’re planning to create an advisory board of sorts. We’re thinking about asking which chapters readers have had questions about, or possibly assign chapters to folks who might look for problem areas. Then we’re considering creating an email group of some kind where we can ask everyone to contribute to a topic, and follow-up with specific emails.

If you’re interested in improving LAS3, please use the contact form to send us an email. Let us know how you’d like to help, and how to get in touch. Please be sure to use the “Advisory Board LAS3″ subject so your email will be routed correctly.

We really want to consider reader opinions and try to develop improvements along requested lines. We hope you can help!

21
Sep

Inverse Kinematics in Flash CS4: FOTB’09


Over at LearningFlashCS4.com, I posted the files from my Flash on the Beach presentation on IK in Flash CS4 Pro. You can read about it here, and look for more posts on the subject in the future.

11
Nov

Passing Arguments with Events


One of the questions about ActionScript 3 that I am most often asked is how to send arguments to a listener function along with an event. Recently, a reader named Jim asked just such a question.

To provide some background for this question, you could send argument data to a standard function like this?

function showMsg(msg:String):void {
    trace(msg);
}
showMsg("Claire");

However, in an event listener, only one argument is allowed in the listener function: the argument responsible for receiving the event data. Using a standard mouse click listener as an example…

stage.addEventListener(MouseEvent.CLICK, showMsg, false, 0, true);
function showMsg(evt:MouseEvent):void {
    trace("hello");
}

…the kind of question asked is, can you do something like this:

stage.addEventListener(MouseEvent.CLICK, showMsg, "hello",
                       false, 0, true);
function showMsg(evt:MouseEvent, msg:String):void {
    trace(msg);
}

The answer is, not out of the box. The existing AS3 events do not provide for this capability. However, to answer Jim’s question, the best way to pass arguments with an event is to create your own event class by extending AS3’s Event class.

Continue reading ‘Passing Arguments with Events’

26
Apr

Opinions from AS3 Teachers Wanted


If you are a teacher or trainer currently using Learning ActionScript 3.0 in a class, please get in touch. We are considering developing additional teaching resources (we have nothing created as of yet) and are anxious to know what you think would help you most. What are the strengths and weaknesses of the book? What tools will help you in your teaching? Any opinions will be appreciated!

If you’re a student using Learning ActionScript 3.0 in a class, please let us know what kinds of class resources you think would be useful, and tell your instructor we’re looking for input!

23
Apr

Looking Forward to Flashbelt


We’re very happy to announce that I’ll be conducting a workshop on ActionScript 3.0 at this year’s Flashbelt conference in Minneapolis. It’s a full-day workshop based on the book, teaching the fundamentals of AS3 with lots of examples and, of course, free source code.

This will be my first time at Flashbelt, and I’m really looking forward to it. I’ve heard very high praise about the show—praise that grows year over year—and I dig Flashbelt’s El Hefe, Dave Schroeder. In addition to putting together Flashbelt, Dave is also the brains and talent behind Pilotvibe, a groovy place to get you some Flash sound.

From everything I’ve heard, Flashbelt is a happenin’ gig, that has an intimate feel and a stellar group of presenters. This year is no exception. Presenters include Mark Anders, Julian Dolce, JR Fabito, Richard Galvan, Moses Gunesch, Joshua Hirsch, Robert Hodgin, Mario Klingemann, Tali Krakowsky, Dan Lacivita, Lisa Larson-Kelley, Seb Lee-Delisle, Andre Michelle, Stacey Mulcahy, Erik Natzke, Paul Ortchanian, Danny Patterson, Todd Perkins, Robert Reinhardt, Rich Shupe, Geoff Stearns, Mate Steinforth, Zach Stepek, Craig Swann, Jared Tarbell, Dustin Tauer, Jeremy Thorp, and Philip Van Allen.

This year, the event is June 8-11, and I hope to see you there.

26
Mar

AS3 Components and TxEff


Recently I’ve been trying to put together a collection of AS3 components for some writing and training I’m doing about… er… AS3 components. I want to write a series of posts here, but I also have another column, book, and video training in the works, in which they may appear. With a fair amount of focus on this effort, I wanted to look around for some great examples, ranging from open source to commercial, simple to advanced.

In the process, I happened upon TxEff from Jumpeye Components. TxEff is a spectacular text-effects component with a really great configuration utility that allows you to easily modify all the effects without writing any code. You can also configure the effects without the utility using XML. Written in AS3, it performs really well and Jumpeye did a great job, soup to nuts. You can even add on to the component with additional effects.

I haven’t been able to try any of the additional effect libraries, but I decided to try a simple test that fits in well with the first post in this series. I wanted to see how easy it would be to create a simple effect using the online utility. I wanted to create something that anyone could do, right out o the box. I was pretty impressed with how easy it was to adjust the many parameters and found myself with the problem of too much goodness to choose from. Then I decided to test the defaults of one of the new effects, 3DCamFocus. Here it is:

Continue reading ‘AS3 Components and TxEff’

12
Jan

Chapter 3 Document Classes


Thanks to Nick, we discovered an error in the document classes that accompany the source code for Chapter 3. The error has been corrected, and the archive has been replaced. This has nothing to do with the book, so this only applies to those early coders who downloaded the Chapter 3 source archive prior to January 12, 2008.

We introduce syntax and concepts early on in a way that allows us to focus closely on the topics themselves, without having to dive immediately into classes. We then use classes more and more as we progress through the chapters.

However, if you already have some experience with classes (or want to start pushing yourself to this ideal early on), we also provide a second copy of all the timeline examples, using document classes instead. This way you can experiment with both approaches and pick the style that suites you best at the outset of the book.

So, none of the timeline examples were affected and, if you only need to think about this if you downloaded the Chapter 3 archive before January 12th.

Thanks Nick!




Speaking

Archives