Flex SDK problem

Where can I find the path to the  Flex SDK? Last time I embeded metadata, Flash CS5 automatically found it for me. This time its not working. I get this message in the output window:
You have used a feature that requires the Flex SDK:
"Embed" metadata
Please set the Flex SDK path if necessary and add it to the library path for this file. The Flex SDK folder contains the bin, frameworks, lib and other folders.
Thanks for your help
Shiim

I did that. I found an SDK that was in the FlashDevelop folder, but the SDK that comes with Flash CS5 is missing or hidden. I did an unhide files in the control panel. but the folder is still not there. Also my program works if I click Test Project, but it will not work with ctrl+enter. Something keeps getting messed up, but I'm not familiar enough with the Flash IDE to fix it. I've re-installed 3 times.
Thanks
Shiim

Similar Messages

  • 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.

  • Flashbuilder 4 giving problem in flex sdk 4.5.0 and 4.5.1

    Hi,
    I have flash builder 4 installed in windows xp OS.
    While developing AIR application in flash builder + flex sdk 4.0 it is fine and showing the application windows.
    But when i use flex 4.5.0 or flex 4.5.1 sdk the window doesnot show.
    After i have changed the workspace it gives the following problem.
    Process terminated unexpectedly.
    error while loading initial content
    Launch command details:
    "C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.5.1\bin\adl.exe" -runtime
    "C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.5.1\runtimes\air\win"
    "C:\Documents and Settings\sudhansu_rana\Adobe Flash Builder 4\TestAir\bin-debug\TestAir-app.xml"
    "C:\Documents and Settings\sudhansu_rana\Adobe Flash Builder 4\TestAir\bin-debug"
    Thanks
    Sudhansu

    Update your XCode to 4.3.2
    Your question should be in developer forum
    Developer Forums

  • How to setup Flex SDK with latest AIR SDK?

    Now the latest AIRSDK web page has a small link at the bottom for Flex users and it states that Flex users should take the SDK version without the compiler. BUT....
    the http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html page says to download the SDK from
    http://labs.adobe.com/downloads/asc2.html
    but this page now redirects to:
    http://helpx.adobe.com/air/kb/archived-air-sdk-version.html
    which contains a large list of archived SDK's. So that help page never really says which version of the SDK to use - with or without the compiler. But other forum posts have implied its suppose to be the one with the compiler.
    Now since we're overlaying the ...plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK folder that would make sense.
    But now there's a second overlay instructions page at:
    http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    with different instructions.
    So my questions are:
       Which overlay instructions are we really suppose to use?
       Which version of the AIR SDK (with or with-out compiler) are we suppose to use?
       What does the Flex Library Project properties -> Flex Library Compiler -> 'Include Adobe AIR libraries' checkbox really do?
            If I've followed the (first) overlay instructions above, does this checkbox now mean I'm using the overlaid AIR SDK 3.6
            with the current Flex SDK I've chosen?
            What if I'm using the Apache Flex 4.9.1 SDK? Will the AIR SDK 3.6 overlay that?
                (Doesn't Apache Flex have AIR 3.4 embedded - will this confuse Flash Builder 4.7 ?)
    Is it just me, or is this just getting more and more confusing? Can we perhaps get a AIR SDK combo box to go beside the Flex combo box and when we check the 'Include Adobe AIR libraries' then we can select the AIR SDK we want? And get a 'configure AIR SDKs...' link too? Then perhaps we can get completely away from overlays and all this merged SDK nonsense. I've had nothing but problems with it.
    The real reason I need all this info is because I'm trying to use Flash Builder 4.7 to build an Android ANE and I'm having a devil of a time just trying to find my resources. When I use context.getResourceID() I'm not getting the correct resources - and after reviewing other posts here I came to the conclusion that it might be due to bugs in older AIR SDK's. So really, at the moment I could care less about the latest Flex SDK, I just need to know I'm working from the latest AIR SDK.
    Thanks in advance.

    If you are not using Flash Builder go here: http://www.adobe.com/devnet/air/air-sdk-download.html
    At the bottom it says:
    Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows.
    Download the proper one for your OS and then extract it over your existing Flex SDK directory.
    EDIT: Just read your post again and noticed you mentioned Flash Builder. In that case you want to follow these directions: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and grab the version with the compiler at http://www.adobe.com/devnet/air/air-sdk-download.html

  • Customizing a VScrollBar is not working in Flex sdk 4.6?

    Hi,
    I have updated my Flex sdk from 4.5 to 4.6 in my application. I have faced a strange issue this sdk 4.6.
    In my application I have designed a Custom VScrollbar for customizing the vertical scroll speed of a mouse wheel to smooth-en the scrolling . This was working fine when using Flex sdk 4.5.
    Since I have updated to Flex sdk 4.6, the vertical scroll bar in not visible in UI. Whereas it was visible and working fine using Flex sdk 4.5.
    How to make it work in Flex sdk 4.6?
    The usage of the Customized Scroller is given below.
    In Main Page:
    <components:CustomScroller id="homeUIScroller"
                                   width="100%" height="100%">
            <s:VGroup >
            </s:VGroup>
    </components:CustomScroller>
    CustomScroller.as:
    public class CustomScroller extends Scroller
            public function CustomScroller()
                super();
                this.verticalScrollBar = new CustomVScrollBar();
    CustomVScrollBar.as
        import flash.events.MouseEvent;
        import mx.core.mx_internal;
        import mx.events.FlexEvent;
        import spark.components.VScrollBar;
        import spark.core.IViewport;
        use namespace mx_internal;
        public class CustomVScrollBar extends VScrollBar
            private var distance:Number = 78;    // default scroll mover value
             *  Override mouseWheelHandler to scroll by a fixed amount
             *  See superclass for example of how this normally works
            override mx_internal function mouseWheelHandler(event:MouseEvent):void
                const vp:IViewport = viewport;
                if (event.isDefaultPrevented() || !vp || !vp.visible)
                    return;
                var delta:Number = event.delta;
                var direction:Number = 0;
                if (delta < 0){
                    direction = 1;
                } else if (delta == 0){
                    direction = 0;
                } else {
                    direction = -1;
                if(direction == -1 && vp.verticalScrollPosition <= 0)
                    return;
                if(direction == 1 && (vp.verticalScrollPosition + distance) > maximum)
                    return;
                vp.verticalScrollPosition += distance * direction;
                event.preventDefault();
    Any help would be appreciated.
    Thanks In advance.

    Thanks for the response. I am using spark TextInput components as you can see in the code above. I've used these conrtols in other apps in FB 4.5 and have had no problems so it seems like something may be different in 4.6, or it's a bug.

  • Reg. RichTextEditor in flex sdk 3.5

    Hi I'm facing following problem.Here is the scenario.
    Step 1:I have set bullet with three word "Hello Flex SDK" with all Black color.
    Step 2:Make "Flex" word with Red color.
    Problem occure:You can see that Bullet has Red Color instead Black.
    Will you pls suggest how to solve this issue?
    Thanks
    Rajiv

    Hi Swapnil,
    1)Try Overlaying SDK to 2.0 like:
                     a)Download the AIR SDK 2.0 zip
                     b)and paste it at C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0 and
                     c)extract it.Check whether this SDK selected in Flex Compiler.
    2) Make sure that you have changed the AIR version number in descripter file (-app.xml) for example <application xmlns="http://ns.adobe.com/air/application/1.5"> here have to change 1.5 to 2.0.
    3) In the Flex Compiler panel check that which Flex SDK (3.5) has been selected. Might it different from defaultly selected.
    In Flex Builder you can check in two ways :
              a)Window>Preferences>Flex>Installed SDKs(Default)>Check SDK selected.
              b)Select Project folder in Navigator Panel and Mouse Right click >properties>Flex Compiler>Check SDK selected.
    4)Make sure that the opening files have accessibility with this function.
    -Vamshi

  • [svn:fx-trunk] 12087: Dev only. Checking in Flash Builder 4 " Library Projects" for building Flex SDK SWCs in trunk.

    Revision: 12087
    Revision: 12087
    Author:   [email protected]
    Date:     2009-11-21 20:56:09 -0800 (Sat, 21 Nov 2009)
    Log Message:
    Dev only. Checking in Flash Builder 4 "Library Projects" for building Flex SDK SWCs in trunk. These projects are easier to import and do not require linked resource variables to be specified.
    Note: although the trunk does not build textLayout.swc, there appears to be a legitimate compiler error in FlowGroupElement.as as a cast is missing. I'll follow up with TLF.
    QE notes: N/A
    Doc notes: N/A
    Bugs: N/A
    Reviewer: N/A
    Tests run: N/A
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/build.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/airframework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/airframework/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/airframework/.project
        flex/sdk/trunk/frameworks/projects/airframework/.settings/
        flex/sdk/trunk/frameworks/projects/airframework/.settings/org.eclipse.core.resources.pref s
        flex/sdk/trunk/frameworks/projects/airspark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/airspark/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/airspark/.project
        flex/sdk/trunk/frameworks/projects/airspark/.settings/
        flex/sdk/trunk/frameworks/projects/airspark/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/flex/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/flex/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/flex/.project
        flex/sdk/trunk/frameworks/projects/flex/.settings/
        flex/sdk/trunk/frameworks/projects/flex/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/framework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/framework/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/framework/.project
        flex/sdk/trunk/frameworks/projects/framework/.settings/
        flex/sdk/trunk/frameworks/projects/framework/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/halo/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/halo/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/halo/.project
        flex/sdk/trunk/frameworks/projects/halo/.settings/
        flex/sdk/trunk/frameworks/projects/halo/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/osmf/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/osmf/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/osmf/.project
        flex/sdk/trunk/frameworks/projects/osmf/.settings/
        flex/sdk/trunk/frameworks/projects/osmf/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/rpc/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/rpc/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/rpc/.project
        flex/sdk/trunk/frameworks/projects/rpc/.settings/
        flex/sdk/trunk/frameworks/projects/rpc/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/spark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/spark/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/spark/.project
        flex/sdk/trunk/frameworks/projects/spark/.settings/
        flex/sdk/trunk/frameworks/projects/spark/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/sparkskins/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/sparkskins/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/sparkskins/.project
        flex/sdk/trunk/frameworks/projects/sparkskins/.settings/
        flex/sdk/trunk/frameworks/projects/sparkskins/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/textLayout/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/textLayout/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/textLayout/.project
        flex/sdk/trunk/frameworks/projects/textLayout/.settings/
        flex/sdk/trunk/frameworks/projects/textLayout/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/wireframe/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/wireframe/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/wireframe/.project
        flex/sdk/trunk/frameworks/projects/wireframe/.settings/
        flex/sdk/trunk/frameworks/projects/wireframe/.settings/org.eclipse.core.resources.prefs

    Status Update - don't know if this is a bug, design flaw, install problem or my misunderstanding.
    I got it to work by first changing my Flex library to 4.5.0 - still didn't work with current
    app and update mxml files using "2.6" for their namespace versions. But I did at least
    get the popup error number 16815 - indicating an error in the update version namespace.
    By leaving my application namespace version at "2.6" and changing the update version to "2.5" ... bingo!
    I got my new update installed autiomatically.
    Is this how it's supposed to work - or are my runtimes mixed up?
    Will this work the same using the Flex 4.5.1 SDK? I'll find out shortly
    Hope this helps others.

  • ScriptUI and Flex SDK version

    Hello,
    what is the last Flex SDK version supported by ScriptUI?
    It seems I'm having troubles loading a swf made with Flex 4.5 (Flash project, not AIR).
    I've been told that 3.6 is the latest, usable SDK - yet I'm afraid it could be a permission issue (the error says: "Error #2032: Stream Error. URL: /Volumes/Macintosh HD/DEVELOPER/myExtension/GUI_Test/resources/framework_4.5.0.20967.swf")
    Thanks in advance
    Davide

    I confirm that with Flex SDK 3.6 the problem disappears - following versions are not supported (alas). You can download it here.
    Davide

  • Flex SDK 3.2 : Unmarshalling issue : SOAP objects are not deserialized completely

    Hi everybody !
    I have a strange problem with SOAP deserialization in flex 3.2, and I thought this forum will be the best place to get answers ...
    When I try to fetch some objects (like the ones shown below), the XMLDecoder does not deserialize all the properties.
    In this case, it stops at the property named "rating". After it, all other data are lost.
    I've used the flex builder debugger to locate the problem, and this lead me to the following method in the XMLDecoder class :
    getApplicableValues(parent:*, valueElements:XMLList, name:QName,context:DecodingContext, maxOccurs:uint):XMLList:
    State of the variables, before the "bug" :
    The strange behavior appears after the five first properties had been deserialized correctly.
    At this step : startIndex = 5, and the next property to unmarshall is "user" (according to the MExpertNotes object mapping)
    the valueElement's list contains the following elements :
    to simplify the notation, I will write only the position in the list and the xml tag name (see the complete soap response for more details at the end of this post)
    (position, fieldName)
    (0, ID) -> inherited from MotocycletteObjectImpl
    (1,comment)
    (2, noteValidation) (a Bean, never returned by our service -> set to null)
    (3,noteValidationID)
    (4,rating)
    (5,timeOfCreation) -> inherited from MotocycletteObjectImpl
    (6,user) (a Bean, never returned by our service -> set to null)
    (7,userExpert) (a Bean, never returned by our service -> set to null)
    (8,userExpertID)
    (9,userID)
    (10,version) -> inherited from MotocycletteObjectImpl
    when it enters the for loop, at the first iteration the valueElements[i].name is equals to "timeOfCreation" and the name parameter is equal to "user".
    so this test : if (name == null || valueElements[i].name() == name
    || ((name.uri == "" || name.uri == null)
    && name.localName == valueElements[i].name().localName))
    returns false. The skipAhead variable is set to false (and i don't understand why). It stops iterating over the valueElementList, and so, skips all other properties.
    Is this a bug ? Does a workaround exists ?
    This affects many of our objects.
    Any help would be greatly appreciated.
    Best regards,
    Jules Pajot
    R&D engineer for Mikros Image
    www.mikrosimage.fr
    [EDIT] : My Message was too long, so I put the complete message here :
    http://docs.google.com/View?docid=dd6j35ft_38grb9c7cr
    PS : I apologize for my english wich is far from perfect :)
    As a reminder , the XMLDecoder class method ( line 2204 ):

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>The holidays are starting here.  The experts in the area may<br />already be away.  Please file a bug.  It might help if you can simplify your<br />test case to use an XML file that is local so we don&#8217;t need your server<br />connection.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Jules Pajot<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Tuesday, December 23, 2008 9:05 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Flex SDK 3.2 : Unmarshalling issue : SOAP objects are not<br />deserialized completely<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />Jules Pajot in <br><br /><br><br /><b>Developers</b> --<br><br />  Flex SDK 3.2 : Unmarshalling issue : SOAP objects are not<br />deserialized completely<br><br /><br><br />Nobody has an idea about my problem ? <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b74f93/0">Flex SDK 3.2 :<br />Unmarshalling issue : SOAP objects are not deserialized completely</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b74f93!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Flex Builder 3.1 Standard and Flex SDK 4.1 build 16076

    Hi I have a problem I have downloaded Flex SDK 4.1 16076 and added to my sdk list in Flex Builder. I can compile my program fine except when I change files the flash imports are removed and the code hints don't have any knowledge of flash.display and other base classes such as Movieclip and Sprite. As soon as a manually paste the imports into my class files it compiles again but can't be doing with copying imports back in every time I change a class file.
    It didn't do this on version 4.0.0 - I have added   -static-link-runtime-shared-libraries=true to compiler arguments as I did have a problem with it firstly compiling about FontAsset.
    Does anyone know why? Do I have to add another swc in?

    You should always have separate workspaces for separate versions of Flash Builder.
    Flex 3 and Flex 4 have some large differences.  You will probably want to spend some time reading about migrating by searching on Google.  Here is a good place to start: http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html

  • [Flex SDK in Linux] Errors running a .swf file

    Hi! Trying to set up flash development on my linux machine. Using FDT in Eclipse. The version of Flex sdk I have is 4.6.0.23201-2.
    I have in the first place had problems running the project. It gets terminated instantly and I get this output in my terminal:
    [Info] Listening to port 7935.
    Using Flex SDK 4.5 Debugger Adapter.
    [Info] Could not connect to the player, will try to connect for the next 72000 ms
    [Info] Listening to port 7935.
    [...etc etc...]
    [Info] Could not connect to the player, will try to connect for the next 8000 ms
    [Info] Listening to port 7935.
    [Info] Could not connect to the player, debug session stopped. Maybe you do not have the Debug Flash Player installed.
    Does "the Debug Flash Player" here mean Flex?
    And this is what happens when I run the .swf file that is compiled by FDT (Using Flex..), in Flex: http://justpaste.it/dlr3
    Any idea what could be the problem? Thanks!

    Hey Mark,
    Thanks for replying.  It's a standalone swf.  I'm still stuck on this issue.  It seems like it would be simple but it's baffling me.

  • Flex SDK incorrectly handling projection center

    I'm not sure if anyone else is noticing this, but I've recently had trouble with the projection center of my Flex projects. According to the documentation - the default projection center is supposed to be the center of the stage. However, my flex apps by default are using (0,0) as the projection center. I'm having to manually set it as the center using:
    var per:PerspectiveProjection = new PerspectiveProjection();
    var pt:Point = new Point(this.stage.width/2,this.stage.height/2);
    per.projectionCenter = pt;
    this.transform.perspectiveProjection = per;
    This works, but I'm not sure why it's not this way by default - this is not a problem using Flash CS4, only using the flex sdk. What's weird for me, is I don't remember this being an issue in the past - I'm running on a new computer, with new installs of both Flex Builder 3 and Flash Builder 4 (Both exhibit this behavior along with SDK 3.2, 3.3, and 3.4)
    I feel like I must be missing something easy here - any ideas?

    You don't need to upgrade your software.  But if you're struggling with Spry, IMO you should cut your losses and switch to something better for the longrun.
    If you have a budget to work with, I highly recommend Project Seven's Pop-Menu Magic 3.  It's easy to use in DW CS4, 5, 6 or CC.  More importantly, it's bullet proof and works in all devices. 
    Pop-Menu  Magic3 by PVII (commercial DW extension)
    http://www.projectseven.com/products/menusystems/pmm3/index.htm
    If you don't have a budget to work with, you can roll your own menus with jQuery plugins.  A bit more effort on your part, but they perform better than Spry.
    jQuery Superfish
    http://users.tpg.com.au/j_birch/plugins/superfish/
    jQuery MegaMenu2
    DEMO:
    http://www.geektantra.com/projects/jquery-megamenu-2/
    DOWNLOAD:
    http://code.google.com/p/jquery-megamenu/
    Nancy O.

  • Updating Flash CS5 Built-In Player, Flex SDK 4.1

    QUESTION 1:
    I'm trying to update the built-in player of Flash CS5 to the latest 10.1.53.64 version.
    I've downloaded and replaced the "Players" folder from this link:  http://www.adobe.ca/support/flashplayer/downloads.html. However, when i trace which version Flash CS5 uses when launching from the built-in player, it displays "MAC 10,1,52,14".  How can i update this?!
    QUESTION 2:
    what is the proper way to update the Flex SDK for Flash CS5?  after installing the software, i see it's using Flex 4.0, but i want to update it to the current version 4.1.  the default install includes $(AppConfig)/ActionScript 3.0/libs/11.0/textLayout.swc, but i removed that and simply placed the Flex 4.1 version of textLayout.swc in the $(AppConfig)/ActionScript 3.0/libs folder, but how can i perminantly remove the reference to $(AppConfig)/ActionScript 3.0/libs/11.0/textLayout.swc? 
    i've search for information on updating libraries, .swc files, etc. for Flash but it's not clear.  links containing clear, up-to-date instructions on how to properly update Flash CS5 would be greatly appreciated.

    If I had to summarize my problem in ten words :
    With Flex 4.5 SDK and AIR 2.6 SDK I can stream dynamic http in the VideoPlayer element, but it won't play on a Samsung TV.
    With Flex 4.1 SDK and AIR 2.6 SDK I can launch the app on a Samsung TV, but the VideoPlayer element won't play any dynamic http stream.
    I assume this problem comes from OSMF because it is the library supposedly handling the dynamic streaming. I just can't make it work within Flex 4.1 :
    If I delete the native osmf.swc and remove it from the Flex Build Path properties, Flash Builder won't compile, claiming there is an error, even if I add other more recent osmf.swc.
    If I don't delete it and still add another one, either I get a conflict error or a "not found" error. either way it won't compile.

  • Using Eclipse project definitions to build the Flex SDK

    It would be great if someone from Adobe could post on the recommended usage of the Eclipse project definitions in the development/eclipse/ subdirectory of the 3.0.x trunk distribution. I would like to debug some compiler modifications that I am working on.
    I saw Peter Farland demo this setup at 360Flex, but was unable to capture all the details of the Eclipse configuration that he discussed in his talk.
    thanks!

    If you go to the framework project’s properties, there is a section called Flex Library Compiler, you want to use a specific flex sdk (add a new sdk which points to the trunk, and use that) — you are probably building /against/ the wrong sdk, right code, wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 12:56:01 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Sorry, I'm not following. My SDK project is from the trunk.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 3:32 PM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Try changing the sdk for the framework lib project to trunk (you'll need to add a new flex sdk, name it whatever you want) -- it's in the project properties. It's using the wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 05:13:43 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I am running FB on top of Eclipse 3.3.2.
    <http://3.3.2.>  <
    <http://3.3.2.>
    http://3.3.2.>  I checked out the whole SDK trunk and can build the main ant task with no errors. I used the instructions mentioned above to create a Flex framework library project and thats where the error comes in. (I had tried to manually build a framework project a few times and it was a nightmare.) I would probably prefer to work on the 3.0.x branch/tag as I hope to submit a patch or two but saw Joe mention that the project defs only existed in the trunk.
    Searching Google for the oem error turns up lots of links about projects that had assets deleted and the build got confused but following the instructions on how to fix proved unsuccessful.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 1:45 AM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I always forget what that error means when it comes up -- though it's been ages since I've seen it last, literally.
    Joe: Since you mention Java 1.5, I'm guessing the errors are in the asdoc package? Those should be turned off (read: turned into a warning) -- Eclipse is a little too persnickety about that particular error. There's a preference for this in the Java section under warnings and errors. It's turned off in the trunk dev projects. Otherwise, you should be able to run the compiler directly with no problems (okay, one more caveat: there's a class loader issue with the OEM, fixed in trunk if you look for my Java 1.5 checkin).
    Ben: What is your setup? What are you building (Ryan mentions trunk, Joe mentions 30x), which Eclipse, which dev projects, did you build the sdk from the commandline first, etc.?
    Cheers,
    Jono
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3> >  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/6>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/7>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3>  form to cancel your email subscription.

  • Slow data communication (LCDS 3.1) after upgrading to Flex SDK 4.1

    I wonder if anybody experienced something like that.
    It's quite a big project, currently running with Flex SDK 3.5.
    After converting to SDK 4.1 and making all required adjustment the UI runs as good as before, with one problem - creation of new complex UI components takes much longer (3-5 times). Creation of some components involves a number of server calls, which according to Network Monitor do run much longer (e.g. 13 seconds instead of 4).
    I'm considering 2 possibilities:
    1. Something in UI is holding all threads, preventing service calls from finishing promptly, and making impression of slow network.
    2. Server communication somehow got much slower. Against that the fact is because server calls are asynchronous they shouldn't prevent UI from drawing at least empty components.
    Server code is the same for old and new UI, it runs Spring, Hibernate, Jetty (in dev mock) or Tomcat (on dev server), LCDS 3.1.
    I've tried several LCDS 3.1 libraries with and without patches, SDK3 and SDK4 specific, with the same result.
    Flash Player 10.1.xx debug.
    Any idea?
    Thanks, Andrei.

    It turned out that delays where caused by slow instantiation of visual components.
    See http://forums.adobe.com/thread/786472?tstart=0
    Presumably Network Monitor registers facts that server communication is initiated (queued?), but doesn't say when Flash Player frees resources to make actual calls (switch to the second Frame?). Or something like that.

Maybe you are looking for