iPhone dev…trying to start again

Friday, December 26th, 2008

I find that I learn better through how-to guides as oppose to piecing it together.  So, I have a couple of books by my side that I’m going to try to work with to build a very rudimentary, but somewhat interesting iPhone app.  It might just be a throw away gag app, but I want to publish it in the App Store.  Wish me luck!

A few things notes about the curent iPhone from one of the books:

Screen size : 480 x 320 pixels

Physical RAM:  128 MB

iPhone Cocoa Touch does not support garbage collection

Cocoa Touch has build-in mechanisms to let your app know that memory is getting low

Testing from TextMate

Wednesday, June 6th, 2007

I’m really enjoying using TextMate for my coding and will now try with my infrequent blog posting. :)
Go here to get the TextMate Blogging Bundle.

Read the rest of this entry »

Flash and Internet Explorer ActiveX focus issue

Saturday, February 24th, 2007

I’ve been doing most of my development on the Mac these days so I haven’t touched Internet Explorer. I’ve also been avoiding general HTML and been using Flash because dealing with browser incompatibilities makes my head spin. So who would have thought that there might be a slight user interface issue regarding Flash and IE?

If you publish your .swf and .html, Flash puts in the necessary OBJECT and EMBED tags in there for you. This works in all browsers EXCEPT for IE on Windows. OK, it doesn’t necessarily render your Flash movie unusable, but it does require that the user click on the Flash movie BEFORE you can actually interact with it. Here’s the Adobe article that explains it and contains a Javascript fix. It’s an annoyance for the user or the the user might think that the Flash movie is broken. The fix requires two Javascript libraries and a call to one of the the functions to embed your movie so that you don’t get see that weird behavior in IE for Windows.

Now, if you are passing GET style parameters to your flash movie inside your EMBED and OBJECT tags, you’ll have to modify one of the functions to accommodate these parameters.Add this in AC_RunActiveContent.js:

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
...
switch (currArg){
case "GET_parameters":
ext = ext + "?" + args[i+1];
break;

...

}

So, if you want to pass two parameters to your Flash movie, greeting and foo, now your javascript call will look like this instead:

AC_FL_RunContent('GET_parameters','greeting=hello&foo=bar','codebase',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0',
'width','320','height','240','src','test_flash_movie','quality','high',
'pluginspage','http://www.macromedia.com/go/getflashplayer',
'movie','test_flash_movie' ); //end AC code

Audacity and disappearing Flash 8 Pro sound

Thursday, December 28th, 2006

I was working in Flash 8 Professional on my new MacBook Pro (Core Duo) running 10.4.8 when all of a sudden no sounds play in my development environment.  I test in my browser and the sound works!  I try it again in my Flash 8 Pro, and no dice.  It had my frustrated for a couple of days until I found this article with a section entitled Disappearing Quicktime Sound in Audacity’s wiki.  I tried their solution of running Garage band an voila! all is normal again.  How wacky.  I hope others that are experiencing the problem find this blog entry so they won’t have to go through what I went throug.  Ugh!

What superhero am I?

Friday, July 7th, 2006

Your results:
You are The Flash

The Flash
90%
Superman
80%
Green Lantern
80%
Spider-Man
65%
Robin
65%
Supergirl
65%
Hulk
60%
Wonder Woman
55%
Iron Man
55%
Catwoman
40%
Batman
35%
Fast, athletic and flirtatious.


Click here to take the Superhero Personality Quiz