Minko 3D basic Apache flex setup

MXML component class package { import aerys.minko.render.Viewport; import aerys.minko.scene.controller.camera.ArcBallController; import aerys.minko.scene.node.Scene; import aerys.minko.scene.node.camera.Camera; import flash.events.Event; import flash.geom.Point; import mx.core.UIComponent; [Event(name=”minkoReady”, type=”Stage3DEvent”)] public class MinkoFlexContainer extends UIComponent { private var _viewport:Viewport = new Viewport(); private var _camera:Camera = null; private var _cameraController:ArcBallController = null; private var _scene:Scene = new Scene(); private Read more…

My random utils

Just sharing very small class that i use on daily business. First function is simply silent DisplayObject removal. Second one is a deep comparison scan of two objects, very useful in flex [cc lang=”actionscript”] package com.riawolf.utils { import flash.display.DisplayObject; /** * … * @author me */ public class RandomUtils { Read more…

Strategy pattern

Couple of months ago i joined a high complexity project that a team of multiple developers were working on. This required some adjusting to my usual workflow, but it was for the better. I learned a lot and one of those things is a strategy pattern. This pattern goes well Read more…