flash-builder

“application descriptor not found” with Flash Professional project in Flash Builder 4.6

我是研究僧i 提交于 2019-12-13 07:34:49
问题 Environment: Flash Builder 4.6, Flash Professional CS6, AIR 15, OSX 10.9.3. AIR 15 is installed for both Flash Builder and Flash Professional. I am trying to get Flash Builder 4.6 to run/debug an .fla/AIR desktop project. I am able to edit code in Flash Builder and run the project in Flash Pro but I would like to use Flash Builder exclusively, aside from .fla tasks. I built a barebones test project in Flash Pro, set the properties to 'AIR desktop" and published an AIR-with-captive-runtime app

FlashBuilder workspace update issues

南笙酒味 提交于 2019-12-13 06:31:21
问题 When working on several AS3 projects that share a common code base, FlashBuilder seems to be losing workspace data when switching from one project to the next. I will often get a message that such class could not be found , when the class is actually in the path but was probably modified in the previous project. To fix this error, I find myself having to remove the external library folder , restart FB, then re-add the library folder and all is well. Please tell me there's another way to

Embedding swf into flash builder— “Type was not found”?

心已入冬 提交于 2019-12-13 05:59:52
问题 I am developing mobile app in ActionScript. Im importing .swf file but get error: Type was not found or was not a compile-time constant: MySwf. Here is my code: package { import flash.display.Sprite; import flash.display.StageAlign; public class gyyyyppp extends Sprite { [Embed(source='assets/g1.swf')] public static const MySwf : Class; public function gyyyyppp() { stage.align = StageAlign.TOP_LEFT; var p3:MySwf= new MySwf(); addChild(p3); } } } What I am doing wrong? (p.s. my swf file is

how do I open a newly written file from application storage directory in as3 / flex mobile?

放肆的年华 提交于 2019-12-13 05:03:59
问题 Im working on an app (flex 4.12 sdk, using flashbuilder 4.5, creating an app for ios and android, testing on an android htc one primarily)... and am using the camera to capture a file... Im then saving that image to the application storage directory, and I want to open the image in the default web browser or trigger a native dialog (android users) to choose the web browser of their choice... how it opens isnt really important right now -- Im mainly trying to just 'access' it with the device

How I find that string contain a repeating character more then 6 time in Flex?

◇◆丶佛笑我妖孽 提交于 2019-12-13 00:18:35
问题 How I find that string contain a repeating character more then 6 time in Flex? In my case the user input is only digits (0-9) and i am doing for US Fax no validation. like 11111112255 , 225555555522 etc 回答1: A regular expression way: /(.)\1{6}/ This will search for any character (not necessarily digit) repeated 7 times. /(\d)\1{6}/ The same, but for digits only. There are techniques that will be generally faster than regexp, for example, slightly modified Bitap algorithm may prove to be

Adobe air mobile - softKeyboardType is not working when using skinClass to allow scrolling?

流过昼夜 提交于 2019-12-12 18:16:21
问题 I am trying to set the softKeyboardType to email but when ever i use skinClass="spark.skins.mobile.TextAreaSkin" it doesn't change it but when i take off skinClass="spark.skins.mobile.TextAreaSkin" it does work. The problem is i need the skinClass="spark.skins.mobile.TextAreaSkin" class to allow my application so scroll with out it the text does not stay with in the bounds of the text input boxes. Has anyone seen this problem or another fix the the scrolling problem? Code examples <s

Is it any way to run two instances of debuggers?

吃可爱长大的小学妹 提交于 2019-12-12 16:58:47
问题 I'm working in a project that is a multiplayer game, and it runs on Cirrus. It would be nice to debug both instances of the running games, not only one, but Flash Builder stops one debug instance as soon as I send a new debug call. Do you have any ideas if there is a way to have 2 debug instances running at the same time?, maybe oppening 2 Flash Builders.. but it says something about the workspace.. Dont know if what Im asking is possible. Thanks! 回答1: Whoops, sorry, immediately after I said

Fill in the blanks questions in flex using action script [closed]

霸气de小男生 提交于 2019-12-12 06:49:34
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I need to create a fill in the blanks component dynamically. Question text will be retrieved from XML. For Example (some text ____________ some text). The Underline portion should have a text input. The question text will be dynamically loaded and the position should be aligned

Autocomplete in Flex 4.0 not displaying items in dropdown list

本小妞迷上赌 提交于 2019-12-12 06:25:08
问题 I am new to flex, actionscript and flash builder (having to do an upgrade to an existing project). One of the problems I seem to have is that the Autocomplete component that seems to be part of flex extras is not displaying the list of items in the dropdown list. Basically, I get a list of blank items. I know they are there and they are the right items because as soon as I click on one, I get the right text in the combobox. my Code in the mxml looks something like this <mx:FormItem label=

How to upload a picture/image from iPhone to App in ActionScript 3?

柔情痞子 提交于 2019-12-12 05:19:57
问题 I'm building an App with actionscript 3.0 in my Flash builder. but I'm having trouble finding code to use to upload an image in my phone to the app? can you link me/or post to sample code to achieve this task? Thanks! ~Myy 回答1: I believe you are looking for the CameraRoll class. It allows the user to select an image from the device's "camera roll" 回答2: You can use this code Capture Photo using CameraUI, but picture orientation won't work properly on phone devices. 来源: https://stackoverflow