Loading a different image for different variant ?

tufanv

Expert
Licensed User
Longtime User
Hi Guys,

Is there anyway to load a different image file for different variants. For example for variant a i want to load 1.png but for in variant b i want to load 2.png ?

TIA
Regards
 

tlasek

New Member
Licensed User
Longtime User
I'm attempting to do this in the variant specific area of the script designer but get an error on each variant:

'Variant specific script: 320x480,scale=1
ImageViewSplash.Image = LoadBitmap(File.DirAssets, "splash320x480.png")

The error returned is "Input string was not in the correct format".

What am I doing wrong?
 
Upvote 0
Top