VideoEvent error in Flex 4.5.1

Hi....
     While working ahead with Flex 4.5.1, I found an error in VideoEvent.But this works properly in Flex 4.5.0.19786.
     I changed mx.events.VideoEvent to  flash.events.VideoEvent to solve this error.still the error occur.Can anyone please help to solve this issue...
    thanks in advance........

were you able to get this to work in 4.5.1?

Similar Messages

  • AudioElement causes an error in Flex 4

    Greetings,
    A few days ago Ryan and Brian helped me to patch the problem wtih importing video into Flex by using the 'loadForCompatibility' flag.
    This morning I ran into similar problem with audio: the SWF that uses simplest OSMF player plays fine in the Flash CS5 and in the standalone FlashPlayer. Once I import the SWF into Flex 4, even with the SWFLoader flag 'loadForCompatibility' set to 'true', I get this error:
    Here is the code for the simplest audio player class (by the way, for some unclear reasons getter/setter didn't work, so for the test case I had to set the variable as 'public' ):
    package
    import flash.display.Sprite;
    import org.osmf.media.MediaPlayer;
    import org.osmf.media.URLResource;
    import org.osmf.elements.AudioElement;
    public class LightAudioElement extends Sprite
    public var audioPlayer:MediaPlayer;
    public function LightAudioElement(aSource:String)
    var resource:URLResource = new URLResource(aSource);
    var audioElement:AudioElement = new AudioElement(resource);
    audioPlayer = new MediaPlayer();
    audioPlayer.media = audioElement;
    audioPlayer.autoRewind = true;
    And here is the code for the SWF:
    import LightAudioElement;
    import flash.events.MouseEvent;
    var snd:LightAudioElement = new LightAudioElement('assets/Test.mp3');
    snd.audioPlayer.autoPlay = false;
    //Standard Button component dragged on the stage for this quick test
    sndBtn.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(event:MouseEvent):void
    if(snd.audioPlayer.playing)
    snd.audioPlayer.stop();
    else
    snd.audioPlayer.play();
    Once again, it works fine in both Flash CS5 and standalone FlashPlayer, but produces an error in Flex 4. I'm on OS X 10.6.3, the Flex SDK 4.0
    Thanks in advance for any suggestions,
    FTQuest

    Hi,
    First, and foremost. As Brian Riggs - who is ultimate authority on the subject - has said:
    I'd advise against replacing Flex's OSMF.swc with the latest one.  The reason is that the Flex SDK integrates with OSMF APIs from a much earlier sprint, and in the latest OSMF SWC many of these APIs don't exist anymore (due to renaming).
    And that's what I take seriously.
    Yet, out of curiosity, and for the sake of exploration I took my chances and did replace the version of the OSMF that is shipped with the Flex 4.0 release with the latest - 0.95.
    So far, all the functionality that I need - single player, multiple players, compiled in Flash, compiled in Flex, playing in synch, or alternating - seems working fine, including access to various events.
    Let me repeat: this is NOT a suggestion; just mere sharing of experience, and it comes at a cost - you should use your versions of video player, i.e. built in that latest version of OSMF. The Spark VideoPlayer (or VideoDisplay) give you compile time error I mentioned before - TimeDimension.
    Just FYI,
    FTQuest

  • 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

  • How to avoid  specified is out of bounds error in flex 4 mxml web application

    how to avoid  specified is out of bounds error in flex 4 mxml web application
    hi raghs,
    i  want to add records in cloud.bt while adding the records if we enter  existing record details and try to save again na it wont allow to that  record.
    that time the alert box  should show this msg "This record is already existing record in cloud database.
    ex:  one company name called mobile. i am adding a employee name called raja  now i save this record,its data saved in     cloud DTO
      again try to add same employee name raja under the same compny means it should through error.
    I am give my code here please if any suggession tel.
    CODE:
    private function saveRecord():void
                refreshRecords();
                model.employeeDetailsReq=new EMPLOYEEDETAILS_DTO();
                    var lengthindex:uint=model.employeeDetailsReqRecordsList.length;
                    var i:int;
                    for (i = 0; i < lengthindex; i++)
                    if((model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employ ee name==customerdet.selectedItem.employeename)&&
                          (model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employeeN    umber==customerdet.selectedItem.employeeID)){
                        Alert.show("you cannot Add Same CustomerName and Invoiceno again");
    (when this line come the error through like this: Index '8' specified is out of bounds.
    else
    var dp:Object=employeedet.dataProvider;           
    var cursor:IViewCursor=dp.createCursor();
    var employeename:String = employeename.text;
             model.employeeDetailsReq.employename = employeename;
    model.employeeDetailsReq.employeeNumber=cursor.current.employeeID;
    var sendRecordToLocID:QuickBaseEventStoreRecord = new
                        QuickBaseEventStoreRecord(model.employeeDetailsReq, new
                            KingussieEventCallBack(refreshList))
                    sendRecordToLocID.dispatch();
    <mx:Button   id="btnAdd" x="33" y="419" enabled="false" label="Add" width="65"   fontFamily="Georgia" fontSize="12" click="saveRecord()"/>
    employeename and employeeID are datafields of datagrid. datagrid id=customerdet
    employeeDetailsReqRecordsList---recordlist of save records
    Thanks,
    B.venkatesan

    I do not know for sure as to how to do this, but I found this on Adobe Cookbook
    http://cookbooks.adobe.com/post_Import_Export_data_in_out_of_a_Datagrid_in_Flex-17223.html
    http://code.google.com/p/as3xls/
    http://stackoverflow.com/questions/1660172/how-to-export-a-datagrid-to-excel-file-in-flex
    http://wiredwizard.blogspot.com/2009/04/nice-flex-export-to-excel-actionscript.html
    This has a demo that works
    http://code.google.com/p/flexspreadsheet/

  • PHP errors in flex

    I have an application in PHP and I'm using Flex for the
    front. I was wondering how I could transfer information about
    errors to flex from php.
    So, the questions I am asking are:
    What does Flex's HTTPService consider a fault?
    Is there a way to write a general wrapper function to manage
    httpservices? I tried but flex won't allow me to assign a function
    call to the event listener, only a function.

    Probably HTTP error codes. You can use the same function in
    multiple HTTPServices. If you don't care which one of the
    HTTPService thru the error, just use the same function when you
    declare the faulthandler for the HTTPService.

  • File not Found Error in Flex APP-MDI

    Hi Friends,
    In my Flex APP-MDI application  have error.Th error is given blew.How can i solve this problem,please any one help to me.
    Error:
    File not found: file:/C:progmfiles/AdobeFlashBuilderBeta2/amdiBasicExample_1_1_1/bin-debug/amdiBasicExamp le.html
    Thanks,
    Magesh R.

    You would do better to ask this in the developer forum, not the user forum.

  • XML Parsing error in Flex

    Hello Experts,
    I am passing a XML document form the Java to Flex using Remote Object.  My XML is as follows
    <root>
    <dept ID="1" Name="RND"
        <Emp ID="1" Name="Aj"/>
    </dept>
    <dept ID="2" Name="ENG">
    <Emp ID="1" Name="Aj"/>
    </dept>
    <dept ID="3" Name="MECH">
        <Emp ID="1" Name="Aj"/>
    </dept>
    </root>
    In Flex i am trying to access using below code
         treeData = event.result as XML;
         deptTree.dataProvider = treeData;
    I am getting the below exception and
    [RPC Fault faultString="org.w3c.dom.DOMException : INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. " faultCode="Server.Processing" faultDetail="null"]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
        at mx.rpc::Responder/fault()
        at mx.rpc::AsyncRequest/fault()
        at NetConnectionMessageResponder/statusHandler()
        at mx.messaging::MessageResponder/status()
    When i tried creating this XML locally and tried to access then i didn't faced any issue.
    Please help me to resolve this issue.
    Thanks in advance.
    Aj

    Hi
              I think this will help u
    DOMException.INVALID_CHARACTER_ERR (Error Code  5)
    W3C DOM Level 1
    A DOMException.INVALID_CHARACTER_ERR is thrown  whenever an                         invalid or illegal character is specified, such  as in a name.
    NOTE: Names in XML  can contain                         English letters (of any case), numbers (0-9),  underscores (_), periods(.)                         and hyphens (-). Names cannot begin with a  number, period or hyphen.                         Names can also contain a colon, but the use of  colons outside of namespaces                         should be avoided.
    XML for <SCRIPT> uses the following  regular expression to determin                         if a name is valid:
    /^[a-zA-Z_:][a-zA-Z0-9\.\-_:]*$/
    Example:
    function xmljsDOMExample() {
    var xml;
    xml = ""
    + "<?xml version=\"1.0\"?>"
    + "<ROOT>"
    + "<TAG1>"
    + "Hello"
    + "</TAG1>"
    + "</ROOT>";
    //instantiate the W3C DOM Parser
    var parser = new DOMImplementation();
    //load the XML into the parser and get the  DOMDocument
    var domDoc = parser.loadXML(xml);
    //get the root node
    var docRoot = domDoc.getDocumentElement();
    //The following should raise a  DOMException.INVALID_CHARACTER_ERR
    //because element names cannot contain the  "*" character
    try {
    domDoc.createElement("***");}
    catch (e) {
    if (e.code ==  DOMException.INVALID_CHARACTER_ERR) {
    //display the error message
    alert(parser.translateErrCode(e.code));
    else {
    alert("unexpected exception");
    alert(e.code);
    }// end function xmljsDOMExample

  • Error in Flex at the time of Value Help

    Dear All,
    While I am creating Value Help then this error shows if deployed.
    "Error in compiling swf for Flex 2 application. Consult log file for details."
    What should I do?
    Regards,
    Santanu

    Hi Santanu,
    Which version of Visual Composer are you using?
    From the description of the problem it sounds like 7.0 (04s) version and not CE (7.1 and above).
    If that is the case, you should try to ask about this in the [VC 7.0|SAP NetWeaver Visual Composer; forum.
    Best regards,
    Tal.

  • Error In Flex.....

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:fx="library://ns.adobe.com/flex/mx"
    layout="vertical" width="100%" height="100%"
    initialize="initApp()" >
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.controls.Alert;
    import sap.FlashIsland;
    [Bindable]
    public var childname:String;
    [Bindable]
    public var dateofbirth:Date;
    [Bindable]
    public var placeofbirth:String;
    [Bindable]
    public var mothersname:String;
    [Bindable]
    public var fathersname:String;
    [Bindable]
    public var doctorsname:String;
    [Bindable]
    public var hospitalname:String;
    public function initApp():void
    FlashIsland.register(this);
    public function sendSubmit():void
    childname = chnm.text;
    placeofbirth = pob.text;
    mothersname = mn.text;
    fathersname = fn.text;
    doctorsname = dn.text;
    hospitalname = hn.text;
    FlashIsland.fireEvent(this,"newsel");
    ]]>
    </mx:Script>
    <s:BorderContainer id="parent3" x="12" width="1010" height="614" borderVisible="false">
    <s:Image x="0" y="-1" width="968" height="188" scaleMode="stretch"
    source="@Embed('file:///C:/karnam GV/images/Picture2.png')"/>
    <s:Label x="96" y="13" color="#FCFAFA" fontFamily="Georgia" fontSize="29" fontStyle="italic"
    text="Kolkata&#xd;Municipal&#xd;Corporation"/>
    <s:Image x="10" y="11" width="83" height="105"
    source="@Embed('file:///C:/karnam GV/images/kmc.jpg')"/>
    <s:BorderContainer id="b3" x="38" y="124" width="877" height="489" backgroundColor="#F9F9F9"
       chromeColor="#EFEFEF">
    <s:BorderContainer id="b31" x="10" y="10" width="200" height="276"
       backgroundColor="#D4D4D4">
    <s:Label x="29" y="10" width="125" height="24" color="#AD393E" fontFamily="Georgia"
    fontSize="16" fontStyle="italic" text="Birth Certificate"
    verticalAlign="middle"/>
    <s:RichText x="10" y="46"
    text="Birth certificate serves to &#xd;establish the date and fact of &#xd;one's birth for a whole range of&#xd;purposes like acquiring right to &#xd;vote, admission to schools and&#xd;other government services, &#xd;claiming the right to marry at the&#xd;legally permissible age, &#xd;settlement of inheritance and&#xd;property rights and obtaining &#xd;government issued identity&#xd;documents like driving licence&#xd;or passport"/>
    </s:BorderContainer>
    <s:BorderContainer id="b32" x="10" y="294" width="200" height="186"
       backgroundColor="#D4D4D4">
    <s:Label x="54" y="6" width="80" height="24" color="#AD393E" fontFamily="Georgia"
    fontSize="16" fontStyle="italic" text="Quick links" verticalAlign="middle"/>
    <mx:LinkButton x="-4" y="33" width="121" label="&gt; Download forms" textDecoration="underline"/>
    <mx:LinkButton x="-3" y="52" width="190" height="23"
       label="&gt; Death certificate registration" textAlign="left"
       textDecoration="underline"/>
    <mx:LinkButton x="-3" y="71" width="178" height="22"
       label="&gt; Status of availed services" textAlign="left"
       textDecoration="underline"/>
    <s:Label id="message" />
    </s:BorderContainer>
    <s:BorderContainer id="b33" x="218" y="10" width="651" height="467"
       backgroundColor="#F0EEEE">
    <s:Label x="10" y="14" color="#AD393E" fontFamily="Georgia" fontSize="15"
    fontStyle="italic" fontWeight="bold" text="BIRTH REGISTRATION"/>
    <s:BorderContainer x="31" y="37" width="398" height="391" borderVisible="false">
    <s:Image x="-19" y="-16" width="45" height="39"
    source="@Embed('file:///C:/karnam GV/images/one.png')"/>
    <s:Form x="3" y="0" width="395" height="381">
    <mx:Label x="30" y="49" fontFamily="Arial" fontSize="15"
    text="Child name" />
    <mx:TextInput id="chnm" width="220" height="18" contentBackgroundColor="#FFF9F9"
      text="{childname}" />
    <mx:Label fontSize="15" text="Date of birth"
    x="30" y="78"/>
    <mx:TextInput id="dob" width="220" height="18" contentBackgroundColor="#FFF9F9"
      text="{dateofbirth}" />
    <mx:Label x="30" y="107" fontSize="15" text="Place of birth"/>
    <mx:TextInput id="pob" width="220" height="18" contentBackgroundColor="#FFF9F9"
      text="{placeofbirth}" />
    <mx:Label x="30" y="138" fontSize="15" text="Mother's name"/>
    <mx:TextInput id="mn" width="220" height="18" contentBackgroundColor="#FFF9F9"
      text="{mothersname}" />
    <mx:Label x="30" y="169" fontSize="15" text="Father's name"/>
    <mx:TextInput id="fn" width="220" height="18" contentBackgroundColor="#FFF9F9"
      text="{fathersname}" />
    <mx:Label x="30" y="169" fontSize="15" text="Doctor Name"/>
    <mx:TextInput id="dn" width="220" height="18" contentBackgroundColor="#FFF9F9"
      text="{doctorsname}" />
    <mx:Label x="30" y="169" fontSize="15" text="Hospital name"/>
    <mx:TextInput id="hn" width="220" height="18" contentBackgroundColor="#FFF9F9"
      text="{hospitalname}" />
    <mx:Button id="Btn1" label="Submit" alpha="1.0" chromeColor="#6C0C0C"
       click="sendSubmit()" color="#FCFBFB" fontSize="14"/>
    </s:Form>
    </s:BorderContainer>
    </s:BorderContainer>
    </s:BorderContainer>
    </s:BorderContainer>
    </mx:Application>
    I have Given Code like this...no errors ...when i did export release build im getting some errors like...
    TypeError: Error #1006: getResourceBundle is not a function.
    at sap::FlashIslandLoader$cinit()
    at global$init()[D:\depot\_build\tc\wd.flex\NW730CORE_SP_COR\src\_flashislands_custom\script \sap\FlashIslandLoader.as:7]
    at sap::FlashIsland$/register()[D:\depot\_build\tc\wd.flex\NW730CORE_SP_COR\src\_flashisland s_custom\script\sap\FlashIsland.as:29]
    at bc/initApp()[C:\Users\c5158344\workspace\bin-debug\bc\src\bc.mxml:34]
    at bc/___bc_Application1_initialize()[C:\Users\c5158344\workspace\bin-debug\bc\src\bc.mxml:7 ]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at mx.core::UIComponent/set processedDescriptors()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent .as:1871]
    at mx.core::Container/createComponentsFromDescriptors()[E:\dev\4.5.1\frameworks\projects\mx\ src\mx\core\Container.as:4196]
    at mx.core::Container/createChildren()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Conta iner.as:3189]
    at mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\ UIComponent.as:7624]
    at mx.core::Container/initialize()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Container .as:3131]
    at mx.core::Application/initialize()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Applica tion.as:1049]
    at bc/initialize()
    at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\4.5.1\frameworks\projects\fra mework\src\mx\managers\systemClasses\ChildManager.as:189]
    at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.5.1\framework s\projects\framework\src\mx\managers\systemClasses\ChildManager.as:359]
    at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:3063]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.5.1\frameworks\projects\fra mework\src\mx\managers\SystemManager.as:2849]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.5.1\frame works\projects\framework\src\mx\managers\SystemManager.as:2729]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \preloaders\Preloader.as:542]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    How to Resolve this ..Can Anyone help me...

    please repost it to Flex forum - http://forums.adobe.com/community/flex

  • Urgent requirement : security error accessing url and http error: standalone flex

    Hi,
    I have a requirement to create record from standalone flex. I am using Flex builder 3.
    I used Flex-force toolkit to login  to salesforce. The swf file generated when used internal to salesforce it works great.
    But my requirement is to run it from public sites page / standalone pages. How will I configure it? I am getting error 'security error accessing url', default HTTP
    The requirement is on priority, please help me to resolve this issue.
    The login code is also furnished below. please help.
    Full error details:
    (com.salesforce.events::ApexFaultEvent)#0
      bubbles = false
      cancelable = true
      context = (null)
      currentTarget = (null)
      eventPhase = 2
      fault = (mx.rpc::Fault)#1
        content = (null)
        errorID = 0
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        message = "faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP'"
        name = "Error"
        rootCause = (flash.events::SecurityErrorEvent)#2
          bubbles = false
          cancelable = false
          currentTarget = (flash.net::URLLoader)#3
            bytesLoaded = 0
            bytesTotal = 0
            data = (null)
            dataFormat = "text"
          eventPhase = 2
          target = (flash.net::URLLoader)#3
          text = "Error #2170: Security sandbox violation: file:///C|/Users/R/DOCUME%7E1/FLEXBU%7E1/TESTLO%7E1/BIN%2DRE%7E1/TESTLO%7E1.SWF cannot send HTTP headers to https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829."
          type = "securityError"
      headers = (null)
      message = (mx.messaging.messages::ErrorMessage)#4
        body = (null)
        clientId = "DirectHTTPChannel0"
        correlationId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
        destination = ""
        extendedData = (null)
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        headers = (Object)#5
          DSStatusCode = 0
        messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
        rootCause = (flash.events::SecurityErrorEvent)#2
        timestamp = 0
        timeToLive = 0
      messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
      statusCode = 0
      target = (null)
      token = (mx.rpc::AsyncToken)#6
        message = (mx.messaging.messages::HTTPRequestMessage)#7
          body = "<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="urn:partner.soap.sforce.com"/><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>uname</username><password>pwdandsec token</password></login></se:Body></se:Envelope>"
          clientId = (null)
          contentType = "text/xml; charset=UTF-8"
          destination = "DefaultHTTP"
          headers = (Object)#8
            DSEndpoint = "direct_http_channel"
          httpHeaders = (Object)#9
            Accept = "text/xml"
            SOAPAction = """"
            X-Salesforce-No-500-SC = "true"
          messageId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
          method = "POST"
          recordHeaders = false
          timestamp = 0
          timeToLive = 0
          url = "https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829"
        responders = (Array)#10
          [0] (::SalesForceResponder)#11
        result = (null)
      type = "fault"
    Login code:
    [Bindable] public var sfdc:Connection = new Connection();
    private function login():void {
    Security.loadPolicyFile("http://salesforce.com/services/crossdomain.xml");
    var lr:LoginRequest = new LoginRequest();
    lr.username = "uname";
    lr.password = "pwdtoken";
    sfdc.protocol = "https";
    sfdc.serverUrl = "https://login.salesforce.com/services/Soap/u/14.0";
    lr.callback = new AsyncResponder(loginSuccess, loginFault);
    sfdc.login(lr);

    This is resolved.
    I have copied the crossdomain.xml file to tomcat Root folder
    and the issue is resolved.

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

  • Security error in flex,sockets

    Hi,
    I have a chat application in flex  using sockets.
    It works fine on Flash player 9, but while uisng flash player 10 , prompts the following  error
    Error: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048"]
    whats wrong?? iam  keep searching througth the web for a solution…  …Im using .Net framework 2.0 for socket server
    and flex 2

    Hi George,
    I'm pretty sure I know the cause of your security sandbox problem.
    In the move from Flash Player 9 to 10, Adobe increased the security constraints on sockets. As you might already know, when you use HTTP to connect to a server other than the one from which your SWF was downloaded, the Flash Player requires that a Cross-Domain Policy file be served up from the root of the target server. Prior to FP10, this constraint also existed for sockets as well, but since FP10 the requirement is more stringent: if you are using sockets to connect to an "un-trusted" server, then you will still need a Cross-Domain Policy file, however that policy file must also be served up through sockets.
    In other words, you will need to set up and run a socket server on the server you are connecting to, in order to serve up the appropriate XML document through port 843 (by default). This socket server can be implemented in any number of ways, but I use a Java socket server that Thomas over at LessRain has posted on their blog. You can find it here: http://www.blog.lessrain.com/as3-java-socket-connections-to-ports-below-1024/
    Good luck,
    Taylor
    4Point Solutions Ltd.
    http://blogs.4point.com/taylor.bastien/

  • 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

  • Error installing flex builder 2 plugin

    I'm getting an error when I try to install the flex builder 2
    into my copy of eclipse version 3.2.1.
    Here is the log:
    !SESSION 2007-03-13 14:10:12.087
    eclipse.buildId=M20060629-1905
    java.version=1.4.2_12
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -application
    org.eclipse.update.core.standaloneUpdate -command install -from
    file:\C:\Program Files\Adobe\Flex Builder 2
    Plug-in\com.adobe.flexbuilder.update.site/ -featureId
    com.adobe.flexbuilder.feature.core -version 2.0.155577
    Command-line arguments: -application
    org.eclipse.update.core.standaloneUpdate -command install -from
    file:\C:\Program Files\Adobe\Flex Builder 2
    Plug-in\com.adobe.flexbuilder.update.site/ -featureId
    com.adobe.flexbuilder.feature.core -version 2.0.155577
    !ENTRY org.eclipse.update.core 4 0 2007-03-13 14:10:17.197
    !MESSAGE Duplicate conflicts

    Yes I tried that to work around my problem Flex Builder
    crashing. My Eclipse 3.3 install works fine, Flex Builder will not
    even start. The plug-in installer would not get past that same
    screen, I downloaded 3.2 and it installed fine, I assume it checks
    the version and 3.3 is not supported.

  • Advanced Datagrid error in Flex 2

    Hi,
    I copied the source of Advanced Datagrid and the related
    classes from Flex Moxie SDK into my personal project and changed
    the package name etc. wherever required. Now I don't get any
    compile time error. But I get runtime error as
    TypeError: Error #1007: Instantiation attempted on a
    non-constructor.
    at com.resources::ResourceManager$/getInstance()
    at com.controls::AdvancedDataGrid$cinit()
    at global$init()
    at FinalADG/::_AdvancedDataGrid1_i()
    at FinalADG$iinit()
    at _FinalADG_mx_managers_SystemManager/create()
    at mx.managers::SystemManager/::initializeTopLevelWindow()
    at mx.managers::SystemManager/::docFrameHandler()
    Is there anybody from Adobe to help me??
    Thanks in advance.

    Hi John,
    Sorry, we do not officially support this.
    Is there any particular reason why you cannot using the
    AdvancedDataGrid directly (or derive from it)?
    Thanks,
    Swaroop

Maybe you are looking for

  • PLease help me to configure

    Hello Friends, I need your help to configure my voice setup.I have two location connected with a point-to-point leased line. Both the ends have different brand pbx installed. One is connected with R1 with the help pf a T1 voice card and Other is conn

  • Folders are not visible in BEx Portfolio tab of Save As popup window

    Hi All, when I try to save a report in BEx Web Analyzer by open Save As popup window, I can't see any folders in neither of Favorites, BEx Portfolio nor My Portfolio tabs, even though I've created some directories in "/documents/Public Documents" for

  • How do i re-open my tabs when i re-open firefox

    when ive worked on firefox and i close the program, then when i re-open i would like the previous tabs opend again

  • Safari Version 4.0.3 (5531.9) page load loop

    This happens on most of the web sites I visit. Safari seems to think the page is not completely loaded, even though it is! and displays the grey loading message indefinitely. Not a big deal, just wondering. I miss the snapback feature and the blue lo

  • How to remove birthday or set it as privacy not pu...

    I've tried to set Birthday to  DD/MM/YY, after saved and refresh the page, it's still shows my birthday on public information. I can't edit my personal information, why? Solved! Go to Solution.