flash

Can Flash SWF communicate with Java applet, and vice versa, in any way?

放肆的年华 提交于 2019-12-20 05:26:10
问题 I know Flash can use ExternalInterface to call Javascript functions but I don't know if it can call applet also like that. Maybe it can be done by SWF -> JS -> Applet, and back, I don't know. Since I have no idea how to do applets, I would also appreciate at least some pseudo code. Thanks. 回答1: Applets can communicate with JS, and JS can control applets. See these examples of Java/JavaScript interaction. 回答2: Yes. Sockets. Your Java applet can open a server socket, probably a HTTP socket, and

Loading and unloading content from library in AS3

霸气de小男生 提交于 2019-12-20 05:12:30
问题 I'm doing a flash project but I'm new to actionscript. I have a menu in the main page and I want to make other pages appear when I click on menu items. I know how to load movieclips from library but I don't know how to specify their position on the screen and how to make them appear in a specific layer. Is it necessary to unload previous content when I click on another item of menu? will they stack on each other and make the program heavy if I don't unload them?! I've added a layer for each

use flash action script to develop online games

不想你离开。 提交于 2019-12-20 05:04:01
问题 For short: can you tell me some great resource to study if I want to develop online games using flash technology? Including 3D games. 回答1: You can start with the newly released Flash Platform Game Technology Center on Adobe Devnet. There are quite a few books out there on as3 games, I'll try not to repeat the ones already mentioned: The Essential Guide to Flash Games: Building Interactive Entertainment with ActionScript (source: friendsofed.com) This is a great book, tons of great examples,

use flash action script to develop online games

别来无恙 提交于 2019-12-20 05:03:00
问题 For short: can you tell me some great resource to study if I want to develop online games using flash technology? Including 3D games. 回答1: You can start with the newly released Flash Platform Game Technology Center on Adobe Devnet. There are quite a few books out there on as3 games, I'll try not to repeat the ones already mentioned: The Essential Guide to Flash Games: Building Interactive Entertainment with ActionScript (source: friendsofed.com) This is a great book, tons of great examples,

Show Youtube Video in Samsung Smart TV App

江枫思渺然 提交于 2019-12-20 04:54:15
问题 I want to just run a sample samsung smart tv application that show a youtube video, I tried everything I found in the internet and nothing worked, I'm searching for a way since a week and still didn't find, I always were seeing [[missing plug in]] on a white or black screen !! I'm using emulator 2014 with SDK 5, I know that samsung is not accepting flash based app since Feb so I need to find a way without using flash. even I tried the below way, the video is played on starting but I can't

how to play flash in WPF application

a 夏天 提交于 2019-12-20 04:52:53
问题 I have a WPF application and I want to play flash movies in it. I used the WInforms active X control as described in this link It worked partially, but now whenever I run the application it crashes saying "InvalidActiveXStateException" does anyone have an idea how to solve this? 回答1: I would recommend adding a WebBrowser control to your WPF application and allow IE to load the URL of the Flash Movie directly; which in turn would load the Flash Plugin. You will need to build your WPF

pass var values from one swf to another swf who is loaded inside the firts one in AS3

五迷三道 提交于 2019-12-20 04:38:29
问题 im using this method to load an SWF inside another SWF: (this code is inside main.swf) function loadImage(url:String):void { imageLoader = new Loader(); imageLoader.load(new URLRequest(url)); imageLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, imageLoading); imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded); } loadImage("test1.swf"); function imageLoaded(e:Event):void { MyMovieClip.addChild(imageLoader); } The think is the test1.swf needs a value

Flash in fullscreen mode works in <embed>, but not work within <a> tag

烂漫一生 提交于 2019-12-20 04:34:38
问题 I have this code <div id="c01" class="hider"> < a href="flash.swf" class="bump">flash</a> </div> and it displays flash content within a bumpbox (lightbox alternative) window. It works perfectly, but there is a fullscreen button in the flash animation and it do not works. The other button (to stop the animation) works ok. I find out, that with this <embed src="flash.swf" width="100%" height="100%" allowFullScreen="true"> </embed> fullscreen button works fine, but the flash animation runs since

A question to Flash experts from a beginner: the flash object within a web page

故事扮演 提交于 2019-12-20 04:24:24
问题 Here's my explanation of the question: From JavaScript, you need to get a reference to the Flash Player object. There are two basic Flash Player versions that run in the browser: ActiveX and the plug-in version. The ActiveX version runs natively in Internet Explorer, while the plug-in version is used by the rest of the browsers. The ActiveX player is controlled by the object tag in an HTML page, and you can retrieve a JavaScript reference using window. objectId where objectId is the value of

Hovering off DPAD sometimes makes character move infinitely in one direction

别等时光非礼了梦想. 提交于 2019-12-20 04:09:55
问题 I have a DPAD in my game when the player holds down let's say the Left DPAD, if he moves his touch to the Up DPAD and let's go, the player continues going in the left direction. It also works if you hold the a direction, lets say Up continue holding but move off the Up DPAD, sometimes you may continue going in that direction. What I've tried to prevent this: On direction clicks, trigger checks on whether your in motion, or already going a different direction Setting collisions to force these