There is a million tutorials on how to create a scrollbar in AS3 but I noticed a lot of them use the startDrag function. While it works, when your mouse leaves the swf it will stop tracking the mouse movement and act a little strange when you return. Here is a quick snippet on how […]
Tag Archives | as3
PHP base_convert() in AS3
Here is a quick example of how to use PHP’s base convert function in AS3. A lot of people use this function for shorter masked URLs like YouTube. Easy enough but took me a minute to find the equivalent in actionscript. PHP: function encode36($x){ return base_convert($x, 10, 36); } function decode36($x){ return base_convert($x, 36, 10); […]