Re: "http failed

2016-02-18 Thread OK
>php version is a good idea, >do you think this could cause http failed errors? Probably not... but it's worth to check it out. Most providers remove older php versions (currently less than 5.5.) after they reached end of life. http://php.net/supported-versions.php Olaf -- View this

Re: Where is my resource swf

2016-02-18 Thread Alex Harui
Well, that output looks like it is showing it loading from the server. On 2/18/16, 11:24 AM, "mark goldin" wrote: >I see in the Console that my resource file is getting built: >[SWF] /resource/en_US_resourceModule.swf - 112,982 bytes after >decompression > >but cannot

Where is my resource swf

2016-02-18 Thread mark goldin
I see in the Console that my resource file is getting built: [SWF] /resource/en_US_resourceModule.swf - 112,982 bytes after decompression but cannot find it anywhere. Where should I see it? Thanks

Re: http failed

2016-02-18 Thread Frank Dahmen
thanks, yes i read this post already, but than I read somewhere thar AIR has a default of 30sec timeout and got away from this solution...also because waiting > 30sec for a DB-query to return (not millions of rows) would not be a real solution but I will keep this in mind but, the provider

Re: http failed

2016-02-18 Thread Clint M
You might get this error if the remote object is timing out... possibly because the server is under too much load. It seems like someone is having a similar issue with a workaround by setting the connectTimeout and requestTimeout properties on the amf channel. Check the last post on this thread:

Re: http failed

2016-02-18 Thread Frank Dahmen
thanks, - no this version uses 2 or 3 year old sdk and AIR - it's the message of the FaultEvent in the eventlistener of the RemoteObject, can't say the whole text now (error not reproducable) "http failed" - yes, it worked, the app is in production phase for 2 years we will see with

Re: Problems referring to elements in s:Window using code behind pattern

2016-02-18 Thread Alex Harui
If an instance is state-dependent (includeIn, excludeFrom), then it might not be there at creationComplete, but otherwise it should be. Just as a test, try setTimeout and/or click a button that calls that code to prove it really is a timing issue. It could be something else. -Alex On 2/18/16,

AW: Problems referring to elements in s:Window using code behind pattern

2016-02-18 Thread Weber Jan
Hi Alex, thanks for your quick reply! The issue was resolved - just saw that the AS class was instantiated in the related code for creating the windows instead of the MXML. Stupid mistake, sorry for the inconvenience! Mit freundlichen Grüßen / Best Regards i.A. Jan Weber Software

Re: "http failed

2016-02-18 Thread Frank Dahmen
thanks, php version is a good idea, do you think this could cause http failed errors? i never saw this error before, every time there was an error with the requests(in my php files) it was "bad version..." error BUT all requests in the webserver log are status:200 so I really

Re: swfobject call flash function

2016-02-18 Thread Alex Harui
Which browser are you using? There are more and more browsers that refuse to run scripts for local (file:///) content. -Alex On 2/18/16, 4:00 AM, "agm65" wrote: >Hi, > >thx for the answer. With this call i am getting the same error -> >undefined. >It works now but only

Problems referring to elements in s:Window using code behind pattern

2016-02-18 Thread Weber Jan
Hello, we have a a project which makes use of the code behind pattern for MXML and AS files. The application has an AS class of type s:Window and an MXML file which is based on that AS class. Adding an EventListener "FlexEvent.CREATION_COMPLETE" in the constructor of the AS Window class and

Re: swfobject call flash function

2016-02-18 Thread agm65
Hi, thx for the answer. With this call i am getting the same error -> undefined. It works now but only on a server. thx -- View this message in context: http://apache-flex-users.246.n4.nabble.com/swfobject-call-flash-function-tp11991p12015.html Sent from the Apache Flex Users mailing

Re: State transition problem in FlexJS

2016-02-18 Thread kinjal patel
I have created a JIRA issue and also added a link of my demo project so you can check. https://issues.apache.org/jira/browse/FLEX-35033 This is the URL of my JIRA issue. -- View this message in context:

Re: http failed

2016-02-18 Thread Alex Harui
Well, what changed? Did you change the version of AIR? Or Flex SDK version? Is there an error code, or more text reported than just "http failed"? What is reporting the error? ActionScript code, the browser, something else? Should your remoteobject be using HTTP? -Alex On 2/18/16, 6:19 AM,

"http failed

2016-02-18 Thread OK
>could it be the AIR captive runtime?...but again it worked. Perhaps it might be a good idea to create a simple web or desktop app that consume this service to detect if this is an AIR issue or not. >but the app already worked over a year, the problems start occuring a >few weeks ago?? Has

Re: http failed

2016-02-18 Thread Frank Dahmen
thanks, but the app already worked over a year, the problems start occuring a few weeks ago?? not only here locally, mainly on the customers device (wlan and mobile network) could it be the AIR captive runtime?...but again it worked. Am 18.02.2016 um 15:14 schrieb Clint M: Could be

Re: http failed

2016-02-18 Thread Clint M
Could be quite a number of things... for example(s) 1. bad routing 2. bad wifi router 3. lost the connection for a few seconds because someone turns on a microwave that interferes with the wifi signal <-- this is a real thing ( https://support.apple.com/en-us/HT201542) On Thu, Feb 18, 2016 at

http failed

2016-02-18 Thread Frank Dahmen
Hi, not really a flex question but anyway, in an air mobile app with zend-amf backend i randomly get not reproducible "http failed" errors on remoteobjects, what could this cause this? I think it has to be the webserver or mysql server? (not internet connection, the error occurs also on wlan)

Re: swfobject call flash function

2016-02-18 Thread Andy Dufilie
swfobject.embedSWF() has another parameter for a callback function to be called when the swf is ready: https://github.com/swfobject/swfobject/blob/2.2/swfobject/src/swfobject.js#L647 Sent from my Android On Feb 17, 2016 15:17, "agm65" wrote: Hi all, i have problens

Re: swfobject call flash function

2016-02-18 Thread agm65
Hi, on button click. I tested several seconds after flash is shown. I am running out of ideas. Wait, it seems to work on a local server. But not locally eithout server, is that true? -- View this message in context:

Re: swfobject call flash function

2016-02-18 Thread Alex Harui
You are correct that the flash object and any callback may not be registered in time to be called from the JS. When is your document.getElementById getting called? -Alex On 2/17/16, 11:25 PM, "agm65" wrote: >Hi, > >thx for the answer. This is the as3 part of my app. >

Re: State transition problem in FlexJS

2016-02-18 Thread Alex Harui
Please file a bug at [1] with a small test case. Thanks -Alex [1] https://issues.apache.org/jira/browse/FLEX On 2/17/16, 11:02 PM, "kinjal patel" wrote: >I have used state transition in my Project it runs well from FB(swf create >successfully) but when i create