Flex :: Use Same Buildscript For Flash Builder 4 And Ant / Mvn?
Apr 30, 2010
I'm setting up a build system for a Flash Builder 4 (Flex 4) based project; and I'm struggling to get a setup that compiles in the IDE the same as it does from the command line on the build server.I come from a C# background; and my expectation is that I'll be able to create a "solution" with a collection of "projects" that I can compile from the IDE, or from the command line on the build server.The best I've managed sofar is 2 separate build "scripts", a custom ant script for the build server, and the default Flash Builder IDE config based on a workspace; but this is making my DRY daemons jump around in fury.
Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.
[URL]
The project access a web server to retrieve data using JSON.
I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".
When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?
From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]
I have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.
ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value. var loader:Loader = new Loader();
I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?
Is there a way to tell which AIR runtime it is using?
I am using Flash Builder 4 on my MAC. Flex SDK 4.0. Flash Player 10.1.By executing this code below I only see the trace saying "start". And if I look at the Declaration of the ENTER_FRAME is see the error saying: "Source could not be found for flash.events.Event.Enter_Frame in...."But the playerglobal.swc source is there, and I have tried different SDK versions and FP versions.If this is a Flash Builder problem I can not be the only one having this issue?[code]
I've been working in Flash BUilder 4.0. I installed Flash Builder 4.5, and switched to the workspace I had used for 4.0. Then we were told to go back to 4.0, and now I can't run or debug. I can build, but then I have to double click on the .html file to run. Right clicking doesn't bring up run or debug, and the run and debug icons are not in my toolbar.
I'm using Themes with Flash Builder. And if I choose a Theme Flash Builder copy the SWC into a folder in my user dir(C:UserschristenlAppDataRoamingAdobeFlashuilderThemesmyGrand_theme)When I update my theme file. Flash builder does not copy the new SWC into the folder. So I have to import the theme again or copy the file to the location.Is there a way to point to the theme project instead so I dont have to manualy copy paste the file every time
I am having trouble profiling my application using Flash Builder 4 with any version of Flash Player above 10.0 (approximately, I can't remember exactly). To get round this I installed an older version of Flash player for IE and pointed the profiler to this when profiling.Now I want to use 10.3 so this is a problem! The alert box I receive is:
"Unable to connect to the application to fetch profile data.
It turns out I needed to state a full path to the ProfilerAgent.swf in my workspace in the mm.cfg in my home directory. For example:
When i change the code into my Flash Builder 4.5 project and hit run the output doesn't show the new result but the old one, only after a while the new result is showed on subsequent project runnings. Has anybody encounter this problem? Are there some hidden settings?
I was running my application from Flash Builder 4.5.1 without any issues. (It is a Flex application that connects to .Net Web Services). However, something has changed recently in my configuration or project, because when I try to run the app with the play or debug button, I just get a grey screen. I can't even stop on any breakpoints. Eventually (maybe 30 seconds), a message pops up like so: 'The Flash Builer failed to connect to the running application. Please make sure that you are running the debug version of Flash Player...'
I am having trouble profiling my application using Flash Builder 4 with any version of Flash Player above 10.0 (approximately, I can't remember exactly). To get round this I installed an older version of Flash player for IE and pointed the profiler to this when profiling. Now I want to use 10.3 so this is a problem! The alert box I receive is:"Unable to connect to the application to fetch profile data.Please try profiling the application again."t turns out I needed to state a full path to the ProfilerAgent.swf in my workspace in the mm.cfg in my home directory. For example:PreloadSwf=C:UsersChrisDesktopWorkingfolderWorkspace.metadata.pluginscom.adobe.flash.profilerProfilerAgent.swf?debug=true
I've tried everything, firewalls, reinstalling etc etc. I can't get the debugger to connect no matter what I do.
I'm just writing a simple Air application, with Flex and Actionscript. But any type of debugging on any type of application doesn't work. I get this message
The Flash Builder debugger failed to connect to the running application.
I'm currently assisting in developing a game for Facebook using a mix of Flex Builder 3.0 & Flash CS4.
Having a small issue in 2 classes that import the Tweener .swc file, and yes it is imported in my game project, under the libs directory. I'm pretty sure its the latest version of tweener as well.
The game is tested in Flash CS4. I have like 12 different symbols representing an icon; its an RPG. For example, one symbol would be a bag symbolizing the inventory, another would be a picture of the character, symbolizing the character page when clicked upon and so on and so forth. I click on one particular symbol, the inventory one, and I get the following in Flash CS4's output, preventing a transition from occuring to pop up a list of items in the inventory when clicked upon in the .swf file. Here they are:
i have a problem about RDS and blazeds, when i use flash builder 4.5 to connect the server data, there is a rds error (403 or 404),but i can ping the http://10.25.129.151:8400/testdrive/test/" on Chrome or ie. So i don't know how to configure the rds in flash builder 4.5 or i will must configure others?
I'd like to write a program using the facebook-actionscript-api. The google code's website of facebook api shows that it provides .swc files for flex 3.4 or the sources.
how can I add them to my Flash Builder project ? Do I need to compile the sources ?
Is it possible to build a UI with Flash CS5 that contains multiple buttons, and then have flex listen to those button events?
My current plan is to load the SWF with SWFLoader and attaching listeners to the buttons in a onComplete event would be the proper way to set it up, however i cannot seem to find a way to access the buttons themselves and attach listeners to them. Of course i would give each button its own instance name.
I've started getting the following when I try to run FB4 projects:
/Library/Internet Plug-Ins/Flash Player.plugin
Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
I've installed the debugger version of the Flash Player. Didn't work. I've reinstalled Flash Builder. Didn't work. I tried using Safari instead of Firefox. Didn't work.
When I go to Macintosh HD/Library/Internet Plug-Ins/ in the finder, I can see Flash Player.plugin right there. But when I go to Username/Library/Internet Plug-Ins the entire folder is blank. So I tried copying Flash Player.plugin to the latter folder. Didn't work.
Mac questions (I'm new to mac): Which of these is really the root? Is it normal that there should be duplicate directories like this, with non-duplicate contents??
In FB I opened Windows --> preferences --> Flash Builder --> Profiler --> Player/Browser and browsed to /Applications/Adobe Flash CS5/Players/Debug/Flash Player Debugger.app
What does Flash Player Debugger.app have to do with Flash Player.plugin?
I've been trying out Flash Builder for the first time and I can't seem to get it working...
First off I have these bits of very basic code:
[Code]...
Another key problem: Flash Builder cannot connect to the debugger, even though I've installed it twice now.Can anyone help me here? I've made sure my firewall is off, but could this be causing problems?
I'm a GIS Analyst that was moved to an Analyst Programmer position. This has been a hard transition for me as I don't have much of a programming background, but I was thrown into it. 'm working on a Flex app inside a jsp page. Essentially it is a grid 3x2 that has images and text. What I am trying to do is have more than one titleWindow reference in this page, so that when an image is clicked a titleWindow is opened. (If anyone has a better idea, especially if it has to do with a hover I am very open to that!) Currently I have it working for one image. However, when I try to add a second function it errors on me. "Error 1021: Duplicate function definition" Below is the entire code for the main page that calls up the titleWindow. The code below is what gives the Error 1021.