Posted by Shiggs | 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.
Posted by Shiggs | 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 »
Posted by Shiggs | 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.
Posted by Shiggs | 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
Posted by Shiggs | 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?
Posted by Shiggs | 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 »
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
- sudo gem update --system
- gem sources --add http://gems.codeendeavor.com
- sudo gem install builder
- gem install roo
- gem install spreadsheet
- gem install nokogiri
- gem install rubyzip
- gem install google-spreadsheet-ruby
- 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.
Posted by Shiggs | Posted in General | Posted on 12-02-2010
Here... feedback is welcome
Posted by Shiggs | Posted in General | Posted on 16-01-2010
contact me at info@shalomfriss.com or shalomfriss@gmail.com
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.