« Back to slideshowpro.net
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Director

SlideShowPro Director Hosting

SlideShowPro ThumbGrid

Extras

Screencasts

SlideShowPro for Flash
How to: Change default English text
Page last modified by afrmx on October 15, 2008, at 12:08 AM

There are a handful of static text fields (uncontrolled by XML) in SlideShowPro for Flash that are written in English. This chapter will show you how to change them to any language or alternate text.

Step One: Give SlideShowPro an instance name

Click on the instance of SlideShowPro for Flash on the Stage, open the Properties panel, and type my_ssp into the Instance Name box.

Step Two: Add ActionScript

Now it’s time to add the ActionScript to change the values in the textStrings property array. In a new timeline layer, modify the array by assigning new values for each array index:

my_ssp.textStrings = [
   "Pantalla Anterior",   // Previous Screen
   "Pantalla Siguiente",  // Next Screen
   "Pantalla",            // Screen
   "de",                  // of
   "Ningun pie de foto",  // No caption
   "Ningun titulo",       // No title
   "Reproduciendo",       // Playing
   "Pausa"                // Pause
];

This bit of code assigns SlideShowPro for Flash new values for the textStrings array. Do make sure that you include a value for all 8 indices. You cannot assign a partial array.

Step Three: Publish

Publish your movie, and your replacement text should appear! Felicitaciones!

© 2008 Dominey Design Inc. All Rights Reserved.
About | Contact | Privacy policy | License agreements