1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

Flash: Everything You Could Possibly Want to Know About Import Statements

  1. Clicks today:
  2. Clicks this month:
  3. Overall rating:

Flash » Actionscript — almost 8 years ago
In the AS2 days, you could get around having to write an import statement by simply using the fully-qualified class name within the class body (such as flash.display.Sprite as opposed to just Sprite). While you are welcome to use the fully-qualified class name as you write your code, import statements for each class are required in AS3.


Your Comment

You must be logged in to post a comment.