1 How to Remove the Legend ?
2 How to get the Legend path for styles.css?
3 How to get the Infos box path for styles.css or set styles directly in flash?
4 Font that doesn't show
5 Text that doesn't show
6 How to change fonts of city and region text
7 How to access to the class 'com.as.CityClass'
8 url link on clickable map

1 – Open the interactivity.as or interactivityClic.as file in directory com/as with Flash or notebook and remove the folowwing lines (with a black background).
2- Open the fla file with flash
3 – Publish the file :

2 – How to get the path of the legend path to styles.css file
Your website may work with php script and the path to the css file may not be found.
You get then something like <legendregion>…..
1 – Open the fla file
2 – Go to Library (Bibliothèque) in the directory "_layout"
3 – Open the "Legend" MovieClip
4 – Go on layer "AS_GetContent & styles"
5 – Open the Action Panel
6 – Modify the path : styles.load("com/styles.css"); by styles.load("http://yourdomain.ext/…yourpath…./styles.css");
7 – Publish your Flash file

3 – How to get the path of the info box path to styles.css file
![]()
1 – Open the fla file
2 – Go to Library (Bibliothèque) in the directory "_layout"
3 – Open the "Infos" MovieClip
4 – Go on layer "AS_GetContent & styles" and on frame 25
5 – Open the Action Panel
6 – Modify the path : styles.load("com/styles.css");by styles.load("http://yourdomain.ext/…yourpath…./styles.css");
7 – Publish your Flash file

Or directly set styles in Flash :
5 – Open the Action Panel
6 – Remove this code
ii = _root.numRegion;
jj = _root.numCity;
///Get Content
Image = _root.Map.city[ii][jj][1];
CityContent = _root.Map.city[ii][jj][2];
var styles:TextField.StyleSheet = new TextField.StyleSheet();
styles.onLoad = function(success:Boolean):Void {
if (success) {
// afficher les noms de style.
InfoTexte.styleSheet = styles;
InfoTexte.text = CityContent;
} else {
trace("Error loading CSS file.");
}
};
styles.load("com/styles.css");
7 – and replace
ii = _root.numRegion;
jj = _root.numCity;
///Get Content
Image = _root.Map.city[ii][jj][1];
CityContent = _root.Map.city[ii][jj][2];
var styles:TextField.StyleSheet = new TextField.StyleSheet();
styles.setStyle('a:link', {color: '#00FFFF', textDecoration: 'none'});
styles.setStyle('a:hover', {color: '#ff0000', textDecoration: 'none'});
InfoTexte.styleSheet = styles;
InfoTexte.htmlText = CityContent;
8 – to set styles add lines like this :
styles.setStyle('a:hover', {color: '#ff0000', textDecoration: 'none'});
9 – Publish your Flash file
4 – Font that doesn't show
1 – Open the fla file
2 – Go to Library (Bibliothèque)
3 – Open legend clip
4 – Select the texdfield
5 – Clic on embedded (in english) Incorporer (in french)
6 – Select all

5 – Text that does'nt show
Write your text between coma
Region[6]='THÜRINGEN';
6 – How to change fonts of city and region text ?
Go to the search & replace function of flash (CTRL+F) and choose the font option to replace your font
7 Impossible de charger la classe ou l'interface 'com.as.CityClass'
You have moved the flash file from its directory. Then the file can not have access to the file CityClass.as which is located in directory com/as.
8 url link on clickable map
go to the Action panel
(to go to action panel see How to modify Interactive flash Maps)


