Using Xtras in Shockwave You've already seen how to use Xtras in standard Director movies and projectors, but using them in Shockwave is a bit different. Because of the security limitations imposed on Shockwave movies, not all Xtras are considered Shockwave safe. Specifically, Xtras that can access the user hard drive or have access to the OS are generally considered not Shockwave safe.Although many of the common Xtras supplied by Macromedia are installed when the Shockwave plug-in is installed, any third-party Xtras you use will need to be enabled for downloading to the end user's system. Luckily, this is a simple process and requires only a couple of steps.First of all, when you purchase Xtras for your project you need to be sure they are Shockwave safe. Once you are sure you can use the Xtra within your Shockwave movie, you need to place the Xtra's package information into the xtrainfo.txt file. That information will be supplied by the developer of the Xtra, and tells Director where the Xtra package can be downloaded.NoteAn Xtra package is a file specifically created for downloading. The package file can contain both Macintosh and Windows versions of the Xtras, though Director will only use the appropriate one.As an example, the following entry from the xTRainfo.txt file lists the package information for the cursor asset Xtra: [#namePPC:"Cursor Asset", #nameW32:"Cursor Asset.x32", ¬ #package:"http://download.macromedia.com/pub/shockwave10/xtras/ ¬ CursorAsset/CursorAsset", ¬ #info:"http://www.macromedia.com/shockwave10/xtras/CursorAsset/ ¬ 138"]
|