Archive for December, 2008

Advanced ActionScript 3.0 AnimationAdvanced ActionScript 3.0 Animation

Well here it is, my first book review – Advanced ActionScript 3.0 Animation from Friends Of Ed and writted by Keith Peters

This is Foundation ActionScript 3.0 Animation: Making Things Move! sequel.

The concept of both books is to create animation using only the ActionScript3.0 code, and they are structured as:

Foundation ActionScript 3.0 Animation: Making Things Move!

  • PART ONE – ACTIONSCRIPTED ANIMATION BASICS
    • Chapter 1 Basic Animation Concepts
    • Chapter 2 Basics of ActionScript 3.0 for Animation
    • Chapter 3 Trigonometry for Animation
    • Chapter 4 Rendering Techniques
  • PART TWO – BASIC MOTION
    • Chapter 5 Velocity and Acceleration
    • Chapter 6 Boundaries and Friction
    • Chapter 7 User Interaction: Moving Objects Around
  • PART THREE – ADVANCED MOTION
    • Chapter 8 Easing and Springing
    • Chapter 9 Collision Detection
    • Chapter 10 Coordinate Rotation and Bouncing Off Angles
    • Chapter 11 Billiard Ball Physics
    • Chapter 12 Particle Attraction and Gravity
    • Chapter 13 Forward Kinematics: Making Things Walk
    • Chapter 14 Inverse Kinematics: Dragging and Reaching
  • PART FOUR – 3D ANIMATION
    • Chapter 15 3D Basics
    • Chapter 16 3D Lines and Fills
    • Chapter 17 Backface Culling and 3D Lighting
  • PART FIVE – ADDITIONAL TECHNIQUES
    • Chapter 18 Matrix Math
    • Chapter 19 Tips and Tricks

Advanced ActionScript 3.0 Animation

  • Chapter 1 – Advanced Collision Detection
  1. Hit Testing Irregularly Shaped Objects
  2. Hit Testing with a Large Number of Objects
  • Chapter 2 – Steering Behaviors
  1. Behaviors
  2. Vector2D Class
  3. Vehicle Class
  4. SteeredVehicle Class
  5. Flocking
  • Chapter 3 – Isometric Projection
  1. Isometric versus Dimetric
  2. Creating Isometric Graphics
  3. Isometric Transformations
  4. Isometric Objects
  5. Depth Sorting
  6. Isometric World Class
  7. Moving in 3D
  8. Collision Detection
  9. Using External Graphics
  10. Isometric Tile Maps
  • Chapter 4 – Pathfinding
  1. Pathfinding Basics
  2. A* (A- Star)
  3. Implementing the AStar Class
  4. Using AStar in a Game
  5. Advanced Terrain
  • Chapter 5 – Alternate Input: The Camera and Microphone
  1. Cameras and Microphones
  2. Sound as Input
  3. Video as Input
  • Chapter 6 – Advanced Physics: Numerical Integration
  1. Numerical Integration and Why Euler Is “Bad”
  2. Runge-Kutta Integration
  3. Verlet Integration
  • Chapter 7 – 3D in Flash 10
  1. Flash 10 3D Basics
  2. 3D Positioning
  3. 3D Rotation
  4. Field of View and Focal Length
  5. Screen and 3D Coordinates
  6. Pointing at Something
  • Chapter 8 -Flash 10 Drawing API
  1. Paths
  2. Triangles
  3. Graphics Data
  • Chapter 9 – Pixel Bender
  1. What Is Pixel Bender?
  2. Writing a Pixel Shader
  3. Data Types
  4. Getting the Current Pixel Coordinates
  5. Parameters
  6. Sampling the Input Image
  7. Twirl Shader for Flash
  8. Using Pixel Bender Shaders in Flash
  9. Using a Shader as a Filter
  10. Using a Shader as a Blend Mode
  • Chapter 10 – Tween Engines
  1. The Flash Tween Class
  2. Flex Tween Class
  3. Tween Engines
  4. Tweener
  5. TweenLite/TweenGroup
  6. KitchenSync
  7. gTween
I already have the first book, when the second arrives I will do a deeper review.

Ora aqui está a primeira review de um livro aqui no meu singelo espaço – Advanced ActionScript 3.0 Animation escrito pelo Keith Peters e editado pela Friends Of Ed.

Esta é a sequela do Foundation ActionScript 3.0 Animation: Making Things Move!.

O conceito de ambos os livros é se criar animação com recurso somente a código ActionScript3.0, vejamos então como ficaram estruturados:

Foundation ActionScript 3.0 Animation: Making Things Move!

  • PART ONE – ACTIONSCRIPTED ANIMATION BASICS
    • Chapter 1 Basic Animation Concepts
    • Chapter 2 Basics of ActionScript 3.0 for Animation
    • Chapter 3 Trigonometry for Animation
    • Chapter 4 Rendering Techniques
  • PART TWO – BASIC MOTION
    • Chapter 5 Velocity and Acceleration
    • Chapter 6 Boundaries and Friction
    • Chapter 7 User Interaction: Moving Objects Around
  • PART THREE – ADVANCED MOTION
    • Chapter 8 Easing and Springing
    • Chapter 9 Collision Detection
    • Chapter 10 Coordinate Rotation and Bouncing Off Angles
    • Chapter 11 Billiard Ball Physics
    • Chapter 12 Particle Attraction and Gravity
    • Chapter 13 Forward Kinematics: Making Things Walk
    • Chapter 14 Inverse Kinematics: Dragging and Reaching
  • PART FOUR – 3D ANIMATION
    • Chapter 15 3D Basics
    • Chapter 16 3D Lines and Fills
    • Chapter 17 Backface Culling and 3D Lighting
  • PART FIVE – ADDITIONAL TECHNIQUES
    • Chapter 18 Matrix Math
    • Chapter 19 Tips and Tricks

Advanced ActionScript 3.0 Animation

  • Chapter 1 – Advanced Collision Detection
  1. Hit Testing Irregularly Shaped Objects
  2. Hit Testing with a Large Number of Objects
  • Chapter 2 – Steering Behaviors
  1. Behaviors
  2. Vector2D Class
  3. Vehicle Class
  4. SteeredVehicle Class
  5. Flocking
  • Chapter 3 – Isometric Projection
  1. Isometric versus Dimetric
  2. Creating Isometric Graphics
  3. Isometric Transformations
  4. Isometric Objects
  5. Depth Sorting
  6. Isometric World Class
  7. Moving in 3D
  8. Collision Detection
  9. Using External Graphics
  10. Isometric Tile Maps
  • Chapter 4 – Pathfinding
  1. Pathfinding Basics
  2. A* (A- Star)
  3. Implementing the AStar Class
  4. Using AStar in a Game
  5. Advanced Terrain
  • Chapter 5 – Alternate Input: The Camera and Microphone
  1. Cameras and Microphones
  2. Sound as Input
  3. Video as Input
  • Chapter 6 – Advanced Physics: Numerical Integration
  1. Numerical Integration and Why Euler Is “Bad”
  2. Runge-Kutta Integration
  3. Verlet Integration
  • Chapter 7 – 3D in Flash 10
  1. Flash 10 3D Basics
  2. 3D Positioning
  3. 3D Rotation
  4. Field of View and Focal Length
  5. Screen and 3D Coordinates
  6. Pointing at Something
  • Chapter 8 -Flash 10 Drawing API
  1. Paths
  2. Triangles
  3. Graphics Data
  • Chapter 9 – Pixel Bender
  1. What Is Pixel Bender?
  2. Writing a Pixel Shader
  3. Data Types
  4. Getting the Current Pixel Coordinates
  5. Parameters
  6. Sampling the Input Image
  7. Twirl Shader for Flash
  8. Using Pixel Bender Shaders in Flash
  9. Using a Shader as a Filter
  10. Using a Shader as a Blend Mode
  • Chapter 10 – Tween Engines
  1. The Flash Tween Class
  2. Flex Tween Class
  3. Tween Engines
  4. Tweener
  5. TweenLite/TweenGroup
  6. KitchenSync
  7. gTween

O primeiro livro já o tenho, o segundo assim que chegar fazerei um review aprofundado.

ActionScript Reference – RIA DevelopmentActionScript Reference – RIA Development

Mike Chambers twittered to inform their followers that he had about 600 printed versions of the “ActionScript Reference Rich Internet Application Development” “to deliver for free, and all that it takes was to send him your address by email, and 1 1/2 weeks later here it is my printed version!

ActionScript Reference

Thanks Mike Chambers, Thanks Adobe !!

O Mike Chambers andou via Twitter a informar os seus seguidores que tinha cerca de 600 versões impressas do “ActionScript Reference Rich Internet Application Development” para enviar gratuitamente, e para tal bastaria enviar-lhe a morada pelo mail, e semana e meia depois cá está a minha cópia !!!

ActionScript Reference

Thanks Mike Chambers, Thanks Adobe !!

Book reviews“Reviews” de livros

The “New Year” is almost there and we all starts plans for 2009, with lots of  “blogging”, “Business” and much more.

For a new category was born here in this blog – BOOKS (livros) for book “reviews”, that will take place every week.

The subjects will be:

  • Flash / ActionScript
  • PHP
  • Silverlight

Within these there will be minor-subjects as “Programming”, “Security”, “GameDev,” “Design “…..

I will be expecting suggestions from your side also.

O “Novo Ano” está ai à porta e começam-se já a traçar planos para um 2009 cheio de “blogging”, “negócios” e outros tantos.

Para já nasceu uma nova categoria aqui neste espaço – LIVROS que servirá para as “reviews” de livros.

Os temas a abordar serão:

  • Flash / ActionScript
  • Silverlight
  • Arduino
  • Processing
  • OpenFrameworks
  • .NET
  • PHP

Dentro destes haverão subtemas como “Programação”, “Segurança”, “GameDev”, “Design”…..

Terei sempre lugar para sugestões de vossa parte…até breve.

“25 Lines of ActionScript3″ Competition has already a winner!Competição “25 Lines of ActionScript3″ já tem vencedor!

I had already mentioned here the 12 finalists of the “25 Lines of ActionScript3” competition … and now is the time to announce the winner:
Marius Hey from Germany with his “Smilie Bounce 25” won a “CS4 Master Collection” … congratulations!

aqui tinha mencionado os 12 finalistas do concurso “25 Lines of ActionScript3“…e agora é chegada a hora de anunciar o vencedor:

Marius Hei da Alemanha com o seu “Smilie Bounce 25” ganhou um “CS4 Master Collection”…parabéns !

Micro”Santa”soft offers Christmas giftsMicro”Santa”soft oferece Prendas de Natal

Microsoft offers a Christmas gift to all the students, and this gift is called DreamSpark or we may also say free development and design software.
No, it isn’t the chicken’s run … it is true, and the protocols are for high-school and university’s students. Every 12 months the software itself will ask to revalidate the students credentials.

The professional software available is:

  • Visual Studio 2008 Professional Edition
  • Visual Studio 2005 Professional Edition
  • Expression Studio2
  • SQL Server 2008 Developer
  • Windows Server 2008 Standard
  • Windows Server 2003
  • IT Academy Student Pass Free Training
  • XNA Game Studio 2.0 – “Your World, Your Game”

The already free software available is:

  • Visual C# 2008 Express Edition
  • Visual C++ 2008 Express Edition
  • Visual Studio 2005 Express Edition
  • Visual Basic 2008 Express Edition
  • Visual Web Developer 2008 Express Edition
  • SQL Server Express
  • Virtual PC

Right now there is no excuse to drop your technology study … download it and start your study! Find out more about it on your school!A Microsoft oferece uma prenda de Natal a todos os estudantes do Mundo, e essa prenda chama-se DreamSpark que é o mesmo que dizer software de desenvolvimento e de design gratuito.

Não, não é a febre das galinhas…é mesmo verdade, e os protocolos são para estudantes do secundário e universitários. A cada 12 meses o próprio software irá pedir para se voltar a validar as credenciais de estudante, mantendo-se assim a funcionar.

Os softwares profissionais disponíveis são:

  • Visual Studio 2008 Professional Edition
  • Visual Studio 2005 Professional Edition
  • Expression Studio2
  • SQL Server 2008 Developer
  • Windows Server 2008 Standard
  • Windows Server 2003
  • IT Academy Student Pass Free Training
  • XNA Game Studio 2.0 – “Your World, Your Game”

Os softwares gratuitos disponíveis são:

  • Visual C# 2008 Express Edition
  • Visual C++ 2008 Express Edition
  • Visual Studio 2005 Express Edition
  • Visual Basic 2008 Express Edition
  • Visual Web Developer 2008 Express Edition
  • SQL Server Express
  • Virtual PC

Neste momento não há desculpa para se ficar atrás no estudo das tecnologias…faz já o download e começa a estudar ! Informa-te na tua escola!

Silverlight Toolkit December ReviewActualização de Dezembro ao Silverlight Toolkit

Microsoft has just launched an upgrade to the Silverlight Toolkit – December Review

There are so many new features that it is almost tempting to mention only the components that had not been reviewed:

  • DockPanel
  • WrapPanel
  • ViewBox
  • HeaderedContentControl
  • HeaderedItemsControl

All other changes were in large or small importance:

  • TreeView
  1. Review of “issue # 838″ in the click selection behavior

  2. New visual state – OnMouseLeftButtonDown both for the TreeView and TreeViewItem

  • AutoCompleteBox
  1. Amendment of the SelectedItemChanged event to SelectionChanged

  2. Amendment of the OnSelectedItemChanged event to OnSelectionChanged
  3. New IsEditable property
  4. Amendment to the default value of some properties: IsTextCompletionEnabled, IsEditable
  • NumericUpDown
  1. Resize accordance with the current size
  2. Repeat operation similar to the buttons
  3. Access through the Enter key
  4. Amendment of the event’s bubbling
  • Expander
  1. Correction of “issue # 928″ on memory leak when the direction is set to Right

  • Label
  1. Correction of “issue # 862″ on the property Margin
  • Themes
  1. Addition of new subjects for the components skins
Also there were changes to Chartings.

I advise you to read the more detailed Silverlight Toolkit website.A Microsoft acabou de lançar uma actualização para os componentes do Silverlight – December Review

As actualização são tantas que é quase tentador mencionar somente os componentes que não tiveram alterações:

  • DockPanel
  • WrapPanel
  • ViewBox
  • HeaderedContentControl
  • HeaderedItemsControl

Todos os outros tiveram alterações, de grande ou pequeno registo:

  • TreeView
  1. Revisão da “issue #838″ no comportamento do click selection
  2. Novo estado visual – OnMouseLeftButtonDown tanto para o TreeView como para os TreeViewItem

  • AutoCompleteBox
  1. Alteração do evento SelectedItemChanged para SelectionChanged
  2. Alteração do evento OnSelectedItemChanged para OnSelectionChanged
  3. Inserção da propriedade IsEditable
  4. Alteração do valor default de algumas propriedades: IsTextCompletionEnabled, IsEditable
  • NumericUpDown
  1. Redimensionamento de acordo com o tamanho actual
  2. Funcionamento semelhante aos botões Repeat
  3. Acesso através da tecla Enter
  4. Alteração dos bubblings entre eventos
  • Expander
  1. Correcção da “issue #928″ sobre memory leak quando a direcção está para Right
  • Label
  1. Correcção da “issue #862″ sobre a propriedade Margin
  • Themes
  1. Acrescimo de novos temas para as skins dos componentes

Também se verificaram alterações aos Chartings.

Aconselho a leitura mais pormenorizada no site do Silverlight Toolkit.

“25 Lines of ActionScript3″ CompetitionConcurso “25 Lines of ActionScript3″

The 25 lines of code in ActionScript3 competition came to an end and the 12 finalists were chosen … now is the time to vote!

The finalists source-code is also available so we may learn something new.

Choose your favorite here.O concurso das 25 linhas de código em ActionScript3 chegou ao fim e foram escolhidos 12 finalistas…agora é altura de votar !!

O código dos finalistas também é disponibilizado para o pessoal poder aprender mais qualquer coisa.

Escolham o vosso favorito aqui.

Dynamically generate PDF’s with PHPGerar PDF’s dinamicamente com PHP

The PHP has a range of extensions to be able to work various file formats, and for PDF is normally used the PDFlib library.
However, there are two libraries for that purpose, PDFlib and libHaru. In the Zend website you can find a tutorial on this second library.

Good luck!O PHP tem uma panóplia de extensões para se poder trabalhar vários formatos de ficheiros, e para o PDF utiliza-se, regra geral, a biblioteca PDFlib.

No entanto, existem duas bibliotecas para esse efeito, PDFlib e libHaru. No site da Zend podem encontrar um tutorial sobre essa segunda biblioteca.

Bom estudo!!

Adobe “Layoffs”Adobe “Layoffs”

The World Economy crisis reached Adobe and the process of “losing weight” included the dismissal of 600 employees, about 8% of its staff.

Yesterday some names began to emerge through personal blogs, and the embarrassment of the communities is immense because we are talking about “Key Players”: Mike Downey, Jason Delmore …

More informations here.A crise da Economia Mundial chegou a Adobe e o processo de “emagrecimento” incluiu o despedimento de 600 funcionários, cerca de 8% do seu efectivo.

Ontem começaram a surgir alguns nomes através de blogs pessoais, e o constrangimento das comunidades é imenso uma vez que estamos a falar, até então, de “Key Players”: Mike Downey, Jason Delmore …

Mais informações aqui.