*blog... kind of... *rss 



Loop a FLV in AS3 (and AS2)
Lots of people always ask stuff like that (me the first), and after a while without having to deal with video on flash, I had to do it today and a very easy solution popped out.

function onFLVMetaData( metadata:Object ) :void
{
Tweener.addTween( this, { time: metadata.duration, onComplete: restartVideo } );
}

Simple and beautiful. Thanks once again Tweener! :D

Updated
However, the proper way to do that on AS3 is this one:

function netStatusHandler( event:NetStatusEvent ) :void
{
if(event.info.code == "NetStream.Play.Stop")
stream.seek(0); }

7 comments
mrdoob.com v3
mrdoob v3

December 3rd... what a nice day for doing this ;) Yep, new version of the site!! (or homepage actually). The previous version is still here at /blog.php tho. There are some new experiments on there done with Papervision3D 2.0 which I will talk about in another post.

There are a couple of things to fix here and there, specially for pages that shouldn't appear on the frame but open on a new tab instead. Also the source links aren't there yet.

Er... yes, you have read it well.. FRAMES! Unfortunately nowadays web technology wasn't doing the job properly for this kind of structure, and I tried having the swf on the top, then an iframe and update the size of the iframe with jQuery, but something there was buggy and wasn't working as well as the old good framesets. Sorry.

However, don't complain just yet, take a look at the site, it features SWFAddress which turned to be quite nice.

no comments
87eleven
Did you ever wondered why all the American fight choreographies are that stupid? Take a look to what the company that directed the ones for Matrix do:

http://www.87eleven.com/

If you check out the showreels, you'll see that they seem like chinese fights choreographies from the 60s plus some rips of Jackie Chan and Tony Jaa... Which by the way, just found this one from Tony Jaa, stupid sometimes but very good for such a long take/stunt. Jackie Chan still stands out for making the fights with multiple rivals much more credible (so there is no people waiting for their turn).

Anyway... going back to 87eleven... probably this was their first job :D

no comments
Using your Wii as Mediaplayer
I've been looking for a program like this for a while, and finally there is a freeware option which is good enough. At home, the only thing connected to the sound stereo is a Wii, so being able to use it for playing mp3 stored in some other computer in the network was ideal.

The program I'm talking about is Wiisic, a little Java app which lets you select the local folder where you store your mp3, and then creates a http server with mainly a flash there with all the links to those mp3s. Very easy, clean and straight forward (tho the Flash app it's a bit ugly :P).

The good thing is that it's done in Java, which means that you can run it on Windows / MacOS / Ubuntu and even change the port you want to connect to (in case you have an apache server runing on the same computer).

Enjoy!

no comments
Turkish Rambo


I usually don't post stuff like that, but this is so funny. :P :P

Via

no comments
BD4D a la Mr.doob?
A couple of friends have been talking about that temporal BD4D site done by Mutado and how similar it was to my site. Well, the colours are for sure similar, and at the beginning I had the body of the blog posts in that blue too, but then Zomb told me that in white would be more readable. So now it doesn't look THAT similar.

Anyway, doesn't really matter, and actually, to be fair, I also ripped BD4D quite a bit when I did the layout design for xplsv.tv back then O:

Having said all that, We'll be there this afternoon, so, if you know how we look like, say hello hello!.

no comments
Doomsday by Complex


No wonder how come the the guy is now doing scores for movies :)

no comments
1in10 / mfx
no comments
Installing Windows without having MacOS on a Mac
Last Saturday I was reinstalling the OS on my MacBook Pro, and what was my surprise when after reinstalling Tiger, and ready to install Windows using Bootcamp, I found out that Bootcamp wasn't available as beta/free download anymore. Right.

One solution was to use a virtualisation software such as Parallels, but the license was quite expensive (if you compare it to Leopard's Family Pack). So after a bit of thinking I went to the Apple Store and bough a Family Pack of Leopard as we have a couple of macs at home. Went back home, and installed Leopard. I wonder why does it take THAT LONG to install the OS. Anyway, I did the usual bootcamp thing after installing Leopard (without even looking at any of the stupid new features), and what was, again, my surprise that it didn't work. The bootcamp assistant lets you re-partition the space as usual, but this time doesn't warn you that if you put more than 32GB for Windows then you will need to format it as NTFS as Windows can't handle >32GB FAT32 partition, and at the same time MacOS can't read NTFS. Anyways, it lets you partition the HD to 50 and then it does a FAT32 partition by default, which, at the end, doesn't work.

While installing Windows at some point it says Disk Error with FAT32, if you try formating the partition to NTFS it says that the file HAL.DLL is missing or something. And Seemed that I wasn't the only one having that issue anyway.

What an interesting move Apple did here, gave Bootcamp for free for a while as a beta, then when you depend of it, expires, and they make you buy the new OS with that feature broken. Enjoy my money Apple.

Conclusion: Install Windows XP only, get rid of MacOS.

So, as I don't care much about MacOS, I decided that the best would be to reformat everything in a Windows readable formatting and installing Window XP. For doing this you need to:

Important: You'll delete ALL DATA of your HD, so you better do a backup before doing any of this.

1. Restart the machine from Tiger/Leopard install DVD
2. Go directly to Tools/Disk Utility
3. Select 1 partition and chose "Free Space" as format type
4. Click on Options... and select Master Boot record
5. Close the window and click Apply/Partition
6. Exit from the installer and reboot the computer with a Windows installer CD/DVD (pressing the Alt key)
7. After installing the OS, you'll need a Leopard CD for installing the hardware drivers.
8. Enjoy.

I know, I know, mac fans... I'm using an Apple branded PC without MacOS on it. I wanted to have it installed for testing the mac version of flash browser plugin, but Apple didn't let me to, so blame Apple.

The good thing here is that, if you don't need MacOS much, you can avoid buying Leopard, tho you'll need someone to let you the CD so you can install the drivers for the hardware.

I would asume that you should even be able to install Linux in that way, but I think you will have to wait a bit as the actual version (i'm talking about Ubuntu here) doesn't have the drivers fully ready.

2 comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72