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.

Similar Messages

  • Installing AIR3 SDK in Flash Builder 4.5.1 ?????

    Hi All,
    Can anyone help me, with installing AIR3 SDK - Flash Builder 4.5.1, logically, I need to overally the sdk, the way, we use to do with previous version of AIR SDK.
    But no luck
    Thanks,
    Ravi

    Hi Ravi,
    just installed AIR3 SDK at work. I try to recap the steps I did:
    1. Locate the "old" SDKs
    They are located in the Flash Builder directory, in my case this was c:\program files(x86)\adobe\flash builder 4.5\sdks
    2. Make a copy of the previous SDK
    Copy a previous SDK (I used SDK 4.5.1 for that) and rename the copied folder to AIR3SDK (or a different name if you like)
    3. Overwrite the copied (!) SDK with the AIR3 SDK
    Copy  all files from the AIR3 SDK into the copied folder. It should ask you  to overwrite files quite a couple of times. After this, you should have a  working AIR3 SDK installed.
    4. Set a name for the new SDK
    I had to to this with the Beta2 - go to the new SDK directory and edit flex-sdk-description.xml - change the <name> content from Flex 4.5.1 to AIR3 SDK.
    6. Add the new playerglobal.swc from Flash Player 11
    Download the current Flash Player 11 "playerglobal.swc" from http://labs.adobe.com/downloads/flashplayer11.html and put it into the correct folder. From the SDKs root folder this was: <sdkroot>/frameworks/libs/player/11.0/ (I had to create the 11.0 folder myself and then just put the file in there and rename it to plain "playerglobal.swc")
    7. Add the AIR3 SDK to Flash Builder
    Under "Project Settings - Flex Compiler" for a project, choose the new SDK as SDK to use for the project. If the SDK does not show up, go to "configure Flex SDKs", then "Add" and select the newly created folder. The new AIR3 SDK should now be included in the dropdown list as a compiler for that project.
    Don't forget to add -swf-version=13 as a compiler flag on the same screen.
    After doing all this, I was able to use the new features, compile my projects and well, work with it
    Edit: I almost forgot - you also have to set the namespace in your -app.xml to 3.0 like this:
    <application xmlns="http://ns.adobe.com/air/application/3.0">
    Best regards,
    Martin

  • Latest flex sdk for Flash Builder 4

    HI,
    We bought Flash Builder 4 Premium and installed it.
    Now I want to use the latest flex sdk to use with it (I am working on a project using TLF 2).
    What is the version I should install, is it sdk 4.1 or 4.5(Hero).
    In Flex 4.1 there are about three variations http://opensource.adobe.com/wiki/display/flexsdk/Downloads. Which one should I download if using 4.1 ?
    Please explain.
    Thanks

    Thanks Chris.
    in sdk 4.1 download there are 3 download types. Can you please tell me the difference of 'Free Adobe Flex SDK' and 'Open Source Flex SDK' and which one should I use?
    Thank you very much

  • Error using Acrobat portfolio SDK with Flash Builder

    Hi all
    I've been trying to customize a navigator portfolio for Adobe Acrobat X using Flash Builder 4.5. I was running this proyect as Navigator but I received the following Flash Player error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at acrobat.navhost.app::SingleNavApp/set productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\Portfolio\Flash\Libs\NavHo stUtil\src\acrobat\navhost\app\SingleNavApp.as:333]
    at com.adobe.app::AppPrefsBinding/productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\Acro View\Portfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:93]
    at com.adobe.app::AppPrefsBinding/refresh()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\P ortfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:76]
    at Function/<anonymous>()[E:\dev\4.x\frameworks\projects\framework\src\mx\binding\utils\Bind ingUtils.as:180]
    at mx.binding.utils::ChangeWatcher/wrapHandler()[E:\dev\4.x\frameworks\projects\framework\sr c\mx\binding\utils\ChangeWatcher.as:557]
    at flash.events::EventDispatcher/dispatchEventFunction()
    I've installed Acrobat portfolio SDK into Flash Builder and I have followed the documentation of Building a Navigator from http://learning.adobe.com

    Ok, finally got this working.  Many hidden gotchas. 
    1.  You have to make a Trust File for your custom panel.  This is actually in the SDK, around page 53, so my bad -- but the problem is that there is no feedback from the Adobe application if you don't have this.  The application just hangs.  It should produce an error message "can't find trust file, etc.".  This should not be that hard to implement.
    2.  The latest Flex SDK does not seem to work in Bridge CC or other similar applications.  You have to use Flex SDK 3.x, apparently, and this is NOT in the documentation.  Not only should you set the default SDK in Flex Builder to 3.x (I'm using 3.6) but you have to edit the build.properties file to make sure it's pointing to the correct folder, eg: C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0.  Fortunately Flash Builder 4.7 comes with 3.6 installed.  If you have an older version, it's likely to be completely different.
    More info in this thread: http://forums.adobe.com/thread/1114153.

  • Loading purchased swf into Flash Builder 4 Flex app

    I have purchased a Flash "fundraising thermometer" from an online Flash components site. It takes input from an xml file and displays a thermometer with the goal at the top and the current amount raised indicated. It came with the following files:
    thermometer.swf
    thermometer01.fla
    thermometer01.html (A sample that works.)
    xml/thermometer.xml (The source file: goal amount, current amount, mark interval, etc.)
    caurina/transitions (Mostly .as files.)
    Since the test html (thermometer01.html) works fine, I thought this would be a no-brainer.
    I first unzipped the files into a "thermometer" folder in my current project. I then went into Flash Builder and created a SWFLoader object as follows:
    <mx:SWFLoader 
    id="myLoader" source="../thermometer/thermometer.swf" complete="initThermometer();" autoLoad="true" scaleContent="false"/>\
     private function initThermometer():void { 
         Alert.show('Thermometer loaded');
    The Design view looks fine. I can see the thermometer default image (see below).
    When I run the app, I get no errors, just a broken image link in a box (see below). The alert box also never shows up.
    I'm new to Flex, so I may be doing something stupid that keeps this from working. I contacted the author of the thermometer widget but he doesn't know anything about Flex.
    Any help figuring out how to get this to work in a flex app would be appreciated.

    You should probably add more event handlers to see what's going on.  Especially "ioError". The complete list is below.  For coverage, add a handler for each event. You can also use in MXML
         complete="initThermometer(event)
    and add an argument to your Actionscript method, to find out details about the event.
    private function initThermometer(event:Event):void { 
         Alert.show('Thermometer loaded ' + event.type);}
    Events
        complete="No default"
        httpStatus="No default"
        init="No default"
        ioError="No default"
        open="No default"
        progress="No default"
        securityError="No default"
        unload="No default
    General info here:
         http://livedocs.adobe.com/flex/3/langref/mx/controls/SWFLoader.html
    I did not test my code suggestions, but it's probably close.

  • Flex 4.5 SDK in Flash Builder 4.0

    I am attempting to use the Flex 4.5 SDK in Flash Builder 4.0, as my company does not yet have FB4.5.  Everything seems ok, however whenever I try to use the <s:ViewNavigatorApplication>  or the <s:View> Flash builder does not seem to recognize them, I am not getting any code hinting. I undersand the design view would not work, but as far as code view, FB should not know the differnece.  Does anyone know why they might not be showing up in FB 4.0. I can't seem to find anything on the net about it.

    Just tried this out on an IIS server with Flash player 10.3.181.14 - it worked.
    Are you using the release version of Flash Builder 4.5 with the release version of Flex SDK (not a prior SDK build)?
    The URL you mentioned gives me a 403 forbidden error.
    -Anirudh

  • Can i update flex 4.6 sdk to flash builder 4.5 for php ?

    well
    i already downloaded the 4.6SDK from http://www.adobe.com/cfusion/entitlement/index.cfm?e=flexsdk site but once i add the new sdk to flash builder and try to make a new project
    i cannot switch to design mode at all , gives me and erro rmessage: The Design mode is disabled as the project uses incompatible version of the flex SDK.
    What's the deal ?
    have to wait till Q1  / 12 ?
    Cheers
    Lare

    If you're using components specific to the Flex 4.6 release, then it would be a natural assumption that design view will not work.  If you're having this issue while using components that are not unique to Flex 4.6, then I don't have an answer.  On a good note, design view is completely useless anyway.  It's much faster to type than to drag stuff around with your mouse needlessly.

  • Installing WTP Plugin in Flash Builder 4.6

    Hi,
    I have downloaded trial version of Flash Builder4.6.  I would like to create a flex/java combined project.
    But I am having trouble in installing WTP.  I have googled a lot and every post is suggesting something different.
    But whatever I try, at the end it complains about dependency etc.
    I would really appreciate if any one point to a link or list down the pre requirements and steps to get the WTP working in FB4.6
    thanks

    Hi Ravi,
    just installed AIR3 SDK at work. I try to recap the steps I did:
    1. Locate the "old" SDKs
    They are located in the Flash Builder directory, in my case this was c:\program files(x86)\adobe\flash builder 4.5\sdks
    2. Make a copy of the previous SDK
    Copy a previous SDK (I used SDK 4.5.1 for that) and rename the copied folder to AIR3SDK (or a different name if you like)
    3. Overwrite the copied (!) SDK with the AIR3 SDK
    Copy  all files from the AIR3 SDK into the copied folder. It should ask you  to overwrite files quite a couple of times. After this, you should have a  working AIR3 SDK installed.
    4. Set a name for the new SDK
    I had to to this with the Beta2 - go to the new SDK directory and edit flex-sdk-description.xml - change the <name> content from Flex 4.5.1 to AIR3 SDK.
    6. Add the new playerglobal.swc from Flash Player 11
    Download the current Flash Player 11 "playerglobal.swc" from http://labs.adobe.com/downloads/flashplayer11.html and put it into the correct folder. From the SDKs root folder this was: <sdkroot>/frameworks/libs/player/11.0/ (I had to create the 11.0 folder myself and then just put the file in there and rename it to plain "playerglobal.swc")
    7. Add the AIR3 SDK to Flash Builder
    Under "Project Settings - Flex Compiler" for a project, choose the new SDK as SDK to use for the project. If the SDK does not show up, go to "configure Flex SDKs", then "Add" and select the newly created folder. The new AIR3 SDK should now be included in the dropdown list as a compiler for that project.
    Don't forget to add -swf-version=13 as a compiler flag on the same screen.
    After doing all this, I was able to use the new features, compile my projects and well, work with it
    Edit: I almost forgot - you also have to set the namespace in your -app.xml to 3.0 like this:
    <application xmlns="http://ns.adobe.com/air/application/3.0">
    Best regards,
    Martin

  • Using latest FileInfo SDK, latest Flash Builder, new project crashes in latest Bridge

    I've been trying to create a custom panel in Adobe Bridge.  I downloaded the XMP-FileInfo-SDK-CS6, loaded the jar file into Adobe Flash Builder 4.7 (latest version), created a new project with NO modifications, and published it to the correct Custom File Info Panels folder on Windows 7.  I then restarted Bridge, opened FileInfo in a photo, but when I navigated to the new panel that I just created, it fails to load correctly and hangs the entire application.  The only way to close the window is to restart Bridge.
    So just to be clear -- latest SDK, latest Flash Builder, latest Bridge version, new project, no modifcation, completely crashes Bridge.  The GenericPanel is about the only thing that works without problem, but it's a little too limited for what I want to do (no business logic). 
    Not very reassuring that this is going to work at all.  Has anyone else experienced this?  Is there any workaround, or update I can try instead?
    Thanks.

    Ok, finally got this working.  Many hidden gotchas. 
    1.  You have to make a Trust File for your custom panel.  This is actually in the SDK, around page 53, so my bad -- but the problem is that there is no feedback from the Adobe application if you don't have this.  The application just hangs.  It should produce an error message "can't find trust file, etc.".  This should not be that hard to implement.
    2.  The latest Flex SDK does not seem to work in Bridge CC or other similar applications.  You have to use Flex SDK 3.x, apparently, and this is NOT in the documentation.  Not only should you set the default SDK in Flex Builder to 3.x (I'm using 3.6) but you have to edit the build.properties file to make sure it's pointing to the correct folder, eg: C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0.  Fortunately Flash Builder 4.7 comes with 3.6 installed.  If you have an older version, it's likely to be completely different.
    More info in this thread: http://forums.adobe.com/thread/1114153.

  • How to easily get an Adobe Flash CS5.5 Professional project into Flash Builder 4.5?

    Hey all,
    I am new and trying to do the following, can you please guide/help me do it:
    I have a video chat application that is done on Adobe Flash CS5.5. I had the problem of "echo" so I wanted to use "getEnhancedMicrophone()". When I replaced "getMicrophone()" with "getEnhancedMicrophone()", Adobe Flash CS5.5 Professional didn't recognize it. I knew I need Flex, so I installed Flash Builder. And then got lost. What I simply want is just import my "FLA" file (or if I need to convert it to something else using a specific tool, let me know.. I have Adobe Flash CS5.5 Professional and can install other required applications if needed) done on Adobe CS5.5, into Flash Builder, and then "support Flex" so that I compile with the flash-version argument required.
    I am totally new to MXML and Flash Builder, and even Flex. I don't know how to import a FLA and add "Flex" libraries into it simply to make "getEnhancedMicrophone()" work without the need to recreate the whole thing on Flash Builder. Can you guide me please? The output is for a web SWF file, not a desktop application.
    Thanks!

    I have the same problem here. I'm trying to do a stick animation on cs6, but to be more precise, i need to actually draw with a larger brush size. I suggest using the pen tool with the smooth option on. You can't see exactly where the stroke will be, but its better than nothing, and it more or less acts like the brush anyway.

  • Overlay AIR 3.3 sdk for Flash Builder on Snow Leopard

    The AIR 3.3 sdk is now a DMG, used to be a .tbz2 zip file, and there is no merge capabilities with Snow Leopard..
    How can I overlay AIR 3.3 sdk for Flash Builder 4.6 on Snow Leopard 10.6.8?
    Also I may have Lion soon so can you provide steps for FB overlay of the DMG on OSX 10.7?
    Many thanks.
    PS.I am dumbfounded there is no documentation on this by Adobe release after release? For OSX users there is an old Adobe KB article that I can't find anymore, there is a youtube video (http://www.youtube.com/watch?v=S118mZjln3I) I recommend, and a post most mac/FB users use (http://jeffwinder.blogspot.com.au/2011/09/installing-adobe-air-3-sdk-in-flash.html) and none of them remind you to use sudo before the terminal command..

    Thanks eran1976 here is the OSX 10.6.8 process that worked for me:
    1. open the 3.3 sdk DMG and copy all the files into a new emty folder called say AIR33SDK or whatever in your sdks directory
    2. asuming your current Flash Builder sdk with air3.2 or older is called 4.6.0, open terminal and run:
    3. sudo cp -Rp /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/AIR33SDK/ /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0/
    4. you can now delete AIR33SDK folder if you wish
    5. open Flash Builder and change any existing project xml application files to 3.3
    5. remember to backup your 4.6.0 folder first

  • Creative Suite SDK with Flash Builder 4 tutorial

    Hi,
    For those of you new to the Creative Suite SDK, I've posted a video tutorial in our blog that walks you through all the steps necessary to build an extension using the SDK and Flash Builder 4. It shows you how to get set up with the SDK, create a new project, run and debug the extension in development mode and export it for distribution.
    You will find the recording in the Creative Suite SDK Team blog.
    Maria

    I'm building an InDesign extension using Flash Builder. I have everything working as per the tutorial, but the code-debug cycle is very long. Every time I make a code change, if I want to run it in the debugger, I have to do all of this:
    Save my file, confirm there are no Errors, set my breakpoints.
    In the Finder (I'm on OSX), copy the SWF to the extensions folder.
    In Flash Builder, from the "Run" menu, choose "Debug", then "Other..." The Debug Configurations dialog appears.
    In the Debug Configurations Dialog, select my configuration (which works) and click Debug. The "Installed Adobe Flash Player Is Not a Debugger" dialog appears.
    In the "Installed Adobe Flash Player Is Not a Debugger" dialog, click Yes. The dialog closes
    Launch InDesign. Wait for it to launch.
    Run my extension, stop at my breakpoints, do my debugging.
    Quit InDesign
    Is there any way to set up the debugger to connect to CS5 without having to quit and relaunch the CS5 app itself?
    Is there any way to make my debug configuration the default in Flash Builder, so I can just hit command-F11 to debug?
    Is there any way to automate copying the SWF into the extensions folder?
    Thanks in advance.

  • How can I overlay AIR 3.5 SDK in Flash Builder 4.7?

    I'm trying to overlay the new Air 3.5 sdk in Flash Builder 4.7 but the option to use specifed sdk is unavailable in the project preferences. What is the solution here?

    Hi,
    Can you please let me know whether you have overlaid it on Win/Mac?
    When you have created the mobile project what does app.xml show? for example if you have 3.5 overlaid you should be able to see something like this in app.xml
    <application xmlns="http://ns.adobe.com/air/application/3.5">
    For overlaying AIR 3.5 SDK on Flex SDK 4.6 locally following the instructions mentioned in the below url and then create a Flex Mobile project using that SDK.
    Overlay help document link : http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    Let me know if you need more information.
    Thanks,
    Hari

  • Overlaying adobe air sdk in flash builder 4.6

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on this link "http://rubberduckygames.com/how-to-overlay-abode-air-sdk-over-flex-sdk/". Can anyone please suggest me what i need to do in order to get this work.

    Finally Figure it out..
    geo = new Geolocation();
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    has to be executed before checking if it is muted.
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    Is what requests permissions from the phone to use the gps.
    Hope this saves someone alot of time.
    Tested With Flex 4.9.0 Air 3.8 Beta.

  • Intergrating RSS Feeds into Flash Builder 4...

    I am very new to Flash builder 4 and I want to make an application where the app user can read through all the RSS Feeds and get updates everytime their connected to the internet. I am making this for the BlackBerry Playbook if that makes a difference and also can it be really simple instructions like I said I'm very new to this.

    Ok, I think you might have your message title worded wrong. I think you want RSS feeds in a FLEX application, not Flash Builder 4 itself??
    I, myself, am trying to implement an RSS feed into my application but have other priorities unfortunately.
    The only bookmark I find in my list is this:
    http://insideria.com/2009/04/flex-101-consuming-a-simple-rs.html
    ^ That might help you get started. I cant find any other examples in my bookmarks, but if I do I'll post them here.
    OR, if I get my own code up and working (which should be within the next week hopefully), I'll post that up too. Cheers!

Maybe you are looking for