flash-builder

Problem occurring in __flash__addCallback

无人久伴 提交于 2019-12-04 06:28:24
I am getting the following error when running an application in debug mode using Flash Builder: Object does not support this property or method (Note that this error message is coming from the browser.) Here is the code where it is occurring: function __flash__addCallback(instance, name) { instance[name] = function () { return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>")); } } I have no idea where this code is located (except that it's not my code). Anyone know what's going wrong here? I had the same

How to implement Undo and Redo feature in as3

隐身守侯 提交于 2019-12-04 06:24:36
问题 I am going to create an application in that i have to implement an Undo and Redo feature. In the application there will be multiple objects located on stage and user can customize the position of the objects. But when user clicks on Undo the object go back to their default position and after clicking on redo object will move on the new position. So my question is how can i apply these feature in my application? Is there any library or any third party classes? Can some one help me? Thanks in

Unable to resolve resource bundle “*” for locale “en_US” (Flex, Flash Builder)

早过忘川 提交于 2019-12-04 04:50:48
since I'm using custom skin classes in Flex I'm getting an error, when trying to open the design view in Flash Builder: Description Resource Path Location Type Unable to resolve resource bundle "components" for locale "en_US". Unable to resolve resource bundle "core" for locale "en_US". Unable to resolve resource bundle "effects" for locale "en_US". Unable to resolve resource bundle "layout" for locale "en_US". Unable to resolve resource bundle "skins" for locale "en_US". Unable to resolve resource bundle "styles" for locale "en_US". I tried a lot with setting locales in compiler arguments -

How do I get FlashBuilder to show me the command-line output?

蓝咒 提交于 2019-12-04 03:13:47
Specifically, I want to know what the commands are... all the flags it produces and passes to mxmlc. There must be a way, but I just can't figure it out. Ultimate method - locate mxmlc executable for your platform, then create program with the same name which will log arguments. If you just want to master mxmlc, there are docs for it and compiler option dump-config: -dump-config=config.xml . Config contains almost everything about the project and I used such config to make an automated build. merv The official answer : In Flash Builder, select Project > Properties > Flex Compiler In Additional

Package SWF into an EXE or APP

拈花ヽ惹草 提交于 2019-12-03 20:21:51
问题 I am trying to adjust my Flash development workflow so that I am using Flash Builder for all of my coding and multiple FLA files for the user interfaces. I will be creating an ActionScript project in Flash Builder and then having each FLA export a SWC into a resources folder. It is important that I retain the ability to export PC and Mac -- EXE and app, respectively -- projector files. Is there a way of doing this with the Flash compiler or any 3rd party tools? I know that mProjector and

Failed to connect to remote VM. Connection refused. when trying to debug remote java application in Flash Builder 4.7

蹲街弑〆低调 提交于 2019-12-03 17:36:24
At one point, the remote debug used to work. But for the life of me, I don't seem to be able to figure out what broke it. I have a flex/Java application. There is a wrapper that starts the tomcat server. I modified the wrapper.conf file to include -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n In my flex debug configurations, on the left, I have Remote Java Application. On the right, I have Standard (Socket Attach) as the connection type, 127.0.0.1 (I have tried localhost too) as Host, and 8000 as Port. The following is the stack trace. !ENTRY org.eclipse.jdt.launching 4

How do I attach camera to Spark.components.VideoDisplay

£可爱£侵袭症+ 提交于 2019-12-03 16:32:14
I'm using Flash Builder and created a spark-application Flex project that will stream video from the local camera. If I use mx.controls.VideoDisplay ; there is no problem since it has attachCamera(camera) method. But Spark's VideoDisplay component does not have that method. I know I can use mx controls inside a Spark app but I want to know: What is the real difference between spark.components.VideoDisplay and mx.controls.VideoDisplay ? How do I attach camera to spark.components.VideoDisplay ? Is there any advantages if I go with spark (since it's newer to mx library)? thanks. EDIT : In the

Get Current Operating System In Adobe Air

感情迁移 提交于 2019-12-03 07:12:11
问题 I'm making an App using Adobe Flex/Air. I was wondering if there is any way to get the Operating System the Air app is running on? 回答1: Use Capabilities class: import flash.system.Capabilities; trace(Capabilities.os); 回答2: if((Capabilities.os.indexOf("Windows") >= 0)) { // in windows } else if((Capabilities.os.indexOf("Mac") >= 0)) { // in mac } else if((Capabilities.os.indexOf("Linux") >= 0)) { // in linux } 回答3: For clarity sake, I use this code (although it does the same thing as Mudasir's

How to view shell commands used by eclipse “run configurations”

梦想与她 提交于 2019-12-03 03:04:48
问题 Given a "run configuration" in Eclipse, I want to print out the associated shell command that would be used to run it. For example: Right now, in Eclipse, if I click "play" it will run: mvn assembly:directory -Dmaven.test.skip=true I don't see that command, I just know that's what the IDE must run, at some point. However, some of the other run configurations are far more complex with long classpaths and virtual machine options and, frankly, sometimes I have no idea what the equivalent shell

Get Current Operating System In Adobe Air

♀尐吖头ヾ 提交于 2019-12-02 22:00:47
I'm making an App using Adobe Flex/Air. I was wondering if there is any way to get the Operating System the Air app is running on? Use Capabilities class: import flash.system.Capabilities; trace(Capabilities.os); if((Capabilities.os.indexOf("Windows") >= 0)) { // in windows } else if((Capabilities.os.indexOf("Mac") >= 0)) { // in mac } else if((Capabilities.os.indexOf("Linux") >= 0)) { // in linux } For clarity sake, I use this code (although it does the same thing as Mudasir's) if(Capabilities.os.search("Windows")>=0) //do something Here are what the docs say: flash.system.Capabilities.os()