Is there a list of what is referred to as a pointer for the AS3 spec,
and what when a value is just duplicated?
This would be useful to have. Took me a few moments to realize that
most(if not all) objects on the display list are actually pointed to
when passing a reference to them as a argume
for instance...
if you modify the object that was passed as an argument in the function
you have modified the object in the display list; yet, I can understand
this, as without this passing around and duplicating a Bitmap object as
it is passed to a function would be very costly with regard to
That's correct...
AFAIK only primitive types (Strings, Boolean, Numbers, uints and ints)
are passed as values.
All other types are passed as references.
--
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcode
Well, in AS you don't have pointers (in the sense of C pointers). Except for
primitives, which are basically Number, int, uint, Boolean, and String,
everything else is a reference to an object allocated on the heap.
References in AS behave pretty much like references in Java; and probably
you coul
That is absolutely the best explanation I have had so far.
So as3 is only a partially managed language?
For example, if I was to pass the reference to a bitmap object as an
argument to a function, it has to be dereferenced in the function by
instantiating a new variable, and that new variable
I was wondering if anyone had tried using the bitmapdata object as a bit
array? and personal experiences with doing so. Is it to overly
complicated to work well?
Thanks,
Anthony
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://c
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Thank you for your email. I will be out of the office until Monday,
December 1 with limited access to email and voicemail. I will return
your message when I return.
Thanks!
Mimi Moore
Winter, Wyman & Co.
___
Flashcoders mailing list
Flashcoders@chat
8 matches
Mail list logo