flash

Should I create a flash file for each screen size?

穿精又带淫゛_ 提交于 2019-12-24 17:09:04
问题 I created a swf file for one my clients using a screen size of 1024px x 768px (4:3 ratio), now my client wants to re-use the video in a bigger screen (TV) that still uses a 4:3 ratio but the screen size is considerably bigger (I do not have the exact size yet). Do I need to recreate the flash file using images that fit the new screen size, or the fact that they both use a 4:3 aspect ratio means that the image quality will not suffer? 回答1: It depends on what your SWF contains. If it's a video,

Should I create a flash file for each screen size?

拟墨画扇 提交于 2019-12-24 17:09:01
问题 I created a swf file for one my clients using a screen size of 1024px x 768px (4:3 ratio), now my client wants to re-use the video in a bigger screen (TV) that still uses a 4:3 ratio but the screen size is considerably bigger (I do not have the exact size yet). Do I need to recreate the flash file using images that fit the new screen size, or the fact that they both use a 4:3 aspect ratio means that the image quality will not suffer? 回答1: It depends on what your SWF contains. If it's a video,

AS3 - Access MovieClip from stage within a class

坚强是说给别人听的谎言 提交于 2019-12-24 16:42:30
问题 I have been stuck on this for a long time and have looked at past questions on here about this similar issue such as this post: How do I access a movieClip on the stage using as3 class?. I use the constructor to listen for the ADDED_TO_STAGE event, and then initiate the main function to set up the eventListeners from the ADDED_TO_STAGE handler. Within the same handler I also try to get a MovieClip from the stage using the following code: player = stage.getChildByName("player") as MovieClip;

NOR型flash与NAND型flash的区别

末鹿安然 提交于 2019-12-24 16:39:49
转自http://jinren1010.spaces.eepw.com.cn/articles/article/item/15556    (1)闪存芯片读写的基本单位不同应用程序对NOR芯片操作以“ 字 ”为基本单位。为了方便对大容量NOR闪存的管理,通常将NOR闪存分成大小为128KB或者64KB的逻辑块,有时候块内还分成扇区。读写时需要同时指定逻辑块号和块内偏移。应用程序对NAND芯片操作是以“块”为基本单位。NAND闪存的块比较小,一般是8KB,然后每块又分成页,页的大小一般是512字节。要修改NAND芯片中一个字节,必须重写整个数据块。 (2)NOR闪存是随机存储介质,用于 数据量较小 的场合;NAND闪存是连续存储介质,适合 存放大的数据 。 (3)由于NOR地址线和数据线分开,所以NOR芯片可以像SRAM一样连在数据线上。NOR芯片的使用也类似于通常的内存芯片,它的传输效率很高,可执行程序可以在芯片内执行( XI P, eXecute In Place),这样应用程序可以直接在flash闪存内运行,不必再把代码读到系统RAM中。由于NOR的这个特点,嵌入式系统中经常将NOR芯片做启动芯片使用。而NAND共用地址和数据总线,需要额外联结一些控制的输入输出,所以直接将NAND芯片做启动芯片比较难。 (4)NAND闪存芯片因为共用地址和数据总线的原因

What is the null-object error with this AS3 code for loading external swf?

岁酱吖の 提交于 2019-12-24 16:33:37
问题 I am getting a null object error when I add the mouse event listener for the log in button. (Look at the comments in the constructor) I am using Flash CS6, and objects such as logInbutton and screen_log_in are instance names from the .fla file. This here is the .as file. Error I get is: TypeError: Error #1009: Cannot access a property or method of a null object reference. at actions::indexPage() My AS3 code: package actions { import flash.display.MovieClip; import flash.events.Event; import

How do I select a certain node in a tree in flex?

放肆的年华 提交于 2019-12-24 16:29:16
问题 I'm trying to get properties for one single node such as the name I've set for it or something. How can I go by just selecting this one node? I can do it with an event e.currentTarget.selectedItem.@name; But I need to grab it without the event, how can I go by doing this? 回答1: it's better to get data from your data provider for xmlTree, because it's a XML/XMLList you can always use construction like myxml.nodename[0].@attribute 来源: https://stackoverflow.com/questions/4796462/how-do-i-select-a

“Invalid argument” in IE 8 on jQuery.prepend() on flash objects

纵然是瞬间 提交于 2019-12-24 16:28:17
问题 Demo page. When run in IE 8, this code yields an exception with "Invalid argument." as description and message, and this number: -2147024809 I'm using latest (1.7.1) jQuery. Is this a known bug? How to resolve? var objs=$('object').not('object param[name="wmode"][value="transparent"]'); var appended = $('<param name="wmode" value="transparent"></param>'); objs.prepend(appended); Html snippet: <object width="Width in Pixels" height="Height in Pixels" classid="clsid:D27CDB6E-AE6D-11cf-96B8

recombine split TCP packet with flash sockets

有些话、适合烂在心里 提交于 2019-12-24 16:22:27
问题 I have a program in c++ that sends a socket of 23723 bytes to a flash player in one "shot". The flash player sometimes receives two packets of size 17520 and 6203, and other times it receives a single packet of 23723. EDIT: There does not seem to be a way to obtain the total number of bytes associated with the send data from flash. This would make it very difficult to build a loop to reconstruct the "broken" packet. I thought TCP was supposed to correctly recombine the packets and I am having

AS3: Copying a Loader from one object to another

杀马特。学长 韩版系。学妹 提交于 2019-12-24 16:12:59
问题 I have two classes, call them A and B. They both contain a Loader object. In class A I load content into the Loader object. public class A { var loader:Loader; public function A():void { loader = new Loader(); this.addChild(loader); loader.load(...); } } public class B() { var loader:Loader; public function B():void { loader = new Loader(); this.addChild(loader); } } I need to now assign A's Loader to B's Loader (after the load is complete). In some other class I have an instance of A and B.

Generating individual SWF's with classes from a fla with a large library

蓝咒 提交于 2019-12-24 16:11:15
问题 I have a series of large fla files that were being published into swc's and then used directly in an flash project. Probably a total of 1000+ objects. As the number grows the final compiled swf is getting quite large so I want to download individual swf's of each object only as needed. I then need to be able to access and clone the object via classname from the final AS project. The issue is the only way I have found to export each one is to 1) copy and paste it into a new fla file 2) double