Amf Papervision Blog Experimentation

This is a short screencast of my experimentation to display the content of this blog in a 3D space

Each Cube represent a post.
The color give the categorie information,
The right side of each cube give a time information ( the year where it was written)

the navigation in the 3D space works like this :

Arrow keys to moveForward (up) , moveBackward (down), moveLeft( left), moveRight(right).

Space to moveUp and Ctrl to moveDown.

The mouse handles the camera's orientation (lookUp, lookDown, lookLeft, lookRight);

Denis P.

comments (0)
| More

Actionscript Classe Grid

Bonjour,

Je me suis penché sur amfPhp pour transformer ce blog en une appli Flash ( utilisant certainement papervision) histoire d'avoir un visualisation du blog dans un espace 3D. j'ai par conséquent crée rapidement une petite classe Grid qui comme sont noms l'indique permet de diviser une espace en cellule rectangulaire en fonction de 3 paramètres.

Je met ici cette classe qui peux s'avérer utile dans certains cas. (agenda ou autre).

gridAs3Class.zip

Voici un petit exemple de ce que ca peut donner :

Dans cette exemple, j'ai représenté visuellement l'entierté des posts posté sur une grille qui redimensionnera ses cellules automatiquement en fonction du nombre de posts présents sur le blog.

sample here

comments (4)
| More

How to include Fonts with Flash Builder in an ActionScript 3.0 Project

Hi,

Because I found the right way to do that after I tested all kind of way to include a font in an actionscript 3 project with Flash Builder, here is the solution :

package
{
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    import flash.text.AntiAliasType;
 
    public class sample 
	{
 
           //Font
	   //Add in The Embed Tag :  embedAsCFF="false"
	   [Embed(source="Your_Font.otf",
                       fontName="myFont",
                       mimeType = "application/x-font",
                       unicodeRange="U+0020,U+0041-U+005A,U+0061-U+007A",
                       embedAsCFF="false" )]
	   private var font:Class;
 
           public function sample():void
           {
            var MyText:TextField = new TextField();
	    MyText.embedFonts = true;
	    MyText.wordWrap = false;
	    MyText.autoSize = TextFieldAutoSize.LEFT;
	    MyText.antiAliasType = AntiAliasType.ADVANCED;
	    MyText.text="My font Works !";
	    var MyTextFormat:TextFormat = new TextFormat("myFont",18,0xf0f0f0);
	    MyText.setTextFormat(MyTextFormat);  
           }
 
        }
 
}

I hope it will help.

Denis P.

comments (0)
| More