Archive for the ‘Flex’ Category

Flash Media Server 3

Tuesday, 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!

Amazon Web Services Continued

Friday, 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!

Flex WebService with Amazon Web Services (AWS)

Tuesday, 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!

Flex is to ActionScript as ColdFusion is to Java

Thursday, May 15th, 2008

I was just thinking this morning… [ frightening, I know ] but anyway, I was thinking about ColdFusion and why some people don’t like it…and I think really it’s because they don’t get it.

If you’ve used Flex2 or Flex3, you know how EASY those MXML tags make writing ActionScript. I mean, if you understand ActionScript and have a good handle on the documentation and a little experience, you can write anything for the FlashPlayer in pure ActionScript and many people do. But if you’ve used Flex you know how EASY it is to write ActionScript code using MXML that compiles down to pure ActionScript.

Well, ColdFusion is really the same thing for Java. Does not all ColdFuion CF tags compile down to Java classes? So if you know Java, you “could” write the whole back end in Java, but why wouldn’t you use ColdFusion when it makes it so EASY??

And just like you can mix and match pure ActionScript code with MXML (in some predefined ways) you can mix and match ColdFusion with Java code (in some predefined ways).

Anyway, I know that is nothing new to most of you, but for relative newcomers like myself, it is like a beautiful awareness :-)

If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!

.SWF, .SWC, Lib Class Mapper…???

Thursday, April 17th, 2008

I deleted my orginal post becuase it was the ramblings of a madman. :-)  Ok, just a very tired man late at night.

I still want to explore an possible application that will allow one to extract class relationships from a swf file or swc file, or even class libraries. It would be based on the import statements and would show class relationships graphically. So what do you say?

If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!