July 10th, 2008
Just a note… I spoke to Choudary Kothapalli over at MaintainJ, Inc. and he said they are looking into supporting ActionScript… If they do (Hint: write to them and ask them to) the round about way described below won’t be necessary.
If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!
Posted in ActionScript | No Comments »
July 3rd, 2008
Well, in the course of time, I’ve found a round about way of UML Class Mapping of ActionScript 3.0 projects…
Here’s how it goes…
- Convert your AS3 files to Java (you can use the J2AS3 app that the guys over at PhysicsDev have made and provide for free I might add…give them a round of applause please
).
- Get a copy of Visual Paradigms Smart Development Environment (plugin for Eclipse). The “Standard Version” is the lowest price version you can buy that has the [”Reverse engineer source code or executables to class diagrams using Instant Reverse feature”] feature and it costs $299 without any maintenance contract. NOTE: If you know of a free application that will do the same thing…please chime in! and save people $300.
- Open the folder you saved all the files in from step one and then click “Instant Reverse” from the “Modeling” drop down menu at the top menu bar. Then select Java as the language and your done.
Viola’… you now have a visual representation of your classes in any given project. It makes it much easier to see what you need to do when making decisions and for maintenance.
I must add that I don’t think it will be long before someone builds an app specifically for this purpose and if they add AS3 code generation, we’ll be REAL happy.
If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!
Posted in ActionScript, Java | No Comments »
July 1st, 2008
How would you like to be able to serve streaming video files from your desktop computer? Ok, I agree, probably not the safest thing… and now with hosts like inflexus offering $9.95/mo Flash Media Server hosting, why would you??
But if you’re just that kind of developer and you just have to try it to make sure you can do it… well then you’re in luck.
First of all, you can view a decent tutorial by Dan Florio on how to set things up. The only problem with the tutorial is his explaination of the folder system (I suggest reading the readme.txt file as it (at least in my opinion) is very clear and easy to implement. I found his explaination leaving me with more questions than answers…
Also, when he shows you how to set up your application so you can have people access your streaming video from any web host, he fails to mention that you have use your public IP address (if you want anyone to be able to view it from anywhere on the net).
He shows you how to view it from over the net, but from your own network, so when you try to have others (in locations other than your own network) they will not be able to load it.
You can get your public ip by going to ipchicken.com , you would use this IP in the application you actually deploy on the web.
As far as licensing goes, you can do it, you just can’t have more than 10 concurrent connections, which for development purposes, you probably wouldn’t anyway.
If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!
Posted in AIR, Flash Media Server, Flex | 7 Comments »
June 27th, 2008
Ok, I am LAME…. Here is the CORRECT destination configuration ( in the proxy-config.xml ) to make the webservice work from within Flex using the WebService tag plus LiveCyle Data Services ES…
<destination id="amazon" adapter="soap-proxy">
<properties>
<url> http://webservices.amazon.com/AWSECommerceService/
AWSECommerceService.wsdl
</url>
<soap>http://soap.amazon.com/onca/soap?Service=AWSECommerceService
</soap>
</properties>
</destination>
I was calling the <url></url> above, <wsdl></wsdl>... and I had not inlcuded the <soap></soap> at all since I thought Flex Framework did that all by iteself….once I changed it to <url></url> and added the <soap> tag, everything worked fine.
I hope this helps other flex developers, as I found almost zilch online.
If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!
Posted in AIR, Flex, Live Cycle Data Services | 6 Comments »
June 24th, 2008
Here is a letter I posted to a guy who wrote an app almost identical to what I just wrote.. and it is getting the same error I get.
Now before you tell me it’s a cross domain policy file issue, I checked and it seems amazon has a perfectly fine cross domain policy file in place (If I’m wrong here, plese let me know)..
Also, I’ve tried consuming the web service via proxy via the LiveCycle Data Services ES server I have on my machine and it also generates an error that the destination will not allow the wsdl url (even though I tried using the EXACT wsdl url as the destination url)…
The app loads and when I do a TraceTarget to explore the network traffic, I can see the the wsdl loads, but when I try to call any operation I get the security error….
###########################################
I noticed your demo applications [ http://www.flextense.net/asset/example/amazon/AmazonWebServiceDemo.html ] in the article you posted ( FleXtense Helps Flex Applications Access Web Services ) is generating a security error [ “Security error accessing url” ]. Were you aware of this and if so, have you found a solution? (other than using REST based protocol for AWS) ?? I just wrote an application to test out AWS and I’m getting the same error, as a matter of fact every flex demo app on the web that is using the WebService tag is generating that error… do you know what’s up??############################################Ok, well if there are any Flex developers around, please test it out and chime in. It will only take you about 20 seconds to set a web service up to test.
If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!
Posted in AIR, Flex, Live Cycle Data Services | No Comments »