On Thu, May 20, 2010 at 6:22 AM, Nick Middleweek n...@middleweek.co.uk wrote:
I was going to use the approach for my URLLoader complete event handler
function, I was hoping to keep things a bit neater and just pass the .data
through to my Cairngorm Command.
We implemented something similar
Hello,
I can't find any examples on how to create Functon variables?
Does anyone have any to hand please?
Thanks,
Nick
--
Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog:
http://blog.middleweek.co.uk } );
You cannot construct a function like that. What you can do is more like
this:
var f : Function = function (arguments) : Type { function body }
ok, thanks Oleg...
I was going to use the approach for my URLLoader complete event handler
function, I was hoping to keep things a bit neater and just pass the .data
through to my Cairngorm Command.
What are your thoughts on the idea?
something like this...
private funtion
Neva! :D
Just never use anonymous functions in AS3, they are badly implemented and,
they aren't truly anonymous. You cannot design a first order functions in
ECMAScript languages, nada!, whatever anyone is going to say about that :)
Simply give it a normal method, this is the simplest and the
5 matches
Mail list logo