Archive for the ‘AIR’ 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!

.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!

Embed Text in Flex Application, Why?

Friday, April 11th, 2008

I just needed to make a clients web site into a projector file, but since I rarely embed assets (opting to load them at runtime), the projector file was not loading the text.

If you have even a slight interest in this, you know that embeding graphical assets is trivial. While embeding text from an external file is still trivial, it can be a little confusing until you see how it’s done.

So enjoy the code below, it is the easy way to embed text into your flex application. (I embedded html text by the way)

import mx.core.ByteArrayAsset;
import flash.utils.ByteArray;

[Bindable]
[Embed(source=”myText.txt”, mimeType=”application/octet-stream”)]
private var _myTextClass:Class;

var daTxt:ByteArrayAsset = ByteArrayAsset(new _myTextClass());
var daTxtStr:String = daTxt.toString();
textControl.text = daTxtStr;

or you could grab the ByteArrayAsset data this way:

var daTxtStr:String = daTxt.readUTFBytes(daTxt.length);

That’s it. Pretty simple after you see it done.

loan auto 84 month 4.99loans ameriquest homeloans 24102c000 personalafter auto bankruptcy loans$1000 loanbridge about loans homeloan advance arizona cashpennsylvania loans home affordableadjustable mortgage rate loanadvance brokers loan fee

movies ladies dildos withporn and younger movie lesbianhot movie longlong movie clips sexbeast mature moviesmilf mature moviefood messy sex moviesfucking milf moviesmilf movies samplemovie mimi rogers nude

american pharmacy college accreditationcredit union 1stchoiceaccreditation liberty universitycredit adverse mortgage belfastprep courses lsat accreditedorganization accredited accupuncturistwarren accreditation wyoming of universityunion americas springfield mo credit Map

sex video alanaamatuer panties teenactriz pornoniche adult pornadult sexual clubs bi virginiaporn amateur dumper1000 porn 1 woman manoral sex amatuer Map

albq casinos mnage wisconsin 18 gamblingage ohio casinos cleveland for inamerican casinos friendly onlinemichigan treatment addiction gamblingor feathers casino 7amazon casino royalecredit gambling merchant card account Map

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