开发者

How Flex components can be used with Away3D?

开发者 https://www.devze.com 2023-03-25 13:06 出处:网络
Is it possible to have Flex component in Away3D environment? For example, there is 3D plane and 开发者_StackOverflow中文版there is interactive Flex component on that plane.Yes.You can view a good tuto

Is it possible to have Flex component in Away3D environment? For example, there is 3D plane and 开发者_StackOverflow中文版there is interactive Flex component on that plane.


Yes. You can view a good tutorial here on a Flex Component with Away3D (this is better then me giving a brief explanation): http://www.flashmagazine.com/tutorials/detail/using_away3d_with_flex/


I meet this problem just now and solve it , so like to place here my solution :

Quick way to do it is create SpriteVisualElement , draw graphics with hole for Stage3D content and set it as 'mask' of Application . If You will mask deeper clips , dont forget to disable application background or set backgroundAlpha to 0 .

0

精彩评论

暂无评论...
验证码 换一张
取 消