to resolve it. dont use Mouse.addListener.
Illustrator have a great plugin to turn lineart into 3D.
But that effect is not support in flash.
you can import as bitmap or break the 3D layer to path inside illustrator.
Here's how to do that.
in Illustrator,
1. Select the layer with 3D effect.
2. in Object menu, select expand Appearance.
3. import the ai file to flash again.
the actionscript 3 code snippet to getURL:
import flash.net.*;
navigateToURL(new URLRequest('http://www.google.com'),"_self");
the actionscript 3 code snippet to get flashvars:
var flashvars:Object = LoaderInfo(this.root.loaderInfo).parameters;
var xxx = flashvars['flashVariableName'];
just make a test on CALayer, webView with flash.
http://www.colvia.com/coreAnimation/
Safari transforms in 3D with perspective. But there are a white frame in the background.
I just finish the conversion of Linear Gradient between HTML Canvas/Quartz2D and flash.
They use different filling system.
in Quartz, the gradient start from one point to another point.
then add each "color stop" by ratio and color.
flash use a gradient box. You may rotate the gradient box and translate it.
and it use 3 array to store color, alpha and ratio.

The source code is commit to http://ascanvas.googlecode.com/
I'll make it as Featured download after radical gradient completed.
the following code now compatible with firefox, safari and flash ascanvas.
var color1 = ctx.createLinearGradient(100,100,30,30);
color1.addColorStop(0,"#FFFFFF");
color1.addColorStop(0.1,"#0000FF");
color1.addColorStop(0.9,"#FF00FF");
color1.addColorStop(1,"#000000");
ctx.fillStyle = color1;
ctx.beginPath();
ctx.moveTo(0,0);
ctx.rect(0, 0, 200, 200)
ctx.closePath();
ctx.fill();
:: Next Page >>
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |