Replies Back to Article

ActionScript: Flash Buttons with Style

Not so great...
August 14, 2003 by Shawn Kelshaw

I am a intermediate level flash developer and thought this would be a good tutorial. After purchase, I went through the .pdf and attempted to execute. However, it seems this tutorial may rely a little too much on a previous tutorial and code. The explanation are a little shady and I get error's when I attempt to test:

(i.e. scene="Scene" 1, layer="Layer" 4, frame="1": Line 8: Left side of assignment operator must be variable or property.
     _root.doAnim() = function(){)

I thought maybe this error occurred because I am using Flash MX and this tutorial was written for an earlier version of Flash. When I went back to DMXzone to verify, that information is nowhere to be found. Any reference to a version of Flash relating to this article simply reads Flash.

Is it me or did I waist $2.00?

RE: Not so great...
August 18, 2003 by Shawn Kelshaw

Alan. I apologize. I should have caught that myself. Anyway, thanks for your attention to it and I checked the site. The site instructions are correct too. I will post an amendment to my first review soon.

Shawn

 

Everyone, I screwed up. This tutorial is GREAT! Give it a try. But don't do like me and add a set of "()" before your first function. IT WON'T WORK!

 

Bye. shawn.

RE: RE: Not so great...
August 18, 2003 by Allan Kent

Shawn,  I just checked and we can in future provide a download link for the source files used in the article.  This will help avoid confusion about where code blocks need to go and what the code is exactly.

Allan

Agree that link is needed.
February 27, 2004 by George Zirfas
I agree that providing a link for the source files is needed. Because flash allows you to add actions almost anywhere, to frames, movie clips etc., it's easy to put your scripts somewhere they don't belong. Which either makes them not execute or execute with errors. I had trouble with the tutorial and consider myself at least an intermediate user.