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
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
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
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
___
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
6 matches
Mail list logo