Sunday, December 20, 2009

Wednesday, November 11, 2009

interesting

http://www.phplist.com/

Wednesday, October 14, 2009

flash cs4 use local help - copied from cached google of http://www.google.com.au/url?sa=t&source=web&ct=res&cd=2&ved=0CA8QFjAB&url=http%3A%2F%2Fevolve

So I previously posted about my hatred for the new help system inside of the CS4 products and begged for someone to find out how to get the old help panel back. While the following isn’t a complete solution to the issue, it is a lot better than having to go online all the damn time.

Jloa, a commenter on the previous post, pointed out that you can delete these files on the PC and you’ll get a local help panel:

C:\Program Files\Common Files\Adobe\Help\en_US\Flash\10.0_ExtendingFlash\helpmapBaseUrl.txt

and this one:

C:\Program Files\Common Files\Adobe\Help\en_US\AS3LCR\Flash_10.0\helpmapBaseUrl.txt

While that isn’t ENTIRELY true (because it’s not an actual panel inside of the IDE like it used to be, still a browser but a local copy) I couldn’t find these files on a Mac which is what I’m using. I did a little Googling for helpmapBaseUrl.txt (can someone tell me why when I put that into Spotlight it didn’t find anything..?) and found this article.

From reading that, I was able to locate the files on my file system in the following areas:

Macintosh HD/Library/Application Support/Adobe/Help/en_US/Flash/10.0_ExtendingFlash/helpmapBaseUrl.txt

and

Macintosh HD/Library/Application Support/Adobe/Help/en_US/AS3LCR/Flash_10.0/helpmapBaseUrl.txt

Instead of deleting the files (you never know when you’ll need them again), I just renamed them to helpmapBaseUrl_baq.txt.

I also found these two as well and renamed them, just to keep it all together:

Macintosh HD/Library/Application Support/Adobe/Help/en_US/Flash/10.0_UsingFlash/helpmapBaseUrl.txt

and

Macintosh HD/Library/Application Support/Adobe/Help/en_US/Flash/10.0_Welcome/helpmapBaseUrl.txt

Now when I launch Flash (you have to re-launch Flash, by the way, after you make these changes) and press F1 I get a browser window popping up but its a) much faster and b) local to my file system. You can see in the browser bar that the path starts with file:/// which means its running from your hard drive. From there, I go ahead and click on ActionScript 3.0 Language and Components Reference and I get a nice little window with all the information I’m looking for, fully searchable. You’re probably saying to yourself, “This is the same thing that I could get by just going here!” And you’re absolutely right. But notice the little subtle difference. Where is the Search field in the online version? There isn’t one! If you search the local copy, you get a nice list of results that include what you were looking for as well as other classes that relate or include that class.

While it’s not the ultimate solution like the CS3 help panel was, it is a lot more helpful than the garbage Adobe was shoving down our throats initially. Someone mentioned that there should be a preference setting for this, viewing the online version or the local one, which I totally agree with, but for now, this will have to do.

Wednesday, July 22, 2009

startup MySQL on mac

from
http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html

If you don't use the Startup Item, enter the following command sequence:

shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
(Enter your password, if necessary)
(Press Control-Z)
shell> bg
(Press Control-D or enter "exit" to exit the shell)

Import MS Access to MySQL

  1. need local PC running mysql
  2. get MySQL Migration toolkit for Windows
  3. import MS access and export to web/local machine
  4. using MySQL Administrator on PC backup the Database
  5. then you have an SQL just like phpmyadmin to go to web/mac

Tuesday, June 2, 2009

Joomla get rid of ugly category list

from this post
http://forum.joomla.org/viewtopic.php?f=428&t=273447

change
$category->link = JRoute::_(ContentHelperRoute::getCategoryRoute($category->slug, $category->section).'&layout=default');

to
$category->link = JRoute::_(ContentHelperRoute::getCategoryRoute($category->slug, $category->section).'&layout=blog');

and you end up with a blog layout from the section list

Tuesday, May 5, 2009

NOFX - Best god in Show Lyrics

I've no consideration,
zero mutual respect
For billions who suffer from
rational thought neglect
I don't wanna waste a sentence,
I don't want a convert-sation
That's gonna end in disdain,
disbelief and aggravation

And I find it's getting harder to hang out
With grown adults who actually believe
In Santa Claus and Noah's Ark
and that their god is the best
My distaste has turned into detest

Who would read a 2000
year old medical journal
Techniques for bloodletting,
advice on Trichinosis
Would you navigate the globe
with a map of a flat earth
Without DNA testing,
would you believe virgin birth

And I find it's getting painful to put up
With grown adults who actually believe
In Unicorns and Creation,
and God always takes their side
That's when my innocent jabbing turns snide

Thank God for the Grammy,
thank God for the touchdown
Thank God for blowing up
the enemy's sacred ground

So how am I supposed to take
anything you say seriously?
When you've swapped free will for faith,
how and pre-destiny

And it's getting agonizing to hang out
With grown adults who actually believe
Mythology and history
trump physics and science
My aversion has turned to abhorrence

Thursday, April 23, 2009

Hotham Accommodation

Maybe if I post it here I'll finally get around to doing it properly
http://www.hothamaccommodation.com/


My site for integrating the various booking systems, yet to be finalised.

Sunday, April 12, 2009

Watchout for addListener onEnterFrame issue

don't know why but don't put an onEnterFrame on a onLoadInit for a listener, at about 2500 frames things go screwy.... i.e. image loaded using the listener disappears when an onLoadInit is assigned using a onLoadInit.

Wednesday, March 11, 2009

Long range rainfall for south eastern Australia

Wetter than average conditions indicated for parts of South Australia and southwestern NSW March to May
http://www.bom.gov.au/climate/ahead/rain.seaus.shtml

Thursday, March 5, 2009

Nasty php session issue in IE6 & IE7

As discussed here
http://www.blog.lessrain.com/flash-nasty-xml-load-bug-in-internet-explorer/


if you are using https and calling sendandload in Flash to get variables using sessions IE6 and IE7 need to have the following headers

Immediately after session_start (), the following two lines are required:
header ("Cache-Control: cache, must-revalidate");
header ("Pragma: public");

Thanks canuckster and Adobe finally http://kb.adobe.com/selfservice/viewContent.do?externalId=fdc7b5c&sliceId=2

Tuesday, March 3, 2009

New site build - Scott Bolton

http://www.scottbolton.com.au/

design
http://www.designland.com.au/

Joomla build, with custom forms
http://www.epidote.com.au/

Flash and PHP sessions

Didn't dig to see why but trying to retrieve php session variables after a header location switch DOESN'T work when you just "test movie", but is fine in a browser....

Monday, February 16, 2009

Wednesday, February 11, 2009

Thursday, January 15, 2009