ActionScript/Flex to ANT

I am trying to port a mid size project from Flash Builder (ActionScript/Flex) to ANT so we can use our automated system. I am getting the following error: Could not resolve <s:View> to a component implementation.

Flex is only one piece of the puzzle in this case.  You're going to need a mechanism on the server-side to mitigate communication between Flex and SQL, like Java, PHP, .NET, etc.  Now you can modify one of the examples you've seen to do an INSERT or UPDATE SQL statement instead of SELECT and accomplish the goal that way.  Look at some of the documentation regarding "Data Services" in Flex.  Bottom line, you're going to need more than just a Flex swf to send and retrieve data from your server.

Similar Messages

  • Actionscript - Flex mobile - thread while loading data?

    I am using Flash builder actionscript 3 Flex mobile. I have a very heavy function that loads data from the local device and creates many graphic elements. While this function runs, the device freezes for 6 seconds or so. I want to show a progress bar and let the device continue working, is there any way I can use threading to do this ? Other ideas are also welcome.
    Thanks, Koby.

    Is it the size of the data you're loading (if so have you tried URLStream? or HTTPService with AsyncToken?) and if it's not just a single heavy data load and is the entire operation of loading plus performing the operations on the loaded data then you'll need to consider breaking up those operations into chunks to give the user some feedback.

  • Can i reference external flex-config in flexunit ant task?

    flexunit gurus,
    i'm trying to figure out how to best specify the compiler arguments for the flexunit ant task in flexunit 4.1 beta 1.  from the documentation i see this sample flexunit usage:
    <flexunit workingDir="${bin.loc}" toDir="${report.loc}"
    haltonfailure="false" verbose="true" localTrusted="true">
    <testSource dir="${main.src.loc}" />
    <testSource dir="${test.src.loc}">
    <include name="**/*Test.as" />
    </testSource>
    <library dir="${lib.loc}" />
    </flexunit>
    in this example, the source and library paths are explicitly listed.  in this simple example all the needed libraries reside within a single directory.
    when i build my application, i use a custom flex-config.xml file, as the following snippet shows:
            <mxmlc file="${application.file}" output="${swf.debug.file}" debug="true" headless-server="${headless.server}">
                <load-config filename="${flex.config.file}" />
            </mxmlc>
    in that custom flex-config.xml file i list all the build options (e.g. source dirs, library paths, theme, etc.) appropriate for building the application.  the libraries i reference are in a number of different directories (in general each 3rd party library is in a different directory).
    in the flexunit task, i could individually reference all the same libraries that are in the flex-config.xml, but that'd be a pain to keep them in sync.  i suppose i also could parse the flex-config.xml to extract the library information and use that to populate the library argument.  really what i want to say in the flexunit task is "build all source and tests as indicated in flex-config.xml, then run the tests", perhaps with a syntax like the following:
    <flexunit workingDir="${bin.loc}"  toDir="${report.loc}"
    haltonfailure="false" verbose="true" localTrusted="true">
                <load-config filename="${flex.config.file}" />
    <testSource dir="${test.src.loc}">
    <include name="**/*Test.as" />
    </testSource>
    <library dir="${flexunit.lib}" />
    </flexunit>
    i'd rather keep the flex-config.xml file free of any test specific information, so ideally i'd specify the path to the flexunit swc's and the test path in the flexunit task (as in the above example).
    is there support for such usage currently or planned for in the future?  recommendations on how best to accomplish my goal of not duplicating library information already present in a custom flex-config.xml?
    thanks.
    -mike

    hi brian,
    thanks for your response.
    i understand the desire to avoid re-implementing the flex sdk ant tasks.  i'm not sure that can reasonably be accomplished wihen the TestRunner is dynamically generated from within the flexunit task.  in addition to the source path and library path, the theme setting and namespaces settings can affect successful compilation, and the runtime-shared-library-path setting can affect whether the produced swf runs correctly.
    perhaps there's an alternative.  what if we separate the creation of the TestRunner.mxml from the compilation and the execution of the tests.  if flexunit offers an ant task that can produce (but not run) a TestRunner.mxml, i can write the mxmlc task that compiles it properly, and then i can invoke the old style flexunit specifying the swf argument.  this would still accomplish my primary goal of not needing to manually enumerate every test file in a TestRunner.mxml that i have to maintain (and which neither Flash Builder nor maven builds require).  to compile the TestRunner.mxml, i'd load in my custom flex-config.xml, then append to the source path and library path to include my test directory and flexunit libraries.
    maybe something like the following to create the TestRunner:
    <generatetestrunner output="${bin.loc}/TestRunner.mxml">
              <testSource dir="${test.dir}">
                 <include name="**/*Test.as" />
              </testSource>
    </generatetestrunner>
    thoughts?
    one other thing i noticed about the current library argument to flexunit is that it assumes a directory even if you provide an explicit path to an swc (i tried switching <library dir...> to <library file...> but that didn't seem to make a difference).  in my case, there are specific swc's i need in the library path, and the task assuming i mean a directory when i specify an explicit swc is problematic.  the directory my swc libraries are contained in sometimes contain multiple and conflicting versions of a library (each library directory contains various snapshot builds of the library).  i need a way to explicitly indicate which library to use.
    finally, could you point me to the java source for the flexunit ant tasks?  i've found the flexunit action script source ok but haven't found where the java ant task is defined.
    thanks.
    -mike

  • Using Flex/Actionscript to create PDF Portfolio Navigator

    Hi Guys
    We've been using Acrobat Pro Extended to create PDF
    Portfolio's for a wee while now, and now in order to create a
    'fresh look', my boss is wanting to create custom navigators.
    As the programmer of the team, I've looked into it and found
    out that it involves a combination of Flex and/or actionscripting.
    While I'm a decent enough programmer, Actionscript & Flex
    are'nt tools that I have used before, so I was wondering if there
    were any online guides or books I could buy that specifically
    show how to create a customer navigator for a pdf portfolio.
    Any help you can provide will be much appreciated.

    I also have the same goal except I am not even a decent
    programmer. I am actively looking for a place to download the
    working Carosel that is kind of advertised as a capability of
    Acrobat. Even if someone was selling it...I just wanted to chime in
    for support on the topic.

  • Launching the Flex debugger from ant

    I use an ant target like this:
                    <target name="launch">
                                    <echo>LAUNCH</echo>
                                                    <exec executable="${FLASHPLAYER_EXE}" errorproperty="trace.output">
                                                    <arg line="'${DEPLOY_DIR}\SellersApp.swf'" />
                                    </exec>
                    </target>
    to launch a swf in the debug flash player.
    I would like to launch the Flex debugger and make use of break points etc.  I tried replacing FLASHPLAYER_EXE with the path to Flex, but that tried to launch a new instance of Flex.  I looked at the Ant manual but could not work out how to address the running instance of Flex that launched Ant.
    I have been using the Builder configuration method used here:
    http://www.rozengain.com/blog/2008/04/24/flex-builder-ant-build-debug-console-output/
    But then I run into problems when I just try and run an Ant target independently - it insists on proceeding with the whole launch operation first.
    I posted a variation on the question here: http://forums.adobe.com/thread/578171 but I think I named it poorly and put it in the wrong forum - so apologies for cross posting.

    Unless Eclipse's debug/launch infrastructure is exposed to ant, I'm not sure how this is possible.
    However, using the command line debugger - fdb - should be possible from ant.
    Another developer has been trying to get this to work. You need to pass -unit to fdb and create a file called .fdbinit that has debugger commands in it.
    -Anirudh

  • Looking for a contract actionscript developer

    San Francisco Based Contract Actionscript -  Flex Developer | Streaming Video Solution
    We are currently seeking a full or part time (at least for the next several months) senior Actionscript & Flex contract developer to help establish our online streaming video abilities.
    This person must:
        •  have strong application development skills in AS3
        •  be comfortable working with Flexbuilder, Eclipse, Ant or similar tool-sets
        •  have experience with Adobe FMS
        •  be familiar with latest video streaming abilities including use of Dynamic Stream-switching with QOS
        •  be comfortable modifying an established Flash VOD product (such as flowplayer, JW Player, OSMF)
        •  have strong skills in communicating between AS and external supporting applications (Webservices, JSON)
    Our player is the centerpiece of our web experience and must be flexible, secure, and intelligent. The person we are seeking must have strong application development instincts to drive this to successful completion. While we'd prefer candidates with some creative-integration abilities, this is primarily an opening for a veteran application developer with strong, standards-based coding skill and a passion for establishing bullet-proof online solutions.
    Ideally, we are seeking an SF local who would be able to meet on-site when needed, but would consider exceptions for the right fit.
    If interested and qualified please send your resume to [email protected]

    I sure wouldn't turn a new user loose on Wordpress. It gives
    me a headache,
    and a new user would be just lost....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Vix" <[email protected]> wrote in message
    news:eo2urs$pdn$[email protected]..
    > Have you thought about using a system like Wordpress or
    Textpattern? It's
    > free and pretty customisable. It will make it easy for
    you to edit the
    > content yourself too.
    >
    > KJP88 wrote:
    >> Looking for someone versed in dev. i.e. enough to
    include flyout menus,
    >> flash and php to develop a css site for me ( for
    money). Fairly straight
    >> forward, I would add the content, but I live in a
    country where the
    >> average income is about 700 USD a month, so
    hopefully someone with a kind
    >> heart will reply.
    >>
    >> If interested, plz email me here:
    [email protected]
    >>

  • FlexUnit fails when doing ant-build

    Hello,
      I am trying to build a flex project (ActionScript/ robotleg), via ant-build. I am facing the below given error trace. But that works perfectly when I do a quick build.
    Not sure why it is not working in default build and working in quick build alone? Need some helping hands to fix this issue...
    [flexunit] ReferenceError: Error #1065: Variable com.aa.fs.extensions.connectivitymanager.vos::NetworkInfo is not defined.
    [flexunit] at _TestRunnerApp_FlexInit$/init()
    [flexunit] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\frame work\src\mx\managers\SystemManager.as:2815]
    [flexunit] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\framewo rks\projects\framework\src\mx\managers\SystemManager.as:2723]
    [flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
    [flexunit] at flash.events::EventDispatcher/dispatchEvent()
    [flexunit] at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:542]
    [flexunit] at flash.utils::Timer/_timerDispatch()
    [flexunit] at flash.utils::Timer/tick()
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    C:\<<Project-Path>>\build.xml:30: The following error occurred while executing this line:
    C:\<<Project-Path>>\build.xml:275: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report

    Hi Rajat,
    Thanks a lot. Indeed i found the error in task view.
    It is referring to a window in my webdynpro application.
    "window has no InterfaceView".
    Indeed the interface view is not there and there is no option for me to create the interface view.
    So what i did is to delete the window so that i can create a new one and the interface view will thus be generated. But when i tried to delete the window, a null pointer exception window is pop out.
    I remember when i created this window the other time, there was an exception.
    So the question is how to create the interface view ?
    Thanks
    Regards,
    Daniel

  • Creating custom html-wrapper from ANT build

    Hi,
    I have been using flex from last six month. I am facing problem while creating html-wrapper. As per my requirement, my application need to run on all the browser. But whenever I use to run application on firefox, there is some focus related problem. For that I need to set wmode='opaque' and < 
    body scroll="no" onLoad="window.document.${application}.focus();">. But I am unable to find out how to set this property in html-wrapper through ant build.
    currently I am using following and script to build my flex application.
    <!-- compile flex source code -->
    <target name="compile.flex" description="Compile the Flex source code" unless="eclipse.running">
    <taskdef resource="flexTasks.tasks" classpath="${flex.home}/ant/lib/flexTasks.jar" />
    <echo level="info">Compiling flex mxml</echo>
    <property name="FLEX_HOME" value="${flex.home}" />
    <mxmlc file="${basedir}/src/main/flex/main.mxml" output="${exploded.dir}/${project.name}.swf" actionscript-file-encoding="UTF-8" incremental="true" services="${basedir}/src/main/resources/services-config.xml" context-root="/${project.name}">
    <source-path path-element="${basedir}/src/main/resources/messages/{locale}" />
    <!-- Get default compiler options. -->
    <load-config filename="${flex.home}/frameworks/flex-config.xml" />
    <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
    <!--<source-path path-element="${view.dir}/flex/assets" />-->
    <compiler.library-path dir="${flex.lib.dir}" append="true">
    <include name="*" />
    </compiler.library-path>
    </mxmlc>
    <echo level="info">Generating html</echo>
    <html-wrapper title="${project.name}" file="${project.name}.html" application="app" swf="${project.name}" version-major="9" version-minor="0" version-revision="0" width="100%" height="100%" history="true" template="client-side-detection" output="${exploded.dir}" />
    </target>
    I have also tried to edit respective index.template.html file in flex SDK, but that also doesn't work. Please suggest what shoud I do?
    Thanks and Regards,
    Ravindar kumar

    Did you already try the narrative view?
    regards
    John
    http://obiee101.blogspot.com

  • Generate HTML report with ANT

    Hello,
    I'm  new to FlexPMD. I have just generated my firsts reports. I try to generate HTML reports.
    I browse the documentation, this forum and the web and I find informations to :
    - generate documentation with Hudson
    - generate documentation with Maven
    - generate documentation with XSLT pmd.xml -> html
    Ok, I try to keep it simple. So I don't want to use Hudson.
    I'm using ANT, and I currently don't want to install/learn Maven.
    I'm using FlexUnit with ANT. And It's really simple to generate reports :
    <junitreport todir="${report.flexunit.loc}">
                <fileset dir="${report.flexunit.loc}">
                    <include name="TEST-*.xml" />
                </fileset>
                <report format="frames" todir="${report.flexunit.loc}/html" />
    </junitreport>
    I'm really new to FlexPMD, so I don't have currently a big knowledge, but it seems impossible to generate a HTML report just like junitreport. (1 line in an ANT task)
    I test the XSLT transformation found on this forum (thread "XSLT pmd.xml -> html"). It's really cool. But it's seems difficult, for example, to extract the wrong code part and add it to the HTML page.
    So, what is the simpler solution to generate HTML report just with FlexPMD/ANT ?
    Thanks !

    Hello,
    Currently you generate a PMD report with ANT  like this :
    <! -- define taskdef  -->
    < taskdef name="pmd"  classname="com.adobe.ac.pmd.ant.FlexPmdAntTask"  classpath="${build.pmd.loc}/flex-pmd-ant-task-${flexpmd.version}.jar">
             < classpath>
                 < path refid="flexpmd.base" />
                 < pathelement  location="${build.pmd.loc}/commons-lang-2.4.jar" />
                 < pathelement  location="${build.pmd.loc}/flex-pmd-core-${flexpmd.version}.jar" />
                 < pathelement  location="${build.pmd.loc}/flex-pmd-ruleset-api-${flexpmd.version}.jar"  />
                 < pathelement  location="${build.pmd.loc}/flex-pmd-ruleset-${flexpmd.version}.jar"  />
                 < pathelement  location="${build.pmd.loc}/plexus-utils-1.0.2.jar" />
             < /classpath>
    < /taskdef>
    then generate XML  report like this :
    < pmd  sourceDirectory="${src.loc}" outputDirectory="${report.loc}"  ruleSet="${build.pmd.loc}/rules.xml"/>
    The  XML contains some file nodes :
    < file  name="/Users/user/workspace/AS3_UTILS/src/utils/align/gridAlignSpaceNumber.as">
           < violation beginline="22" endline="22" begincolumn="0"  endcolumn="27" rule="adobe.ac.pmd.rules.naming.TooShortVariable"  ruleset="All Flex Rules" package="utils.align"  class="gridAlignSpaceNumber.as" externalInfoUrl="" priority="5">This  variable name is too short (3 characters minimum, but 1 actually).  Detects when a field, local, or parameter has a very short name<  /violation>
    < /file>
    The  message is in the text node  < violation>TEXT< /violation>
    For  me, we miss an important part of the message : the portion of the "bad"  code.
    It could be very usefull if PMD can generate  something like this :
    < file  name="">
           < violation beginline="" endline="" begincolumn=""  endcolumn="" rule=""  ruleset="" package=""  class="gridAlignSpaceNumber.as" externalInfoUrl="" priority="">
            < description>TEXT< /description>
            < code><CDATA[MY CODE
    MY CODE
    MY CODE]>< /code>
        <  /violation>
    < /file>
    With this, we can  generate "full" HTML report with XSLT transform easily.
    I  understand that it modify the standard XML schema of the output.
    So,  perharps it could be an option like this :
    < pmd fullDescription="true"  sourceDirectory="${src.loc}"  outputDirectory="${report.loc}"  ruleSet="${build.pmd.loc}/rules.xml"/>
    What do you think ?
    Thanks !

  • Using Flash/Actionscript to create PDF Portfolio Navigator

    Hi Guys
    We've been using Acrobat Pro Extended to create PDF
    Portfolio's for a wee while now, and now in order to create a
    'fresh look', my boss is wanting to create custom navigators.
    As the programmer of the team, I've looked into it and found
    out that it involves Actionscripting/Flex. While I'm a decent
    enough programmer, Actionscript isnt something I've used before, so
    I was wondering if there were any online guides or books I could
    buy that
    specifically show how to create a customer navigator for a pdf
    portfolio.
    Any help you can provide will be much appreciated.

    I also have the same goal except I am not even a decent
    programmer. I am actively looking for a place to download the
    working Carosel that is kind of advertised as a capability of
    Acrobat. Even if someone was selling it...I just wanted to chime in
    for support on the topic.

  • How to check if a function exists in Flex?

    Hi,
    I am wondering if there is any method to check if a function exists in Actionscript/Flex.
    The same way as we do isdefined in javascript.
    Thank you
    Mayank

    On instances - use Object hasOwnProperty method - all objects in AS3 inherit from Object:
    var mc:MovieClip = new MovieClip();
    var s:Sprite = new Sprite();
    trace(mc.hasOwnProperty("play")); // true
    trace(s.hasOwnProperty("play")); // false

  • How to set an actionscript class runnable + some question?

    Dear all,
      i am new to actionscript (Flex 3).
      i am from java camp and i want to achive some java-style functionality in actionscript,and hope you can help me:
      1. how to set an actionscript class runnable??
          in java, i just add a "public static void main(String[] args)" method which will be the program entry point. (IDE, right click the class and click run)
          i can't set a plain, ordinary actionscript runnable in flex builder.
          To test the class, i have to create an mxml (which in turn invoke the testing class) and it be runnable in the flex builder 3.
          any other way to ease the testing?
       2. it there any good 3rd party library for datatype conversion ? (e.g. string <> date, the build-in DateFormatter don't accept milliseconds)...
           it seems actionscript come with limited such kind of utility function
       3. in a custom mxml component, which contains several controls (say testboxes, comboboxes)...etc,
           for information hiding/prevent others to change the child controls in the custom component, how can i hide the child control, not allow
           other code to access the child by  "Component.textbox1"....any scope modifier, e.g. protected, private...etc in mxml?
       thank you.
    ppk luk

    Hi Alex,
      for question 3:
      i just wondering if it is ok or not for better code/validation.....(and it follow the good
    information hiding principle?)
      if i write the component in actionscript only, i can set the child control with scope modifier
    'private' or 'protected'..so that the component user can't just use the dot syntax to gain
    access to the child control,
    e.g. MyComponent.childControlTextInputBox.value = "A";...
    i want to force user to use MyComponent.setInputBoxValue("A")...
    (e.g. in this method, i can do some checking/validate before passing to the textbox)
      this can enforce the data consistency in my custom UI component...
      there is no way to achieve the same effect in MXML?
    (e..g <mx:TextInput id="privateChildControl" accessScope="private" .../>)
      thank you..

  • Newbie having difficulty centering images in browser using ActionScript 3.0

    I'm a newbie using flex builder 3. I'm learning
    ActionScript3.0. After running the AS code from the book, my images
    are never in the center of the browser(IE7). After running the
    following code (which is supposed to produce a yellow arrow, in the
    center of the stage, that rotates to the mouse), I get all the
    desired results except the arrow is positioned in the bottom right
    corner of my browser and only part of the arrow is visible. if
    anyone can suggest a solution it would be highly appreciated.
    Please keep in mind that I am a COMPLETE newbie to ActionScript,
    Flex Builder 3, and the Flash environments. Thanks in advance.

    on mouseup or click, if the mouse is down, you can use:
    stage.focus=outputText;
    if the mouse isn't down, you can don't need a listener to trigger the above.

  • Using MXP (package) files in Flex?

    So, many of components and code libraries of different kinds and flavours get distributed in the lesser known MXP format, which many believe makes for "ideal" distribution. My problem is I am a skilled ActionScript/Flex/Flash developer who not always has access to a Windows box, and even if I have, I can't seem to find any valuable information on how to open/extract content in this format. The only thing I know is that it is obviously a drag-and-drop operation in Flash CS* to import and use these files, but most likely I will be using Flex. Is there any chance of using these files in Flex instead? I have to use several code libraries that are only distributed as those MXPs, which does not seem to be a very "open" format.
    Thanks.

    Thanks.
    MXP files do not appear to be any variation of ZIP archive format.
    I will be using whatever as long as I can make use of the component itself, which is packaged as an MXP. Inside this MXP there is an MXI file too. I do not have any control over the distribution format of this component, these are developed by another party. All I need it to make use of the component(s). If this involves opening the MXP, extracting the MXI, and getting an ActionScript or SWF bytecode out of it, fine. I really do not care much for the format, I just need my application to make use of the component itself.
    Are there any tools that convert an MXP package to something less binary perhaps? Or something that Flex can use at least?
    After all the component is the same bytecode that Flash Player uses anyway, compiled from either Flex or Adobe Flash.

  • Another Compiler Bug (message: An internal build error has occurred... Unknown Flex Problem)

    I was fighting with this problem for a few days. Finally I've got it resolved. I want to describe it and fill in BUG in the bug report, but I am not sure about Adobe support options. So, I am putting bug report here.
    1. ASSUMPTION: All problems which compiler reports as unknown problem are the real compiler BUGs/Problems. Eventually MXML compiler/ActionScript compiler should be able to take C++ or FORTRAN code or an aribitrary text and nicely tell "Error: It is not ActionScript (Flex) code" or "the code is corrupted from Line so and so...". When compiler crashed, it is most probably due to one of the states not handled (or not handled correct). Keeping this in mind I assume, that my code has nothing to do with the compiler crash.
    2. PROBLEM Description.
         - I tried to port our internal project from Flex3.5/Flex Builder 3 to Flex4.1/Flash Builder 4.
         - After checking out and trying to build code I start getting weird problems like Error 1037: Packages cannot be nested.
         - After cleaning and compiling project by project, walking up dependency tree, I was able to get rid of this problem.
         - On last Project I've got another problem (An internal build error has occurred... Unknown Flex Problem). Which I stuck with for a while.
         - When I checked log file I found following messages:
    ============================================================
    !ENTRY com.adobe.flexbuilder.project 4 43 2010-12-21 15:45:24.353
    !MESSAGE Uncaught exception in compiler
    !STACK 0
    java.lang.ClassCastException: macromedia.asc.parser.InputBuffer cannot be cast to flex2.compiler.as3.CodeFragmentsInputBuffer
    at flex2.compiler.as3.AbstractSyntaxTreeUtil.lineNumberToPosition(AbstractSyntaxTreeUtil.jav a:1266)
    at flex2.compiler.mxml.ImplementationGenerator.generateBinding(ImplementationGenerator.java: 569)
    at flex2.compiler.mxml.ImplementationGenerator.generateBindingsSetupFunction(ImplementationG enerator.java:863)
    at flex2.compiler.mxml.ImplementationGenerator.generateBindingsSetup(ImplementationGenerator .java:812)
    at flex2.compiler.mxml.ImplementationGenerator.generateInitializerSupportDefs(Implementation Generator.java:1878)
    at flex2.compiler.mxml.ImplementationGenerator.generateClassDefinition(ImplementationGenerat or.java:1044)
    at flex2.compiler.mxml.ImplementationGenerator.<init>(ImplementationGenerator.java:206)
    at flex2.compiler.mxml.ImplementationCompiler.generateImplementationAST(ImplementationCompil er.java:499)
    at flex2.compiler.mxml.ImplementationCompiler.parse1(ImplementationCompiler.java:197)
    at flex2.compiler.mxml.MxmlCompiler.parse1(MxmlCompiler.java:168)
    at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2871)
    at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2824)
    at flex2.compiler.CompilerAPI.batch2(CompilerAPI.java:446)
    at flex2.compiler.CompilerAPI.batch(CompilerAPI.java:1274)
    at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1496)
    at flex2.tools.oem.Application.compile(Application.java:1188)
    at flex2.tools.oem.Application.recompile(Application.java:1133)
    at flex2.tools.oem.Application.compile(Application.java:819)
    at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:344)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:276)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplication Builder.java:127)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:190)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 4)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectB uilder.java:480)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:306)
    at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:157)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:218)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:360)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516)
    at org.eclipse.core.internal.resources.Project.build(Project.java:94)
    at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:221)
    at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
    at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38 )
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SESSION 2010-12-22 09:48:27.766 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product org.eclipse.epp.package.jee.product
    Command-line arguments:  -data C:\Client_Flex4 -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
    ================================================
    3. RESOLUTION/WORK AROUND
         - I was able to get this problem cleared by putting compiler option for Flex Application projects:  -keep-generated-actionscript
    4. SIDE NOTE
      I do not really see putting this compiler option as the solution and living with the mistery is making me fill a bit bad.

    Hi Faser,
    I just tried it on Vista with our latest FB Plugin build but
    I was unable to reproduce your issue with the following setup:
    - FB Plugin build installed by Administrator account user
    under her Documents folder
    - Administrator account user can launch, create Flex projects
    under her own workspace without any problems
    - Standard account user can launch the FB Plugin build (need
    Admin's password) and create Flex project (default location) under
    his own workspace
    If your setup is different, can you please log a bug at
    http://bugs.adobe.com/flex.
    Be sure to include what build you are using, whether it's
    reproducible, the detail of the setup, etc...
    thanks,
    Sharon

Maybe you are looking for