Even Better Firebug

Posted by | Posted in Actionscript 3.0 | Posted on 03-06-2010

 
package
{
	import flash.external.ExternalInterface;
	public function bug(... args):void
	{
		ExternalInterface.call("console.log", args);
	}
}
 

Place that in a file called bug.as and drop it in your classpath, now you have a top level function called bug, that takes as many arguments as you want that even traces out objects and their contents. I'm convinced this is the easiest way to trace from the browser.

Firebug Extended

Posted by | Posted in Actionscript 3.0 | Posted on 23-05-2010

I recently started using Firebug for outputting, I usually use Monster Debugger, but Firebug turns out to be really impressive and to have some surprising capabilities. I came across this article on Blitz's blog.  Here is a quick recap:

Can take multiple arguments

console.log(a, b, c);

Has message levels

console.debug("message");
console.info("message");
console.warn("message");
console.error("message"); Read the rest of this entry »

Tracing to Firebug from Flash

Posted by | Posted in Actionscript 3.0 | Posted on 20-05-2010

import flash.external.ExternalInterface;
 
function t(msg:*):void
{
     ExternalInterface.call("console.log", msg.toString());
}
 

Very useful.

Getting Thumbnails for YouTube Videos

Posted by | Posted in Resources | Posted on 12-05-2010

Youtube generates 3 thumbnails for their videos, just swap out <video id> with your video's id.

http://img.youtube.com/vi/<video id>/1.jpg

http://img.youtube.com/vi/<video id>/2.jpg

http://img.youtube.com/vi/<video id>/3.jpg

Actionscript 3 Refernce

Posted by | Posted in AIR, Actionscript 3.0, Flash, Flex | Posted on 21-04-2010

I just ran across this on Senocular's blog.  It's a comprehensive Actionscript 3.0 reference, I'm surprised I never ran across this before, the beauty of it is that it allows to browse by platform and provides other filtering options as well.  If you are a FP (Flash Platform) developer, check it out --> AS3 Ref.  Also, check this out too, for your documentation needs --> DOC?

Populating an NSArray from XML

Posted by | Posted in iPhone | Posted on 14-03-2010

1.) Create a file with a.plist extension (this is just an xml file that contains your data) Read the rest of this entry »

QATool + Banner workflow

Posted by | Posted in Flash, Random, Resources, Technology | Posted on 24-02-2010

I have recently had some banner work for a client and had to present multiple banners.  I coincidentally came across this. Here is an example of the tool in action. Pretty close to the perfect solution for banner presentation for your clients.  Installation is super easy. For mac all you do is run these commands in terminal

  1. sudo gem update --system
  2. gem sources --add http://gems.codeendeavor.com
  3. sudo gem install builder
  4. gem install roo
  5. gem install spreadsheet
  6. gem install nokogiri
  7. gem install rubyzip
  8. gem install google-spreadsheet-ruby
  9. gem install qatool

If you have any problems just use sudo in front of the command.  After you create your banners you can use this little tool, which will open a terminal window that corresponds to where you are in finder.  After that just type qatool and you're done! Super easy.

New Portfolio Preview

Posted by | Posted in General | Posted on 12-02-2010

Here... feedback is welcome :)

I’m available for freelance!

Posted by | Posted in General | Posted on 16-01-2010

contact me at info@shalomfriss.com or shalomfriss@gmail.com

SWFObject on Google

Posted by | Posted in AIR, Actionscript 3.0, Frameworks, Javascript | Posted on 07-12-2009

I like seeing that many JS libraries are being hosted online.  Saves me a few minutes, but mostly it's just nice to have.  SWFObject is now hosted on google here http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js, check it out here.  If that's not enough for you here is a generator in AIR to produce embed code for you.