Tuesday, November 04, 2003

Video Magic in Authorware



alVideoMagic released. Have you ever wanted to play one video within another video, aka
"picture in a picture"? No, well try Apixel's new u32 - maybe it will change your mind :-)

alVideoMagic is a 32 bit UCD that uses DirectX 9 to play a secondary video within a primary video. It's pretty neat if not overly useful.

It's free and it available from:
http://www.apixel.com/section05.htm#alvideomagic


Authorware and SCORM



It was brought to my attention that Macromedia has the following article on their site. Nice to see an AWARE related item (SCORM)

http://www.macromedia.com/devnet/authorware/articles/metadata_editor.html?trackingid=devnetupdate_email_100603

This is an excellent article form Sharon Brown.

Internet explorer changes to affect plugins



If you haven't read about the changes coming to Internet Explorer, you should have a good read of Macromedia's take, and their suggestions on how to work around the changes

http://www.macromedia.com/devnet/activecontent/

Wednesday, September 10, 2003

More handy tools - alToolTip


For all the users of alTooltip.u32, a UCD that allows Authorware developers to include tooltips within their applications, there is now an Authorware v.7 Knowledge Object available for download:

http://www.apixel.com/section05.htm#altooltip

I use alToolTip often in my work - not just for placing tips over buttons. I use it to add extra information to pages, adding tooltips to an i icon for instance.

Find and Fix Command updated



Ron Lubensky has anounced an update to his great Find and Fix command for Authorware 6.5 and 7. Enhancements include

• Javascript-enabled (for Authorware 7.0)
• New icon properties
• Find and fix library-linked icons (ver 2.04)
• Paste icons from clipboard or model (ver 2.05)

This command offers incredible workflow enhancements for those tedious maintenance tasks. The price is rediculously cheap!

For a complete rundown of its features, here is the help file for it:
http://www.clickcraft.com/ko/Click%20Craft%20Find%20and%20Fix.htm

and a screen grab of its interface:
http://www.clickcraft.com/ko/find&fixcmd.gif

Friday, September 05, 2003

Have you booked your TAAC 8 ticket yet?



TAAC 8 is in Las Vagas this year. To attend the best Authorware conference on the other side of The Pond, you should choose TAAC.

Taac 2003, October 23rd to 25th

As always there will be the best Authorware talent around presenting on topics ranging from design to coding, extending Authorware, and sharing their best tips and tricks.

This year's program includes:

• Hands-On with Authorware 7
• Implementing JavaScript in Authorware
• Longer sessions; more meat, less filler
• Sessions that really get your hands dirty
• 1:1 Sessions with Resident Pros
• The Authorware Games
• The Ask Macromedia Panel Session
• Meet & Greet Reception (Thur, Oct 23)
• Poolside chat with MM Engineers
• Each and EVERY session will be recorded and offered in DVD format
• NEW and EXCITING Pre and Post-Conference Training Packages


Sunday, August 31, 2003

For once I have a great excuse :-)


The Blogger site is undergoing redesign right now. Great.

But they have somehow lost the "Publish Template" button. And the "Publish Archive" button. So as I type things are a bit upside down. Hopefully it gets fixed soon so I can sort out the template (I have a dead image here on the left {pointing ineffectually}).

Monday, August 25, 2003

MX Suite 2004


Hot on the heels of AW 7 comes the new MX Suite 2004. Take a look at http://www.macromedia.com/software/mx2004/ for information about the fantastic updates to Dreamweaver, Flash and Fireworks MX 2004.

If you are not sure whether to buy Flash MX Professional 2004 or the standard version, do yourself a favour and just buy Professional! It's a simple decision - better code editing support, better video, better database components. More stuff too, but these are the clinchers for me! And for only $100 extra if you are buying hte upgrade - there really is nothing to choose.

Limited-edition, numbered MX 2004 t-shirts

Oh - and if you buy soon you could qualify for a free limited edition t-shirt. "Each MX 2004 t-shirt will be given your unique order number. The sooner you order, the lower the number."

Friday, August 22, 2003

Handy resources


Amy Blankenship has expanded her site http://authorware-amy.com/ to include the Newbie Resource Center - it's the panel on the right of the home page. Also check out the Examples section where Amy has some excellent samples of things you really wanted to do with Authorware but couldn't figure out how.

Erik Lord has a nice resource site here http://www.awaretips.net. As well as sample code, he has links to other Authorware sites and a FAQ page. Nice examples.


Wednesday, August 20, 2003

I did promise ...


... quite a while ago that there would be no more long breaks in my posts. OK it turns out that was a lie. I have been so busy this summer that Blogging has not been high on my list of priorities!

So what's been going on?

Since I last posted I have been furiously beta testing Authorware 7, which of course was launched in June ... so long ago! We have some cool new additions to Authorware, including the beginnings of OOP with full support for the core JavaScript language, a more modern interface, a speach Xtra and the ability to play DVDs.

Mostly, the rest of the time I have been working. I was supposed to spend the summer continuing with my studies, but I have been so busy with work that whenever I have not been working all I want to do is read a book ... for pleasure, not learning.

I have also continued on my quest to make my PDA invaluable to me. My two most used apps are Microsoft Reader and Internet Explorer. Reader for books, and IE for news. I use the built-in AvantGo app to sychronise several news and technology web sites each day. So no more need for a newspaper, and I can get the news I want from anywhere in the World :-) I also use the email app too, mostly to read mail, but occasionally to send messages while on the move, or sitting by the river.

Equally important are the apps I use less often

I got a great set of Solitaire games (about 234 different games!) from Mud Inc.

I also use Pocket Slideshow because it allows me to view my PowerPoint slides on the PDA. If I had a newer model, for instance a Toshiba 750 I could connect the PDA to a monitor or projector at 800x600 resolution to view the PowerPoint slideshow. Who needs to carry a laptop now?

Finally my new cellphone supports GPRS so now I can easily check my email, surf the internet and keep up to date while on the move. Even while sitting on a train :-)

When I got my PDA I was a little skeptical. It runs the Pocket Windows 2002 OS, and is labelled Pocket PC. The name is apt - these modern little machines really are pocket computers. If you don't already have one, go to your local computer store and have a play - you will be amazed what these tiny devices can do!!!


New Downloads section


I added a new Downoads section to mmy web site. Little code snippetds like reading an external file into a list or property list, a simple dictionary, dynamically size/position your hotspots, using SetMotionObject and SetTargetObect to simplify Drag and Drop routines and many more.

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


Thursday, May 29, 2003

But of course why bother with WinAPI when BudAPI has it all for you


If you think you want to use the WinAPI, make sure you take a look at BudAPI first! BudAPI is known throughout the Director and Authorware world as a wonderful tool for extending both products.

Not only does it work woth both Director and Authorware, it is cross-platform too and so it works on PC and Mac. This is not true of WinAPI!

You can use a couple of BudAPIs functions in an application without purchasing it. Or:-

The Limited Edition costs US $80 or $AUD 140, plus 10% GST for Australian residents. In this version, the Xtra allows you to call any seven functions in any projector or packaged application. Each function can be called multiple times. Full commercial use of the UCD/U32 is also included. Support is provided by e-mail.

The Full Version costs US $160 or $AUD 280, plus 10% GST for Australian residents. This contains a fully unlocked version of both the Xtra and the UCD/U32. Support is provided by e-mail. An upgrade to the full version from the limited version costs US $80 or $AUD 140, plus 10% GST for Australian residents.

This is a cheap plugin that can save you hours of work and frustration!

Saturday, May 24, 2003

Authorware and WinAPI are there any references? - Part 1


Have you ever tried to use any functions from the WinAPI.u32 supplied with Authorware? If so you will no doubt have been frustrated by the 'information' provided with the functions. If not, here's a quick example.

Imagine you want to copy a file from your application CD to the user's hard drive. What Authorware function would you use? Seems like a simple enough request doesn't it? Well there is no native CopyFile() function in Authorware. There are many options for solving this problem, one of which is to load the CopyFile() function from WinAPI.u32. So let's try it.

1. Open a new Authorware file, and save it somewhere convenient as TestCopy.
2. You need a test file to copy, so make a new text file in the same folder you just saved your Authorware file into. Call this text file TextCopy.txt,
and type some text in it. Something simple like Hello Mum.

Now we need that CopyFile() function. Loading a new function into Authorware from a .u32 is pretty simple.

3. Open the Functions dialogue either by pressing the Functions button or pressing the keys control+shift+f.
4. Click in the Category: drop-down and scroll down to the bottom until you find a category named TestCopy.axp (where the x in axp represents your version of Authorware - a4p for Authorware 4, a5p for Authorware 5 etc.) and select this category.
5. Press the Load button at the bottom-left of the Functions dialogue.
6. A Windows browse dialogue entitled Load function appears. Use it to browse to the folder containing your current version of Authorware - by default it should be:-

C:\program files\macromedia\Authorware x
(x will be your Authorware version number - 4, 5, 6, 6.5 ...)

Now here you take a sneaky shortcut. It is best to load your function from a u32 that is in the same folder as your application. When you do this Authorware stores the reference to the file as a relative reference, not a hard-coded path. Whilst it should not matter once the file is packaged, it is more elegant to use the relative path during development plus it helps to ensure that you package the correct files with your application.

So the sneaky shortcut is this:- Locate the file WinAPI.u32 in the browse dialogue, select it with a SINGLE mouse click and then press Control+C to copy the file to your clipboard. Keeping the browse dialogue open, now browse to the folder that you have saved your test file into. With the folder open, press Control+V to paste the WinAPI.u32 into your test folder.

Continued in part 2 below

Authorware and WinAPI are there any references? Part 2


7. Double-click the file WinAPI.u32. A dialogue opens entitled em<>Custom functions in WinAPI.u32.
8. A brief browse of this dialogue reveals hundreds of functions that are available to you from Authorware.
9. For now we are interested only in CopyFile, so scroll down to it and, for now, select it with a single click of your mouse.

This is where things stop being completely simple. Notice what the Description filed says :-

BOOL = CopyFile( LPCSTR lpExistingFileName, LPCSTR lpNewFileName, BOOL bFailIfExists )
Windows API Call See Windows SDK for description.


First, the parameters? What is that all about? Well as Authorware developers, all we need to know is that it translates to:-

success:=CopyFile(From, To, Overwrite?)

From would be the file you are copying, e.g.
FileLocation^"TestCopy.txt"

To would be the file you copy to, e.g.
RecordsLocation^"CopiedFile.txt"

Overwrite? is 1 if you want to overwrite the file if it already exists, and 0 if you don't want to overwrite.

So where is this Windows SDK that we are supposed to reference? Sadly not on your Authorware CD. You need to go to Microsoft for that. If you already do Windows development with, say C++ or Delphi you may already have an appropriate Windows API reference. If not, you need to go to MSDN. However the reference there is all aimed at C programmers. Take, for instance, the CopyFile() reference.

Fortunately there is a nice reference designed for Authorware - the Authorware Win API Guide. This site documents around 70 WinAPI functions with example code and files.

Important notes
Many WinAPI functions are not suitable for use with Authorware because they require variable types not available with Authorware, or the require advanced memory manipulation.

It appears some functions do not work with Windows XP. If in doubt, check with the Aware List, there are several people there who can answer specific questions about using WinAPI.

Friday, May 23, 2003

Free Sci-Fi/Fantasy books for your PDA


At Christmas I was given a PDA by my super-generous girlfriend. Being skeptical of such 'toys' I was then obliged to prove that I could make this little pocket computer into something useful in my life. I have several uses that mean I use it many times daily - sometime I'll post about more of those.

My main use for it is as a super-portable book. How so? you may ask. Well my PDA runs Microsoft's Reader software and I have found a great resource for free Sci-Fi/Fantasy books in many formats - one of which is the Microsoft Reader format.

Head over to the Baen Free Library and see for yourself.

Be warned - not all of the books are a great read, but since you can download approximately 60 books for free there are plenty to choose from. They take up a mere 25 Mb of storage space so you can carry them on your PDA storage card or on your laptop's hard drive and have them available wherever you go. I particularly enjoy reading mine on the train, plane, whilst cycling in the gym, even in restaurants when I work away from home. As you know, carrying even two books while you are travelling is a pain - even more so if you happen to finish reading them before the trip is over!

Wednesday, May 21, 2003

Pasting ASP source code into Authorware Display


I see this asked occasionally:-

"I am trying to paste ASP source code into an Authorware Display icon. When I close the Display icon I get the error "Where is function blah()?. How do I fix this?"

The answer is surprisingly simple. In JScript (and many other programming languages, for instance ActionScript, C) the code of custom functions is wrapped in curly brackets "{ }". Authorware uses these same characters in Display icons to denote variables or expressions that it is to evaluate at runtime. When Authorware sees these in code that has been pasted into a Display icon, it assumes you want to evaluate what is inside the brackets.

The cure is simple. Just escape the curly brackets. So if you want to paste in this simple JS function:-


function areaOfSphere(radius) {
return 4 * Math.PI * (Math.pow(radius, 2));
}


escape the curly brackets thus:-


function areaOfSphere(radius) \{
return 4 * Math.PI * (Math.pow(radius, 2));
\}

Tuesday, May 20, 2003

TAAC 8 dates and venu annouced - and special draw for early birds ...


TAAC8 - The Alternative Authorware Conference
Alexis Park Hotel, Las Vegas NV, Oct 23 - 25, 2003

*** EARLY BIRD REGISTRATION SPECIAL ***

Want to go to Vegas for FREE?

Register early, and WIN! One lucky winner will be drawn from the first 20 General Admission tickets sold to win an all expenses paid trip to TAAC8! That's right folks - one lucky person will win airfare, lodging, and their ticket compliments of Mark Henry Enterprises, Inc.

For more information, or to register, go to:

http://www.markhenryenterprises.com/

Another good FlashMX XML tutorial


This one also gives good explanation. Better - it mentions several neat tricks in passing, for instance suffixing your XML object name with "_xml" informs the ActionScript editor that the variable is an XML object and the editor will provide a dropdown list of appropriate methods during editing. Sweet :-)

The FlashMX XML tutorial can be found here and it is hosted by actionscript.org. This too appears to be an excellent resource.

Monday, May 19, 2003

Rant!


Why do so many web sites insist on turning off my status bar in Internet Explorer? What are they trying to hide? What right do they think they have to mess with my settings? It's my machine I am using and I should have every right to control my own settings!

If anyone knows of a way I can block these selfish idiots from changing my browser settings, I'd be pleased to hear from you.

A Simple Flash XML Tutorial


I was looking for a nice, simple, clear tutorial today to get me started with using XML in Flash. I found several badly written tutorials - ones with poor code, or with bad explanations. I won't tell you any more about them.

But I did find one tutorial that was perfect for my needs. It is clear and explains everything in great detail. Even better, the code is good - simple, efficient, no unexplained weirdness.

The tutorial in question is at http://www.studiowhiz.com/ and goes by the title of Philter's Flash/XML Tutorial. It explains how to create a simple dynamic menu in Flash MX, or to quote "A basic introduction to XML and it's usage in Flash to build a simple dynamic menu".

A scout of the web site shows a large number of other useful tutorials for Flash, Dreamweaver, Director, Photoshop, Freehand, PHP, Perl and many other tools. Seems like an excellent site.