Hi,
How exactly does the datatype checking of Vector work? The documentation states that an exception occurs at runtime if there was a wrong argument pushed to the Vector. However if I try this:
private var numberVector:Vector.<Number> = new Vector.<Number>();
...
numberVector.push(thumbnailInstance)
And then I trace it, I get NaN (cos it is a thumbnail
). However, no exception is being thrown. What am I doing wrong?
Thanks!
P.