Adobe CTO Kevin Lynch addresses the issue with Apple’s new iPhone TOS

Posted by brandonthedeveloper at April 9th, 2010

We intend to still deliver this capability in CS5 and it is up to Apple whether they choose to allow or disallow applications as their rules shift over time.

http://blogs.adobe.com/conversations/2010/04/cs5_countdown_is_on.html

Posted in Adobe, Apple| 1 Comment | 

AIR/Leopard Gotcha

Posted by brandonthedeveloper at November 8th, 2007

An AIR app I’m currently working on started having problems with downloading files but only on Leopard.

Here’s what I figured out – AIR applications that download files on Leopard only work if there are no spaces in the file name or the spaces have been ‘URL Encoded’ ( like: file%20name%20with%20spaces.jpg ).

Here’s my test case to see what I mean – DownloadTest.air

In my test case on XP, Vista and Tiger, either file will download as expected. On Leopard, “hungoversanta.jpg” will download successfully, while “hung over santa.jpg” will not. The tricky part is, a file with the name does get saved but it contains no data.

If you click the ‘Encode URLs’ button in the test case, it will do just that, encode the spaces in the url. Now both files will successfully download.

Here’s the quick work around I used – do a regex replace to encode the url strings like this:

var regex:RegExp = / /g;
var urlString:String = “my file with spaces.jpg”;
urlString = urlString.replace(regex,’%20′);
// returns “my%20file%20with%20spaces.jpg”

I hope this saves others from the few hours I spent trying to figure out this problem. If anyone knows of a ‘URL Encode’ utilty method, please let me know. I know that you can encode using the URLVariables class but that seems to be more geared at querystrings and not so much on entire URL Strings.

I’d love to hear if others have had this problem and if my theory/solution works for you.

Thanks! :)

Posted in Adobe, Air, Apple, Crap that doesn't work, Leopard| 1 Comment | 

Safari for PC

Posted by brandonthedeveloper at June 11th, 2007

uhhhhh … Why?

I think Safari is a swell browser and all but, “Safari on the pc?”. I don’t get the point. I just don’t see anyone saying, “man, I really wish I had another browser for my pc. I’ve only got like three right now. (I included Opera for the sake of argument)”. I guess being a developer having Safari on the pc will be good for testing as long as JavaScript/DOM and CSS render exactly the same as on the mac.

I don’t get it.
ps – This post was written on a mac. In Firefox.

Posted in Apple, Browsers, Safari| 5 Comments |