flash-player-11

Getting started with stage3d in Flash CS5, and which framework to choose?

匆匆过客 提交于 2020-01-01 19:31:10
问题 I have been off the stage 3d bandwagon and flash programming altogether this year, but I want to catch up on things and I need some tips. Here's what I know: FP11 features the low level GPU stage3d API, codenamed Molehill. There are a few frameworks out there which help you access all the stage3d features more easily. (I know of Flare3D and Alternativa3D). Which framework is best to start out with? (not just out of the mentioned 2) The rather few tutorials from Flare3D and Alternativa3D say

Referencing own constructor in inner function

大兔子大兔子 提交于 2019-12-13 00:46:32
问题 Here's a toy example distilled from a complex class: public class MyClass { public function MyClass() { trace('Created'); } public static function makeObjectAsync(callback:Function):void { inner(); function inner():void { var object:MyClass = new MyClass(); // line 10 callback(object); } } } After calling the static function: MyClass.makeObjectAsync(function(object:Myclass):void { ... }) the following run-time exception occurs at line 10: TypeError: Error #1007: Instantiation attempted on a

Targeting Flash Player 11.2 - 11.4 APIs with the OpenLaszlo SWF11 runtime

蹲街弑〆低调 提交于 2019-12-11 01:36:54
问题 I've read here that there is an OpenLaszlo version capable of compiling LZX into SWF11 files for Flash Player 11.1. The SDK included with the flex4.6 branch of OpenLaszlo is - as we can tell by the name - Flex SDK 4.6. In another discussion on the Flash context menu in OpenLaszlo it was mentioned that it is possible to target Flash Player APIs higher than 11.1 with the flex4.6 branch of OpenLaszlo. What changes would have to be made the the flex4.6 branch to achieve this? Does that involve

VerifyError: Error #1014: class could not be found

时间秒杀一切 提交于 2019-12-06 23:56:38
问题 I'm developing AS3 project using Flash Builder 4.5 (also with library Away3D 4.0 and Flex 4.5.1 SDK). Also, I add my own SWC library, which I compile previously into my project. It works find if I import class in my SWC library, however I want my swf run in a stand-alone flash player 11. I follow this tutorial: http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-4dd43be212e8f90c222-7ffb.html Now, I could run my app in a flash player 11, but I got an error in run time:

VerifyError: Error #1014: class could not be found

China☆狼群 提交于 2019-12-05 03:02:49
I'm developing AS3 project using Flash Builder 4.5 (also with library Away3D 4.0 and Flex 4.5.1 SDK). Also, I add my own SWC library, which I compile previously into my project. It works find if I import class in my SWC library, however I want my swf run in a stand-alone flash player 11. I follow this tutorial: http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-4dd43be212e8f90c222-7ffb.html Now, I could run my app in a flash player 11, but I got an error in run time: VerifyError: Error #1014: XXX class could not be found And XXX is my class in SWC library. How should I fix this?

Getting started with stage3d in Flash CS5, and which framework to choose?

為{幸葍}努か 提交于 2019-12-04 20:32:51
I have been off the stage 3d bandwagon and flash programming altogether this year, but I want to catch up on things and I need some tips. Here's what I know: FP11 features the low level GPU stage3d API, codenamed Molehill. There are a few frameworks out there which help you access all the stage3d features more easily. (I know of Flare3D and Alternativa3D). Which framework is best to start out with? (not just out of the mentioned 2) The rather few tutorials from Flare3D and Alternativa3D say that you require the Flex SKD / Flash Builder, but I have to use Flash CS5. -Can I? This brings me to my

How can I play a RTMP video through netConnection and netStream

痞子三分冷 提交于 2019-11-28 11:32:16
I am working on a prototype in which I have to play a video through RTMP protocol. My code is following : private function init():void { streamID:String = "mp4:myVideo"; videoURL = "rtmp://fms.xstream.dk/*********.mp4"; vid = new video(); vid.width = 480; vid.height = 320; nc = new NetConnection(); nc.client = {onBWDone: function():void { }}; nc.addEventListener(NetStatusEvent.NET_STATUS, onConnectionStatus); nc.connect(videoURL); } private function onConnectionStatus(e:NetStatusEvent):void { if (e.info.code == "NetConnection.Connect.Success") { trace("Creating NetStream"); netStreamObj = new

How can I play a RTMP video through netConnection and netStream

本小妞迷上赌 提交于 2019-11-27 06:21:03
问题 I am working on a prototype in which I have to play a video through RTMP protocol. My code is following : private function init():void { streamID:String = "mp4:myVideo"; videoURL = "rtmp://fms.xstream.dk/*********.mp4"; vid = new video(); vid.width = 480; vid.height = 320; nc = new NetConnection(); nc.client = {onBWDone: function():void { }}; nc.addEventListener(NetStatusEvent.NET_STATUS, onConnectionStatus); nc.connect(videoURL); } private function onConnectionStatus(e:NetStatusEvent):void {