Mac OS X - Tutorials and Articles

One of the best online invoince and timesheet apps

If you have small side jobs as I do from time to time, this is a really nice online invoicing application.
There’s a free account for small businesses (1-3 users).

Picture 4

Picture 5

It also comes with a desktop widget for Mac and Window users.
http://www.paymo.biz/

Flash and SEO. Why not?

Google learns to crawl Flash
Google has been developing a new algorithm for indexing textual content in Flash files…
Source: http://googleblog.blogspot.com/2008/06/google-learns-to-crawl-flash.html

How to SEO Flash
•    Search Engines and Flash
•    Requirements for Successful Use of Flash
•    SEO Flash Programming
•    Example: Making Flash Home Page Spiderable
•    Scalable Inman Flash Replacement
Source: http://www.hochmanconsultants.com/articles/seo-friendly-flash.shtml

Here are a few comments on this topic from SearchEngineGuide.com:
“Stoney, You hit the nail on the head and pounded it down with one stroke. I completely agree, I have turned down clients in my own business due to flash sites. Now that I am with an agency I find Flash more common, as many of the businesses are big enough and niched enough where they feel that they don’t need SEO for their website. Oddly enough they are often right. Unfortunately SEO can have a big effect on PPC marketing, and most of these accounts suffer from bad keyword quality scores and thus higher click costs in AdWords.”

“Susan: I disagree slightly. Mostly because it all comes down to the intent. Building a flash only website for Ozzy Osbourne is fine, but e-commerce is not. I think you know what I mean”

“ Working on seo for hotel sites, I’ve come across some stunning creative sites designed with Flash. If the designers had thoughtfully used the Flash applications to “wow” site visitors, ie embedding in otherwise SE-friendly pages, it could be a win-win situation.
Perhaps all of you have seen the June info about making Flash SE-friendly. ( http://googleblog.blogspot.com/2008/06/google-learns-to-crawl-flash.html )”
Source: http://www.searchengineguide.com/stoney-degeyter/why-i-still-wont-seo-flash-websites.php

And from SearchEngineJournal.com:
“Disney does it. And so does Oprah. Even my favorite pizza place does it…  Granted these are extreme cases of sites which use flash extensively, but there are other cases where even a little flash can be improperly used. There are also cases where flash is not only appropriate, it is recommended. The question then becomes how to best use flash without affecting search engine rankings”

“Yeah this article doesn’t help a bit. I thought after reading I would be able to find a solution for my all flash website for seo purposes. Thefwa.com is an all flash website, they rank no.1, they didn’t follow your mumbo jumbo about not using too much flash” (Note from Alex: TheFWA.com does not rank no.1. They rank 31,905. Still not bad for an all flash site.)
Source: http://www.searchenginejournal.com/flash-and-seo-using-flash-on-websites/2247/

Cool online tool that will probe a flash file:

http://www.flashprobe.com/

AS3 access root from loaded swf

In the root path of your external swf file, defined an object that represent the root path of the container swf.

var rootObj:Object=this.parent.parent.parent as Object;

How to trigger a button click in AS3

I know you could do this vary easy in AS2 just by calling the myButton.onClick(); function. But, we all know with AS3, there is much more code to write.

This will give you a trace of “hi world” just as if you clicked the button in actionscript 3:

myButton.addEventListener(MouseEvent.CLICK, onClick);
myButton.myVar = "hi world";

function onClick(e:Event = null):void {
trace(e.target.myVar)
}

myButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));

How to batch convert WMV to quicktime for iTunes

  1. Open Automator in the application folder on the Mac.
  2. Files & Folders > Get Selected Items
  3. Moves > Export Movies
  4. Save As an application. Select your audio files in the Finder and drag them to your new Automator application.
  5. This will export them to m4v file format. It uses QuickTime with the help of Flip4Mac plug-in (you must download Flip4Mac first). That’s it.

Flash AS2 using setInterval and clearInterval as a timer

SetInterval comes in handy as a timers or to set time delays for action events. To stop the setInterval from repeating use the the clearInterval(myID) function using the id that you specified for the setInterval. See code sample below for a fully functional counter that ends after 4 seconds. Note that setIntervals time is in milliseconds. So 1000 = 1 second.

var count = 0;
var stopCount = 4;
myFunction = function (message) {
	trace (count +" "+message);
	count++;
	if (count >= stopCount) {
		count = 0;
		clearInterval (intervalID);
	}
};
intervalID = setInterval (myFunction, 1000, "Optional Message Passed");

Apple Computer, Inc., is an American multinational corporation

Apple with a focus on designing and manufacturing consumer electronics and software products. The company’s best-known hardware products include the Macintosh line of personal computers, the iPod line of portable media players, and the iPhone. Apple’s software products include the Mac OS X operating system, iTunes media browser, the iLife suite of multimedia and creativity software, and Final Cut Studio, a suite of professional audio- and film-industry software products. The company operates more than 200 retail stores in eight countries[3] and an online store where hardware and software products are sold.

Established in Cupertino, California on April 1, 1976 and incorporated January 3, 1977,[4] the company was called “Apple Computer, Inc.” for its first 30 years, but dropped the word “Computer” on January 9, 2007 [5] to reflect the company’s ongoing expansion into the consumer electronics market in addition to its traditional focus on personal computers. [6] Apple has about 28,000 employees worldwide[2] and had worldwide annual sales of US$24 billion in its fiscal year ending September 29, 2007. [1] For reasons varying from its philosophy of comprehensive aesthetic design to its distinctive advertising campaigns, Apple has established a unique reputation in the consumer electronics industry. This includes a customer base that is devoted to the company and its brand, particularly in the United States.[7] Fortune magazine named Apple the most admired company in the United States.[8]