Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to display differents flags in the same object.

Hey!

I want to do a object which contains three country flags in the same text object.

I have the flags images in a folder of my project.

Regards

1 Solution

Accepted Solutions
Not applicable
Author

Hi Jaime,

If you have the images it's very easy! Inside an object (for example, a text object) you have to control what lenguage you are using (with a variable "Lenguage"). Create a variable in the script like this one:

set vDataLanguage= '=Lenguage';

For those lenguages associate the URL where the flag is saved.

=if(Lenguage='Lenguage1', './flag1.jpg',

  if(Lenguage='Lenguage2','./flag2.png',

  './flag3.png'))

Hope this can help you!

View solution in original post

5 Replies
MK9885
Master II
Master II

Bundled Images:

check the below link

Load images into Script

Not applicable
Author

Hi Jaime,

If you have the images it's very easy! Inside an object (for example, a text object) you have to control what lenguage you are using (with a variable "Lenguage"). Create a variable in the script like this one:

set vDataLanguage= '=Lenguage';

For those lenguages associate the URL where the flag is saved.

=if(Lenguage='Lenguage1', './flag1.jpg',

  if(Lenguage='Lenguage2','./flag2.png',

  './flag3.png'))

Hope this can help you!

Anonymous
Not applicable
Author

Thank u!

Not applicable
Author

We are here to help!

Anonymous
Not applicable
Author