flash-builder

Hints regarding the use of ANTLR v3 generated files in Flash Builder 4.5.1

霸气de小男生 提交于 2019-12-07 18:31:11
问题 According to these instructions, I'm trying to use ANTLR generated *.as files in a current Flash Builder 4.5.1 project. Therefore, I added this ANTLR's Actionscript runtime to my project - without problems. I compiled lexer/parser specs using ANTLRWorks without problems too. I added the language option to the source *.g file to make ANTLR generate Actionscript sources: options { backtrack = true; memoize = true; k=2; output = AST; language=ActionScript; // Added this ASTLabelType = CommonTree

Flex 4.5.1 runtime ReferenceError: Error #1065: Variable … is not defined

自作多情 提交于 2019-12-07 16:25:45
问题 Ok, I need some help on this one. I upgraded from Flash Builder 4 to Flash Builder 4.5 and have switched my project to the 4.5.1 sdk. I use an ant script to build my project, so I modified it to use the appropriate flexTasks.jar, mxmlc, etc... Now, if I start out with a blank bin-debug folder, then build and run the app everything works fine. However, if I then make a code change and build (without deleting the bin-debug) then run the app I get a runtime error: ReferenceError: Error #1065:

Compiling as3 project to swc file in flashbuilder

隐身守侯 提交于 2019-12-07 13:57:36
问题 i have a question and i'm hoping to find an answer here, i created a flashbuilder project that contains some classes with functions that i use often, i have around 6 classes, would it be possible to compile these classes to a swc file so i just have to add the swc in a new project to access them? Or isnt it possible to create swc's with flashbuilder? Maybe i could do it in flash but dont have any idea how to compile multiple classes into 1 swc. file. Sorry if this is a stupid question but ive

ReferenceError: Error #1065: Variable JSON is not defined

[亡魂溺海] 提交于 2019-12-07 10:12:22
问题 I'm about to explode trying to figure out how to fix this so before I do so maybe you could help me? I'm developing an game under flash player 11 in flash builder 4.5.1.21328 and I wanted to play around with the new stuff, for example, the native JSON support, but when I try to launch the application in Flash Builder I get this: ReferenceError: Error #1065: Variable JSON is not defined. I've added compiler argument: -swf-version=13, I've downloaded the flash player 11 playerglobal.swc and

Flash Privacy Popup Dialog is missing “Remember” checkbox

…衆ロ難τιáo~ 提交于 2019-12-07 04:42:49
问题 I am trying to get the Privacy Settings Tab to show in our flash/flex4 video chat application we are building. I have 2 systems with latest Flash installed (currently 11.1.102.62). However, the player always shows this (privacy popup question) instead of this (privacy settings tab) when loading the app. The reason i want the settings tab to show is because i need the end user to easily check the "remember" box. I have tried to call Security.showSettings(SecurityPanel.PRIVACY); before as well

How does Flash Builder determine which sdk libraries to include?

爱⌒轻易说出口 提交于 2019-12-06 23:43:26
问题 When creating a new project in Flash Builder, how does it determine which sdk libraries to include in the build path? If I create a new plain Actionscript project and select Flex 4.1 the following libraries show up in the build path: playerglobal textLayout osmf flash-integration flex utilities If I go back and switch to Flex 3.5 it only includes: playerglobal flex utilities If I make a new Flex Web project and select Flex 3.5 it includes: playerglobal framework automation automation_agent

Getting error while maintaining flash code

爱⌒轻易说出口 提交于 2019-12-06 20:16:35
I am new to flashbuilder. I have got this existing code to maintain. All of the mxml files have outermost tag s:WindowedApplication . The navigation from one page to another is done using code as follows: public function help_clickHandler(event:MouseEvent):void { var dTracker:aboutProduct = new aboutProduct(); this.addElement(dTracker); } After navigating to a new page I get following error on clicking any where on newly loaded page: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/getChildIndex() at mx.managers:

Does the workflow differ between Flash Builder and Flash Professional?

牧云@^-^@ 提交于 2019-12-06 19:10:45
What is the workflow for creating an AIR application in Flash Builder and how does it differ from Flash Professional? I am familiar with Flash Professional, but I'm trying top wrap my head around FB, but I'm coming from a stint in iOS development and Flash Pro is driving me crazy. (I have difficulty with classes mixed with the timeline, but I think that MXML might be a good substitute for the timeline.) (Bonus: What are some good online resources for learning MXML?) Lee This is a hard question to answer thoroughly without spending lots of time. The simple answer is: Yes -- the workflows are

How do I upgrade Flash Builder 4.6 to AIR 3.4?

≡放荡痞女 提交于 2019-12-06 16:03:10
问题 AIR 3.4 was just released, with features like workers and native APN support. How do I upgrade my existing Flash Builder installation to use the new AIR SDK? 回答1: Upgrading Flash Builder 4.6 to AIR 3.4 Directions for Mac OSX. 1) Go to the sdks directory in your existing FB directory. On my machine it's /Applications/Adobe Flash Builder 4.6/sdks. EDIT: I discovered that the merged Flex/AIR SDK is available here: http://gaming.adobe.com/getstarted/ The merged version of the instructions I had

Simulate Tab Key Pressed on Flex?

女生的网名这么多〃 提交于 2019-12-06 15:45:13
问题 It is possible to Simulate a Tab Key when another key is pressed? I'm looking to do exactly the same, but with the DOWN & ENTER Key. I know about the onKeyDown function. I'm trying this but it doesn't work. private function onKeyDown( e:KeyboardEvent ) :void { if( e.keyCode == Keyboard.DOWN ) { (e.currentTarget as TextInput).dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN, true, false, 0, Keyboard.TAB)); } } I know tab works differently, I saw it in Here but still not idea. Any help