Recently I’ve had a number of people asking me to put up an example of a WidgetFactory 6 widget. At least I think it was a number of people. It could have been the same person through a number of different channels. Whoever you are and in whatever quantity I wish to thank you and provide you with a gift. Here for you all now, whether you requested it or not, is a free to download widget with all its code begging to be investigated.
Click Here to Download the WidgetFactory 6 Example
I’ve included a .fla file that you can use to publish the widget. However you can use any program you wish to compile the widget. Except Word. Because Word doesn’t compile .swf files. Come to think of it you couldn’t use PowerPoint either… or Outlook, or Captivate, or Firefox, or Windows Task Manager, or Steam, or iTunes, or Intelli-J Idea- Wait no, you can use Intelli-J idea to compile it.
Okay, let’s try that again. You can use ANY Flash IDE to publish the widget example, you just have to make sure that WidgetFactory is already installed in that IDE. If you’re using Flash, then click here to read a tutorial on setting up WidgetFactory.
In other news I’m going to be easing up on the blog posts for a bit because… Wait… No I should probably write a devoted blog post about that… I’ll be right back.
PS: One of the people who originally requested an example wanted to know how to build a pause/play/fastforward button with a widget. For that person, please have a look at the TestInteractiveRuntimeMode class. In there I have coded two buttons, one to report the Interactive Widget’s success criteria and one to report its failure criteria. To change the button’s functionality to pause or play the movie for say… the success button, go to its click event handler (the onSuccess function) and delete the code in there. You can pause and play the movie the same way as you would in Advanced Actions, by changing a Captivate Variable. For example, if you wanted to pause the movie you’d write this in the onSuccess function:
1 | cpVariables.rdcmndPause = 1; |
For a list of other Captivate Variables you can use to control the Captivate Movie, please take a look at this post here (look under the variables named ‘rdcmnd’).




