flash

How to pass variable From .swf File to .as file?

放肆的年华 提交于 2019-12-21 02:59:07
问题 I have a main in .as and I load .swf in my .as.It's Working fine,Now I want the take variable From .swf and Pass it Into .as. How can i do this? pls. help! My .swf file coding function formatMessage(chatData:Object) { var number:uint = chatData.user; trace(chatData.user); } private function addText() { _loader = new Loader(); _loader.x=10; _loader.y=200; _loader.load(new URLRequest("receive.swf"));//Here i Can Load the Swf.Here how Can i acces the Variable of number ? addChild(_loader); } 回答1

Compiling with Flex4 SDK

心不动则不痛 提交于 2019-12-21 02:57:11
问题 I'm trying to compile an existing Flex3 project with the Flex4 SDK. I'm getting this error: Warning: This compilation unit did not have a factoryClass specified in Frame metadata to load the configured runtime shared libraries. To compile without runtime shared libraries either set the -static-link-runtime-shared-libraries option to true or remove the -runtime-shared-libraries option. The resulting file is roughly the same as my old Flex3 compiled .swf file. Playing the resulting .swf file in

Devise and handling the flash

有些话、适合烂在心里 提交于 2019-12-21 02:45:17
问题 I am using Devise 3.1.1 with rails 3 and I have this flash handling code in my layout: <% flash.each do |name, msg| %> <%= content_tag :section, msg, :id => "flash_#{name}", :class => "flash" %> <% end %> I sign into my app, flash says: "Signed in successfully." then sign out, then sign in incorrectly and flash says: "Signed out successfully." "Invalid email or password." I think I understand why I am getting two messages, when signing in incorrectly there is no redirect, just a render. Not

ExternalInterface not working in IE after page refresh

强颜欢笑 提交于 2019-12-21 02:41:32
问题 I have a bizarre situation in IE where JS can't call up into flash using ExternalInterface after I hit "refresh". I know the movie is getting loaded and the code that does the ExternalInterface.addCallback() appears to be completing without any error Here's a rundown of the steps to reproduce: Open IE and load up the movie for the first time, the ExternalInterface callback methods are available to JavaScript. If I hit refresh, the callback methods aren't available and I get the error Object

WCF with Flash tutorial

人盡茶涼 提交于 2019-12-21 02:39:07
问题 I'm a beginner in WCF, which I have chosen instead of Web Services because all articles and blogs I've read seem to point out that ASMX is old news. I have read a bit about the differences between old Web Services and WCF, and I got the general idea. I also took the MSDN WCF tutorial which seemed simple enough. My problem is that I want to create WCF services that can be consumed by Flash. I've read that it's doable everywhere, but with no obvious A-Z tutorial on how to proceed with the

Is there an unofficial Flash .FLA spec?

独自空忆成欢 提交于 2019-12-21 02:36:11
问题 Is there an unofficial spec anywhere that explains how to reverse engineer a Flash .FLA file? I'm specifically interested in creating an application that can "auto-scene plan" a Flash document programmatically, pulling in content from other files, arranging that content into layers, without needing the Flash IDE open. Animators would then be able to take these pre-assembled FLA's and begin animating them. I've already built a JSFL script that does this, but it runs very slowly, is difficult

创龙OMAPL138的SPI FLASH读写

半城伤御伤魂 提交于 2019-12-21 00:54:29
1. 目前最大的疑问是OMAPL138和DSP6748的DSP部分是完全一样的吗(虽然知道芯片完全是引脚兼容的)?因此现在使用OMAPL138的DSP内核去读写一下外部的SPI FLASH芯片,先看下原理图,可惜创龙核心板的原理图不开源,所以我肯定不买他们家的板子 2. 尤其是startware这个软件库,究竟是用在ARM还是DSP的怎么区分?看资料ARM似乎可以唤醒DSP核? 3. 心血来潮,测试一下,同一个工程是不是可以同时用在ARM和DSP内核上,只是用不用的GEL文件。经过测试发现,如果建立的工程,选的器件是DSP6748,那么生成的.out文件可以用于DSP核,如果选择的是ARM-OMAPL138那么生成的.out用于ARM核,原来是建立工程的时候选择是ARM核还是DSP核 4. 言归正传,本来是搞SPI FLASH的,话题跑远了 void SPIInterruptInit(void) { // 注册中断服务函数 IntRegister(C674X_MASK_INT4, SPIIsr); // 映射中断事件 IntEventMap(C674X_MASK_INT4, SYS_INT_SPI1_INT); // 使能可屏蔽中断 IntEnable(C674X_MASK_INT4); } /********************************************

STM32远程升级基本思路

安稳与你 提交于 2019-12-20 23:18:50
STM32远程升级基本思路 开发环境:IAR for ARM 8.30.1 MCU:STM32F103RCT6 存储介质:w25q32 1.实现思路 1.需要一个bootloader程序和APP程序 2.APP程序通过网络或者串口等方式将要升级的代码写到spiFlash中约定的位置,然后重启 3.bootloader判断spiFlash中是否有文件需要更新,有就将文件更新到stm32的内部Flash的App区域,然后跳 转到APP,否则直接跳转 2.知识储备 STM32闪存模块组织 stm32F103RCT6属于大容量型产品,ROM:256K,RAM:48K,页大小为2k,闪存分为三个块: 主存储器:页大小为2K,256K也就是128页 信息块:分为两个部分: 系统存储器(存放启动程序代码,ST出厂固化,不可更改,用于ISP编程) 用户选项字节(Option Bytes,可以用它设置读写保护,硬件看门狗使能啥的) 闪存存储器接口寄存器:操作stm32内部Flash要用到这些寄存器; 启动配置 ● 从主闪存存储器启动:主闪存存储器被映射到启动空间(0x0000 0000) ● 从系统存储器启动:系统存储器被映射到启动空间(0x0000 0000) ● 从内置SRAM启动:只能在0x2000 0000开始的地址区访问SRAM 3.Bootloader和App的工程设置

Flash designer/coder collaboration best practices

梦想与她 提交于 2019-12-20 20:40:51
问题 I've done several flash projects working as the ActionScripter with a designer doing all the pretty things and animation. When starting out I found quite a lot of information about ActionScript coding and flash design. Most of the information available seems to focus on one or the other. I didn't find any information about building flash projects in a way that lets the coder do their thing AND gives the designer freedom as well. Hopefully more experienced people can share, these are some of

How can I tell if Flash is loaded on a website?

≡放荡痞女 提交于 2019-12-20 19:35:55
问题 I am doing some testing for a very large website, created many different developers. Is there a way to tell if the website is using flash and/or has loaded the flash plugin? If the page is using flash is there a way to tell what part of the page/code trigger the flash plugin to load in the browser/page? Update: I will be a little bit clearer. When I go to the login page for my web page using chrome for mac and I open the Chrome Task Manager I don't see any plugins listed as running. When I