flash

Array subclasses cannot be deserialized, Error #1034

懵懂的女人 提交于 2019-12-23 23:48:07
问题 I've just found a strange error when deserializing from a ByteArray , where Vector s cannot contain types that extend Array : there is a TypeError when they are deserialized. TypeError: Error #1034: Type Coercion failed: cannot convert []@4b8c42e1 to com.myapp.ArraySubclass. at flash.utils::ByteArray/readObject() at com.myapp::MyApplication()[/Users/aaaidan/MyApp/com/myapp/MyApplication.as:99] Here's how: public class Application extends Sprite { public function Application() { // register

How do I manage library symbols with linked classes in Flash CS4 to compile/debug in Flash Builder 4?

这一生的挚爱 提交于 2019-12-23 23:19:57
问题 I'm building a video player using Flash CS4 (hereby referred to as "Flash") to create the graphic symbols and compiling and debugging with Flash Builder 4 ("FB4"). Here are the steps I take in my current workflow: --Create the graphic symbols in Flash. I've created a few different symbols for the player, but I'll focus on just the play/pause button ("ppbutton") here. --In the Library panel, I go to the ppbutton symbol's Linkage properties and link to a class named assets.PlayPauseButtonAsset

Drag, Drop and Clone - Flash AS3

假装没事ソ 提交于 2019-12-23 22:28:48
问题 I am a teacher trying to make a simple Flash AS3 game where students can drag any letter from a-z(movieclips) out to the middle of the stage to create words. I am a total amateur with Flash and so using code snippets, I have been successful in allowing users to drag and drop letters but what I would really like is for users to be able to drag and drop a letter leaving the original letter movieclip in place and clone a new one as many times as is necessary. Is anyone able to help me with the

Adobe Flash and Python

。_饼干妹妹 提交于 2019-12-23 22:17:44
问题 Is it possible to use CPython to develop Adobe Flash based applications? 回答1: You can try ming, a library for generating Macromedia Flash files (.swf). It's written in C but it has wrappers that allow it to be used in C++, PHP, Python, Ruby, and Perl. 回答2: take a look at Flex PyPy: http://code.google.com/p/flex-pypy/ 回答3: I guess it would be possible to compile the python interpreter to flash bytecode using this http://labs.adobe.com/downloads/alchemy.html and then use it to run python

reference variable AS3

女生的网名这么多〃 提交于 2019-12-23 22:13:26
问题 I am trying to create a simple AS3 code in Flash Professional CS6 which references a variable. Example: var1:int = 1; varref = "var1"; (this is the "reference" variable, but ofcourse this is not how it's done in as3) if (var1 == 1) { varref = 50 } If this is run, it would try to make the string from the variable varref which is currently "var1" into an int of "1'. I want it to reference the variable, not be a variable of it's own. A simple example of how to do this would be great. (From what

Why the jpexs tool not working when decompile swf file?

左心房为你撑大大i 提交于 2019-12-23 22:01:58
问题 Anyone knows how to decompile .SWF file? I have tried JPEXS and Sothink SWF Decompiler but it not working. I put this .swf in this link. Thanks. 回答1: The SWF is not opening with JPEXS because it is compressed !!. The first thing you should do when a file ( eg: swf, jpeg, mp3, mp4 ) does not open in any program, is to check if the format bytes are correct by using a hex editor. Checking your file bytes: Usually a SWF file begins with bytes 43 57 53 ( eg: "CWS" ) or even bytes 46 57 53 ( eg:

Why the jpexs tool not working when decompile swf file?

为君一笑 提交于 2019-12-23 21:20:11
问题 Anyone knows how to decompile .SWF file? I have tried JPEXS and Sothink SWF Decompiler but it not working. I put this .swf in this link. Thanks. 回答1: The SWF is not opening with JPEXS because it is compressed !!. The first thing you should do when a file ( eg: swf, jpeg, mp3, mp4 ) does not open in any program, is to check if the format bytes are correct by using a hex editor. Checking your file bytes: Usually a SWF file begins with bytes 43 57 53 ( eg: "CWS" ) or even bytes 46 57 53 ( eg:

Flex applications for iPhone

假装没事ソ 提交于 2019-12-23 19:16:22
问题 Is it possible to make applications for iPhone using Adobe Flex/AIR? Any tutorials, pointers? 回答1: No, I don't believe you can. Although support for Flash on the iPhone has been rumored for a while now, it continues to fail to materialize. ETA: It appears that this is now possible 回答2: As of October 5, Flash is actually supported on IPhones! Have a look at this site. Edit: A mobile version of the flex framework has been announced by Adobe for sometime next year. 回答3: The iPhone SDK says: 3.3

How to pass parameters to a Flash projector (Windows)?

不羁岁月 提交于 2019-12-23 18:43:55
问题 Is there any way to pass command line parameters to a Flash projector in Windows? I have another application (in this case, an installer) that will need to communicate to a Flash projector (the same way flashvars work). I wasn't able to find any information online (everything seems to be focused on using FSCommand parameters for executing future projectors, which doesn't help me with calling the original one)... 回答1: I'm fairly sure that standard Flash projectors can not do this. However,

Get the print screen image from the clipboard

放肆的年华 提交于 2019-12-23 18:41:36
问题 Is there a way to Get the print screen image from the keyboard. Say for example I had a image hosting site and wanted a feature where users could paste in an image and simply host it that way. would that be possible? Sorry this is such a vague question. EDIT: Would it be possible with some sort of third party plugin? Are there any existing Firefox plugins which do something similar? 回答1: It looks like it's going to be possible in HTML 5 using the Canvas element. See this question. It doesn't