Flash Player 10.3 released
- Media measurement (video analytics)
- Acoustic echo cancellation
- Enhanced privacy protection
- Security enhancements
More: blogs.adobe.com, Flash Player 10.3 release notes
- Native JSON Support (yeah!)
- G.711 audio compression for telephony
- H.264/AVC SW Encode for camera encoding
- GC Advice (“AS3 code can advise the GC on when to schedule the disruptive end-of-GC pause”) – use System.pauseForGCIfCollectionImminent
- Socket Progress Events
- Pause/sleep/resume Events
- Secure random number generator
- Large Bitmap Support — “No limitations in BitmapData sizes! Yes, really cool” (c) Thibault Imbert
More: labs.adobe.com, labs.adobe.com, bytearray.org
Hi! If you’re foced to avoid mouse movement, but still have to find mouse intersection with a some object (e.g. if moves only object), here is a quick tip:
//place this code to the EnterFrame or Timer event handler
var origin:Vector3D = new Vector3D();
var direction:Vector3D = new Vector3D();
_camera.calculateRay(origin, direction, mouseX, mouseY);
// _containerSurface - object to intersect
concatenatedMatrix = _containerSurface.concatenatedMatrix;
origin = concatenatedMatrix.transformVector(origin);
direction = concatenatedMatrix.deltaTransformVector(direction);
rayData = _containerSurface.intersectRay(origin, direction);
// just highlighting intersected face
rayData.face.material = new FillMaterial(0xFF0000);
Hi, this is a syntax coloring scheme I use in my daily work in the FlashDevelop IDE:
It greatly saves my eyes all day, hope you’ll like it too.
Its based on one another coloring scheme, but I don’t remember it’s author unfortunately 🙁
Hi! If you wish to reverse (play from the end to the beginning) some of your animations in the Alternativa3D engine, you could try to set the AnimationClip‘s property speed to the negative value, but it could be harmful in most cases and don’t officially supported.
Unfortunately, there is no any information or suggests about inverting animations like so on the public yet and nothing about it in the official documentation. I think, current engine build (7.7) have no lightweight native implementation of this functionality. It could be nice to see something like boolean reverse property at the AnimationClip class, isn’t it? Bot there is nothing similar yet =(
So, with great tip from the Vladimir Babushkin (about rebuilding animation by keyframes with reversed time), I came to this piece of code:
I had to write some code in the FlashDevelop for my AIR app (builded from Flash Pro IDE) recently and there was a little tricky to force FD to recognize and work well with all AIR-related classes and code.
So, if you’re using FD for code writing and Flash IDE to publish you AIR app, you could create usual FD “Flash IDE Project”.
But that project type don’t support native AIR code and it could be annoying.
To add native AIR code support in your FlashDevelop Flash IDE Project, just add “+configname=air” to the Additional Compiler Options in the Compiler Options tab of your project properties dialog:
FlashDevelop project properties dialog
Hope it will be helpful for some of you.