Flex/AMFPHP App NOT working in IE but works in FireFox...

Hello I am beginning to develop Flex applications. I am
working with PHP in a Symfony environment.
The error below was appearing before in FireFox but
disappeared after I uninstalled the Flash Player plugin and
reinstalled the Flash debug player for FireFox. I also uninstalled
the IE Flash Player and replaced it with the Flash debug player for
IE (i believe it comes with Active X). I have the exact same
version of Flash player for both browsers, 0.0.47.0). This is the
error:
[object RemotingConnection]
Error #2044: Unhandled NetStatusEvent:. level=error,
code=NetConnection.Call.BadVersion
at sample/initApplication()
at sample/___Application1_creationComplete()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
Again this error was appearing in FF before but now ONLY on
IE. The same error arrises if I try to open the SWF file localed in
the bin/ directory in the Flex project. My flex project is located
on my Desktop and the server I am trying to connect to is on a
Linux box. AGAIN, this project displays the data perfectly on FF
but NOT on IE. It just displays several rows from a DB table in a
datagrid in Flex.
I have no idea how to approach this! Here is my ".mxml" file:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns="*" creationComplete="initApplication()">
<mx:DataGrid dataProvider="{phpData}">
<mx:columns>
<mx:DataGridColumn headerText="User ID"
dataField="userid"/>
<mx:DataGridColumn headerText="User Name"
dataField="username"/>
<mx:DataGridColumn headerText="Email Address"
dataField="emailaddress"/>
</mx:columns>
</mx:DataGrid>
<mx:Script>
<![CDATA[
[Bindable]
public var phpData:Array;
import flash.net.Responder;
public var gateway:RemotingConnection;
public function initApplication():void
gateway = new RemotingConnection("
http://project_dev_environment/web/backend_dev.php/gateway/amfphp");
gateway.call("Sample.getUsers", new Responder(onResult,
onFault));
public function onResult(result:Array):void
trace(phpData);
phpData = result;
public function onFault(fault:String):void
trace(fault);
]]>
</mx:Script>
</mx:Application>
Here is the required ".as" file:
package
import flash.net.NetConnection;
import flash.net.ObjectEncoding;
public class RemotingConnection extends NetConnection
public function RemotingConnection(sURL:String)
objectEncoding = ObjectEncoding.AMF0;
if (sURL) {
connect(sURL);
public function AppendToGatewayUrl(s:String):void
I have given a differnt URL because this is an internal
application and wont be accessible by outside users.
Again, this app works when loaded on FF but not IE! HELP
please I have been trying to figure this out since 7 am this
morning and I'm desperate!
Just FYI AMFPHP is set up correctly, although its version 1.2
- could this be causing problems?
Please, PLEASE help me! or at least a hint. Thank you!

Hey Tikis,
There are a few factors that could be throwing this thing
through a loop. I've had this exact same thing happen to me once
before and the culprit for me was that my crossdomain.xml file
wasn't 100% perfectly formed. Apparently Firefox didn't care enough
and went on with it's life however IE decided it wasn't going to
read it and I received that error, so that would be the first thing
I would check.
The next thing is what version of PHP are you running on the
server, it seems to me that the newest release of 5.2.2 is throwing
this error more often then ever before, something I might suggest
is upgrading to AMFPHP 1.9. RemoteObjects natively send data in
what's called the AMF3 format which is much speedier then it's
predecessor of AMF0. Only AMFPHP 1.9 has the ability to receive /
send the data back in AMF3 format, where as with the 1.2 version
it's sending the call, converts it down to AMF0 sends the data (at
a slower pace) and generates a result. The other advantage to being
able to use AMF3 is having true type casted results such as if PHP
returns a number you can check it by if(event.result == 0) where as
AMF0 everything is converted into a string and then sent back to
Flash / Flex. So aside from all of these advantages the last one is
less code, you no longer need to use the RemotingConnection to
convert everything down to AMF0. I would make a copy of amfphp on
your linux of the 1.9 version and send the remote object at that
first and see what happens, if you are still receiving the same
error then the problem lies in something else.
Hope this helps.

Similar Messages

  • Flex 3 App not working in with ColdFusion 9

    We have a Flex 3 application that uses flash remoting to connect to ColdFusion.   This app was working great with ColdFusion 8,  but will not work after installing ColdFusion 9.
    I am looking for any suggestions on what I might look for to fix this issue.

    Hey Tikis,
    There are a few factors that could be throwing this thing
    through a loop. I've had this exact same thing happen to me once
    before and the culprit for me was that my crossdomain.xml file
    wasn't 100% perfectly formed. Apparently Firefox didn't care enough
    and went on with it's life however IE decided it wasn't going to
    read it and I received that error, so that would be the first thing
    I would check.
    The next thing is what version of PHP are you running on the
    server, it seems to me that the newest release of 5.2.2 is throwing
    this error more often then ever before, something I might suggest
    is upgrading to AMFPHP 1.9. RemoteObjects natively send data in
    what's called the AMF3 format which is much speedier then it's
    predecessor of AMF0. Only AMFPHP 1.9 has the ability to receive /
    send the data back in AMF3 format, where as with the 1.2 version
    it's sending the call, converts it down to AMF0 sends the data (at
    a slower pace) and generates a result. The other advantage to being
    able to use AMF3 is having true type casted results such as if PHP
    returns a number you can check it by if(event.result == 0) where as
    AMF0 everything is converted into a string and then sent back to
    Flash / Flex. So aside from all of these advantages the last one is
    less code, you no longer need to use the RemotingConnection to
    convert everything down to AMF0. I would make a copy of amfphp on
    your linux of the 1.9 version and send the remote object at that
    first and see what happens, if you are still receiving the same
    error then the problem lies in something else.
    Hope this helps.

  • I just but a app not working how get money back

    i just but a app not working how get money back

    You've tried deleting and redownloading the app via the Purchased tab in the App Store app on your device, and tried contacting the developer ? If you have and the developer can't/won't help then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Mosip app not work in wifi for i phone6 but it work mobile data

    mosip app not work in wifi for i phone6 but it work mobile data

    I don't know, you'll have to talk to MoSIP about it...
    See MagicJack and Google Hangouts for more up-to-date apps regarding iPhone VoIP.

  • TS1702 facebook and facetime app not working on my ipad3,ihave reinstall it 3 times but no success

    facebook and facetime app not working on my ipad3,ihave reinstall facebook app 3 times but no success and fbapi error domain occurs,facebook works properly on safari

    Ok, this is what I figured out after 4 hours of testing. Restoring as a new device didn't help for me. Also hard reset, re-installs, unchecking and checking all notification options did not help. I installed facebook messenger but also this program did not have notifications (all my other notifications work.....)
    As my wife deactivated her account I made up a new test account and logged in on my Iphone 4S. Surprisingly this new account had no notification problem at all. The problem is I had been testing with messages all along (and not with reactions on wall posts). It now turns out that all works fine on my original account except for notifications of private messages (or you can call them chat messages). They will simply not work on my original account but work perfectly on my new test account.
    The only difference between the test account and the original acount is that I a have an active user account (FB is doing some testing with acttive users so that they receive lesse indicidual mails by gving those users the option (a check box) to receive overview mails) . See also http://socialsunil.com/facebooks-summary-email-feature-for-active-users/. Could this be the reason I do not receive private message notofications?
    I do not know but I definitely know this is an account problem and not an hardware or software problem. So to all of you try to log in with a different or test account to corner the problem. Please react on this post if you have a solution.

  • Office Web Apps 2013 - Word app not working on Sharepoint 2013 but Excel does

    Hi there!
    We had some problems with Office Web Apps 2013 not working with Lync, and the status of OWA was unhealty so we decided to install some updates for OWA.
    We have downloaded November 2013 update for OWA.
    We found out a guide for putting updates on OWA and done this steps:
    * Remove-OfficeWebAppsMachine
    * Installed the november update
    * Restarted OWA server
    * ran: New-OfficeWebAppsFarm -InternalUrl https://owasrv.domain.local -ExternalURL
    https://owasrv.domain.local -CertificateName "certname" -AllowHttp  -EditingEnabled
    * Restart-Service WACSM
    - checked in IIS in the bindings if the site useses the correct certificate
    Then we went on Sharepoint 2013 and ran some commands:
    * Remove-SPWOPIBinding –All:$true
    * New-SPWOPIBinding -ServerName owasrv.domain.local
    * Set-SPWOPIZone –zone “external-https”
    Now here are the funny things:
    * Excel word app on Sharepoint 2013 works
    * Word APP not working (screenshot)
    * Lync 2013 powerpoint still not working (screenshot)
    * status of OWA is healthy
    bostjanc

    Hi,
    The Friendly name field must be unique within the Trusted Root Certificate Authorities store.  In -CertificateName, enter the friendly name you gave your
    certificate earlier.
    Validate the configuration by navigating to the discovery URL of the Office Web Apps server.  Like
    https://xxx/hosting/discovery
    Meanwhile, the issue is related to Lync, I recommend to you to post the question on Lync Server for further discussion via the link below.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ocsclients
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction
    with us. Thank you for your understanding.
    Tracy Cai
    TechNet Community Support

  • Problem with new version 4.3.2 apps not working " after update to the new version "

    Problem with new version 4.3.2 apps not working " after update to the new version "
    i was in 4.3.1 then i do the update , but now after update i face this problem , so what i Supposed to do ?!!

    Hi There
    Had the same problem as you. App would terminate when launched.
    Solution to working You Tube app:
    -Go to playstore
    - Uninstall app (it doesn't remove the app, only removes the update)
    - "Et Voila", working again.
    This doesn't correct the problem, it's just a workaround for you to be able to use youtube app again.
    Hope it helped.
    Best Regards

  • Default Mail app not working with yahoo mail. Won't update.

    Default Maill app not working with Yahoo Mail.
    It stopped working the other day. I tried everything but it wouldn't update new mail. The yahoo account itself is fine because I can see new mail on Yahoo or a yahoo app.
    I tried deleting the account and putting it back on, but now it has 0 mail in any part of it. Nothing has synced.
    What do I do?
    iPad 2 latest OS.

    A lot of people have been unable to access Yahoo e-mail on their iPhones or iPads. My wife’s iPad was not downloading Yahoo mail, although her iPhone was. Both used IOS 8.2. We tried deleting the account several times and troubleshooting all of the other settings. The problem appears to have been that allowing the IOS to automatically create the account on the iPad resulted in the wrong settings for the incoming server. The following procedure, pieced together from two websites, fixed the problem for us. So far, so good.
    https://portal.smartertools.com/kb/a2659/configure-imap-for-iphone-or-ipad.aspx
    https://help.yahoo.com/kb/mobile-mail/imap-server-settings-sln4075.html
    On the iPhone, tap Settings.
    Tap Mail, Contacts, Calendars.
    Tap your Yahoo account, then delete it.
    Tap Add Account.
    Tap Other.
    Tap Add Mail Account.
    Complete the Name, Address (email address), Password and Description fields.
    Click Next.
    Ensure IMAP is selected.
    Enter the following incoming mail server information:
    Incoming Mail (IMAP) Server - Requires SSL
    Server: imap.mail.yahoo.com
    Port: 993
    Requires SSL: Yes
    Hostname is mail.yahoo.com.
    Username is your full email address
    Password is the same password used to access webmail.
    Enter the following outgoing mail server information:
    Outgoing Mail (SMTP) Server - Requires SSL
    Server: smtp.mail.yahoo.com
    Port: 465 or 587
    Requires SSL: Yes
    Requires authentication: Yes
    Username is your full email address
    Password is the same password used to access webmail. It may have been entered for you.
    Tap Next.
    The iPhone will establish an SSL connection to your IMAP and SMTP servers.
    That’s all!

  • CC desktop app not working on Win 8.1

    Creative cloud desktop app not working in win 8.1. The window is blank, only the header is visible. I've tried reinstall and shut down ESET firewall, but nothing is working. I use the same plan in work on win 7 and it's ok. Please help, maybe some Win 8.1 update? An by the way, when I update my CC app, everything on my desktop disappear and I must reboot system to fix it, this is not normal as well...
    Thanks for answer
    Radek

    I've found the answer...sorry for questionig it again :-)

  • Java apps not working right

    I lately have found problems with Java apps not working correctly. For example, in Yahoo Widgets I cannot get any widget preferences to display; in Apple's Java Preferences for J2SE 5.0 the preference window opens but is blank; and in JBidwatcher the buttons are missing in main and preference windows.
    When I log in as another user I find all those apps work properly, so it seems to be something wrong within my User folder. I tried reinstalling the Java J2SE50ReIease4 but it didn't help. Is there something I can delete and/or reinstall to fix this problem?

    Ditto here,
    I made the mistake of thinking I could throw away the preferences in the Java folder and new pref's would automatically replace the missing pref's, much to my surprise no such thing happened. My settup is the same as yours, except my OS is 10.4.8.
    Someone please help.
    Thanks,
    BJZTX
    G5 D2GHz   Mac OS X (10.4.7)   G4 Notebook 10.3

  • Youtube app not working "error tap to retry" on ipad 4. Tried holding home button and off together and delete and download agin both didn't work

    Youtube app not working "error tap to retry" on ipad 4. Tried holding home button and off together and delete and download agin both didn't work

    Oh phooey. I had the same problem, so I decided to delete and reinstall. Only to discover that Google's YouTube app no longer supports anything below iOS 6. This is a problem since I'm running an original iPad.
    Yes, I realize that my version of iOS still has the old YouTube app. But it's not the same. For one thing there are a lot of ad-supported videos that will only play in the new app.

  • Why my app not work in new version, Why my app not work in new version

    I just update to new version software ios6.0 for my iPad, but I found that few of my apps downloaded before are not working now, how can I do now?

    Lily yu wrote:
    Why my app not work in new version
    Ummm..I think that's obvious...the developer hasn't updated them to work with iOS 6

  • Reminder app not working

    My reminder app not working on my ipad mini. It would let me add reminders but it won't keep it. It automatically erases any reminder i put in. Also it wouldn't let me add any list. I just noticed it today. I also tried to reset it but it wouldn't help. Any ideas about this?

    No I'm not syncing my calendar. I tried to reset (like your instructions) just now, I also tried going to setting to reset it but so far it still not working. Any alternative?

  • Many apps not working after upgrade

    I have a lot of apps not working after upgrade even apple's remote, splash id etc... Anyone else or is it just me?

    I had trouble with MPR, but since it's free, I just deleted it and reloaded it directly from the App store onto the phone. It had an upgrade, too, that must have clashed with the 2.2 upgrade. Once I did the download, it was fine.

  • NBCSN Live Extra App not working

    I have prime TV subscription. When I tried to watch Live Extra app on my IOS devices it says "i do not have TV subscription", but same channel working fine on TV, just apps not working, cant watch other Premier league games, i do to reach out app developers they say if error message says "no subscription" then its from your provider, reach out FIOS customer support, they do not even know NBCSN LIVE EXTRA is free app for subscribers. Please help to fix this issue. 
    Thanks

    This problem still exist, will FIOS help to solve this issue, becasue App developer saying its not from their side.They told to contact Provider.
    Thanks

Maybe you are looking for