flash

Unable to record in JMeter using AMF proxy server

时光总嘲笑我的痴心妄想 提交于 2020-01-11 12:44:29
问题 I have downloaded amf plugins as given in How to enable amf sampler type and started recording using AMF proxy server in Jmeter 4.0 but I am getting below error message in log and web page is not loading java.lang.NoClassDefFoundError: org/apache/jmeter/protocol/http/sampler/HTTPSampler2 at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_141] at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_141] at java.security.SecureClassLoader.defineClass(SecureClassLoader

Clarifications regarding weak references in actionscript listeners

旧时模样 提交于 2020-01-11 12:36:11
问题 I understand how weak references work, but I am bit confused regarding it's use in actionscript event listeners. Consider the example below: public class Rectangle extends MovieClip { public function Rectangle() { var screen:Shape=new Shape(); screen.addEventListener(MouseEvent.MOUSE_OUT, new Foo().listen, false, 0, true); addChild(screen); } } public class Foo extends MovieClip { public function listen(e:MouseEvent):void { trace("tracing"); } } Now here, since there is only a weak reference

SWF object - why should I use it

前提是你 提交于 2020-01-11 10:45:09
问题 All my sites need to be search engine friendly - ie readable by search engines. However, I kind of like flash and would like to integrate it in a friendly way. I have the option of swfobject, which allows proper page names and serves different pages to the user vs search engine. However, I am wondering why there would be a need to use swfobject. For instance, I could just use a normal php cms page and insert flash elements into it. When the page is called by a search engine, just serve the

How to use javascript to swap swf in html?

左心房为你撑大大i 提交于 2020-01-11 09:47:13
问题 I embedded a swf in my html page, but I would like it to swap to another swf when I clicked on a button in html. I used swfobject.js to embed the swf, and I use prototype to write the javascript. I thought I can just do this $('movie').value = 'swf/bhts.swf'; alert($('movie').value); the value did change to swf/bhts.swf, but it is still playing the original swf file... this is the code I use to embed swf <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="530" height="298" id=

Checking Flash player version using Javascript [duplicate]

依然范特西╮ 提交于 2020-01-11 09:17:07
问题 This question already has answers here : Cross Browser Flash Detection in Javascript (16 answers) Closed 4 years ago . Is it possible to check the version of the Flash Player installed in a browser using Javascript? 回答1: You can check an example here. 回答2: There is a nice, lightweight JavaScript Flash Detection Library, which is smaller and more convenient than using SWFObject . You should consider it, if you only want to check if Flash is installed, what version of Flash Player is installed

Checking Flash player version using Javascript [duplicate]

狂风中的少年 提交于 2020-01-11 09:17:05
问题 This question already has answers here : Cross Browser Flash Detection in Javascript (16 answers) Closed 4 years ago . Is it possible to check the version of the Flash Player installed in a browser using Javascript? 回答1: You can check an example here. 回答2: There is a nice, lightweight JavaScript Flash Detection Library, which is smaller and more convenient than using SWFObject . You should consider it, if you only want to check if Flash is installed, what version of Flash Player is installed

Flash ActionScript 3 capabilities lacking in ActionScript 2

我的未来我决定 提交于 2020-01-11 07:32:08
问题 Ever since Adobe introduced ActionScript 3 with Flash Player 9, many of us have been slow to switch over. In short I'd like to know what AS3 as a framework can do, that is simply impossible or significantly difficult in AS2. I'm not talking about readymade components, but built-in classes such as for web remoting, binary data manipulation, XML handling, etc. 回答1: well, actually, AS3 is a language, not a framework ... the flash player API has framework like traits ... but ok, let's not argue

How to make xml file from php and mysql

北战南征 提交于 2020-01-11 06:18:14
问题 My fellow friend is building site in flash and he uses XML files to access data in Flash. I want to build editable CMS so that client can edit stuff. Now I don't' have any experience with XML. I know PHP, HTML and Mysql very well. So how can I change those already build XML files using Mysql and PHP? 回答1: Maybe going through http://library.creativecow.net/articles/brimelow_lee/php_mysql/video-tutorial.php will clear things for you. Though, use it only to understand the concepts of XML and how

AS3 knowing how many arguments a function takes

五迷三道 提交于 2020-01-11 06:10:28
问题 Is there a way to know how many arguments an instance of Function can take in Flash? It would also be very useful to know if these arguments are optional or not. For example : public function foo() : void //would have 0 arguments public function bar(arg1 : Boolean, arg2 : int) : void //would have 2 arguments public function jad(arg1 : Boolean, arg2 : int = 0) : void //would have 2 arguments with 1 being optional Thanks 回答1: Yes there is: use the Function.length property. I just checked the

maximum size of a sprite in as3?

*爱你&永不变心* 提交于 2020-01-11 04:13:12
问题 Is there an upper bound to the size of a sprite in as3 / flash 10? I know bitmapData has limitations... 回答1: it seems, that xScale and yScale may not exceed 0x8000 ... size itself also seems to be bound ... i found a limit 0x6666660 ... here the code: package { import flash.display.*; public class Main extends Sprite { public function Main():void { var size:Number = 1; var s:Shape = new Shape(); s.graphics.beginFill(0xFF00FF); s.graphics.drawRect(0, 0, size, size); var old:Number = 0; while