AS3 clickTag & IE popup blocker
Recently, we at Gynzy had to implement clickTag scripts in Actionscript 3 banners. As you might know, AS 3 banners don’t work well in Internet Explorer. You’ll get a pop-up blocked warning when using navigateToURL(). After some googling I found a clickTag script at blog.advalidation.com/2011/06/as3-clicktag.html It uses ExternalInterface.call(‘window.open’, url, ‘_blank’); when the user agent of the […]
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
AS3 Vector shuffle or randomize
Update: my Vector shuffle function will not work with Vector.<int>. Please read AS3 Object shuffle or randomize for an improved and more generic shuffleObject function. In almost all tools we develop for Gynzy and bord.nl the questions are randomized. When searching the net for a generic function to shuffle Actionscript Vectors, I couldn’t find any. That’s […]