flash

Extracting data to create “Match Statistics” using (flash-based) game-replay files

社会主义新天地 提交于 2019-12-24 14:30:20
问题 I play a very basic multiplayer flash-applet game @ http://www.haxball.com (check it out!) Haxball’s match Replay files can be recorded by users in-game, and saved to disk as “.hbr” files. These Replay files can later be viewed by loading the .hbr replay file directly in the haxball.com interface, or by uploading the .hbr file publicly to a third-party service like "haxballtube.com" My goal is to launch a third-party web-service which will allow users to upload haxball match replay files (

Get MovieClip in another frame

試著忘記壹切 提交于 2019-12-24 14:29:52
问题 I'm in frame 1 of a movie, and I want to use getChildByName("mc_movieclip"); to get a reference to mc_movieclip. The problem is that mc_movieclip does not exist in frame 1 but only in frame 5. How can I get a reference to this MovieClip, even though it's in another frame? 回答1: The easiest way to fix this is that you put a copy of mc_movieclip on frame 1 and make it hidden. mc_movieclip.visible=false will do the trick. Note: if your mc has animation (in its timeline) then you have to restart

App is loading each time

☆樱花仙子☆ 提交于 2019-12-24 14:08:55
问题 I have web application of flex. It's swf file is attached on a tabview. Means there are 5 tabs on the page. On the tab Five a swf file is attached. When I click on five tab it load the init method of main mxml file of flex application. Is there any way so we can stop to load it every time when we click on Five tab. This app get the data from server when load the application. But I don't want to send the request again and again when click on tab everytime. 回答1: Using <a href=""> to display

movieClip not stopping always looping

 ̄綄美尐妖づ 提交于 2019-12-24 14:03:16
问题 I have a class that gets a movieClip and then using addChild adds it to be displayed. Problem is that I cannot play or stop it at all. Basically I can't interact with the movieClip. Here is the code: public function Avatar(movieClip:DisplayObject) //class constructor { ... avatarSprite = MovieClip(movieClip) addChild(avatarSprite); avatarSprite.gotoAndStop(1); //this is not working trace(avatarSprite.currentFrame) //always returns 1 trace(avatarSprite.isPlaying) // returns false ... } When I

detect flash build verison

扶醉桌前 提交于 2019-12-24 13:40:22
问题 Does anybody happen to know how to detect the flash BUILD version? Please notice it's not a duplicate. I am not asking about the player version, but about the build version. meaning the last 3 digits. That is, if it's 18.0.0.203 - then I want the "203". Thanks! 回答1: The flash.system.Capabilities.version gives you what you need ( the internal build number ) : Specifies the Flash Player or Adobe® AIR® platform and version information. The format of the version number is: platform majorVersion

playing flash files in iphone

爷,独闯天下 提交于 2019-12-24 13:25:21
问题 we have a client application that plays flash files (.swf). This works on all other mobiles except iphone as Apple doesn't support Flash. Is there any workaround to play these flash files in iphone using HTML5 or any other tweaking? Since there aren't any answers to this question recently, I am submiting this question. 回答1: No, there is no way to display a Flash file (SWF) in the iPhone browser. If you have access to the source of the Flash files in the application, it may be possible to

iphone/ipad: how to incorporate flash animation in objective-c?

荒凉一梦 提交于 2019-12-24 12:51:44
问题 I'd like to incoporate some flash animation (a 2d character animation) into my objective c app. I heard you can create and export a flash cs5 app into iphone. But I don't want to export an entire app. Just a small component... for example, I want to get an animation of a 2d character waving that was made in flash and just incorporate that into my objective c app. Can this be done? 回答1: If it's really that simple of an animation, it would probably be best to go with an image sequence. You can

AS3 FileReference.save() works when testing locally but not in the browser

浪尽此生 提交于 2019-12-24 12:51:33
问题 I have created a painting app and when the user want's to save his drawing he simply hits the save button and a dialog pops up - or should do. When testing locally on dev machine it's no problem but whenever the app is loaded in a browser it won't work. Even if I load the local SWF file in a browser it won't work. The following code is what I use to save the file and as said it works fine locally but whenever it goes into a browser it dosen't.The save dialog simply never pops up. Any

Movie not loaded for SWF

时光总嘲笑我的痴心妄想 提交于 2019-12-24 12:45:30
问题 So I'm using visual studio 2019. I got some code trying to embed a SWF from Doodletoo.com It loads to 100% and then goes to a black screen. When I right click it says movie not loaded. I've added the Flash variables & the link for the SWF. The button simply starts the SWF. I don't understand though. I managed to get it to load only once. When it did load it caused extreme lag. Here is my script for the form using System; using System.Collections.Generic; using System.ComponentModel; using

Embedding/importing SWC at compile-time in ActionScript, without setting a library path

吃可爱长大的小学妹 提交于 2019-12-24 12:28:01
问题 Hail, Stack! I'm having a little trouble figuring out how to import a SWC file directly in ActionScript, without setting a library path to the file. To exemplify, I need something like this: package { [Embed(source = 'Library.swc')] // This line won't work, of course... import ClassInsideSWC; public class MyClass extends ClassInsideSWC { public function MyClass() { super(); } } } Besides, I don't want to (I can't, in fact) import the SWC by loading it with Loader class. Well, someone knows a