Strange Error using Flex Profiler

Hi,
I am trying to use the Flex Profiler to figure out where to put my time when optimizing the code of a .swf file generated in Flash CS4. In Flex, I select "Profile External Application" for the "Profile" menu item. Then I select "Launch the application manually from Ooutside Flex Builder" and set the timeout to 60000 milliseconds. I then go over to Flash CS4 and start a debug session of the application I want to profile. This should make the profiler pick up the session and give me the stats I need. But I get a couple of weird errors in the Flex Builder.
The first error is a message box the pops up and says: "Profiling can only be performed on the debug version of an application."  I am definitely running the Flash application in debug mode... The only thing that I can think may be a problem is that I am using the Flash Facebook API and linking to the external .swc file for that API. Could that cause a problem?
The second error is an exception that gets thrown in Flex Builder and is displayed in the Console. The exception is this:
flash.swf.SwfFormatException: unrecognized fill style type: 202
    at flash.swf.TagDecoder.decodeMorphFillStyle(TagDecoder.java:982)
    at flash.swf.TagDecoder.decodeMorphLinestyles(TagDecoder.java:914)
    at flash.swf.TagDecoder.decodeDefineMorphShape(TagDecoder.java:868)
    at flash.swf.TagDecoder.decodeDefineMorphShape2(TagDecoder.java:849)
    at flash.swf.TagDecoder.decodeTag(TagDecoder.java:310)
    at flash.swf.TagDecoder.decodeTags(TagDecoder.java:170)
    at flash.swf.TagDecoder.parse(TagDecoder.java:119)
    at com.adobe.flash.profiler.internal.PlayerSession.swf(PlayerSession.java:570)
    at com.adobe.flash.profiler.internal.ProtocolHandler.readSwf(ProtocolHandler.java:353)
    at com.adobe.flash.profiler.internal.ProtocolHandler.process(ProtocolHandler.java:114)
    at com.adobe.flash.profiler.internal.PlayerSession.run(PlayerSession.java:383)
    at java.lang.Thread.run(Unknown Source)
It looks like it has something to do with a fill style, but I am just doing standard Flash stuff... No version of Flash Player has had any problems with the .swf file, but somehow the profiler is not liking something.
Does anyone have any idea about what is going on here? Apparently the profiler is a great tool to use to optimize ones code, and I would really love to use it.
Thanks!!!

I would not start a debug session in CS4.  I would just find the SWF generated by the last debug session and launch the standalone player with that SWF.  There might be some contention in having both CS4 and the FB profiler trying to hook up to the same SWF.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • Unable to use Flex Profiler

    Hi,
    We are developing Mobile application so we normally use Flex Profiler and Adobe Scout to optimize memory and speed up performance. Few days back I was able to do Flex profiling, but today somehow it stops working. When I try to use Flex profilier it first show me the "Connection Established" popup with "Enable memory profiling" and "Enable performance profiling" check box ticked.
    After clicking "Resume" button it shows me the Flex Profile view, with empty Live Object section and straight line in Memory Usage section. Please see the screen shot for more detail.
    After some googling, somewhere I found that "When you profile an application the IDE writes to the mm.cfg file on your local machine. It adds in a pre-loader that runs before your application is started – this allows the IDE to connect to the app to get the profiling data.". I also tried to replace mm.cfg file from other machine but it didn't worked for me.
    I have also tried to replace AIR SDK and creating fresh workspace but still facing the same issue. Can anyone help me on this?

    By the way, simply adding the quotes around the lexical names in the sql statement doesn't work. That causes the lexical references to be ignored as simple string values:
    SELECT
       '&FLEX_GL_BALANCING_APROMPT' alias_gl_balancing_aprompt
      ,'&FLEX_GL_ACCOUNT_LPROMPT'   alias_gl_account_lprompt
      ,'&ACCT_BAL_LPROMPT'          alias_acct_bal_lprompt
    FROM dualI turned on statement-level debugging via xdodebug.cfg and saw how it compiled the lexicals. By replicating the call to apps.fnd_flex_xml_publisher_apis.kff_segments_metadata that I found there, I was able to hack together a workaround for this issue.
    Please point me to a better way of doing this if possible, as I had to GRANT EXECUTE on this apps package to my custom code schema. Is there a better lexical/flexfields reference than the XML Publisher documentation?
    Here is the call I made in my before-report trigger:
    --set ACCT_BAL_LPROMPT flexfield segment metadata lexical
    begin
    apps.fnd_flex_xml_publisher_apis.kff_segments_metadata(
      'FLEX_ACCT_BAL_LPROMPT',
      'SQLGL',
      'GL#',
      101,
      'GL_BALANCING',
      'Y',
      'LEFT_PROMPT',
      c_FLEX_ACCT_BAL_LPROMPT
    end;

  • Strange errors using Flynet with Xcelsius Engage Server

    Each time I try to create a WebService I get an entire screen full of errors.  Here are a few of the error numbers:
    CS1513
    CS1001
    CS1519
    CS1518
    CS0116
    CS1001
    This is maddening! We are following everything per instructions (which are poor, by the way). We can't even get basic XML or WS data into Xcelsius on a single XPpro desktop (w/ IIS, .NET 2.0 etc. installed).
    Anyone have a clue what is going on? Are there any good sources for Flynet/Xcelsius documentation other than the PDFs that come with the software?
    Thanks in advance...

    Mario,
    Sorry to hear you are having problems.
    Please address your issues to us at Flynet and we will assist you. I believe you have our e.mail address.
    Best Regards,
    Ian Learmonth
    Flynet Support.

  • Using Flex Performance Profiler for Profiling Flex  with Java Applications

    Hi , I am planning to use Flex Profiler to profile my Application .
    I have developed a sample Application using Flex MXML ,some ActionScript classes for Events and Cairngorm , Java , Oracle as database and Blazeds . 
    Can i use Flex Performance Profiler to Profile my Application . ?? I am asking this question as i ad read the below line from Adobe site and My Application includes java Methods 
    "You can use the profiler to profile ActionScript 3.0 applications " Can anybody please tell me What does this mean ?? and can i use the Flex Performnace Profiler . Please suggets me .

    Thanks Karl for the prompt response .
    I am making a call to a Java Method from my Action Script function , or getting data from Java Method into the ActionScript function .
    So my question  is , will the Flex Profiler will be applicable in this case as it internally calls Java Methods .

  • Flex profiler: giving socket timeout error

    Hi,
    I am using Flex 3 Builder. With Flex 3 SDK and overlayed AIR 2 sdk. When I try profile my AIR app, I get "Socket Exception" in the console.
    I tried editing the mm.cfg manually but it seems not working. (Followed various posts in forums/blogs). But no Luck.
    I observed the mm.cfg file, keeping it blank, Flex Builder does write the PreloadSwf argument in it. For a while, and then it goes blank after throwing the socket error.
    I don't have Firewall on as well. I tried with both direct connection to internet and with Proxy.
    Any ideas on what's going on ?
    Thanks,
    Brijehs

    Tried all above, still getting the same exception

  • Error 99 using Flex with FileInfo SDK

    Hello
    I am creating a new XMP panel for CS4 using Flex 3.0.1 and the FileInfo SDK 4.4.2. When I create a new Wizard project (using XMP Custom Panel project), at the end the Design tab shows the message (I have not edited anything from the generated files):
    There is an error at line 99 of your MXML document.
    The "Sample" tag has invalid syntax.
    The line 99 contains the following generated code:
    Anyone tried to use Flex and the FileInfo XMP Wizard and know how to solve this issue? The Project compiles and executes well but this message is quite strange.
    Thank You
    Massimo

    Hi Massimo,
    you try to watch the *wrapper code* in the design mode. Problem is
    that the design mode of Flex still has some bugs when it comes to the display of own components.
    But what you can do is: open the actual panel class "Sample" and switch
    to the design mode -- that works and that should be the thing that you actually wanted to see.
    Hope this helps.
    -- Stefan

  • E800001 error using Ad-Hoc Distrubition Profile

    Hi,
    I have been able to successfully deploy an app to my iPhone using the developer profile.
    I then created an Ad-Hoc distribution profile, and tried to install my application using that profile.
    However, I get the E800001 error.
    I double checked the certificates, profiles, etc and am following the steps as outlined in the pdf file in the developer portal.
    I also created the Entitlements.plist file.
    Strange thing is when I zip the app on a mac and send it to a Win Machine, I get a __MACOSX dir with a file .Entitlements.plist.
    Any ideas what I may be doing wrong ?

    OK, I figured out what I was doing wrong.
    I put the Entitlements.plist file in the wrong location (instead of project root dir)
    I had to clean and rebuild a few times, but finally it worked fine !!

  • Strange error message when I tried to use the "collaborate" function under "File"

    Has anyone else met this before? : I am trying to share my project with my team members. Tried File -> Collaborate and then try three options under it. Non e of them works. It asks for your Adobe ID in order to sign in and upload. However, every time I typed in my Adobe ID and password, it gave me strange error messages. The first time it says: User has not verified email address yet. I have been using this Adobe ID since 2008 or 2009 and of course I have verified my email address. But to make sure, I went back to my email box and search for emails about Adobe ID verification but I didn't find any (I never delete emails such as this).
    Then I tried to register a new Adobe ID. This time when I tried to singn in with the new Adobe ID, it will either say "Network may not be available" (which is not true because I am able to surf on the Internet at the same time), or it says "User has not accepted user condition/agreement".
    I feel so frustrated because I feel this is definitely not my mistake which caused the failure of log in.
    Hope someone can tell me what the reason is and how to fix it though.
    Thanks a lot.

    Hi Lilybiri,
    Thanks for your quick response. I followed your suggestion and verified my Adobe ID on acrobat.com.
    Now I can enter the collaborate function. However, everytime when I tried to send it to myself (for test purpose) I got another error message "You need to enter a valid emaill address". I saw someone else on this forum has met the same problem. Do you have any suggestion on what is the possible reason for this to happen?
    Again, thanks for the fast response. You have been helping me and other ppl so much.

  • Error with flex 4.5.1 using Squiggly

    these sample I wrote but give me errors i use flex 4.5.1
    i copy it from Squiggly package
    what wrong
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   applicationComplete="init()">
        <fx:Script>
            <![CDATA[
                import com.adobe.linguistics.spelling.*;
                import mx.controls.textClasses.TextRange;
               private var _newdict:HunspellDictionary = new HunspellDictionary() ;      // here the first error == -1046: Type was not found or was not a compile-time constant: HunspellDictionary.
                private var sp:SpellChecker;
                private function init():void {
                    _newdict.addEventListener(Event.COMPLETE, handleLoadComplete);
                    _newdict.load("dictionaries/en_US/en_US.aff", "dictionaries/en_US/en_US.dic");
                private function handleLoadComplete(evt:Event):void
                    sp = new SpellChecker(_newdict);
                protected function check_clickHandler(event:MouseEvent):void
                    var wordPattern:RegExp =/\b\w+\b/; // match next word...
                    var inputValue:String = inputText.text;
                    var offset:int, curPos:int;
                    for ( ; ; ) {
                        var res:Array = inputValue.match( wordPattern); // lookup word by word....
                        if ( res == null ) break;
                        if ( !sp.checkWord(res[0]) ) {
                            offset = inputText.text.length-inputValue.length;
                            curPos = inputValue.indexOf(res[0]);
                            var currentRange:TextRange = new TextRange(inputText, false, offset+ curPos, offset+ curPos+res[0].length); // mark mispelled word.
                            currentRange.color = "red";
                        inputValue = inputValue.substr(inputValue.indexOf(res[0])+ res[0].length);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:Button id="check" label="Check Text" click="check_clickHandler(event)"  />
        <mx:TextArea id="inputText" x="10" y="29" width="945" height="571"/>
    </s:Application>

    i try another code
    but give me error : 1120: Access of undefined property SpellUI.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                    creationComplete="init()">
        <fx:Script>
            <![CDATA[
                import com.adobe.linguistics.spelling.*;
                private function init():void {
                    SpellUI.enableSpelling(inputText, "en" );
                    ]]>
        </fx:Script>
    <mx:TextArea id="inputText" x="10" y="29" width="945" height="571"/>
    </s:Application>

  • Order Import failing with error "The specified subinventory is invalid to use, the profile option INV: Allow Expense to Asset Transfer is set to No. Change the profile option to Yes or choose a valid subinventory."

    Hi All,
    I am getting this error while importing an internal sales order.
    “The specified subinventory is invalid to use, the profile option INV: Allow Expense to Asset Transfer is set to No. Change the profile option to Yes or choose a valid subinventory.”
    I have tried to set mentioned profile as ‘Yes’. But still getting same error.
    Also, provided subinventory is present and active in given inventory organization.
    Please share if anybody encountered this before and have a solution.

    Hi 2878342
    Please refer the following metalink note, it should resolve your problem.
    Order Import Interface.Error Message Specified Subinventory Is Invalid To Use (Doc ID 406411.1)

  • File Upload using Flex/ColdFusion.  2044 error

    I am looking for a little more clarity around the file upload using Flex and Cold Fusion.  When I run this using my server I get Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.
    I did create a regular cfform and had it use my ColdFusion upload form and that worked fine, so I feel good about the upload form. I am starting to think there is a permission error with the Flash Player writing to the folder.  When this is ran, it will show the file being 100% loaded but the complete event is never triggered.  I put alerts to see where it hits and 100 does show at the same time as my error message.  The complete alert never shows.  I also put an alert in my cfm page and it never reaches that page to hit it.  Whether I use an absolute URL or relative path. I have also tried the urlrequestmethod.post and nothing changed.  Thanks in advance.  BTW.  I am using Flex 3.
    This is my mxml file
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:example="com.example.*" horizontalAlign="center" viewSourceURL="srcview/index.html">
    <mx:Script>
    <![CDATA[
    import com.example.FileDownload 
    import mx.controls.Label 
    import com.example.FileUpload]]>
    </mx:Script>
    <mx:Label id="title" text="File I/O Example" fontSize="24" fontStyle="bold" />
    <mx:Text id="subtitle" text="From Programming ActionScript 3.0, Chapter 22: Networking and communication" width="100%" textAlign="center" fontSize="12" /><example:FileDownload 
    id="fileDownload" creationComplete="fileDownload.init(downloadProgress, cancelDownload);" />
    <example:FileUpload id="fileUpload" creationComplete="fileUpload.init(uploadProgress, cancelUpload);" />
    <mx:HBox>
    <mx:Panel title="Upload File" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
    <mx:ProgressBar id="uploadProgress" label="" mode="manual" />
    <mx:ControlBar horizontalAlign="right">
    <mx:Button id="startUpload" label="Upload..." click="fileUpload.startUpload();" />
    <mx:Button id="cancelUpload" label="Cancel" click="fileUpload.cancelUpload();" enabled="false" />
    </mx:ControlBar>
    </mx:Panel>
    <mx:Panel title="Download File" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
    <mx:ProgressBar id="downloadProgress" label="" mode="manual" />
    <mx:ControlBar horizontalAlign="right">
    <mx:Button id="startDownload" label="Download..." click="fileDownload.startDownload();" />
    <mx:Button id="cancelDownload" label="Cancel" click="fileDownload.cancelDownload();" enabled="false" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:HBox></mx:Application>
    here is my coldfusion upload script
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <script>alert('hello')</script>
    <cfset currentPath = getCurrentTemplatePath()>
    <cfset currentDirectory = getDirectoryFromPath(currentPath)>
    <cfoutput>This directory is #currentDirectory#</cfoutput>
    <cffile action="UPLOAD" filefield="Filefield" destination="#currentDirectory#" nameconflict="OVERWRITE"/>
    </body>
    </html>
    here is the package
    package  
    com.example { import flash.events.*; 
    import flash.net.FileReference; 
    import flash.net.URLRequest; 
    import flash.net.URLRequestMethod; 
    import mx.controls.Button; 
    import mx.controls.ProgressBar; 
    import mx.core.UIComponent; 
    import mx.controls.Alert; 
    public class FileUpload extends UIComponent { 
    // Hard-code the URL of the remote upload script. 
    private const UPLOAD_URL:String = "upload_script.cfm"; 
    private var fr:FileReference; 
    // Define reference to the upload ProgressBar component. 
    private var pb:ProgressBar; 
    // Define reference to the "Cancel" button which will immediately stop the upload in progress. 
    private var btn:Button; 
    public function FileUpload() {}
    /*** Set references to the components, and add listeners for the SELECT,
    * OPEN, PROGRESS, and COMPLETE events.
     public function init(pb:ProgressBar, btn:Button):void { 
    // Set up the references to the progress bar and cancel button, which are passed from the calling script. 
    this.pb = pb; 
    this.btn = btn; 
    fr =
    new FileReference();fr.addEventListener(Event.SELECT, selectHandler);
    fr.addEventListener(Event.OPEN, openHandler);
    fr.addEventListener(ProgressEvent.PROGRESS, progressHandler);
    // fr.addEventListener(Event.COMPLETE, completeHandler); 
    /*** Immediately cancel the upload in progress and disable the cancel button.
     public function cancelUpload():void {fr.cancel();
    pb.label =
    "UPLOAD CANCELLED";btn.enabled =
    false;}
    /*** Launch the browse dialog box which allows the user to select a file to upload to the server.
     public function startUpload():void {fr.browse();
    /*** Begin uploading the file specified in the UPLOAD_URL constant.
     private function selectHandler(event:Event):void { 
    var request:URLRequest = new URLRequest(UPLOAD_URL); 
    /* request.url = UPLOAD_URL*/request.method = URLRequestMethod.POST;
     try  
    {fr.upload(request);
    }catch (error:Error){
    trace  
    ("error uploading")}
     /*** When the OPEN event has dispatched, change the progress bar's label
    * and enable the "Cancel" button, which allows the user to abort the
    * upload operation.
     private function openHandler(event:Event):void {pb.label =
    "UPLOADING";btn.enabled =
    true;}
    /*** While the file is uploading, update the progress bar's status and label.
     private function progressHandler(event:ProgressEvent):void {pb.label =
    "UPLOADING %3%%";pb.setProgress(event.bytesLoaded, event.bytesTotal);
    if(event.bytesLoaded==event.bytesTotal){ 
    trace(Event.COMPLETE)Alert.show(
    "100")}
    /*** Once the upload has completed, change the progress bar's label and
    * disable the "Cancel" button since the upload is already completed.
     private function completeHandler(event:Event):void {Alert.show(
    "in function")pb.label =
    "UPLOADING COMPLETE";pb.setProgress(0, 100);
    btn.enabled =
    false;}

    Presumably you need to add a result handler to your request.

  • Error while compiling .css to .swf using flex-compiler-oem-3.4.0.9271

    Hi
    I am unable to compile the .css to .swf using flex-compiler-oem-3.4.0.9271.  I see the following error. This issue is specifically on the QA environment and does not reproduce locally.
    The only difference that I see between the QA and my local environment is the load balancer. I read through some posts which say to comment the line which has en_US in the flex-config.xml which did not work.
    My case is that I am trying to compile the .css at runtime using the flex-compiler-oem-3.4.0.9271.jar file
    ERROR [STDERR] Error: Unable to resolve resource bundle "styles" for locale "en_US".
    ERROR [STDERR] Error: Unable to resolve resource bundle "core" for locale "en_US".
    Any help would be greatly appreciated.
    Thank you,
    Vinay

    I'd recommend the following:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html
    and use the following for reference:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html
    or better yet on commandline:
    mxmlc -help list details
    Normally you'll have to reference this list of available options ( same for compc ), then formulate your commandline options.
    Your commandline will probably looks something like this:
    mxmlc -library-path+=path_to_lccs_sdk/libs/player10 -source-path+=src src/MyApp.mxml
    Depending on your needs you'll have to play around with "-include-libraries" and "-external-library-path" params as well.
    Hope that helps,
    Alex G.

  • Getting the error : ERROR:   FND FLEX-DSQL EXCEPTION  : An unexpected error

    Hi Gurus,
    I have setup one WebADI solution to upload the Direct Deposit information in the system and it is assigned to one responsibility called "US HR Payroll User", user is trying to upload the multiple accounts for one employee and getting the following error:
    ERROR: FND FLEX-DSQL EXCEPTION : An unexpected error has occurred. Please inform your system administrator that the error: &MSG occurred when the FND_FLEX_SERVER package tried to execute the SQL statement below. If tables or sequences do not exist this may indicate a problem with your installation. Make sure grants and synonyms exist so that all tables, views, and sequences in the SQL statement are visible from the database account in which the FND_FLEX_SERVER package resides (usually APPLSYS). If this is a select statement and the last portion of the where clause is in incorrect, then an invalid where clause may have been supplied in the flexfield definition. The error is probably either in the form, or in a server-side package that calls the flexfield validation routine. SQL statement (first 1000 bytes): &SQLST
    When I try to upload using my pc it works fine I have excel 2000 on my system. Then I tried on my friends computer who is having Excel 2003 and there also it gave the same error. So I thought Excel Version is a problem but when we try to upload the same data on some other instances it worked fine.
    Has anybody faced such kind of issue or can throw some lights as what other options I can try ?
    Thanks
    Rahul

    Hi ,
    Thanks for your help.
    Application Release : R12.1
    DB Version: 11g
    Browser: IE : 6.0.2900....
    I tried to take the TRACE but I am not able to generate the log/trace. I set the following profile as per the given note:
    BNE Server Log Filename --> MISPAY_DD_UPLD.log
    BNE Server Log Level --> TRACE
    BNE Server Log Path --> /u04/oraout_db/gsiau_rgts/gsi2au/trace
    but it does not generate any trace or log. Could you please help how we can get the trace.
    Thanks
    Rahul

  • ITunes won't launch and I get a strange error message-

    My iTunes will not launch and I get this strange error message: The iTunes application could not be opened. The disk could not be read from or written to. But I have no problems with the disk it is on, which is my harddisk. Help, help, help…

    I have now tried a billion things: None of them work. I still get the same error message, when I try to launch iTunes after logging into my user profile. However, I can launch iTunes 6.0.1 if I create another userprofile on my computer and log into that. But that isn't very helpful. I have also tried removing iTunes 6.0.1 and installing iTunes 4.7 instead. I can actually launch that. However, I cannot connect to the iTunes music store using iTunes 4.7 nor can I play any of the music purchased from the iTunes music store. What am I to do, except curse Apple for creating a version of iTunes that many people seem to have problems with?

  • Maven built swf throwing strange error

    Hi all,
    I built my flex project (sdk 4.1)  using maven(maven -e -X install). When i tried to run the generated swf, it throws a strange error:
    VerifyError: Error #1014: Class spark.components::Application could not be found.
    When i run the flash builder generated swf, it runs without any problems. I guess there is something i missed to include in the pom.xml.
    Please let me know how to handle it. My project basically is built in flex sdk 4.1.
    Please check my pom.xml below:
    Thanks.
    pom.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
              <parent>
                        <artifactId>abc-application</artifactId>
                        <groupId>com.abcd.abc</groupId>
                        <version>2.50.6.a</version>
              </parent>
              <modelVersion>4.0.0</modelVersion>
              <groupId>com.visualiq.iq</groupId>
              <artifactId>CW</artifactId>
              <version>2.50.6.a</version>
              <packaging>swf</packaging>
              <name>CW</name>
                        <repositories>
                        <repository>
                                  <id>flexmojos</id>
                                  <url>http://repository.sonatype.org/content/groups/flexgroup/</url>
                        </repository>
                        <repository>
                                  <id>maven2-repository.dev.maven.org</id>
                                  <name>Maven.org Repository for Maven</name>
                                  <url>http://repo1.maven.org/maven2/</url>
                                  <layout>default</layout>
                        </repository>
              </repositories>
              <properties>
                        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
              </properties>
              <pluginRepositories>
                        <pluginRepository>
                          <id>flexmojos-repository</id>
                          <url>http://repository.sonatype.org/content/groups/flexgroup/</url>
                        </pluginRepository>
                        <pluginRepository>
                                  <id>flexpmd.opensource.adobe</id>
                                  <releases>
                                            <enabled>true</enabled>
                                  </releases>
                                  <snapshots>
                                            <enabled>true</enabled>
                                  </snapshots>
                                  <name>FlexPMD repository on opensource.adobe.com</name>
                                  <url>http://opensource.adobe.com/svn/opensource/flexpmd/maven-repository/release/</url>
                        </pluginRepository>
              </pluginRepositories>
              <build>
                  <sourceDirectory>src/main/flex</sourceDirectory>
                        <testSourceDirectory>src/test/flex</testSourceDirectory>
                        <finalName>Collaboration</finalName>
                        <plugins>
                                  <plugin>
                                            <groupId>org.sonatype.flexmojos</groupId>
                                            <artifactId>flexmojos-maven-plugin</artifactId>
                                            <version>3.9</version>
                                            <extensions>true</extensions>
                                            <dependencies>
                                              <dependency>
                                                      <groupId>com.adobe.flex</groupId>
                                                      <artifactId>compiler</artifactId>
                                                                <version>4.1.0.16076</version>
                                                      <type>pom</type>
                                              </dependency>
                                            </dependencies>
                                            <executions>
                                                      <execution>
                                                                <id>GroupDetachedView</id>
                                                                <goals>
                                                                          <goal>compile-swf</goal>
                                                                </goals>
                                                                <phase>compile</phase>
                                                                <configuration>
                                                                          <sourceFile>GroupDetachedView.mxml</sourceFile>
                                                                          <output>target/CW/GroupDetachedView.swf</output>
                                                                </configuration>
                                                      </execution>
                                                      <execution>
                                                                <id>main</id>
                                                                <goals>
                                                                          <goal>compile-swf</goal>
                                                                </goals>
                                                                <phase>compile</phase>
                                                                <configuration>
                                                                          <sourceFile>main.css</sourceFile>
                                                                          <output>target/CW/main.swf</output>
                                                                </configuration>
                                                      </execution>
                                                      <execution>
                                                        <id>wrapper generation</id>
                                                        <goals>
                                                                <goal>wrapper</goal>
                                                        </goals>
                                                        <configuration>
                                                                <outputDirectory>target/CW</outputDirectory>
                                                        </configuration>
                                                      </execution>
                                            </executions>
                                            <configuration>
                                                      <sourceFile>Coll.mxml</sourceFile>
                                                      <output>target/CW/Coll.swf</output>
                                            </configuration>
                                  </plugin>
                                  <plugin>
                                            <groupId>org.apache.maven.plugins</groupId>
                                            <artifactId>maven-site-plugin</artifactId>
                                            <version>3.0-beta-3</version>
                                  </plugin>
                        </plugins>
              </build>
              <dependencies>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>flex-framework</artifactId>
                                  <version>4.1.0.16076</version>
                          <type>pom</type>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>playerglobal</artifactId>
                                  <version>4.1.0.16076</version>
                                  <classifier>10.1</classifier>
                          <type>swc</type>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flexunit</groupId>
                          <artifactId>flexunit</artifactId>
                          <version>4.0-beta-2</version>
                          <type>swc</type>
                          <scope>test</scope>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>datavisualization</artifactId>
                                  <version>4.1.0.16076</version>
                          <type>swc</type>
                        </dependency>
                        <dependency>
                                  <groupId>com.adobe.flex.framework</groupId>
                                  <artifactId>spark</artifactId>
                                  <type>swc</type>
                                  <scope>external</scope>
                                  <version>4.1.0.16076</version>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>as3corelib</artifactId>
                                  <version>1.0</version><!-- provided swc version here need to check if
                                            the right thing to do is to specify flex framework version -->
                          <type>swc</type>
                        </dependency>
                        <dependency>
                                  <groupId>com.abcd.abc</groupId>
                                  <artifactId>CollabSWC</artifactId>
                                  <version>2.50.6.a</version>
                                  <type>swc</type>
                        </dependency>
              </dependencies>
              <reporting>
                        <plugins>
                                  <plugin>
                                            <groupId>org.apache.maven.plugins</groupId>
                                            <artifactId>maven-project-info-reports-plugin</artifactId>
                                            <version>2.3.1</version>
                                  </plugin>
                                  <plugin>
                                            <groupId>com.adobe.ac</groupId>
                                            <artifactId>flex-pmd-maven-plugin</artifactId>
                                            <version>1.2</version>
                                  </plugin>
                                  <plugin>
                                    <groupId>org.sonatype.flexmojos</groupId>
                                    <artifactId>flexmojos-maven-plugin</artifactId>
                                            <version>4.0-beta-7</version>
                                    <reportSets>
                                            <reportSet>
                                              <id>flex-reports</id>
                                              <reports>
                                                      <report>asdoc-report</report>
                                              </reports>
                                            </reportSet>
                                    </reportSets>
                                  </plugin>
                        </plugins>
                        <outputDirectory>${project.build.directory}/../../target/site/CW</outputDirecto ry>
              </reporting>
    </project>

    Hi harUI,
    Thasnk for your reply...
    I ve tried to change the scope of some dependencies to 'external'. Still i get some errors. I ve added a few more dependencies now. Everytime i change the scope i get a different error. Pleaswe go through my updated pom.xml below:
    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
              <parent>
                        <artifactId>abc-application</artifactId>
                        <groupId>com.abcd.abc</groupId>
                        <version>2.50.6.a</version>
              </parent>
              <modelVersion>4.0.0</modelVersion>
              <groupId>com.abcd.abc</groupId>
              <artifactId>CW</artifactId>
              <version>2.50.6.a</version>
              <packaging>swf</packaging>
              <name>CW</name>
                        <repositories>
                        <repository>
                                  <id>flexmojos</id>
                                  <url>http://repository.sonatype.org/content/groups/flexgroup/</url>
                        </repository>
                        <repository>
                                  <id>maven2-repository.dev.maven.org</id>
                                  <name>Maven.org Repository for Maven</name>
                                  <url>http://repo1.maven.org/maven2/</url>
                                  <layout>default</layout>
                        </repository>
              </repositories>
              <properties>
                        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
              </properties>
              <pluginRepositories>
                        <pluginRepository>
                          <id>flexmojos-repository</id>
                          <url>http://repository.sonatype.org/content/groups/flexgroup/</url>
                        </pluginRepository>
                        <pluginRepository>
                                  <id>flexpmd.opensource.adobe</id>
                                  <releases>
                                            <enabled>true</enabled>
                                  </releases>
                                  <snapshots>
                                            <enabled>true</enabled>
                                  </snapshots>
                                  <name>FlexPMD repository on opensource.adobe.com</name>
                                  <url>http://opensource.adobe.com/svn/opensource/flexpmd/maven-repository/release/</url>
                        </pluginRepository>
              </pluginRepositories>
              <build>
                  <sourceDirectory>src/main/flex</sourceDirectory>
                        <testSourceDirectory>src/test/flex</testSourceDirectory>
                        <finalName>Collaboration</finalName>
                        <plugins>
                                  <plugin>
                                            <groupId>org.sonatype.flexmojos</groupId>
                                            <artifactId>flexmojos-maven-plugin</artifactId>
                                            <version>3.9</version>
                                            <extensions>true</extensions>
                                            <dependencies>
                                              <dependency>
                                                      <groupId>com.adobe.flex</groupId>
                                                      <artifactId>compiler</artifactId>
                                                                <version>4.1.0.16076</version>
                                                      <type>pom</type>
                                              </dependency>
                                            </dependencies>
                                            <executions>
                                                      <execution>
                                                                <id>GroupDetachedView</id>
                                                                <goals>
                                                                          <goal>compile-swf</goal>
                                                                </goals>
                                                                <phase>compile</phase>
                                                                <configuration>
                                                                          <sourceFile>GroupDetachedView.mxml</sourceFile>
                                                                          <output>target/CW/GroupDetachedView.swf</output>
                                                                </configuration>
                                                      </execution>
                                                      <execution>
                                                                <id>main</id>
                                                                <goals>
                                                                          <goal>compile-swf</goal>
                                                                </goals>
                                                                <phase>compile</phase>
                                                                <configuration>
                                                                          <sourceFile>main.css</sourceFile>
                                                                          <output>target/CW/main.swf</output>
                                                                </configuration>
                                                      </execution>
                                                      <execution>
                                                        <id>wrapper generation</id>
                                                        <goals>
                                                                <goal>wrapper</goal>
                                                        </goals>
                                                        <configuration>
                                                                <outputDirectory>target/CW</outputDirectory>
                                                        </configuration>
                                                      </execution>
                                            </executions>
                                            <configuration>
                                                      <sourceFile>abc.mxml</sourceFile>
                                                      <output>target/CW/abc.swf</output>
                                            </configuration>
                                  </plugin>
                                  <plugin>
                                            <groupId>org.apache.maven.plugins</groupId>
                                            <artifactId>maven-site-plugin</artifactId>
                                            <version>3.0-beta-3</version>
                                  </plugin>
                        </plugins>
              </build>
              <dependencies>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>flex-framework</artifactId>
                                  <version>4.1.0.16076</version>
                          <type>pom</type>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>playerglobal</artifactId>
                                  <version>4.1.0.16076</version>
                                  <classifier>10.1</classifier>
                          <type>swc</type>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flexunit</groupId>
                          <artifactId>flexunit</artifactId>
                          <version>4.0-beta-2</version>
                          <type>swc</type>
                          <scope>test</scope>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>textLayout</artifactId>
                          <version>4.1.0.16076</version>
                          <type>swc</type>
                          <scope>caching</scope>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>framework</artifactId>
                          <version>4.1.0.16076</version>
                          <type>swc</type>
                          <scope>caching</scope>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>datavisualization</artifactId>
                                  <version>4.1.0.16076</version>
                          <type>swc</type>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>textLayout</artifactId>
                          <version>4.1.0.16076</version>
                          <type>swc</type>
                          <scope>caching</scope>
                        </dependency>
                        <dependency>
                                  <groupId>com.adobe.flex.framework</groupId>
                                  <artifactId>spark</artifactId>
                                  <type>swc</type>
                                  <scope>caching</scope>
                                  <version>4.1.0.16076</version>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>sparkskins</artifactId>
                          <version>4.1.0.16076</version>
                          <type>swc</type>
                          <scope>caching</scope>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>as3corelib</artifactId>
                                  <version>1.0</version><!-- provided swc version here need to check if
                                            the right thing to do is to specify flex framework version -->
                          <type>swc</type>
                        </dependency>
                          <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>rpc</artifactId>
                          <version>4.1.0.16076</version>
                          <type>swc</type>
                          <scope>caching</scope>
                        </dependency>
                        <dependency>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>flex-framework</artifactId>
                          <version>4.1.0.16076</version>
                          <type>pom</type>
                        </dependency>
                        <dependency>
                                  <groupId>com.visualiq.iq</groupId>
                                  <artifactId>CollaborationSWC</artifactId>
                                  <version>2.50.6.a</version>
                                  <type>swc</type>
                        </dependency>
              </dependencies>
              <reporting>
                        <plugins>
                                  <plugin>
                                            <groupId>org.apache.maven.plugins</groupId>
                                            <artifactId>maven-project-info-reports-plugin</artifactId>
                                            <version>2.3.1</version>
                                  </plugin>
                                  <plugin>
                                            <groupId>com.adobe.ac</groupId>
                                            <artifactId>flex-pmd-maven-plugin</artifactId>
                                            <version>1.2</version>
                                  </plugin>
                                  <plugin>
                                    <groupId>org.sonatype.flexmojos</groupId>
                                    <artifactId>flexmojos-maven-plugin</artifactId>
                                            <version>4.0-beta-7</version>
                                    <reportSets>
                                            <reportSet>
                                              <id>flex-reports</id>
                                              <reports>
                                                      <report>asdoc-report</report>
                                              </reports>
                                            </reportSet>
                                    </reportSets>
                                  </plugin>
                        </plugins>
                        <outputDirectory>${project.build.directory}/../../target/site/CW</outputDirecto ry>
              </reporting>
    </project>

Maybe you are looking for

  • How can i determine the order automator actually gets the files?

    Hi, I'm a newbie so excuse my probably simple question, but I have a problem using Automator to change the names of files. What I'm trying to do is using Automator to rename files that are in a specific order and have to stay that way. I'm trying to

  • ITunes crashed during sync, now Podcasts have sound but no video.

    My wife has a 5th gen 30GB iPod. It has the latest system software from iPod Updater, and we're running the latest iTunes. Yesterday she was doing a sync, and iTunes crashed on her in the middle of it. Now, even with an iPod Restore and reset, and a

  • Goods movement from Maintenance order

    Hi Experts I have the following scenario, I have a component ( with Material master) in the maintenance order  and i use Item category N to trigger  a Purchase requisition. The Pur Req is converted to Purchase Order and then the GR is done directly t

  • Setting JScrollPane background color.

    Does anybody know how to set what color appears in the background of a JScrollPane when the Component in the pane is smaller than the pane itself? In particular, I have a JTable in a JScrollPane, and when the pane is bigger than the table, the gray d

  • Programitically creating column series to flex chart not showing the chart

    I want to create n number of series dynamically when i run my application. where n can be any value it depends on the data which i retrieve from database. below i pasted the example ( in this example i have taken n = 4 i.e., CountMax=4 if i change th