Importing Flex 2 projects in Flash Builder 4.5

I have a decent amount of Flash/ActionScript experience, but I'm brand new to both Flex and Flash Builder... so apologies for asking a potentially stupid question.
I just received a Flex project from a client, and I assumed I'd be able to work on it with my recent install of Flash Builder 4.5
But when I go to File > Import Flash Builder Project and navigate to the Project folder, I just get a warning that says:
“The folder does not contain a valid Flash Builder Project.”
I think this project might have originally been developed in Flex 2. Am I doing something wrong, or is it normal to not be able to import older Flex projects into Flash Builder? If Flash Builder can't import old Flex projects, what's the recommended workaround?

dont import it, do it from scratch in fb4

Similar Messages

  • Importing Flex project into Flash CS5 for use with iPhone packager? Please Help.

    Hi all,
    I have been developing an application in Flex builder for the iPhone using the iPhone packager, where I've been using the Flex framework.
    Now I'm stuck at trying to use my existing libraries in Flash. It seems I can't add the UI components I used in Flex (class VideoExample) to the default Flash container. I need someone's help who has experience with that.
    I have created a .SWC file, but when I'm trying to add the container in Flash using addChild(new VideoExample) it doesn't work. I can't load the .SWF externally using loader.load() at runtime, because the application is for iPhone. Any solutions how could I import the project to Flash?
    I was thinking about changing the UI components classes from mx.* to fl.*, but I would have to change many code and I'm not sure if it would even work, and I don't want to loose compatibility with mxml.
    Please respond, help would be very much appreciated!
    Here's my mxml wrapper, from which I start the main application:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="EntryPoint.main()">
    </mx:Application>
    Then I have a class which creates the main container:
    package {
    import mx.core.*;
    public class EntryPoint {
        public static function main():void {
            var client:VideoExample = new VideoExample();
            var mxmlApp:Application = Application(Application.application);
            mxmlApp.addChild(client);
    Here is the main class VideoExample:
    package {
    import mx.controls.*;
    import mx.containers.*;
    public class VideoExample extends Canvas {
        public function VideoExample() {
            super();
            init();
            private function init():void {
            loadImage();
            loadText();
                    loadDisplay();
                    startConnection();

    This forum is for Flash Media Server Developers so most likely you migth get much traction here. I would recommend you to post your query on Flash Builder forum: http://forums.adobe.com/community/flash_builder/using_flash_builder
    Also you can try posting here:
    Flash Platform Services For Promotion - http://forums.adobe.com/community/promotion
    Flash : http://forums.adobe.com/community/flash/flash_general

  • Import many projects to Flash Builder 4.7

    Hi there,
    we had to install Windows 64 Bit for the better performance with the Flash Builder 4.7.
    So we also had to deinstall Flash Builder 4.7 and install it again.
    Now we have about 50 projects and we don't want to import each individually.
    Is there a possibility to import all the projects which are in the workspace folder or do we really have to add one after the other?
    Best omi

    Goto File>Import...>General>Existing Projects into Workspace
    Under "Select root directory", specify the path where all the projects are present.
    All projects present at that path will be imported into the Workspace.

  • Convert Flex Builder 3 project to Flash Builder 4.5

    My boss asked me to convert the Flex project to Flash Builder so that they can see what's going on on Tablet.
    I used this video http://tv.adobe.com/watch/adc-presents/sneak-peek-of-mobile-application-development-with-f lex-and-flash-builder/
    as my reference but found out it is not that easy.
    I have problem exporting it and the Flex codes start with <mx: Application > and when I created a Flex mobile project, the codes start with <s: Aplication >
    I don't know if I have to create a Flex mobile project.
    If I already have an existing Flex project, how can I convert it to Flash Builder 4.5 and can view on Tablet?
    Thanks a lot.

    you might google "migrating from Flex 3 to Flex 4".  there are a few articles and videos about it...
    http://www.adobe.com/devnet/flex/articles/flexbuilder3_to_flashbuilder4.html
    It is easy, but can be time consuming to move from mx to spark.
    If your boss just wants to see his web app on a Tablet, I'd first suggest using the tablet's Browser.  As long as it supports Flash 10.1+ (not iOS), you should be fine, assuming your UI fits in the typically 1024x600+ resolution screen.  If so, It is easier to convert a Flex 3 web app to a Flex 4 web app, than it is to convert it to a mobile app.
    If he wants it on a iPad, then you are forced to create a Mobile Project.
    Hope this helps.
    Don

  • Java projects in Flash Builder

    Hi all,
    I previously used Flex Builder 3 on Vista x64.   Inside Flex Builder 3, I had both flex projects and java projects.  I needed both because I use BlazeDS and kept the java code in a separate project.  I would only like 1 development environment.
    I recently upgraded to Windows 7 x64 and went ahead and upgraded my Flex Builder 3 to Flash Builder 4.
    It was a simple measure to import my flex projects into Flash Builder 4.
    When I tried to import the Flex 3 java projects into Flash Builder 4, Flash Builder responded with:
      " The folder does not contain a valid Flash Builder Project."
    Short of installing Eclipse, a 32bit version of java, and using the Flash Builder Plugin, is there a way to get my java projects to import and compile in Flash Builder 4 while running on Windows 7 x64?
    Thanks in advance for any thoughts,
    - Steve
    P.S.  I may have had to import something special to get it to work in Flex Builder 3, I just can't remember.

    If you're trying to compile Java projects in FB4, you'll need to add eclipse's Java Development Tools (JDT).
    You can add the JDT this way:
    - quit FB4, and launch with "Run as Administrator" from the context (right-click) menu
    - from the Help menu choose "Install New Software..."
    - in the resulting dialog click "Add", and enter a name of your choosing such as "Galileo Updates" in the Name field
    - enter this URL into the Location field:
    http://download.eclipse.org/releases/galileo/
    - hit OK and then browse the available Galileo Updates
    - select Programming Languages > Eclipse Java Development Tools
    - continue on with the usual Update workflow, and after finishing it will prompt you to relaunch automatically.
    Allow FB4 to relaunch, and you should now have the JDT available for compiling Java projects.
    -Chris

  • Using mx components in Action Script project in Flash Builder

    Hi
    I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
    The as file looks like this:
    package
        import flash.display.Sprite;
        import mx.controls.Button;
        public class as_test_project extends Sprite
            public function as_test_project()
                var btn:Button = new Button();
                btn.label = "test";
                addChild(btn);
    I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
    I still get errors like :
    Description    Resource    Path    Location    Type
    Unable to resolve resource bundle "core" for locale "en_US".    as_test_project        Unknown    Flex Problem
    Have then tried added various Bundles folders like
    C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
    to the source path and library path, but I still get the errors.
    WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
    If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?

    Thank you for your quick reply.
    But how then can I obtain the fl.controls components and use them in an Action
    Script project in Flash Builder 4?
    I don't have CS3 or CS4 (the flash authoring tool) installed.
    Is there an SWC somewhere to be downloaded?

  • "Import Flex Project" Menu Disappear [FB 4.6]

    Hi All,
    I am not sure what's going wrong here but I'm not able to see "Import Flex Project" menu item under File Menu.
    Can any one knows how to get it back ?
    Thanks
    Mac

    I'm having the exact same issue as he described. This doesn't help at all.
    I am using a fresh install of Flash Builder 4.6.
    I have tried closing and re-opening the project, and cannot get the design view to work.
    I have tried creating a completely new project, it comes up bad.
    **Edit**
    I think the problem has to do with the workspace. Most of my projects are flex 4.5. I started using an old flex 4.5 workspace that I have been using for several months. It worked well for a few hours of development, and then the design view started messing up.
    I created a fresh new workspace, and imported the projects into the workspace by using file->import flash builder project->Folder, and manually selected the projects I needed.
    This method worked for me and I am good to go.
    Another point of note, is that my workspace was in my dropbox folder, which may have had some tampering going on in the background, I doubt it, but that could also have been the issue.
    Good luck guys, hope this helps.
    Message was edited by: darkscrypt

  • AS3 Project in Flash Builder

    Hi I am an experienced AS3 developer working on a Mac, been working in the CS4 IDE and using Textmate for html, PHP etc. I am very keen to use Flash Builder IDE to build my AS3 projects. I have been able to create actionscript projects but when I try to incorporate FLA and the library assets in FLAs I get stuck.The way I want to work is to use CS4  for creating graphics, timeline animation, so when I run the project it compiles the fla and scripts as if I was in CS4 ide.
    So my question: Is there any good tutorials or sites that can guide me thru setting up an Actionscript project in Flash Builder and manipulation of stage, timeline and library assets from an FLA?

    Firstly flashbuilder doesn't use a timeline, it can use assets in a CS4 compiled flash file, but knows nothing about the fla format. A good starting point would probably be to down load the tour deflex which has a lot of  flex examples with the source.
    http://www.adobe.com/devnet/flex/tourdeflex/
    there is also the cookbook page
    http://www.adobe.com/devnet/logged_in/esullivan_cookbook_20.html
    this is a great site for resources when you run into problems
    http://blog.flexexamples.com/
    Adobe also have a lot of video tutorials which are great to get an idea of just how Builder works.
    David.

  • Can't create Flash Pro projects in Flash Builder

    In the most basic of Flash Pro/Flash Builder Projects, I get this error when I compile.
    My .fla is just in a folder...Please help. It will not publish at all.
    These are the contents of the flashExport.jsfl file:
    function testMovie( flaURI, projectName, clearErrors )
         var doc = fl.openDocument(flaURI);
         if(doc != null && doc.canTestMovie())
              doc.testMovie("flashbuilder-4.0", true, clearErrors);
              finishExport(projectName);
    function debugMovie( flaURI, projectName, clearErrors )
         var doc = fl.openDocument(flaURI);
         if(doc != null && doc.canTestMovie())
              doc.debugMovie("flashbuilder-4.0", true, clearErrors);
              finishExport(projectName);
    function publishMovie( flaURIArray, incremental, outputURIArray, profileURIArray, projectName )
         if(incremental)
              if(flaURIArray.length == outputURIArray.length && outputURIArray.length == profileURIArray.length )
                   for(var i = 0; i < flaURIArray.length; i++)
                        var outputURI = outputURIArray[i];
                        if(outputURI != null && outputURI.length > 0)
                             var pubProfileStr = fl.exportPublishProfileString(flaURIArray[i]);
                             if(pubProfileStr != null && pubProfileStr.length > 0)
                                  // first fix up the SWF export location                         
                                  var swfLocationURI = outputURIArray[i] + ".swf";
                                  var swfLocation = FLfile.uriToPlatformPath(swfLocationURI);
                                  var newFlashFileName = "<flashFileName>" + swfLocation + "</flashFileName>";
                                  pubProfileStr = pubProfileStr.replace(/<flashFileName>.+<\/flashFileName>/i, newFlashFileName);
                                  // fix up the HTML export location
                                  var htmlLocationURI = outputURIArray[i] + ".html";
                                  var htmlLocation = FLfile.uriToPlatformPath(htmlLocationURI);
                                  var newHtmlFileName = "<htmlFileName>" + htmlLocation + "</htmlFileName>";
                                  pubProfileStr = pubProfileStr.replace(/<htmlFileName>.+<\/htmlFileName>/i, newHtmlFileName);
                                  // fix up the Permit Debugging setting
                                  pubProfileStr = pubProfileStr.replace(/<DebuggingPermitted>.+<\/DebuggingPermitted>/i, "<DebuggingPermitted>1</DebuggingPermitted>");
                                  // fix up default flags
                                  pubProfileStr = pubProfileStr.replace(/<defaultNames>.+<\/defaultNames>/i, "<defaultNames>0</defaultNames>");
                                  pubProfileStr = pubProfileStr.replace(/<flashDefaultName>.+<\/flashDefaultName>/i, "<flashDefaultName>0</flashDefaultName>");
                                  pubProfileStr = pubProfileStr.replace(/<htmlDefaultName>.+<\/htmlDefaultName>/i, "<htmlDefaultName>0</htmlDefaultName>");
                                  // and fix up the profile name attribute, and add the xml decl header
                                  // we know the first instance of "name=" has to be the profile name - the other usages are
                                  // within the rest of the tree
                                  pubProfileStr = pubProfileStr.replace(/<flash_profile.+>/i, "<?xml version=\"1.0\"?>\n<flash_profile version=\"1.0\" name=\"FlashBuilder-Debug\">");
                                  // now save the new profile in the .settings folder
                                  FLfile.write(profileURIArray[i], pubProfileStr);
         fl.publishDocument("", "", flaURIArray, profileURIArray);
         // once the publish is complete, save out the errors and let Builder know (this will only occur when
         // projectName is non-null. so in the Test/Debug Movie case, the finishExport call here won't do anything,
         // and the one in testMovie/debugMovie will.
         finishExport(projectName);
    function finishExport(projectName)
         if (projectName == null || projectName.length == 0)
              return;
         var errorsXMLURI = fl.configURI + "ActionScript 3.0/FlashBuilderInfo.txt";
         var errorsXMLPath = FLfile.uriToPlatformPath(errorsXMLURI);
         var errorsPanel = fl.compilerErrors;
         errorsPanel.save(errorsXMLURI, false, false, true, false);
         fl.queueBridgeTalkScript('flashbuilder-4.0', "fb.loadCompilerErrors('" + errorsXMLPath + "', '" + projectName + "');");
    function toggleBreakpoint( filename, lineNumber, enable )
         fl.toggleBreakpoint(filename, lineNumber, enable);
    function getAppConfig()
         var appConfig = fl.applicationURI + "Common/Configuration/";
         // do a little reformatting to get the slashes right, plus
         // we want an OS path
         appConfig = FLfile.uriToPlatformPath(appConfig);
         fl.queueBridgeTalkScript('flashbuilder-4.0', "fb.setAppConfig('" + appConfig + "');");
    function getFLABuildPaths(projectName, targetFlaURI, flaURIArray)
         var sourcePath = new String();
         var libPath = new String();
         var script = "fb.setFLABuildPaths(" + projectName + ", " + targetFlaURI;
         for(var i = 0; i < flaURIArray.length; i++)
              var flaURI = flaURIArray[i];
              sourcePath = fl.getCompilerPath(flaURI, "source", false, true);
              libPath = fl.getCompilerPath(flaURI, "library", false, true, true);
              script += ", " + flaURI + ", " + sourcePath + ", " + libPath;
         script += ");";
         fl.queueBridgeTalkScript('flashbuilder-4.0', script);

    I have the same issue. My project is super simple. All the files are in the same directory. The doc class and the .fla have the same name. The project publishes without a hitch in Flash Professional CC. When I try to add the project to Flash Builder 4.7 it give me:
    Exception in BridgeTalk call
    Function: getFLABuildPaths
    Error message: Error. Cannot find the file ....
    I have checked the path to the .fla twice and scrutinized the spellings and they are correct. It is pointing right to the correctly named .fla, but for some reason it fails. I'll post if I find out something usefull.

  • Can I develop CF projects using Flash Builder 4.5 for PHP?

    I currently develop CF projects using Flash Builder 4.5.  I am considering purchasing Flash Builder 4.5 for PHP.  Will I still be able to work on my CF projects using FB for PHP?

    Because in the installation instructions for FB for PHP it says that you have to uninstall the current installation of FB which I have several CF projects that I use regularly.  I hate to uninstall if it turns out that I can't transport my current projects into FB for PHP. 
    Oh that sux!  It's just an Eclipse plug-in, and one can have installed multiple installs of Eclipse OK, so I wonder why they're said this?
    OK, because I give suck advice, I'll D/L it and install it on a spare machine and take a look.  FB usually has a CF perspective does it?  So what you need to know is whether FB for PHP still has the CF perspective?
    Or are you asking whether you can install CFB (or CFEclipse) as a plug-in to FB for PHP, like one can with FB?
    Sorry about the bad advice.
    Adam

  • Draw line in Action Script project in Flash Builder (Gumbo).

    Hi
    I am working on drawing tool application and want to draw line and rectangle in Action Script project in Flash Builder (Gumbo). Please guide and help me with an example.
    Thanks
    Rangrajan.

    This should be helpful http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7dd9.html

  • New to flash. I import a flash professional project into flash builder but don't see a design mode

    in flash builder to place object onto!!!
    I can see design mode if I import a catalyst project, as well an mxml file, but not with flash professional. Any help?

    in flash builder to place object onto!!!
    I can see design mode if I import a catalyst project, as well an mxml file, but not with flash professional. Any help?

  • Trouble Import Flash Builder 4 project into Flash Builder 4.5

    Hi,
    I have quite a lot of Flash Builder 4 Air project which I would like to convert all of them into Flash Builder 4.5 project. However, after I tried to import it into 4.5, the project got error and saying that "application descriptor not found".
    I am posting it here because I believe it is due to improper import of the air project into 4.5. Flash Builder 4.5 should be intelligent enough to solve the problem when converting the project. Hope there will be a fix for it soon
    Btw, how can I manually solve this problem so that I can get all my previous projects run on 4.5? Thanks.

    Hi Yue,
    I'm sorry you're running into problems with Flash Builder.  Would you mind reposting this over on the Flash Builder forums?  You'll probably have better luck over there.
    Thanks,
    Chris

  • Installing Flex SDK into Flash Builder 4.7 problems

    Hi,
    Im completely new to Flash Builder, today I have installed Flash Builder 4.7 & Flash CS6 from Creative Cloud for my son to start to learn game programming (with my help), I have used simple coding in web design however this terminology is new to me.
    I bought my son the latest 'Foundation Game Design with ActionScript 3.0' book on recommendation but it was written when FB was version 4.5 so im guessing this might be the problem.
    The book is very easy to follow but have hit problems at the beginning of the tutorials, the book talks about Flex SDK but it seems that FB 4.7 uses AIR SDK ?
    So the first project called HelloWorld, we got up to:
    Got an exclamation mark which said
    'The import flash.display.Sprite is not used
    locally'
    Continuing with the rest of the project the exclamation mark disappeared:
    However on selecting run- Debug we got a blank Flash Player window  ('generate HTML wrapper file' was deselected)
    So either we've done something wrong, or the book and FB version are not compatible?
    Any advice would be great!
    Thank you
    Latest ...
    I thought that installing Flex SDK may solve the problem but after following instructions I have the error message, see image below. Really stumped now!

    Sorry, if I went a little overboard. After re-reading your post, perhaps I should back up a little.
    First, there are little things that Flash Builder (FB) will complain about. Having extra import statements in your code doesn't hurt anything. If I'm trying different solutions and then commenting out the code, the import statements will hang around, FB will complain, but just ignore it. If you see a little icon on the left edge of your code editor and its a red circle with an X in it, then that is something that will have to be fixed.
    When you create an app in FB or Flash you can choose to create a web app which means it will run in a browser window. The project can optionally create an HTML wrapper, or web page that will load your app. In Flash Pro you can choose File->Publish Settings and there will be a checkbox on the left to publish a HTML wrapper. In FB, you can right click your project in the Package Explorer, select Properties at the bottom, select the ActionScript Compiler, and down at the bottom there will be a checkbox to create a HTML wrapper.
    If you're just learning Flash Builder, then the FlexSDK 4.6 and the AIR SDK 3.1 that comes with it should be fine. You mentioned Apache SDK and I'd recently been working with that so I ended up getting side-tracked.
    Getting an AIRSDK to work with when build ActionScript projects is easy. Just go to the adobe site, type AIR SDK in the search box, and you should find a page that will let you downloaded the latest version. There's also a page to let you download the latest AIR runtime, and if you were just going to run AIR apps and not build them, then that's all you would need. As a developer you'll want to install the runtime from the downloaded .exe file. With the SDK, after downloading it, installing it is easy. Just create a new folder an unzip the SDK into it, then place it somewhere easy to find. I put all my SDK's in their own directory right off the c: drive. So I have c:\AIRSDK_3.5.0.880 and c:\AIRSDK_3.7.0.1530. I use very descriptive folder names so I always know which SDK's I have to work from.
    To use the SDK in Flash Pro select Help -> Manage AIR SDK, hit the plus button and add the folder you created. Now when you've opened a Flash project, you go to File->Publish Settings and select the combo box at the top, you'll see options like 'AIR 3.7.0.1530 for Android' in the list that reflect the SDK's you've added.
    Generally with FB you'll be using a FlexSDK, or perhaps a FlexSDK overlaid with a newer version of AIRSDK. Overlaid basically means you copied the contents of the AIR SDK into the Flex Folder. The article I mentioned above will give you all the details on creating those. For instance, I downloaded the Apache Flex installer, installed it, then created an empty folder called c:\ApacheFlexSDK_4.9.1, launched the Apache installer, gave it the new empty folder I'd created, selected all the download options, and let it all download. If it launches a popup box or a security warning, you can allow it, and it will continue. Once you have the SDK and you want to use it with a project in FB, just right click the project, select Properties, selected that Compiler tab again, and up in the right corner you'll see 'Manage SDK's...'. Hit that link, add your new SDK to the list and give it a descriptive name, then selected the checkbox beside it to set it up as your default. If you do this, then all your projects set to use the default will automatically switch to it and rebuild. So if you want a project to stay with a specific SDK then select that option in your Compiler tab, and then you could use the combo box to select your new added SDK.
    When I started with FB I think I spent the first 2 days going round and round with project settings and options until I got them all figured out.
    When I develop, I usually have my browser open and I have bookmarks and favorites to let me quickly get to all the pages I use most often. Here are a few of them:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html  <---- The API reference. In the packages window check out 'Top Level' at the top and Language Elements near the bottom. I think I have this page open in one or more tabs almost every day.
    http://www.adobe.com/devnet.html
    http://www.adobe.com/devnet/actionscript/learning.html
    http://help.adobe.com/en_US/as3/learn/index.html
    http://helpx.adobe.com/flash.html
    http://help.adobe.com/en_US/flashbuilder/using/index.html
    Free videos to help you learn Flash Pro:
    http://tv.adobe.com/show/learn-flash-professional-cs6-/
    http://tv.adobe.com/show/learn-flash-professional-cs5/
    And you've already found the forums! But if you don't find an answer here, many times you can find your question already answered on www.stackoverflow.com forums.
    Ok, I think I went a little overboard again.

  • How to put ActionScript into Catalyst project via Flash Builder?

    I don't know if this is the wrong place to put this, but I need to add some ActionScript into my Catalyst project... from what I understand, it can only be done via Flash Builder. Am I right? How?

    Hi Alex,
    To edit the code of a Flash Catalyst project, you can import it into Flash Builder as follows:
    File > Import > Flash Builder Project
    Select the FXP file from Catalyst
    Make sure "Import new copy of project" is selected, then hit Finish
    I'm not sure where you got the ActionScript code that you're planning to use, but it may be difficult to integrate into your project if it's not designed for use with Flex (a lot of AS code snippets you'll find online are just for general use in Flash, not tailored for Flex applications).  But you'll probably want to do something like this:
    Locate the image you want to make random.  If you're having trouble doing this, switch the view to Design mode, select the image with the mouse, and then switch back to Code mode to see the corresponding code highlighted.
    If there's no id attribute set on the image, add one (so you can refer to it in code later).
    If the tag is s:BitmapImage, change it to mx:Image (this is needed to make the contents dynamic)
    If the root s:Application tag doesn't have a creationComplete handler, add one (type it partway, then hit Ctrl+Space, then choose "Generate Handler").
    In the handler, add your code to randomly select an image filename.
    Then set <your image's id>.source = <filename>
    Hope that helps!
    - Peter

Maybe you are looking for