CodeCanyon

AS3 variable declaration

217 posts
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
animike says

Another critical point is that AS2 SWF make it difficult to integrate to another AS3 project, have your client had ever ask you to integrate those two thing together ? Compatibility is a huge issue many of you may not think about.

+1 Exactly why I said that using it is ok on a stand alone piece.

1389 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 10 and 49 users
+3 more
Pdesignx says

you may not notice a difference in speed but it is faster and everything adds up. plus we should optimize as much as possible for mobile.

personally I love data typing because it reminds me what something is. when I work with JS or php it’s the #1 thing I miss.

come ooooon! i love php because it’s really hard to crash things in php… it keeps working either way… it does not give error for every (L)ucking type missmatch (:

you can still use it with type declarations though..

535 posts
  • Beta Tester
  • Has been a member for 4-5 years
  • Sold between 1 000 and 5 000 dollars
dimumurray says

Break the AS2 habits VF :P Once you start writing AS3 in classes with typed vars, you’ll never want to work with AS2 again (or write anything on the timeline) :D

With that I heartily agree…before you know it you’ll be using the flash IDE solely for asset creation; compiling all your graphic elements into SWCs and instantiating them on the fly…

by
by
by
by
by