flash

Edit the action script in swf files

孤街醉人 提交于 2020-01-04 04:09:26
问题 I've been trying for 10 hours to edit this swf file. It looks exactly like it's suppose to in the decompiler, but when I export it to flash it's a blank canvas and I have no access to the action script. All I want to do is edit some stuff in the action script I'm not even touching the movie. Is there an easier way to do this? 回答1: This application is perfect for that, I used it to update a web address for a movie that was created for our company before I worked there and it worked really well

Flash Audio Lag in Google Chrome

自古美人都是妖i 提交于 2020-01-04 03:49:31
问题 I'm currently working on a flash game and, at least on my machine, the audio seems to lag by a fraction of a second in Chrome, but not in IE or FF. This isn't a huge deal, the game is still playable, but it's a little bit annoying. Is there anything I can do from a development standpoint to fix this issue or is it something the user would have to fix? Edit: I've now tested it on two other machines and the same thing happened. The audio is delayed in chrome but not Firefox or IE. Edit 2: I've

Install Flash Player plugin on xulrunner 22.0

允我心安 提交于 2020-01-04 02:43:31
问题 I am using GeckoFX running on xulrunner 22.0, and it works fine. But when it comes to load a website with Flash, then it does not load the Flash content. I have been trying to install the Flash Player plugin to the xulrunner but I've failed miserably. The installation I followed was to copy the NPSWF32_11_7_700_224.dll file to the /plugins/ directory in the xulrunner directory. and the FlashPlayerApp.exe to the xulrunner directory itself. And still nothing. Anybody knows how to get this thing

Shape, Sprite, MovieClip and other display objects: when to use?

此生再无相见时 提交于 2020-01-04 02:35:08
问题 there's a large ammount of display objects in flash.display package. It's not clear for me in what situation I should use Shape , Sprite or MovieClip . What is the pro and contras in using each of them? Thank you in advance!! 回答1: Shape is the simplest display object you can add on stage. It is the most limited one: you can't add childen to it (does not extend DisplayObjectContainer), does not have interactivity (does not extend InteractiveObject), does not have a timeline Sprite extends

Is there a webbrowser that can run inside Flash player?

你说的曾经没有我的故事 提交于 2020-01-04 02:05:11
问题 Can I create a flash file which will be used as web-browser. So basically, Flash will behave like Internet Explorer or Firefox, perhaps like loading a page inside iframe. Is this possible? 回答1: No this is not really possible¹. Flash is displayed within the Flash Player which is already run inside a browser. So even if it was possible, you would need to run a Browser to run the Flash Player to then run your “webbrowser”. In addition to that, Flash is not able to render HTML, so it cannot be

How do I tell mxmlc to treat warnings as errors?

南楼画角 提交于 2020-01-03 19:16:49
问题 I'm using the mxmlc command line tool to compile a pure AS3 project. Is there a command line option to make mxmlc treat warnings as errors? I've read through all the compiler flags and flex-config.xml but wasn't able to find this option. 回答1: You cannot. The default mxmlc value for 'strict' is true. Setting it to true has no effect. 回答2: What about... -compiler.strict alias -strict runs the AS3 compiler in strict error checking mode. strict must be 'false' when es3 is 'true' . I believe you

How do I tell mxmlc to treat warnings as errors?

旧城冷巷雨未停 提交于 2020-01-03 19:16:18
问题 I'm using the mxmlc command line tool to compile a pure AS3 project. Is there a command line option to make mxmlc treat warnings as errors? I've read through all the compiler flags and flex-config.xml but wasn't able to find this option. 回答1: You cannot. The default mxmlc value for 'strict' is true. Setting it to true has no effect. 回答2: What about... -compiler.strict alias -strict runs the AS3 compiler in strict error checking mode. strict must be 'false' when es3 is 'true' . I believe you

determine is MovieClip playing now

一笑奈何 提交于 2020-01-03 18:05:32
问题 I have movieClip (in as3) and I'd like to know is this movieClip playing now How can I do this? 回答1: As crazy as it is, there is no built in way to do this (although it should be). Two options have a flag that you swap when play/stop is called. var mc_playing:Boolean = false; mc_playing = true; mc.play(); mc_playing = false; mc.stop(); Or you could extend the MovieClip class to create your own playing property. class SuperMovieClip extends MovieClip { private var _playing:Boolean = false;

Creating multiple read-only properties dynamically in AS3

纵然是瞬间 提交于 2020-01-03 15:31:53
问题 I have a class which at the moment is quite messy/repetitive: public class AvFramework extends Object { // vars private var _handler:AvHandler; private var _keyboard:AvKeyboard; private var _manager:AvManager; /** * Constructor */ public function AvFramework() { _handler = new AvHandler(); _keyboard = new AvKeyboard(); _manager = new AvManager(); // attach _handler.framework = this; _keyboard.framework = this; _manager.framework = this; } /** * Getters */ public function get keyboard()

as3 AIR for android - Application-sandbox content ERROR

帅比萌擦擦* 提交于 2020-01-03 13:11:15
问题 THE GOAL: I am trying to allow externally loaded swf files communicate with each other that are locally loaded from the device. I need to be able to have access to vars and functions and objects. I have accheived this while loading swf content from the web here: as3 externally loaded swf from network to control externally loaded swf from network BUT WHEN I GIVE THE USER THE OPTION TO LOAD FROM DEVICE OR FROM ONLINE ... The device swf files can't communicate with each other. Specifically the