Comments for RBLAB http://www.rblab.com/blog Blog of Riccardo Bartoli about Worpdress, Javascript, jQuery, Flash and Actionscript... Mon, 29 Apr 2013 13:39:37 +0000 hourly 1 Comment on [AS3 SNIPPET] Detect if the swf is local or online (using regular expression) by Riccardo http://www.rblab.com/blog/2009/04/as3-snippet-detect-if-the-swf-is-local-or-online-using-regular-expression/#comment-47377 Riccardo Mon, 29 Apr 2013 13:39:37 +0000 http://www.rblab.com/blog/?p=94#comment-47377 That’s another snippet: http://www.rblab.com/blog/2009/04/as3-snippet-detect-if-the-swf-is-local-or-online/

]]>
Comment on [AS3 SNIPPET] Detect if the swf is local or online (using regular expression) by asdf http://www.rblab.com/blog/2009/04/as3-snippet-detect-if-the-swf-is-local-or-online-using-regular-expression/#comment-43894 asdf Mon, 25 Feb 2013 17:36:48 +0000 http://www.rblab.com/blog/?p=94#comment-43894 regex are generally for complex pattern matching. this is a simple substring check, so this should be a better option.

1
var localMode:Boolean = (loaderInfo.url.indexOf("file://") >= 0);

anyway, thanks for the appropriate string. I was blindly trying to get this to work on mac os and pc.

]]>
Comment on [AS3 SNIPPET] Detect if Flash movie gain/lose focus by ahmed http://www.rblab.com/blog/2009/07/as3-snippet-detect-if-flash-movie-gainlose-focus/#comment-37106 ahmed Fri, 07 Sep 2012 06:24:24 +0000 http://www.rblab.com/blog/?p=440#comment-37106 help me
i have maded games but me , i have proble
event.Keyboard not work Unless press mouse klick

]]>
Comment on [AS3 SNIPPET] Detect if the swf is local or online (using regular expression) by fla http://www.rblab.com/blog/2009/04/as3-snippet-detect-if-the-swf-is-local-or-online-using-regular-expression/#comment-33929 fla Wed, 13 Jun 2012 08:26:27 +0000 http://www.rblab.com/blog/?p=94#comment-33929 Thanks!

]]>
Comment on [AS3 SNIPPET] Convert date in time interval string by Olivier http://www.rblab.com/blog/2009/07/as3-snippet-convert-date-in-time-interval-string/#comment-27315 Olivier Mon, 13 Feb 2012 13:43:08 +0000 http://www.rblab.com/blog/?p=469#comment-27315 Thank’s for this script, very usefull !

]]>
Comment on Install Subversion on Mac OS X Lion (10.7) by Riccardo http://www.rblab.com/blog/2011/07/install-subversion-mac-os-lion-10-7/#comment-27078 Riccardo Mon, 06 Feb 2012 18:13:31 +0000 http://www.rblab.com/blog/?p=941#comment-27078 Thanks for the info, I’ve updated the post.

]]>
Comment on Install Subversion on Mac OS X Lion (10.7) by Erik Pöhler http://www.rblab.com/blog/2011/07/install-subversion-mac-os-lion-10-7/#comment-27077 Erik Pöhler Mon, 06 Feb 2012 17:24:39 +0000 http://www.rblab.com/blog/?p=941#comment-27077 They do offer a SVN version for Mac OS X 10.7 now, which I could install without the editing mentioned above.

]]>
Comment on [AS3 SNIPPET] Convert seconds to ww:dd:hh:mm:ss by AS3 – Convert seconds to ww:dd:hh:mm:ss » James Border http://www.rblab.com/blog/2009/07/as3-snippet-convert-seconds-to-wwddhhmmss/#comment-25773 AS3 – Convert seconds to ww:dd:hh:mm:ss » James Border Thu, 29 Dec 2011 16:56:38 +0000 http://www.rblab.com/blog/?p=466#comment-25773 [...] Credit where credit is due, originally found here: http://www.rblab.com/blog/2009/07/as3-snippet-convert-seconds-to-wwddhhmmss/ [...]

]]>
Comment on [AS3 SNIPPET] Url shortener class using http://is.gd/ public service by Robert Chalmers http://www.rblab.com/blog/2011/02/as3-snippet-url-shortener-class-using-httpis-gd-public-service/#comment-22901 Robert Chalmers Sat, 24 Sep 2011 03:38:52 +0000 http://www.rblab.com/blog/?p=921#comment-22901 This looks like just what I need, but how do I call it from within my app as3 script.
where the url to be shortened is this.

var url:String = “http://maps.google.com/maps?q=” + latitude.toString() + “,” + longitude.toString() + “&output=embed&z=13″;

Something like URLShortener(url);

perhaps?
thanks
robert

]]>
Comment on [AS3 SNIPPET] Quick benchmark a function by Brennan http://www.rblab.com/blog/2009/04/as3-snippet-benchmark-a-function/#comment-22614 Brennan Sun, 11 Sep 2011 21:42:51 +0000 http://www.rblab.com/blog/?p=86#comment-22614 Thanks, I was about to write my own but then I found yours right away and you saved me about 1 minute. :D Thanks for the code.

]]>