Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Testing—"Test Early, Test Often"

A wise man named John Dowdell once taught me to "test early and test often." I must admit that this is one of the best pieces of advice I have ever received. Testing your project long before it is due is essential and shows the difference between someone who is playing with Director and someone who is using Director in production or in a contract environment where there can be no errors, such as when Director is your source of income!

In this house example, or in any Director movie, you typically know where your target playback platform is going to be—on the Internet, a CD-ROM, a DVD, or a projector. Because you know way ahead of time what your target delivery device or platform is, you should start building beta versions of your completed project right away. You will discover idiosyncrasies, bugs, and errors much earlier, allowing you to correct them and allowing you to take them into consideration while building your movie.

QA (Quality Assurance)

Another thing that I learned the hard way is that multimedia technologies almost always work on the cutting edge. They use the extreme features of computers making the multimedia engineer not just someone who programs, but someone who must find results while walking on the edge. Slipping can be a painful lesson, which I'm sure you don't want to visualize. When I worked for Macromedia, I assisted a consulting firm that over-sold the capabilities of Director and Shockwave to a large Japanese auto maker. They jumped into development with no QA (Quality Assurance check) or testing only to find out at the end of the project that what they were trying to do was impossible. They lost a million-dollar account.

Although Director and Shockwave 3D are both great technologies, being able to finesse out of them exactly what you want to achieve takes a professional mindset and the knowledge to master computers. I hope this experience is enough motivation to get you to build a projector of your current project right now, and to test it.

Export the movie as a projector [3.35].

Figure 3.35. Export your movie as a projector for testing early.

After the projector has complied, you should adjust the memory that is allocated to the projector. Boosting the memory higher is what I typically do while I'm testing projectors and Shockwave movies to give the movie extra RAM [3.36]. Then, as each successive build is created, I lower the RAM a few megabytes at a time.

Figure 3.36. Increase the memory allocated to the projector.

On the Macintosh, your projector or browser's memory has to be manually adjusted. To do this, find the icon of the projector or the browser (not the alias), and then choose Get Info on the application. You can also do this using the keyboard combination Command-I. Start by adding 10 megabytes (or 10,000K) to the preferred size text field.

After the memory is increased, start the projector to see if everything is functioning the way you planned. In this version of the house, exporting with the projector setting Show title bar causes the redrawing problems that I discussed previously. Note that this problem would not have been caught if we hadn't tested the movie as a projector.

Web Testing

Running a Shockwave movie in a browser is the hardest place to get perfect results; thus, extra testing is necessary. Movies run slower because of the additional overhead of running in a browser. When the Shockwave movie is in a projector, that projector is running on top of the operating system, but in a browser, the browser is running on top of the operating system and the Shockwave playback is handled by an additional plug-in. To complicate this scenario, the movie might not be present on the computer but could be streaming over a 56K connection.

After you publish your movie [3.37], Director should compact your file, save a .DCR for you, write the HTML file, and then launch that HTML file in your browser for testing. If you don't see a graphic [3.38], then you might not have the latest version of the Shockwave browser plug-installed. You can get it from the Macromedia site at http://www.macromedia.com/shockwave/.

Figure 3.37. The 3D content loader is fine for testing published content.

Figure 3.38. The new Shockwave 8.5 plug-in loading.

What you should be looking for when you are testing your movie in the browser is speed! If your movie takes a long time to load when the file is local, then consider what it's going to be like for someone who has to download it. If your movie is large, you can preload members and use the Lingo Frameready command to test to see if the content has loaded.

If you have the capability, you should upload the movie to a web server and time the download times while it's downloading and streaming. This is the only way to get a true result of what the experience is going to be like for your users.

If your movie passes the test of running in a projector and a browser, you are done. You are done as long as you are not going to make Lingo changes and you do not want to swap out the Shockwave 3D castmember for a replacement. Now, you can complete the Xtra work, clean the graphics [3.39], and export your movie. The following sections describe how to take care of these loose ends.

Figure 3.39. The graphics explain how to navigate your movie. These have to be cleaned up before you are "officially done" with your movie.

Xtra Embedding

Because Shockwave 3D is an Xtra in Director, you have to decide how you want it to load when the projector or Internet version of your movie starts playing.

You have two options for Xtra delivery. You can embed the Xtra into the movie or you can request that it be downloaded automatically.

If you want the projector to be completely self-contained and if you want it to work on a computer with no Internet connection, then you definitely want to ensure that the Xtra is included inside the projector [3.40]. Clicking the Include in Projector checkbox (located in the Xtra window) makes this happen [3.41]. The only drawback to this option is that it also makes your projector larger. The more Xtras you include, the larger the projector.

Figure 3.40. Removing Xtras can help make your projectors smaller, but it puts the burden of downloading on your users.

Figure 3.41. Add the Shockwave 3D Xtra to your projector.

If file size is a concern, then you can exclude your Xtras from the projector and use the Download if needed option, which is located in the Xtra window. This option isn't very elegant, as it prompts the user to download the required Xtra if it is not already installed on his computer. It does work, so use it if you need to make your projector smaller.

The Download if needed option makes the movie prompt the user to download a required Xtra if it is not installed in the user's system. The Xtra is downloaded from the location specified in the Xtrainfo.txt file and permanently installed in the user's system. My recommendation is to leave the Xtras installed in the projector and make up the savings another way if possible.

Graphic Dithering

Another way you can squeeze out more file savings is through graphic dithering in the Paint window. Any graphics that you add to your Director movie are usually in 24- or 32-bit color. These images are a waste of space.

You should go through the castmembers and dither the graphics down to at least 16-bit color [3.42]. For the house movie, the castmembers were reduced to 16-bit to save space, and you can't see the difference unless you are typesetting in Directory, and you have a sharp eye. Another way to save some space is to use the Quickdraw tools (Command-7 for Macintosh and Ctrl-7 for Windows) to create shapes and text instead of importing another bitmapped graphic from Photoshop, for example. The Quickdraw castmembers are very small, and in fact, their castmember sizes are shown in bits, not in K!

Figure 3.42. Change the color depth to save tons of space!

Completing the Movie

If you are happy with the dithering of castmembers, save the movie and create your projector or .DCR file. If you are not going to change anything, choose Save and Compact from the File menu. Saving and compacting ensures that the data in the movie is properly ordered and that any redundant data is deleted from the movie. This is absolutely necessary.

Now you should have a perfect .DIR file, ready to be converted into a .DCR through publishing, a Macintosh projector, or a Windows projector. If you want to create a .DCR, the publishing templates work well. There are even templates that will put up a loading progress bar for your users as your movie is being streamed.

If you are going to create a projector, you have a few options. You can save your movie in its own window by turning on the Show title bar option. However, your users could potentially run into the redraw problem. Or, you can choose the Full screen option. This will put your movie in a fixed window hiding the rest of the background.

For the smallest projector possible, you will want to turn on the Compress Shockwave format to the media option and set the player to Shockwave, which is found in the Projector Options window. I must warn you, however, that this will give you a very small projector at the expense of increased startup time. If the user doesn't have the Shockwave player already installed, he will have to endure a download. For the house movie, a standard projector is about 5 megabytes, where a Shockwave player version is about 2 megabytes. Although this is a good amount of file savings, the expense might not be something that your audience is willing to endure. Standard projectors are always my choice; I then try to make up the size by using a third-party compression program, such as Stuffit or Zip.

Now that you have completed a movie, it's time to learn about physical interactions in Havok...

  • + Share This
  • 🔖 Save To Your Account

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020