I made my own contribution to the world of papervision globes.
Its made with the Great White release of papervision.

If you want to try it, visit swedishexports.bjornborg.com and go to the STATS section.

This is a new campaign that we made for Björn Borg – Take a picture of yourself featuring the most creative you in a pair of Björn Borg underwear. Become an export of the week or join a challenge with your picture. The goal is for Björn Borg to recieve pictures from the whole world of positive people.

Visit the campaign

We are working with the Swedish telecom company Comviq. Right now we are working on a fantastic campaign called Comviq BORROW-A-BUDDY. If you go to http://live.comviq.se you can connect your web cam and get online with 2 celebs in a studio and they will call anyone you want and ask anything you want them to.

So if you want to play a prank on your friends or if you don’t want to waste your own mobile credits, don’t just sit there! Let our Lånekompisar make the call!

The campain is only in Swedish.

Flashplayer 10 has some nice advantages, one of them is the new “semi 3D feature” that is very useful for making carousels, cardflips and such. I have seen a number of cardflipexamples using this technique, but no one really looked as good as i wanted. So i started to fool around with both scaleX, scaleY and rotationY at the same time, to make a more dynamic flip. Here is what i came up with, click here to try it out yourself

Screenshot:

Stay updated and get the latest version of our favourite swf embedding script SWFObject here.

It has changed a bit since version 1.5, the biggest change is that there is now 2 ways of embedding your swf.

1. Static Publishing

“Its main advantage is that the mechanism of embedding SWFs relies solely on the object element, so your content can reach a significantly bigger audience than publishing methods that rely on a scripting language. Its biggest disadvantage is that it doesn’t offer a workaround for click-to-activate mechanisms in Internet Explorer and Opera imposed by active content.” Source: http://www.adobe.com/devnet/flashplayer/articles/swfobject.html

2. Dynamic Publishing

“Dynamic publishing avoids click-to-activate mechanisms by its nature, is less verbose than static publishing and integrates very well with scripted applications. Its biggest disadvantage is that embedding SWFs does also rely on JavaScript, resulting in a smaller coverage than when using static publishing.” Source: http://www.adobe.com/devnet/flashplayer/articles/swfobject.html

 

Follow the good massive tutorial here

Here is a short brief on how to catch cuepoints in Flash that is embedded in a video.
I will also cover the insertion of cuepints in a video via Adobe After Effects CS4 in the next part of the tutorial.

1. First of all, import the following classfile:

import fl.video.MetadataEvent;

2. Set up this listener on your video object, this listens for a cuepoint in the video

myVideoMc.addEventListener(fl.video.MetadataEvent.CUE_POINT, videoCuePoint);

3. Implement the callbackmethod, this example just traces the cuepoints keyword from inside the video.


public function videoCuePoint(e:Object)
{
trace(e.info.name);
}

4. Thats it you have now caught a cuepoint from AS3

When you start working with Adobe AIR you will most likely encounter some problems if you want to drag your AIR app around on your desktop. Here is a simple tutorial on this subject.

1. Add eventlisteners to some area in your AIR-app that you want to use as draghandle

myDragArea.addEventListener(MouseEvent.MOUSE_DOWN, startMove);
myDragArea.useHandCursor = false;

2. Implement the callback method

public function startMove(event:MouseEvent):void
{

3. OPTIONAL: Add eventlisteners to some movieclips in your AIR-app if you want to be able to minimize and close your app

closeMc.addEventListener(MouseEvent.CLICK, closeWindow);
minimizeMc.addEventListener(MouseEvent.CLICK, minimizeWindow);

4. Implement the callback methods to close and minimize

public function closeWindow(event:MouseEvent):void

yourTimelineReference.stage.nativeWindow.startMove();

}

{
    yourTimelineReference.stage.nativeWindow.close();
}

 

public function minimizeWindow(event:MouseEvent):void
{
    yourTimelineReference.stage.nativeWindow.minimize();
}

People have asked me how we made the “x-ray flash” as seen on Kone.com
Its actually two videos playing simultaneously ontop of eachother.
On mouseOver/Out events the x-rayflash is hidden and showed.

Have you ever had the user create something on stage that you want to save/send to the server as an image. This has presented a range of problems in the past.

This is a tutorial on how to succeed in this matter:

1. Get the JPEG Encoder class well hidden in as3corelib

2. Import it to your AS3 project

import com.adobe.images.JPGEncoder;
 
 3. Use my nifty little method to encode the movieclip, (q is a qualityparamerter) :
 

function createJPG(m:MovieClip, q:Number, fileName:String)
{
      var jpgSource:BitmapData = new BitmapData (m.width, m.height);
      jpgSource.draw(m);
      var jpgEncoder:JPGEncoder = new JPGEncoder(q);
      var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
}

 

createJPG(myMovieClipOnStage, 90, "sketch");
 
4. The firstpart is now done, you now have the jpg inside the BitmapData object. Now we will just send it to the server using the loadvar equivalent in AS3. This is covered in the next part of this chapter.
 

Welcome to my flashblog ladies and gentlemen.

 Here I will share  some helpful AS3 code and give you updates on the latest Adobe Flash trends.