Home arrow Flash arrow Page 5 - ActionScript 101
FLASH

ActionScript 101


While there were some ActionScripts in the earlier versions of Flash, the language really didn't get its start until the year 2000, when it was officially named. Heavily influenced by JavaScript, the language went from a few simple commands to an evolving powerhouse of functions. This article will explain some of those functions.

Author Info:
By: James Payne
Rating: 4 stars4 stars4 stars4 stars4 stars / 10
January 16, 2008
TABLE OF CONTENTS:
  1. · ActionScript 101
  2. · Working with Properties
  3. · Width/Height
  4. · Visibility
  5. · Alpha

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
ActionScript 101 - Alpha
(Page 5 of 5 )

That's what they call me: Alpha Male. Bow before me you puny Betas! The Alpha property in ActionScript is used to change the transparency of an object. If I set it to 100 it is completely visible. If I set it at 0, it become invisible. Here it is in code:


onClipEvent (mouseDown) {

setProperty("", _alpha, "50");

}

Here is how that looks on the big screen:

Before the click



After the click



Well, that's all the time we have for this tutorial. Come back and visit us for the next exciting episode when we delve into the rest of the Object Properties and discuss some of the Operators available in ActionScript.

Till then...


DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus
FLASH ARTICLES

- More Top Flash Game Tutorials
- Top Flash Game Tutorials
- Best Flash Photo Gallery Tutorials
- The Top Flash Tutorials for Menus
- 7 Great Flash Tutorials
- Adobe Creative Suite 5.5 Now Available
- Critical Flash Vulnerability Heats Up the Web
- More on Nonpersistent Client-Side Remote Sha...
- Nonpersistent Client-Side Remote Shared Obje...
- Using the Decorator Pattern for a Real Web S...
- Using Concrete Decorator Classes
- Delving More Deeply into the Decorator Patte...
- The Decorator Pattern in Action
- A Simple Decorator Pattern Example
- Decorator Pattern

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 5 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials