iShell 4 Samples

If you encounter any problems with these samples and tutorials or have any questions about them, email . If you would like to contribute a sample, please package up the sample and send it to . for review. If the sample is approved, it will be posted.

Basic Samples

These sample projects focus on conceptual ideas in iShell. The samples are generally documented with comments in the code.

Compass VR in a Custom Window
This is a nice simple iShell sample showing how to get the current values of a Panorama and then use these values to spin a compass on the screen. It also shows how custom shaped windows in iShell are created and how the create a unique look. This sample contains full applications for both Mac and Windows. Notice how small the iShell runtime is. 2.8 mb for both platforms.
CompassVR.zip

Slide Show Template
This sample includes a very easy to reuse iShell template. Just drop it into your project and you have a slide show. Customize it to suit your needs. Look at the code to see how easy iShell is to create reusable powerful templates. Created in iShell 4.5r5.
SlideShow.zip

Animating a Flipbook
This demo uses message parameters passed with mouse events, tweeners, and a flipbook to create a simple animation. This sample will help you see how to grab the X and Y coordinates and act upon the X and Y to move an element to this position.
TweeningFlipbook.zip

Using User Input
This iShell Editor code sample shows how to use the Tell Field command to get the keyboard input from a user. This input is then output to a customized message based on the time of day.
UseUserInputs.zip

Beginner Samples

These samples focus on more Beginner concepts in iShell. The samples are generally documented with comments in the code.

Ambient Sound While Browsing
This sample demonstrates how to set up a project with an ambient sound that will remain running as documents are browsed through a nested "Document" element without interrupting the ambient sound. Contains on screen description.
AmbientSound.zip

Basic chapter track usage
This sample demonstrates the very basic usage of chapter tracks contained in a movie file.
BasicChapters.zip

Browsing between documents
This iShell Editor sample demonstrates how to use an embedded "document" element as a container to browse from document to document in an iShell project. It also demonstrates the use of the "browse" and "back" commands. Contains a built in description displayed by clicking on the "?" at the bottom of the screen.
BrowseDocs.zip

Chapter Tracks in iShell
This sample demonstrates a typical use of Chapter Tracks in a QuickTime movie with iShell 3. This demo uses On Movie events with Set Field commands to change text accompanying the movie. Also, Hot Text events are used with associated Tell Movie commands to set the movie to the position of the Chapter marker, Run to a specified time, set the state of the flipbook button and set the text.
ChapterTracks.zip

Using HTML 2.0 with "Hot Text" events
This sample shows a simple implementation of the use of "hot text" events with an HTML 2.0 file in iShell. Very similar to the RTF sample, except it uses HTML text. Contains built in references and links.
HTMLHotText.zip

Hidden Kiosk Controls
This sample uses transparent, timed box elements to provide secure administration controls to adjust the volume or quit the application as might be used in a kiosk environment where a keyboard may not be present.
KioskSecurity.zip

Multiple messages between embedded documents
This sample demonstrates the use of a document containing buttons to send various messages to the main document. Includes self contained description and Outline Window screenshots.
MessagesBtwDocs.zip

New "Button" image Kind attribute
This iShell Editor sample demonstrates the simplicity of creating rollover buttons in iShell using the new image "button" kind attribute. Contains screen shots of the attributes for both the default "scaled" image attribute as well as the "button" selection and the results. Contains built in description.
RolloverButton.zip

Using RTF with "Hot Text" events
This iShell Editor sample shows a simple implementation of the use of "hot text" events with an RTF file in iShell. Contains built in references and links.
RTFHotText.zip

Using Triggers in a Timeline
This iShell Editor sample demonstrates the use of Triggers in the Timeline Editor in iShell 3 to control an automatic slideshow of images. Includes built in documentation.
Triggers.zip

Using Tweeners In the Timeline
This sample demonstrates the use of Tweeners in the Timeline Editor as well as the use of the "Rotate" image kind. Includes basic built in description.
Tweeners.zip

Advanced Samples

These samples focus on more advanced concepts in iShell. The samples are generally documented with comments in the code.

15 Tile Puzzle
This sample makes clever use of a "Data" element along with Messages and Properties to create a fun game. Use your own image and rename it "tile.png", or just change the name of the included "hard.png" or "easy.png" files to "tile.png" to change the difficulty level. Nicely commented to explain the logic used. Sample generously contributed by Takayuki Komine at iShell User Japan.
15puzzle.zip

Data elements used for menus
This iShell Editor sample uses tab delimited text files in Data elements to organize and and display assets for use in an iShell project as well as highlighting menu selections. Contains built in documentation.
DataMenu.zip

Displaying the Time of a Movie
This sample uses the Tween event to create an idle loop to catch and display the time of a movie. It then formats the time into the standard min:sec display. This may not work smoothly on a slow machine. You must test the performance on your slowest target machine before putting this into use.
DisplayTime.zip

Drop down menu from Messages
This sample demonstrates one way to use messages passed between documents in conjunction with Properties to create timed drop down menus. Play with it to create your own and share the results.
Docs_Messages.zip

Collision Detection Example
This sample demonstrates how to use "X" and "Y" attributes to define a drop area similar to what is otherwise known as "Collision Detection" in an elementary spelling game. Includes built in description and extra code example for getting the numerical value for "X" and "Y" attributes.
DropQuiz.zip

Parsing and displaying an RSS feed.
This sample uses the XML element to parse an RSS feed as a DOM tree and then dynamically build a view of this with standard iShell elements.
iShellRSSReader.zip

Image Scalling (variables, parameters and properties)
This sample can be easily re-purposed, and demonstrates very good use of "local" variables, "parameters" and "properties". Sample generously contributed by Srdjan Markovic at MultimediaWorks. Many thanks Srdjan for this excellent contribution.
Scalling.zip

Space Invaders (messaging)
This sample makes excellent use of "messages" and "properties" to simulate the popular archade game "Space Invaders". Contributed by Silver Member Srdjan Markovic at MultimediaWorks. Thank you Srdjan for the contribution.
SpaceInvaders.zip

Using a Data Table and Document Templates to create a catalog.
This sample uses scollable menus and data tables to select an item and show the product page with pricing, information, and images for each item. It uses only one document to populate all the pages of the catalog and the data is filled in from information in the table.
UsingTheTable.zip

Custom Video Scrubber, Controls and More
Need a video scrubber or other custom video controls for your project? This one has the works and comes courtesy of TC Leu at Knowledge.com. This is also a good example of the use of "Properties" in an iShell project. Many thanks TC.
VideoInterface.zip

Creating a new XML document and saving this as an HTML file.
This sample uses the XML element to create a new tree. Elements and children are added to the element, and then this file is saved out. This sample creates and a simple XHTML document that can then be viewed in a web browser
XMLMaker.zip






























Basic Samples
CompassVR
SlideShow
TweeningFlipbook
UseUserInputs

Beginner
AmbientSound
BasicChapters
BrowseDocs
ChapterTracks
HTMLHotText
KioskSecurity
MessagesBtwDocs
RolloverButton
RTFHotText
Triggers
Tweeners

Advanced
15puzzle
DataMenu
DisplayTime
Docs_Messages
DropQuiz
iShellRSSReader
Scalling
SpaceInvaders
UsingTheTable
VideoInterface
XMLMaker