Sunday, February 27, 2005

Road Trip

Road Trip


Random thoughts of a pink-eyed road warrior

I had to drive to Texas and back this week. All part of moving home, it's a long story that I won't bore you with. But I had to drive 1300 miles in a couple of days, and my mind got to wandering a time or two ...


  • Why do you never see a police speed trap when it is raining?

  • Texas road kill - skunk, armadillo, hound dawg.

  • There are way too many Country radio stations in Texas to be considered healthy.

  • What's whith that Mexican music? It sounds like a mixture between Spanish and Bavarian ... Flamenco meets lederhosen, Spanish guitar meets oompah!

  • Ohh that Cajun stuff in Louisiana is just as odd.

  • So what do American road builders have against corners?

  • ... and why do they make the roads out of concrete and Teflon?

  • I hate cruise-control-induced synchronised driving. There is absolutely no sense in 'overtaking' another car ar the rate of 1 inch per fortnight!

  • Fountain drinks in gas stations. Amazing. A 3 pint 'cup' of Coke costs about $1.20. That's less than 75p in real money. I wish they would learn how cheap these drinks are in Britain, and then install them in service stations everywhere - and stop charging £3 (about $5.40) for one pint of the stuff in the pubs!!!!

  • What's with the temperature here??? 80 farenheit in February!

  • Is there really any need for those heeeeeeeeuuuuuuuge trucks just to go to Walmart?

  • Looks like CB radio technology here has not moved on 20 years ... they're still using Firesticks and k40s. Wow.

  • Why don't the police cars get a proper paint job over here?



    Police Volvo - UK motorway patrol colours



  • MacDonald's burgers really do taste the same everywhere.

  • Waffle House is the perfect on-the-road junk food!

  • There may be 12000 radio stations between Mississippi and Texas, but the ones that do not play Country seem to have only 12 songs that they share between them.

  • ... and about 237 adverts.

  • Armadillos really are ugly - but it sure seems hard to crush them.

  • You can smell a squashed skunk from about a mile away!

  • The trees are budding everywhere.

  • There seem to be little clumps of miniature Daffodils wherever I look.

  • The City of Martindale, Polulation 691. That's not a city, it's a friggin' hamlet!

  • But it has its own police force of 2 and they are hot on speeders! ... nothing else to do, and they need to earn their own pay somehow.

  • If you are ever in the region of San Marcos in Texas you must try Mamacita's
    mexican restaurant. They have a machine there in the restaurant that churns out fresh tortillas all day. Yummmmm. Fresh-baked tortillas. Oh heaven.

  • And the HEB store around the corner has the same. You can buy fresh hot tortillas all day.

Cold Fusion user group conference

Scotch on the Rocks


Cold Fusion user group conference, May 2005

I just got this notification about a Cold Fusion User Group in Edinburgh holding a conference in May 2005 ...


Scotch on the Rocks, May 26/27 Edinburgh University


The Scottish ColdFusion User Group is both proud and excited to announce a two day conference covering Macromedia ColdFusion MX 7.

Taking place in Edinburgh, Scotland on the 26th and 27th May, you are invited to join speakers, including representatives from Macromedia, Firstserv and InterAKT, as they present on why ColdFusion MX 7 is the fastest and easiest way to build and deploy Internet applications.

There will be a number of big prizes up for grabs, including a copy of ColdFusion MX 7 Standard, as well as an iPod. To top this off, each event attendee will go home with a gift, which will be included in their goodie bag.

As well as all the fun during the day, the Scottish ColdFusion User Group will take you on a pub crawl on both the Thursday and Friday nights, so prepare yourself for an almighty hangover.

Tickets for the event are 25(GBP), which covers both days attendance. Registration for the event will open soon.

More details including confirmed speakers, sponsors, as well as promotional documents including how to sponsor the event, can all be found at http://www.scottishcfug.com



Edinburgh is an absolutely gorgeous city. If you have not been there before you should use this conference as an excuse to go. Here's some photographs of Edinburgh that I took a couple or three years ago to help publicise EuroTAAC.

Saturday, February 19, 2005

How far into your own digital navel can you gaze

"How far into your own digital navel can you gaze?"


"Each of us populates a personal tech-bubble of one. Solo-tech-travelers often are unaware that others occupy the same dimensions as them -- that's why they often bump into others, in their cars or on foot."


D. Pravaz from the Seattle Post writes about how personal technology is isolating us from the rest of the world, instead of bringing us closer together like the adverts say they do ... you didn't believe what T-mobile said did you???

The article is both entertaining and thought-provoking. If you are obsessed with your iPod, PDA and camera phone(s) take a look in Pravaz'z mirror.

Wednesday, February 16, 2005

Testing Post and ReadURL

Testing Post and ReadURL


I needed to test some cfm calls, so I built a little tool


Whilst working with Cold Fusion and Authorware this week I discovered the need of a simple tool to test calls to cfm pages. I also realised that this same tool could be useful for ASP, php and any other TLA server-side-scripting page.

So anyway, I built a simple tool that can be placed on your web server and used to test your calls to the database or whatever without having to build your full Authorware application. I posted the tool on my Downloads page

http://www.tomorrows-key.com/downloads.asp

It's (at the time of writing) the first question:-



Q. How can I easily test my calls to Cold Fusion, ASP, PHP or any other web pages that enable communications between Authorware and a server and/or database over the web?

A. I built this test application that lets you quickly test PostURL and ReadURL code in Authorware (Post and Get in HTML form terms). It displays the pure text of the return from the server, so if the server returns HTML or XML or plain text, you see the exact contents of the return without any formatting.





Use this page to send any comments or feedback you have about the tool. Remember, it's free and as-is, so I make no promises of perfection, but I will make changes based on feedback to fix bugs or make improvements ... time permitting of course!

You could always make changes yourself and send them back to me too :-)

Cold Fusion and Authorware PostURL

Cold Fusion and Authorware PostURL


I discovered today that Cold Fusion pages act strangely with Authorware and PostURL if no parameters are sent

I have been working with a client over the last couple of weeks, setting up a simple tracking system using Cold Fusion pages to handle the communication between the database and Authorware.

We hit an odd situation where one specific call to one specific .cfm page failed to return anything to Authorware, and instead opened a new web page containing the expected return.

After a bit of digging about I discovered that the cause of the problem was that this particular call sent no parameters to the cfm page, yet was still using PostURL. I had set up a function in Authorware that used PostURL for all the database calls, and for security and consistency I did not want to change that.

The ultimate workaround was to send the following parameter when none were actually required

true=true

So the final call to the cfm page became something like

result:=PostUrl(NetLocation^"call.cfm", "true=true", 5)

Sunday, February 13, 2005

Scrolling RTF with hyperlinks

Have you ever tried to use scrolling RTF files with hyperinks?


Did you find that the RTF KO did not work as expected?

While teaching an Authorware class recently, one of my students pointed out that she had been unable to get the Insert RTF Object Hot Text Interaction to work correcly with scrolling RTF text. She asked if it were possible to get this to work using RTFObj.u32 functions.

After a little head scratching I came up with some working code that seems to do what she needed. You can try it out by downloading it from my web site

http://www.tomorrows-key.com/downloads.asp

Look for the question Q. How can I use RTFObj.u32 with scrolling rtf pages that contain hyperlinks?

Wednesday, February 09, 2005

Recorded Breeze presentations

Macromedia has released a number of recorded Breeze presentations


Something for everyone in this bundle of presentations

If you have never seen Breeze in action, you should take the time to look at at least one of the following presentations. Of course, you should look at them anyway if you want to get to know more about Macromedia's products.


Please note these are recordings of live presentations, lasting about an hour
each. Some of the presentations take a minute or two to get up and running.



  1. Shape Tweening in Flash MX 2004

  2. Cold Fusion 7

  3. Cold Fusion Forms

  4. Creating Raster Effects in Freehand

  5. Fireworks Best Practices

  6. Introducing the Flash Player Detection Kit

  7. Troubleshooting FTP issues in Dreamweaver

Cold Fusion MX 7

Macromedia has released Cold Fusion MX 7


And it's the ost customer-driven version yet

Unlike most other Beta cycles, Macromedia has been pretty public with the development of Cold Fusion 7. It seems like for months, everywhere I have turned I have seen Macromedia talking about the next release of Cold Fusion, showing what they are developing with it, and getting customer feedback before the product was completed and released.

Check out the Cold Fusion 7 Product Page.

And the Cold Fusion Developers Center has links to getting-started tutorials and loads more great information.



Sunday, February 06, 2005

Even the bar prices are a gamble

Here in Gulfport there are a number of Casinos


Last night we discovered even the bar prices are a gamble

Round 1, 3 drinks: Screwdriver, Bacardi and Coke, Heiniken, $4.75
Round 2, 2 drinks: Bacardi and Coke, Heiniken, $8.50
Round 3, 2 drinks: Screwdriver, Heiniken, $4.75
Round 4, 1 drink: Heiniken, $FREE!!!

I guess that's one way to get you to go to a casino more often :+)

Saturday, February 05, 2005

Stress relief

Stress relief


Can you resist this?

Feeling stressed? See if you can resist coming back to this more than once in the next week ...

Friday, February 04, 2005

Controlling Flash sound

Control the sound in Flash files embedded in Authorware


Someone was asking recently on teh Macromedia forums ...


... about controlling the sound in a Flash file embedded in Authorware. I noticed that Joshua Burkholder has a sample posted on his website that controls the Flash sound volume:-

http://www.geocities.com/joshuaburkholder/


You should check his examples out for some other cool code snippets too.

Opening a running Authorware file

Have you ever saved your Authorware file running?


Isn't it annoying trying to troubleshoot a file that automatically launches itself?

There are two ways to prevent your Authorware file from automatically launching when you open it in the Authorware editor.

The first, and best known, is to locate the .rec file for the Authorware file and delete it. Before Authorware 7 you would find this in

C:\WINDOWS\AnW_DATA

Where n is the Authorware version number,3, 4, 5 or 6.

Authorware 7 uses the current user's profile directory, so on Windows XP you should find it here

C:\Documents and Settings\{UserName}\Application Data\Macromedia\Authorware 7\A7W_DATA

where {UserName} is the current logged-on user's logon ID.

But there is a simpler way. When you launch the file hold down the left mouse button. Thanks to Jamil Zainasheff from Macromedia for sharing that gem on the Aware List.


Thursday, February 03, 2005

LMS testing

Local testing of LMS features with Authorware 7


Did you know Authorware 7 comes with an LMS emulator?

Use the LMS Emulator in conjunction with the LMS KOs, and access it through the Commands menu

Commands > LMS > Emulator

You see this dialogue:-

LMS Emulator Introduction screen

The opening screen points out, the emulator is a simulation of an LMS, not a full LMS. It uses the AICC-LAN protocol, and stores data in a local text file. Note that you can save time with the next step by loading values from a pre-defined default text file.

LMS Emulator - Set LMS Values screen

You can simulate your users' details and Lesson Location, Lesson Status, Score, Time and Lesson Data. These are the most fundamental fields utilised when tracking in an LMS.

LMS Emulator - Finish screen

When you are done setting up you can save your current settings to a default file, which can later be loaded back in via the Introduction screen shown above.

For full details on how to use this, see the technote Creating AICC and SCORM-Compliant Content with Authorware 7 on Macromedia's web site. The technote is written by Andrew Chemey who created the LMS KOs and the LMS Emulator.

Incidentally, if you like the free LMS KOs that come with Authorware 7, but find that they do not give you everything you need, you should consider purchasing the professional version of the KOs from AEC Consulting.

Wednesday, February 02, 2005

Memphis = rain

Memphis = rain


I went to Memphis today and all I saw was ...


rain, the inside of Burger King and the inside of the INS office.

As part of my goal of permanent residence and citizenship - make that duel British/US citizenship - I had to go to Memphis to get my fingerprints taken. 12 hours of driving for 10 minutes in the fingerprint lab .

So I can add Memphis to my list of US cities visited, but I don;t think it counts since I didn't get to visit Graceland or even Elvis Presley Boulevard.

Incidentally, apparently Elvis just racked up his 21st number 1 hit in the UK. And his third this year!

Monday, January 31, 2005

Controlling Captivate Movies

Controlling Captivate Movies


Jim Leichliter just posted the information we have all been waiting for ...


... on the Macromedia Authorware forum. I must confess that if I had taken the time to explore a Captivate movie I could have discivered this already, but ... well Jim is obviously a better man than I.

Here's what he had to say:-

In Authorware using the syntax:

CallSprite(@gotMovie, #GetVariable, "_root.rdinfoCurrentSlide")

Where "_root." can be prefixed to these listed variables:

rdinfoFrameCount
rdinfoSlidesInProject
rdinfoFPS
rdinfocurrFrame
rdinfoCurrentFrame
rdinfoCurrentSlide
rdinfoCurrentSlideInProject
rdinfoSlideCount
rdIsMainMovie

________________________
rdcmndGotoFrame
rdcmndResume
rdcmndPause
rdcmndPrevious
rdcmndNext
rdcmndRewindAndStop
rdcmndRewindAndPlay
rdcmndGotoFrameAndResume
rdcmndNextSlide
rdcmndInfo
rdcmndExit


The rdcmnd can control the Captivate movie by using the SetVariable syntax and providing a 1 (true) or 0 (false). For Example:-

CallSprite(@gotMovie, #SetVariable, "_root.rdcmdResume", 1)

will resume the Captivate movie after it has been paused.

Nice one Jim!!


Cognitive Impairment

Cognitive Impairment


We often talk about accessability for the disabled, like section 508 requirements, but what about cognitive impairment


I found a link to this article on cognitive impairment while poking around looking for something else - as you do.

It gives clear descriptions of the sorts of learning and comprehension difficulties you might encounter, and ways to make it easier for your users to absorb and understand your content. The methods described, and the code samples given, apply purely to web pages, as they are all HTML, CSS or JavaScript solutions, but we can easily apply the ideas and suggestions to our work in any tool.

This is one instance where I would like to reiterate my desire for the ability to control the look and feel of text in Authorware at runtime. Whilst we could fake the text changes suggested, it would be a lot of work. It would be great to be able to use code to dynamically highlight and/or underline text. In fact, if we were able to do this we might be able to modify some of the JavaScrip code tips supplied in the article above.


More on Authorware and XP SP2

More on Authorware and XP SP2


Get rid of the block on running local Authorware and other ActiveX controls

By now you should have read my other tips about running Authorware 7 web-packaged files locally. This one shouild help get rid of any lingering blocks on running files locally.

By default Internet Explorer in XP SP2 blocks all locally stored ActiveX controls and maybe some other stuff I don;t know about. This effects developers because we often need to test our work locally, and it kills things like Flash and Authorware. Actually it does not block them, but you do have to mess about with the little drop-down panel that appears at the top of the Explorer window as shown here.

Picture of IE security dialogue

If you don't want to see this any more, go to Tools > Internet Options and select the Advanced tab. Scroll down the dialogue until you see the option "Allow active content to run in files on My Computer". Make sure it is checked.

Picture of IE Advanced options

Oh I am in heaven!

Oh I am in heaven!


Finally, a decent Indian restaurant!!!!!

I have lived here in Mississippi since May 31st last year. 8 months. There are NO Indian restaurants here in Gulfport, or anywhere else on the Mississippi Gulf Coast so far as we have been able to discover. I am British. I am addicted to Vindaloo. I love Mexican food, but the Mexican restaurants here do not understand about HOT food, so it does not fill my craving. Can you imagine? 8 months without a decent curry.

OK OK I admit it, we found a great Indian restaurant in Pheonix when we were there on honeymoon, but still, it's been 5 months since then.

By the way, when I say HOT I mean that first mouthful causes your heart to jump in fear! Gimme a good Indian Vindaloo and I am a happy (if slightly sweaty) man :-).

So on Saturday Amy and I went to New Orleans (N'orl'ns to the locals) with friends to see HOTEL RWANDA, a very moving film in my humble opinion. It is terrible the way the world ignored the plight of so many innocents in Rwanda until it was too late. But enough of that, go elsewhere if you want political discussion or an in-depth film critique ...

After the movie we went for dinner. We had pre-planned to locate either Cuban or Indian food, having decided to find something 'foreign' that most of us had not eaten before. You can imagine (if you are British) how heartbroken I was (n't) to discover that the decision was for us to seek out Indian food.

We found a restaurant reasonably close to the theater (cinema to us Brits) called, with outcredible originality, The Taj Mahal. Anyway, the important bit was that it was a small restaurant (by local standards) with great food, great atmosphere, and 4 very happy customers.

Next time we go there I'll have to have a word with them about their "very hot" vindaloo though. I didn't even break sweat, let alone endure even a single moment of fear! Soon .... !!!!


Sunday, January 30, 2005

Running Authorware locally

More on running an Authorware file locally


Authorware Web Player files prompt a message when played back locally


According to Macromedia Technote number 19503 Windows XP SP2 can cause local playback of Authorware web-packaged content to give this error message

"Enable active content

Enabling active content on your Local Machine may harm your computer. Do you want to continue?"

The technote explains how best to avoid the error message and allow your content to run. I'll add some more tips to help you run local content later.


Saturday, January 29, 2005

eLearning Design Challenge

Ron Lubensky has posted the latest eLearning design challenge


There is a severe drought. Strict domestic water usage restrictions are in place.

This is the fourth such challenge Ron has posted in recent months. They have inspired some lively debate and I am sure this latest challenge will do the same.

Discuss how you and others would approach this challenge on Ron's site eLearning Design Challenge #4.