Create a custom Help search category in Flash 8

When you perform a search in the Help panel in Flash 8, you can filter your search by a pre-determined set of categories. For example, you can search only the components content, or just the tutorials and samples content. This can be very useful if you don’t want to scroll through 10 billion results when you search.

However, what if you want to choose your own content to search? For example, what if you want to exclude the mobile books because you’re not creating mobile content (yet)? You can by following these steps!

TO CREATE A CUSTOM HELP SEARCH CATEGORY IN FLASH 8:

1. Close Flash.

2. Find the categories.xml file, in which you will add a new category for your custom search. Find the categories.xml file here:

C:\Documents and Settings\All Users\Application Data\Macromedia\Flash 8\en\Configuration\HelpPanel\categories.xml

HD:Users:Shared:Library:Application Support:Macromedia:Flash 8:en:Configuration:HelpPanel:categories.xml

4. Save a back-up of this file, just in case.

5. Modify the categories.xml file. Add this to categories.xml alongside the other categories:

<category title=”Not Mobile” keyword=”notmobile”></category>

6. Then find the Help folder here:

C:\Documents and Settings\All Users\Application Data\Macromedia\Flash 8\en\Configuration\HelpPanel\Help

HD:Users:Shared:Library:Application Support:Macromedia:Flash 8:en:Configuration:HelpPanel:Help

You see a bunch of book files, each of which contains a help_toc.xml file. You need to go into each folder of a book you want to add, and add the keyword you chose above (“notmobile”) and add that inside of each help_toc.xml file.

So, I’m going to start with the ActionScriptLangRef: find help_toc.xml in that folder (scroll right to the end), and in that file modify this line (line 2):

<book title=”ActionScript 2.0 Language Reference” directory=”ActionScriptLangRef” categories=”languagereferences,as2″ language=”en” version=”2.0″ sort=”mm_7″>

to

<book title=”ActionScript 2.0 Language Reference” directory=”ActionScriptLangRef” categories=”languagereferences,as2,notmobile” language=”en” version=”2.0″ sort=”mm_7″>

7. Repeat this for each book you want to search in the notmobile category.

When you’re done, reopen Flash and open the Flash panel. You’ll see the new category in the Search pop-up menu:

create a custom search category in the Help panel

One Response to Create a custom Help search category in Flash 8

  1. Vasillis says:

    Hi,I have created a flash swf movie for website of mine. I put this into dreamweaver so far so goodMy problem is that i can`t find anyone help me with this problem.I tell the htm to go on full screen depending on the users screen that come to my site.But the swf in the htm doesn`t go on full screen, it stays in the dimensions i put it in the dreamweaver ex. 800 x 600The site is created only in flash so the dreamweaver is for the export in htmDo u know some way to do this?Thanx in regards