Flex compiler settings ??

Hello there,
I have developed a flex application that connects to
salesforce and pulls out the data. I used Flex Builder, set the
"as3Salesforce.swc" on the lib path and everything worked fine.
Now I wanted to integrate the flex app that I built with an
website. But for some reasons, the salesforce connection from the
.swf file doesnt work out of my project folder. I am sure there is
some setting issue and I think it is not able to recognize the
as3Salesforce.swc.
Anyone has faced this issue ? Any help around this would be
greatly appreciated.

Thanks for your response Matt; I later researched salesforce
forums and found that I need to do some special settings for
salesforce connection object. And I got that working now !!
Anyone else facing similar problem with salesforce can visit
the below blog for the solution:
http://community.salesforce.com/sforce/board/message?board.id=general_development&view=by_ date_ascending&message.id=14677
Arun B

Similar Messages

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

  • Flex compilation error

    Hi All,
    I am getting flex compilation error when i deploy the models which were developed in older version7.0, now it is 7.01.I am getting the following error in 7.01 version.
    Flex2Compiler.Build: Error in executing a process for Flex compilation: /usr/sap/BWD/DVEBMGS30/j2ee/cluster/server0/GUIMachine_Business_Packages/[KCRXK59]MyModels.SMIScoreCard/FLEX_COMPILATION_FOLDER/AAD583.mxml
    Does the older version models doesnot deploy in new versions?
    Thanks
    Srinivas K

    Hello Srinivas,
    Currently i am also facing the same issue , Can you let us know were you able to solve the problem u encountered , if yes how?
    Thanks and Regards,
    Ronniee

  • Flex compilation error 1004

    Compilation is ok, but the deployment is giving this error messages:
    Error in executing a process for Flex compilation, Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Failed to compile AAD8G.mxml
    I do not succeed in finding the cause of this error

    Compilation is ok, but the deployment is giving this error messages:
    Error in compiling Flex application: Error 1004: Operator '=' must be followed by an operand
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc_59929/FLEX_COMPILATION_FOLDER/AADHE1_P.mxml:374)
    Error 1142: The class 'vc.custom.SkinAssetDependency' could not be loaded.
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc__59929/FLEX_COMPILATION_FOLDER/AADHDR.mxml)
    Failed to compile AADHDR.mxml
    Edited by: Rafael Ovidio on Feb 15, 2008 10:28 AM

  • Flex compilation error: line exceeds 32k span

    Hi All,
    I am trying to execute my application being developed in VC7.0 (nw04s sneak preview version) using tabbed layers. I have 3 layers and has the following UI components
    1 tab/layer: input form
    2 tab/layer: table control
    3 tab/layer: table control
    Following is the error from the source Viewer window
    <b>com.myComp.myProduct.8J.Empdetailsview</b>
    Error in executing a process for Flex compilation, Error: Branch between 8421 and 41193 around line 0 exceeds 32K span. If possible, please refactor this component.
          (E:\usr\sap\J2E\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\empModel_18608\FLEX_COMPILATION_FOLEDR\AAD8J-generated.as:2188)
    Error: Branch between 8421 and 41193 around line 0 exceeds 32K span.
    Failed to compile AAD8J.mxml
    PS: Initially I had a table and chart controls in my second layer (no 3rd layer then) and got the same error however, after removing the chart contrl, the app begun to run.
    Now I added a 3rd layer which has one table contrl only and now the app is not working. I also have eventing between my layers..
    Please help
    Thanks
    Sathish

    Hi
    The 32k issue id pretty hard to get rid of once it starts, instead of using the 3rd layer, try and create a nested iview, you can also try and use a nested iview for each layer, this is a bit more complicated to do but does seem to workaround the 32k problem.
    Jarrod

  • Flex compiler in FlexBuilder and Flex SDK

    I have downloaded Flex Builder 3.0.2 and Flex SDK 3.2. Are
    they using the same version of Flex compiler?
    Is there a way to check the version of Flex compiler?

    quote:
    Originally posted by:
    mab_bond
    And regarding the Advanced datagrid you must copy the
    dataVisualization.swc.from sdk 3.1
    It sounds like the SDK3.2 download is incomplete. I'm not
    sure if upgrade FB with this download is a good idea.

  • Flex compilation error after adding an additional output port to a query

    Hello,
    I need to add an additional output port to a query in order to dynamically filter some results. Our version of VC 7.0 (SP16) doesn't support filter components with access to store data.
    Just when we add an extra output port to the query and deploy it we run into a flex compilation error.
    Has somebody come along with that?
    Kind regards
    Stefan

    Hi
    Why exactly you want another output port. With same output port you can drag multiple filters & restrict the output.
    Creation of second output port is not required.
    If first way is not suitable in your case, then you add that query twice (or multiple times) & pass the same input parameters.
    If still it is not serving the purpose then please elaborate your requirement as what dynamic filter you want.
    Regards
    Sandeep

  • Flex Compiler efficiency

    Hi All,
    is Flex compiler efficient in reusing of code i.e.
    If I write following chunk of code what how these get compiled
    Y=a.y.getTime();
    X=a.y.getTime();
    Whether flex compiler will replace one statement for above two same expressions or not?
    As
    Var time= a.y.getTime();
    Y= time;
    X= time;
    Thanks & Regards,
    Neelam

    This might not be a good example because I doubt that those are  <br />equivalent statements versus calling the function three times.<br /><br />What you're saving here is looking up a, y, getTime, and then calling  <br />a function that may have side effects (which is why I say they are not  <br />equivalent). You'd have to do this three times without keeping the  <br />return value, which is obviously more expensive.<br /><br />You could save some code by using a local function, but it'd have to  <br />be saving a considerable amount of duplication to outweigh the overhead.<br /><br />Jono<br /><br /><br />On Mar 11, 2008, at 2:16 AM, Tom Chiverton <[email protected]>  <br />wrote:<br /><br />> A new message was posted by Tom Chiverton in<br />><br />> Developers --<br />>  Flex Compiler efficiency<br />><br />> On Tuesday 11 Mar 2008, neelam verma wrote:<br />>> Var time= a.y.getTime();<br />>> Y= time;<br />>> X= time;<br />><br />> I remember reading somewhere that you should minimise function calls/ <br />> array<br />> lookups in your code, by doing just this.<br />><br />> -- <br />> Tom Chiverton<br />><br />> ****************************************************<br />><br />> This email is sent for and on behalf of Halliwells LLP.<br />><br />> Halliwells LLP is a limited liability partnership registered in  <br />> England and Wales under registered number OC307980 whose registered  <br />> office address is at Halliwells LLP, 3 Hardman Square,  <br />> Spinningfields, Manchester, M3 3EB.  A list of members is available  <br />> for inspection at the registered office. Any reference to a partner  <br />> in relation to Halliwells LLP means a member of Halliwells LLP.   <br />> Regulated by The Solicitors Regulation Authority.<br />><br />> CONFIDENTIALITY<br />><br />> This email is intended only for the use of the addressee named above  <br />> and may be confidential or legally privileged.  If you are not the  <br />> addressee you must not read it and must not use any information  <br />> contained in nor copy it nor inform any person other than Halliwells  <br />> LLP or the addressee of its existence or contents.  If you have  <br />> received this email in error please delete it and notify Halliwells  <br />> LLP IT Department on 0870 365 2500.<br />><br />> For more information about Halliwells LLP visit www.halliwells.com.<br />><br />><br />> ------------------------------------------------------<br />> View/reply at <a href=http://www.adobeforums.com/webx?13@@.59b4a370/0><br />> Replies by email are OK.<br />> Use the unsubscribe form at <a href=http://www.adobeforums.com/webx?280@@.59b4a370!folder=.3c060fa3 <br />> > to cancel your email subscription.

  • Flex compiler not using GlobalOptimizer.java?

    hello:
          I dived into the source of the flex compiler and I found that in the package adobe.abc in the Flexsdk/modules/asc/src/adobe/abc.
         as I just use the asc.jar to compile an actionscript file, with the -o2 option on, I found that it optimizes my program well!!
         however, when I read the source code of the mxmlc, I found no sign that the bytecode generated was optimized?why doesn't the compiler use the GlobalOptimizer? is the optimizer not yet completed or just as It did , but I haven't fount it?
         and in the GlobalOptimizer.java, what is the Plugin?
         any suggestions or references are appreciated.
         Thanks!!   ^_^

    I figured out the problem.  You have to Export the release build for the project and use that version of the swf.  I was using the version built by default when you work on the project.  Don't quite know what the difference is, but it works now.

  • Flex Compiler Error

    If I have a project in Flash Builder 4.6 that uses a specifc (custom) SDK name, that same project will see an error when you attempt to import it into Flash Builder 4.7. The project folder will show an X, indicating the original SDK cannot be found. Furthermore, when you try to correct this issue by going to Properties > Flex Compiler it just shows an error message. It should allow you to simply select the SDK for this project but due to the SDK conflict, it improperly removes ALL options to change the SDK and, instead, gives a text error message. This means it cannot be imported at all.
    There are two solutions to resolve this:
    1. You must go back to FB 4.6, assign the project an SDK known in both FB 4.6 and FB 4.7 (such a 4.6.0), resave it in FB 4.6 then import it again in FB 4.7 (where the SDK is recognized)
    2. You must import the custom SDK in FB 4.7 BEFORE you attempt to import the FB 4.6 project that uses it.
    Again, what needs to be fixed:
    FB 4.7 needs to properly provide the Flex Compiler section where the user can change the SDK. It needs to provide this screen even if there is an SDK conflict where FB cannot find the original SDK used for the project.

    Hi Jason, I was not able to repro the issue. Does this happen with the latest beta. Can you attach the project file?

  • Why do you need to go about linking to services-config.xml in your flex compiler

    Why do you need to go about linking to services-config.xml in
    your flex compiler when you want to do remoting. It just seems like
    a complicated way to do things.

    Yeah I find this perplexing as well. I'm guessing it has something to do with Opalis origins perhaps.
    Would be good to understand why.

  • [Solved] How to specify -source and -target=1.5 in Compiler settings

    Hi forum
    I'm looking for a way to get my generics-based code to compile in JDeveloper 10.1.3.1. As you know, generics require "-source=1.5" and "-target=1.5", but I have not been able to get JDeveloper to compile with this setting. I am using javac as compiler and has checked "Use javac", but if I specify "Default" in the "Source" option, JDeveloper compiles with "-source=1.3" and "-target=1.2", and there's only 1.2, 1.3 and 1.4 in the list to choose from apart from "Default", not 1.5 for some reason.
    Changing Compiler settings under "Default project settings" doesn't seem to do anything, it stills compiles for 1.3 when choosing Default - which of course means, that my generics won't compile, as it complains about wrong -source setting.
    Can someone help me out here? I've done a search here on the board without finding the answer.
    Thanks,
    Jacob

    My about-box reads:
    "Studio Edition Version 10.1.3.1.0.3984"
    "Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984" (arrgh, please make an option to copy/paste this...)
    Have you accidentally switched 2 ciphers, Frank? By the way, I found the reason for this - I had set the "J2SE version" under "Libraries" to "1.4.2_06" earlier to make sure about 1.4.2 compatibility - but since we soon don't need this any longer, I'm switching this value to 1.5.0 to be able to fully utilize 1.5 options in my code.
    So... I guess we can say, that this was my own fault.
    Thanks,
    Jacob

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

  • Tutorial for Eclipse/Flex Compiler Development?

    Hello,
    I cannot find any reliable information on setting up Eclipse with all the right plugins to modify the Flex Compiler.  http://www.darronschall.com/weblog/2005/08/setting-up-eclipse-for-flex.cfm  is too old, and the others are just unclear.
    If anyone could give me a hand that would be great.
    - Eclipse version Flex SDK Developers are using.
    - Required plugins (I'm on a Mac 10.5)
    - How to run a sample Flex SDK Compiler project, or debug it or something, or at least just load it.
    I have everything set up (eclipse installed, the flex source installed and ready according to the developer documentation).  But this last step is missing.  Thanks!
    Lance

    I wouldn't switch if you want to do .NET / SQL Server
    development. Most people on Macs who do SQL Server development
    either use a remote server or run it in a Windows Virtual Machine.
    Important programs are available for both OSes, but without
    knowing which ones you use it's hard to say whether you just need
    to install the "mac version" or whether you'd need to install a
    brand new one.

  • Flex Compiler Name

    Hi,
            Please any one tell me the name of flex compiler for version 3.2
    Thanks & Regards,
    Jayagopal.

    There is also a variant called compc. You use mxmlc to make a SWF and compc to make a SWC.
    Gordon Smith
    Adobe Flex SDK Team

Maybe you are looking for

  • Is there a way to add a Hyperlink to ONE WORD in a large group of text?

    I am a beginner with adobe muse but I can't seem to find a way to make one word in a group of text a hyperlink. Do I have to make a separate text box then make that a hyperlink? I did try that but upon export the one word would be in a different spot

  • Mini diplayport to vga wont work on projector

    I can't seem to get a Keynote presentation to work on a projector.  I have a mini displayport to VGA adapter (Model: MB572Z/A) but can't seem to get a signal.  Any suggestions?  (MacBook Pro 17-inch, early 2009)

  • HT4993 does the Iphone 4s have or support active x

    does anyone know if the Iphone 4S has active X or support active X for online security camera viewing

  • RG1 Registers not updating fully

    Dear CIN gurus, RG1 register not updating full contents like opening qty  quantity  and closing balance qty  details. we are using ECC 6.0 Opening balance Quantity , Closing balance quantity are not coming automatcally.its appearing zero while downlo

  • Stalled Scrolling and Other Problems

    Redo because not only does my thread seem to have disappeared, but also I wanted to start afresh. First off, are my threads even showing up anymore? Usually I get fairly prompt replies, but my last couple of threads have gotten nothing. While I am so