Groups | Blog | Home
all groups > flash (macromedia) > august 2006 >

flash (macromedia) : AS 2.0 to 3.0 changes


sneskid
8/15/2006 7:11:26 PM
not sure where else to raise this concern, but according to
http://livedocs.macromedia.com/flex/2/langref/migration.html there is going to
be some major changes.

While most of the stuff is a step in the right direction, I'm against removing
Function.call(), eval(), and #include.
They don't seem to have replacements in AS 3.0.

Call() was a convenient way to change the context of the 'this' keyword...
don't take that away

If anything, eval() should be extended to work like the PHP eval().

I used #include because it was a convenient way to share code from the Include
folder in the Local Application Data (on windows)
ex. "C:\Documents and Settings\USERNAME\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration\Include"
It gave .fla files in any folder access to the same code without having to set
up special paths in the Flash studio.
It made importing easier too, because you could include an very long import
statement.

I will miss you 3.
Peter Blumenthal
8/16/2006 2:53:13 PM
[quoted text, click to view]
Use Delegate or Proxy Classes.

[quoted text, click to view]
Use the Array access operators instead - []


As for #include, this doesn't work in AS2 Class files anyway..

Not saying you shouldn't miss these features, just pointing out
alternatives... :)
--
-------------------------------
Remove '_spamkiller_' to mail
-------------------------------

Grumpy7
8/16/2006 3:32:35 PM
Peter Blumenthal
8/17/2006 12:00:00 AM
Hi.. I didn't say it doesn't work. I said #include directives inside an AS2
Class file don't work.

--
-------------------------------
Remove '_spamkiller_' to mail
-------------------------------

AddThis Social Bookmark Button