Archive for the ‘Random’ Category

Making your Flash faster / smaller

Thursday, December 23rd, 2010

Lately I’ve been looking into optimizing SWF in both speed in file size, below is a list of interesting projects I came across.

Optimizers / disassemblers

Compiler

Faster compilation

AS3 Language Specification: http://livedocs.adobe.com/specs/actionscript/3/wwhelp/wwhimpl/js/html/wwhelp.htm

I’m sure there are some projects I missed… Please do let me know about any good ones I omitted.

Installing ANT contrib for Eclipse

Friday, August 13th, 2010

A quick step by step guide to installing ANT-contrib for Eclipse (on Windows).

  1. Download ANT-contrib: http://sourceforge.net/projects/ant-contrib/files/
  2. Extract the zip to your harddrive, I extracted it to C:/ant-contrib/
  3. Include ANT-contrib in your ANT build file, so you don't have to set it up every time you create a new project. (See XML below)
  4. All done!

Additional XML in ANT build script:

XML:
  1. <taskdef resource="net/sf/antcontrib/antcontrib.properties">
  2. <classpath>
  3. <pathelement location="[full path to ant-contrib jar]"/>
  4. </classpath>
  5. </taskdef>

Links

Grazia 3D

Tuesday, March 23rd, 2010

I thought this was going to be yet another AR (augmented reality) app, but it is actually quite impressive! Have a look here: http://www.graziadaily.co.uk/graziatv/archive/2010/03/23/video--check-out-grazia-s-3d-walk-in-talking-issue.htm

I'm wondering what agency built this one...

Source: http://gizmodo.com/5499785/now-womens-mags-are-doing-augmented-reality

Video Converter

Friday, January 22nd, 2010

A colleague pointed WinFF out to me, a nice GUI for FFmpeg. No more worrying about command line options, long life laziness! :D

PS: No need to download FFmpeg, it comes packaged with WinFF.

Phidgets / Arduino

Wednesday, January 20th, 2010

I'd love to have some time to mess around with a Phidgets or Arduino board, it looks like a lot of fun! Using Flash to control something analog/physical! :D

Hello Robots! :)

Monday, January 4th, 2010

Just thought this was funny.

Welcome the robots, just click the link using FF and say hello to the robots ;)

Exclude files from Flex PMD

Tuesday, December 1st, 2009

You can exclude files and/or packages from Flex PMD by creating your own rule set, use the "exclude-pattern" tag to exclude files.

XML:
  1. <ruleset name="myruleset"
  2. xmlns=...>
  3. <description>My ruleset</description>
  4. <exclude-pattern>.*/some/package/.*</exclude-pattern>
  5. <exclude-pattern>.*/some/other/package/FunkyClassNamePrefix.*</exclude-pattern>
  6. <include-pattern>.*/some/package/ButNotThisClass.*</include-pattern>
  7. <rule>...
  8. </ruleset>

Link: http://pmd.sourceforge.net/howtomakearuleset.html

Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts

Thursday, November 5th, 2009

Encyclopédie, ou dictionnaire raisonné des sciences, des arts et des métiers (English: Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts) was a general encyclopedia published in France between 1751 and 1772, with later supplements and revisions in 1772, 1777 and 1780 and numerous foreign editions and later derivatives.

Have a look at http://diderot.alembert.free.fr/ for loads of nice and old images, like the one above.

htaccess trickery

Wednesday, November 4th, 2009

I was looking the other day for a way to make a directory that is behind a .htaccess password protected directory accessible for anybody. Does that make any sense? For instance: www.somedomain.com/protected is password protected directory. I wanted anybody to be able to access www.somedomain.com/protected/notthisone/ without a password. After a little searching I found the following trick:

AuthType Basic
AuthName "Anybody"
AuthUserFile /path/to/some/autfile

Require valid-user

Allow from All
Satisfy Any

I'm actually not sure if I need all of the above or if I can just get away with "Allow from All" and "Satisfy Any".

So basically by adding "Allow from All" you say anybody is allowed to access this directory. The "Satisfy Any" makes sure that you can access it either when you have already entered the password or when you don't have a password.

A nice way to circumvent .htaccess directory protection.

Flash on the Beach 09 - Links

Monday, September 28th, 2009

Below is a list (and some brief explanation) of links with interesting stuff found at Flash on the Beach this year.

Joa Ebert (from hobnox) talked about one of the geekiest subject known to man : Compiler optimization. Good to know some people care about those  things. This is how you can get cooler stuff on the screen. It have the potential to made our work run 10 times faster.
http://code.google.com/p/apparat/
http://blog.joa-ebert.com/2009/08/05/turbodieselsportinjection/

Some good optimization techniques from Grant skinner too: http://gskinner.com/talks/quick/

Contrast’s presentation about breaking design convention:
http://www.contrast.ie/blog/
Some good arguments here. Especially about the end of portal pages and brand over sale (yes we don’t need a massive logo on every single page).

Live feed visualization by Trevor Boyle during the elevator pitch:
http://blog.trevorboyle.com/wp-content/uploads/twittersphere/Twittersphere-Visualizer.html

What can be done with sound from various presenters:
http://www.hobnox.com/index.1056.en.html
http://www.frogdesign.com/
Ruben's tube + propane: http://www.youtube.com/watch?v=HpovwbPGEoo
http://blog.drwoohoo.com/
designmind.frogdesign.com
www.openframeworks.cc

We saw some really cool live drawing session from James Jarvis:
http://www.youtube.com/watch?v=oZHBSBG7RSs
http://www.amostoys.com
James Patterson: www.presstube.com

And Art made with flash:
http://www.joshuadavis.com/
http://hype.joshuadavis.com/

As well, Joel Baumann from Tomato introduced us to some early century artists who being playing with generative art way before flash came about. And shown us us some of his work, some of it still remain really cool like the TV-Asahi indent - sound generated logo !

Stacey Mulcahy, talked about how devs and creatives can work together
better: www.bitchwhocodes.com
Some good technologies that can facilitate that:
- SVN: http://versionsapp.com/
- Version Cue: http://www.adobe.com/products/creativesuite/versioncue/
- Catalyst: http://labs.adobe.com/technologies/flashcatalyst/ (Though I don't believe in it too much...)

Learn OOP in Flash: www.lostactionscriptweekend.com
And Automate publishing of .fla files: www.deleteaso.com
Koen de Weggheleire: www.newmovieclip.com

Union multiuser Flash platform: www.tryunion.com
- documentation + tutorials: www.unionplatform.com
- cool example: http://clockmaker.jp/blog-en/2009/08/union/
Multi user experience cheap and easy

MegaPhone, using mobile phones as controllers for billboards:
www.playmegaphone.com