March 9, 2009

Localizing play-bar tool tips


Consider a scenario where you want to create content in some different language, say German or Hindi. You created the content properly, but then you discover that the play-bar shows its tool-tips in English. Did you know that you can localize the play-bar tooltips to match your content? This post shows you how…

Img 1. English tool-tips

Img 2. Italian tool-tips

For Localizing play-bar you will need to have Adobe Flash.

Adobe captivate 4 comes with fla files for the play-bars. Typically installation folder for captivate 4 is “C:\Program Files\Adobe\Adobe Captivate 4”.


Locating tool-tip strings in AS2

Fla files for AS2 are located at “installation folder\Templates\PlaybackFLA\AS2”.

Open the play-bar fla file which for which you want to change the tool-tips and open the actions window for the main time line.


Locating tool-tip strings in AS3

Fla files for AS3 are located at “installation folder\Templates\PlaybackFLA\AS3”.

Notice a movie clip with name as “Localization” in the library window. Double click on the Localization movie clip in library to open it and open the actions window.


Changing play-bar tool-tips

You will notice few array definitions on the time line of the fla file. Name of those arrays are pbcBtnTips_ENU (English), pbcBtnTips_CHT (Chinese Traditional), pbcBtnTips_FRA (French), pbcBtnTips_DEU (German), pbcBtnTips_ITA (Italian), pbcBtnTips_JPN (Japanese), pbcBtnTips_ESP (Spanish) and pbcBtnTips_KOR (Korean). And then you will find the last line as

var pbcBtnTips:Array = pbcBtnTips_ENU;


If you want to have German tool-tips, you will just have to change the last line to

var pbcBtnTips:Array = pbcBtnTips_DEU;


But if you want to have tool-tip for a different language say Hindi, you’ll have to create a new array say pbcBtnTips_HIN before the last line as


var pbcBtnTips_HIN:Array = new

Array(“Rewind “, //rewind button Tool-tip

       “Back “, //back button tool-tip

       “Play “, //play button Tool-tip

       “Pause “, //pause button Tool-tip

       “Forward “, //forward button Tool-tip

       “Closed Captioning “, //CC button Tool-tip

       “Audio On “, //Audio on button Tool-tip

       “Audio Off “, //audio off button Tool-tip

       “Exit “, //exit button Tool-tip

       “Information “, //info button Tool-tip

       “dummy for scratch bar “, //this is a dummy entry

       “Table of Contents “, //TOC button Tool-tip

       “2x Fast Forward Speed “, //2xFF button Tool-tip

       “4x Fast Forward Speed “, //4xFF button Tool-tip

       “Normal Speed “, //1x button Tool-tip

       “Print”); //print button Tool-tip


And change the last line to

var pbcBtnTips:Array = pbcBtnTips_HIN;

Here you will have to make sure that the order of the elements in the array remains the same.


Save these changes and publish the swf file to “installation Folder\gallery\playbackControls\swfBars\as2” folder for as2 play-bar and to “installation Folder\gallery\playbackControls\swfBars\as3” for As3 playbar.

After doing this, start the captivate

Go to skin dialog, you should see name of the swf file, which was published, in the play-bar dropdown box. When this entry is selected, the tool-tip text s/he entered in the array will be shown.

Posted by Sunil Muthiyan4:54 PM
  • Hi Sunil,You mention:For Localizing play-bar you will need to have Adobe Flash.Do you mean the software to create a flash video or just the flash player?I don’t have an Adobe Flash creator… :(Cheers,Chris

  • Sunil Muthiyan

    @Chris,Adobe Flash is a product from Adobe.the latest version is Adobe Flash CS4please follow this link to know more about it.

  • harry

    hi exit button on the playbar nevers seems to work. any suggestions

  • Sunil Muthiyan

    @HarryAs far as i know, exit button works.I would like to know more about the issue. It will be great if you can send a demo file to me, so that I can analyse it and give you some can send me it on my mail ID,

  • Rod

    How can you change the order of the icons along the playbar?

  • Sunil Muthiyan

    @Rod,No, you can not change the order of the icons along the playbar.

  • Thanks for the nice post, I enjoyed reading it. Keep it up.

  • Denise

    I don’t have a file by the name of play-bar fla. The files I do have is; cpPlaybar.fla and I cannot open the Captivate 4 file. However, I can open the cpPlaybar.fla in Captivate 3 (not much help to me though since I am using version4.

    When I try to open cpPlaybar.fla in version 4, I receive an message, Unexpected file format. I have Flash Pro 8. Please advise. Thank you

  • Laurel

    I was able to change the tooltips, but how do I change the text around the TOC in Captivate 4?, Slide Title, Duration, Find…

  • Jacques

    I get the same error message as Denise, when I try to open the .fla file I get an “Unexpected file format”.

    Any advise?

  • Petra von Thienen

    How does that work in Capitvate 6? There is no folder GalleryPlaybackControlsSwfBars

  • Nikhil Prabhu

    Any idea where we get the string for “Bookmark” or How we can add new array to the AS?

  • Loading
  • Categories

  • Archives

  • Authors

  • Recent Comments

    • Darrell McElmurry: I’m having trouble seeing the text captions using Captive Studio 8 to create a multiple...
    • Alrazy: same here. no e-commerce functionality; you will have to sue a separate solution for registration and the...
    • Alrazy: Great product, but it does not provide an end-to-end solution – there is no e-commerce functionality;...
    • Andrew Gould: Same here…
    • jack heeney: You’re wrong and there isnt one… hand code your own learning environment if you want freedom...
  • Captivate & eLearning Videos

    Subscribe to Adobe eLearning on YouTube.

    Check out the latest eLearning Videos on AdobeTV