by Luis Alves
on Mar 26th, 2008

Flv loop - looping a flash video movie

Ok, here are the steps to loop your flash video when exported to swf.

1 - Create a new flash file in actionsript 2.0 mode.

2 - Import your video file

3 - When the import finishes, save your file

4 - In the stage, select your video file (make sure that you are selecting the video file and not some other object)

5 - Open the actions window (goto the menu “window” and select “actions”

6 - In the actions panel paste the following code:

on (complete) {
this.autoRewind =true;
this.play();
}

7 - Close the actions window and export your movie. Make sure that actionscript 2.0 is selected when exporting.

That should do it!

Take Care

Technoratti Tags
Looping flash video | Flv Loop | Looping flv

by Luis Alves
on Mar 19th, 2008

Elvis lives!

Me and “Elvis” by Trent CarliniElvis still lives in the heart of all those who like me admire the man and his music, but the closer you can get to what once was an Elvis live performance is in Las Vegas by the hand of Trent Carlini. As stated in USA Today “You won’t believe your eyes and ears.”

I had the wonderful opportunity to attend the show two weeks ago in the 7th March 2008 and I subscribe to what was said by USA Today, the physical resemblance and the voice are the closest you can get to Elvis, it seemed I was seeing the real Elvis and that was a dream that came true :-)

At the end of the show I had the opportunity to personally say thank you to Trent for doing it. Trent does the show everyday except Sundays, all of you Elvis fans out there… don’t miss this!

Trent, if you ever get to read this, thanks again man! You rock!

Technoratti Tags
Trent Carlini | Elvis | Las Vegas| Elvis Impersonator

by Luis Alves
on Feb 19th, 2008

The coolest “under construction” page…

This is the coolest “under construction” page I have ever found on the internet :-)

You probably wont see it by the time you read this post, but you can see it by clicking the thumbnail.

It belongs to purevolume.com

The coolest under construction page…

Take care!

by Luis Alves
on Nov 16th, 2007

Trip to the United States

I will soon be posting some pictures and some information about my recent trip to San Francisco, Las Vegas and Los Angeles. The main purpose of this trip was to attend a conference at San Francisco Palace Hotel called “An Event Apart”, promoted by the famous Web 2.0 website “A list Apart“. Meanwhile since my first child was born recently, the job of being a full time dad has kept me from posting more often, but It’s a worthwhile task :-)

by Luis Alves
on Sep 8th, 2007

Global Big Brother

Today as many of you know, google has an online application at maps.google.com and a client side application with Google Earth and they both feature detailed pictures of the earth surface. What this brainshit refers to is what I belive to be the next step…

I believe that in a not too far future the earth will be not only photographed but also filmed, like the Deja Vu movie starring Denzel Washington. Some entities, not everybody because of security reasons such as terrorist operations will have access to real time and recorded detailed filming of all the earth surface starting by the main metropolitan areas around the globe.

This “Global Big Brother” will provide valuable information regarding criminal activities and other valuable information about social issues.

I remembered this because of the Maddie Macann case. With this kind of technology available, it will be a whole lot easier to deal with this kind of case. We would be able to see who took the little girl…

So, smile every time, you’ll never know when you’re on TV!

by Luis Alves
on Sep 4th, 2007

Barcamp Portugal 2007 - After event

Another edition of Barcamp Portugal happened in Coimbra last weekend, and all I can say about it is - Fantastic!

Our friends from webreakstuff worked hard for this event to happen and for that I myself and all at waveweb thank them!

I was supposed to do a presentation about dealing with clients but my inscription was a bit late and there was no time for it. It’s a promise, next Barcamp Portugal I will be one of the first to present it! a no miss at Barcamp Portugal 2008!

Anyway the presentations were great, and the possibility to talk with so many people about their experiences and their knowledge is very good!

This is the Web 2.0 way of living. Competitors sharing their experience with each other, people able to share knowledge for free and all in a good mood!

Thanks again webreakstuff and all that supported this event ( Waveweb, Safira, Delta, University of Coimbra and all the participants!)

Technoratti Tags
Waveweb | Webreakstuff | Barcamp Portugal| Barcamp

by Luis Alves
on Aug 10th, 2007

Google clickTAG flash

You know that when I find the solution to a problem I always post it in Brainshitting :-) so here goes another one…

Yesterday I made a banner for Gimmestock to include in a website as a Google adsense ad and when we tryed to submit it in Google adsense it was not possible. Google said that flash had to include clickTAG in order to work.

So what specifications do flash banners need in order to be accepted by google adsense?

You need to include a link (button) that has the following action:

on (release) {
if (clickTAG.substr(0,5) == ‘http:’) {
getURL(clickTAG, ‘_blank’);
}
}

Then, export your flash movie as version 4 to 6, I have exported it as flash 5 .

Note that it’s not necessary to specify the destination URL for the ad anywhere in this code; this is taken care of through the usage of clickTAG. Also, depending on the structure of your Flash ad, it may be necessary to prepend “_root.” or “_level0.” to “clickTAG” above, resulting in “_root.clickTAG” or “_level0.clickTAG”. It is strongly recommended to upload the ad into your account and verify that the ad is behaving normally prior to it going live, allowing time for any necessary changes.

This should do it.

by Luis Alves
on Aug 9th, 2007

Barcamp Portugal 2007

And yet another edition of Barcamp Portugal, my first one! I’m proud to announce that my company, Waveweb, will be sponsoring the event.

This will be a place to share, explore, learn and interact with other people that work in the IT business, but you can learn more about the concept of what a barcamp really is in here.

Barcamp

by Luis Alves
on Aug 5th, 2007

XHTML Standards and flash

I have recently debated myself with the problem of embedding flash in a XHTML document and have it validated by the w3c validator. After some searches I have found an article with the satay method in A List Apart website.

After testing the method as described in A List Apart, it didn’t worked… so after a few more searches I have found the solution to the problem in designlegion.com. The problem is that the satay method as described originally is for Flash MX and I was working with Flash 9. When using Flash version 8 or superior the actionscript to load the movie is different, instead of _root.loadMovie(_root.path,0); it must be loadMovieNum(_root.path,0);

I hope this helps someone :-)

XHTML Standards Flash Satay Method Embedding flash to validate in XHTML

by Luis Alves
on Aug 1st, 2007

The web…

The world wide web amazes me again!…

Everyday I work with the web but when I go deeper, especially in those days that I just start browsing around with no destiny… I get amazed one more time, one more day… today it was with Google earth and some of the great Google tools, then I went to my blog and I found a comment from a friend that I haven’t seen in 11 years and he found me on the web because he used a picture of mine from sxc.hu, a place where you can find free images, to make an add, isn’t it amazing? If people used to say that the world is a small place, now they can say it’s even smaller… three letters only…www.

Next »