DIGG IT!
3
Comments
Published
Tuesday, July 18, 2006
at
12:02 PM
.
While putting together a custom Preloader for Flex 2 I generated an ActionScript 3 Class using Flex Builder. I decided to explore the Add/Remove Interfaces feature in the New ActionScript Dialog. OMG, this is such an awesome feature, I am speechless.
Ted on Twitter - @AdobeTed
Ted on Adobe Groups
Ted on LinkedIn
Ted on Facebook
Ted at Adobe
That's awesome. :)
It's so great to see ActionScript maturing into such a great language. Now if they would just drop the name if favor of something that doesn't have 'Script' in it. How about 'F+' or 'Flash+'?
It looks like you've never used Eclipse (or something built on top of it) before ;)
To tell you the truth I was also pleasantly surprised by those wizards :)
Now if the next FB2 update will integrate it with Eclipse 3.2 - and allow us to customize the generated code - everything will be perfect :)
1137: Incorrect number of arguments. Expected no more than 1
---------------------------------
I create the following function
---------------------------------
package com.cerebrum.utils {
import mx.rpc.events.ResultEvent
import mx.controls.Alert;
public class Result {
[Embed("/assets/images/dialog-information.png")]
public var IconDialogInformation:Class;
public function Result(event:ResultEvent,MyObject:Object):void {
Alert.show("teste", "teste", 4, null, null, IconDialogInformation);
}
}
}
---------------------------------
I as follows
import Result;
Result(event, meuobjeto);
---------------------------------
Is presented in the following error flex builder
1137: Incorrect number of arguments. Expected no more than 1.
---------------------------------
How should I inform the function that actually has 2 parameters?