Archives by date

You are browsing the site archives by date.

AS3 Object shuffle or randomize

After I published my AS3 Vector shuffle or randomize post, Philip Bulley commented: “…I tried casting a Vector.int to Vector.*, but the vector becomes null within the shuffle method”. I never had to randomize a Vector.<int> but when I tried I discovered Philip was right, the result was null. I solved this problem by changing my shuffleVector function […]

TextSnapshot.getTextRunInfo: where is corner0x?

For a new Gynzy tool, I’m trying to detect coordinates of selected words in a static textfield. It’s not to difficult using the TextSnapshot object. The