Some Flash News

Flash Player 10.3 released

General changes:

  • Media measurement (video analytics)
  • Acoustic echo cancellation
  • Enhanced privacy protection
  • Security enhancements

More: blogs.adobe.comFlash Player 10.3 release notes

Incubator updated

General changes:

  • 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.combytearray.org

Found a typo? Please, highlight it and press Shift + Enter or click here to inform me!

Share Button

Alternativa3D 7 mouse intersection without mouse movement tip

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();
var concatenatedMatrix:Matrix3D;
var rayData:RayIntersectionData;

_camera.calculateRay(origin, direction, mouseX, mouseY);

// _containerSurface - object to intersect
concatenatedMatrix = _containerSurface.concatenatedMatrix;
concatenatedMatrix.invert();
origin = concatenatedMatrix.transformVector(origin);
direction = concatenatedMatrix.deltaTransformVector(direction);

rayData = _containerSurface.intersectRay(origin, direction);
if (rayData)
{
  // just highlighting intersected face
  rayData.face.material = new FillMaterial(0xFF0000);
}

Found a typo? Please, highlight it and press Shift + Enter or click here to inform me!

Share Button