flash

LoaderContext and ApplicationDomain changes with Adobe AIR?

断了今生、忘了曾经 提交于 2019-12-31 22:27:25
问题 I'm currently experimenting with loading external SWF files from both an standard AS3 application, and an AIR application. It seems that the AIR application doesn't act the same way a standard SWF run by the Flash Player does. According to the documentation, the applicationDomain property of LoaderContext is usable in an AIR application too, but it just seems to be not working. I have the following code : package { import flash.display.Loader; import flash.display.LoaderInfo; import flash

荔枝派 nano 资料整理

时间秒杀一切 提交于 2019-12-31 13:43:44
一键烧录及脚本使用说明 http://nano.lichee.pro/build_sys/onekey.html#linux-16m-spi-flash http://nano.lichee.pro/build_sys/onekey.html#linux-16m-spi-flash https://www.thirtythreeforty.net/posts/2019/12/my-business-card-runs-linux/ https://whycan.cn/t_2933.html 上电后首先是 On-Chip ROM启动, 然后 ROM 依次检查 SPI NOR/NAND, TF 卡是否有合法的 boot0(u-boot spl), 如果都没有则进入 USB FEL 从sunxitool工具源码可以看出,在地址最开头放了一些信息头,有magic nunber来标记是否合法 我下载了uboot 源码 ,可是没找到 你说的这个东西,能告诉我再那个文件里吗 ,就这这段启动代码的源码,我搜索也找不到。 我想找到关键信息 自己写一个spi load 程序。感谢 https://whycan.cn/t_2179.html 原文发表在我博客上:荔枝派nano的SPI-Flash系统编译创建全过程 一键烧录镜像(Linux环境—16M spi-flash 启动)

How to run an external SWF inside a Flex Application?

匆匆过客 提交于 2019-12-31 10:53:11
问题 EDIT: Due to the answer I change the code posted. I've added the Security.allowDomain("*") line and that line throws me an error. So, how can that be made? I want to run an Action Script 3.0 Application into a Flex Application. To do this I've done the following: <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication windowComplete="loadSwfApplication()" xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <![CDATA[ private function loadSwfApplication() { // The next line throws me

Adobe AIR - Custom Preloader with Image

泪湿孤枕 提交于 2019-12-31 07:39:45
问题 Folks, I have designed an Adobe AIR application. I want to show some preloader on it, before it opens up. Can anyone guide me with tutorials on preloader aimed for AIR specifically or any already built in ones? Thanks 回答1: With AIR I can think of a couple of ways to achieve that: 1. with native windows Set the 'visible' attribute of your main WindowedApplication to 'false'. On 'creationComplete' event spawn a new Window that contains your splash screen. Perform the necessary logic before

Beginner Actionscript reference

会有一股神秘感。 提交于 2019-12-31 06:26:50
问题 My eight years old son asks to "teach him programming in Flash". Can somebody refer on good Actionscript learning resource online? The Flash version we have is "Flash MX". Thank you in advance. 回答1: see if this fits your bill: http://www.scribd.com/doc/9409007/ADOBE-FLASH-ACTIONSCRIPT-BOOK 回答2: www.flashkit.com www.karupa.com 回答3: You should also check out some stuff from top AS developers (Brimelow, Skinner, Moock), although, nowadays much of the material will be focused on AS3 (Flash 9/10).

How to insert data from dynamic array to sqlite db getting from WebService Using Loop in action script 3.0 and flex

萝らか妹 提交于 2019-12-31 06:03:49
问题 How can I insert dynamic Array to data base using Loop at the success of the Webservice call first my Webservice which i have Bind to DataGrid <fx:Declarations> <mx:WebService id="ws" wsdl="http://localhost:2690/vtrServices.asmx?wsdl"> </mx:WebService> <vtrservices:VtrServices id="vtrServices" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true" result="vtrServices_resultHandler(event)" /> <s:CallResponder id="SignIn1Result2"/> <s:CallResponder id

Error 2000 in flash

天大地大妈咪最大 提交于 2019-12-31 05:38:06
问题 Sometimes(I can't give exact classification of the situation) Error #2000 is thrown by flash player. I suppose it's caused by working with external swf(sqiglly spell checking library) via local connection. Have you any idea how can I fix the bug? thank you in advance! 回答1: Without the actual code, one has about 3 or 4 different reasons for Error #2000. Most of the times it is because the security policy was not set properly or was not received in time. If it is not the external swf it could

create a page which contain a flash can be add text dynamiclly

旧时模样 提交于 2019-12-31 05:20:05
问题 I have to create a web page which can be set to full screen(I mean the real full screen,not like press the F11),in the full screen there should be some words displaying. Take the http://stackoverflow.com for example: Normally,it show its contents(the questions),but someday,maybe a VIP come to visit the page,so we want to replace the whole page with a welcome screen. Of course we can replace the https://stackoverflow.com/index.html (suppose it is the index page) with the welcome text(welcome

Flash AS3 - Drag and drop multiple objects to multiple targets

﹥>﹥吖頭↗ 提交于 2019-12-31 05:15:29
问题 I have multiple objects to drag to multiple targets. I have a code without error. I am using multiple functions. But I wonder if I pass the objects and the specific target with one function like dropIt since I have more objects and duplicated functions. This picture is what I want to implement. and the code is as follows. Thanks in advance. var obj1:Array = [obj_1, obj_10]; var obj2:Array = [obj_2, obj_20]; for each(var redsMC:MovieClip in reds) { obj1MC.buttonMode = true; obj1MC

Flash CS5 reference a display object in the constructor of a non-document class

纵然是瞬间 提交于 2019-12-31 04:29:04
问题 After learning of this excellent method of accessing an object placed on the stage in Flash CS5 in a class other than the document class (found in this thread), I have run into a stumbling point. I am using this.stage.getChildAt(0).greenLight1.visible=false; to turn a symbol with the instance name greenLight1 invisible when accessing greenLight1 (the instance name specified in my .fla for the bitmap). This works perfectly where I was using it which is in a sub function of a few different