Here are some tips on troubleshooting from the client side, data request issues via network calls that may be failing for you:
In main the flex application add the TraceTarget component which will log client side networking calls (in and out) to the flashlog.txt
Basically just add this to your flex app anywhere in the main mxml page:
Then when you run the flex app, if you are running in the debug Flash Player (which you can check here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507), you will generate info in the flashlog.txt (which on windows should be located here: C:\Documents and Settings\{username}\Application Data\Macromedia\Flash Player\Logs\)
If you don’t have the debug Flash Player you can get it from here:
http://www.adobe.com/support/flashplayer/downloads.html
(Note you can upgrade to a higher version# of the flash player, but if you are trying to install debug player with the same version number over top of the release player, that won’t work. You’ll have to uninstall the Flash Player first. The uninstaller can be found here:
http://kb2.adobe.com/cps/141/tn_14157.html)
More info on flashlog.txt:
http://livedocs.adobe.com/flex/3/html/logging_04.html
(including where to find the flashlog.txt on other platforms.)
More info on TraceTarget:
http://livedocs.adobe.com/flex/3/html/logging_09.html
No Comments »
Pre-release versions of Adobe AIR 2.0 (runtime and SDK) and Flash Player 10.1 were released on Adobe Labs.
Complete information available here:
http://blogs.adobe.com/air/2009/11/adobe_air_2_beta_now_available.html
http://labs.adobe.com/technologies/flashplayer10/
http://labs.adobe.com/technologies/air2/
And to skip right to the interesting bits:
Get the Flash Player 10.1 here: http://labs.adobe.com/downloads/flashplayer10.html
Get AIR 2.0 here: http://labs.adobe.com/downloads/air2.html
By far the most exciting functionality for me is the multitouch functionality. In fact, I pretty much coincided my purchase of an HP Touchsmart tx2 laptop with the release of AIR 2 and Flash Player 10.1, just so I could dive into this new and exciting feature! (By the way, good prices on Amazon for these devices!)
To be sure, you’ll see some future blog posts on this blog regarding this new functionality after I have digested these cool looking sample apps on Adobe Labs
http://labs.adobe.com/technologies/air2/samples/#flash
that demo this functionality.
1 Comment »
***********************************
(For Flash Player 9.0.124 and Flex 3)
***********************************
Basic scenario: I have a webservice, wsdl and crossdomain.xml file in a secured directory (using basic authentication) in one domain and my app.swf is on a different domain.
I want to call a webservice from my app.swf without a proxy, so what are the potential pitfalls?
Read the rest of this post»
6 Comments »
Earlier this week I was helping a customer trouble shoot a webservice crossdomain.xml issue.
I pointed him to a blog post I published a while ago as a reference on how to code webservice stuff in actionscript instead of mxml:
http://flexmonkeypatches.com/flex-webservice-with-auto-repeat-and-increasing-timeout/
I was a little embarrassed to find that my sample didn’t work anymore.
The code was fine and the app worked when the swf was run from Flex Builder (thus avoiding sandbox security issues). I hate saying “do as I say and not as I do”, so I decided to took a closer look.
Read the rest of this post»
No Comments »
I came across this link/doc and thought it would be good to post it to my blog so it is easy for me to find:
http://www.adobe.com/go/policyfiles
http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html
This details the crossdomain.xml format, tags and options and what they all affect.
-Kyle
No Comments »
Just downloaded and installed Google Chrome (http://www.google.com/chrome) and was happy to find that the flashplayer runs fine. I did nothing. I assume it is using the same player that I have installed for Firefox – debug WIN 9,0,124,0 since I am running the release version of that in IE. WOOT!
Javascript intensive sites do seem a little faster, but of course that is just anecdotal based on my few minutes of using Google Chrome.
-Kyle
5 Comments »
Recent Comments