What do you get for h?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 18/08/2011 21:08, Mendelsohn, Michael wrote:
Hi Kenneth...
This is working for me:
var g:Vector. = Vector.([1,2,3,4,5]);
var h:Vector. = g.map(mapper);
function mapper(item:uint,ind:uint,g:Vector.):void{
trace
Hi Kenneth...
This is working for me:
var g:Vector. = Vector.([1,2,3,4,5]);
var h:Vector. = g.map(mapper);
function mapper(item:uint,ind:uint,g:Vector.):void{
trace(g[ind]+30);
}
Hope that helps,
- Michael M.
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
Dear coders,
Vector.map() is supposed to return a new Vector but it appears to return
nothing (undefined). Is this working for you?
Regards,
Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyf
Math.atan2
2011/8/18 nasim h :
> how to rotate movieClip with mouse rotate on it , identify clockwise or
> anticlockwise rotation ,
> ?
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailm
how to rotate movieClip with mouse rotate on it , identify clockwise or
anticlockwise rotation ,
?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
5 matches
Mail list logo