Vector.unshift () bug

I find it weird that there has been no big noise about this one already. After wasting enough time on debugging, I figured it was time to google JIRA:

http://bugs.adobe.com/jira/browse/ASC-3630

In brief, Vector unshift () removes elements from the end of the vector while adding what’s to be added at the beggining.

A bug like this makes me so sad. Maybe because the typed array was such an anticipated feature of FP10, and because this is such a simple, stupid and brutally overlooked bug. I was thinking, the problem is listed as a compiler bug; I’d rather blame it on the Player API. Any opinions?

Anyway, the workaround is as simple as it gets, but is just as ugly:

vectorInstance.splice ( 0, 0, ... );

And you might as well vote for it on JIRA.

Bookmark and Share

0 Response to “Vector.unshift () bug”


  • No Comments

Leave a Reply