Managing mbedlet Files

It's a good practice to organize your files early so as to facilitate moving the finished mbedlet onto your server.

Always use relative filenames. Interactor will do this for you correctly if it possibly can.

The surest method of making sure that you have correct pathnames is as follows:

  1. Create a folder on your hard drive that represents the root folder on your web server. For example, you could call the folder html or web.
  2. From that folder, create another subfolder with the name of your project.
  3. Inside this folder, place your .mbd file, containing the control information for your mbedlet.
  4. Create subfolders for media content files containing graphics, text, sound, and so on and place the appropriate files in each.

For example, to make a page about cows, including an mbedlet that creates a banner, you might have the following directories and files:

The Interactor software automatically saves the links that you create in Unix-style, so that they can be read correctly on the web server. For example, if you have the file c:\web\cows\banner\images\milky.gif loaded into a Sprite player, and you save the mbedlet as c:\web\cows\banner\cowbanner.mbd, Interactor names the image images/milky.gif for you.

If you consistently use relative filenames, it is easy to move an mbedlet to any place on your hard drive or on the web without having to change the filenames.

Previous Page