actionscript 3 - Flex-Ajax Bridge issue on Safari -


My Flex project uses FA Bridge, and apparently in Safari Browser, I can not call any public AS functions, which are argued I for example, I call this AS function from Javascript I can:

  var myButton = CreateNewButton (); MyButton.setLabel ('Click Here');  

But if I try to call it this way at a time like this:

  var myButton = CreateNewButton ('click here');  

In the above call safari, Safari throws an error # 1063 (i.e. the calculation of the mismatch) in the JavaScript console, and points to the 561 line in Fowbridge.JS. It seems that I did not get the required parameters.
The above questions are now available on Safari. Both of the above methods work on IE, Firefox and Chrome browsers. Note: I am not using swfObject to embed my SDF.

This would probably be better as a comment than reply ... but I do not have popularity For this I think ....

I had a similar problem with bridging calls through JS. After a lot of experimentation, I found out that the HTML document type was problematic. Some browsers will not just give those calls, if they do not like the doctor type, or you are missing out on one completely.

I ended up until I found no one who used to work well all the browsers I was tested. If I remember correctly, then it was:

   

Cheers!

/ P>

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -