Change state of image on multiple slides from 1 advanced action
Hello,
I have a start screen where the user chooses an avatar (1 of 10) they also type in their name.
The entered name and chosen avatar then need to appear across the rest of the slides in the project. So it feels like they are 'in a game'. I envisage there to be at least 200 slides.
At the point of choosing these settings, I want to be able to set both these variables once, in one place easily.
INSTANCE PROBLEMS
I guess I have to label each instance on every slide: Avatar_Slide1, Avatar_Slide2... & PlayerName_Slide1 etc etc - This alone seems a huge task.
Question 1:
Is it possible to have an instance that is set globally across all slides? So that I only need to target and Change State once?
I also tried to use the Master slide but found out I couldn't target elements within it.
ACTION PROBLEMS
Assuming I have to label each instance on every page, rather than having to then write 200+ times:
Change State of : Instance name 1 : ChosenAvatarVariable
Change State of : Instance name 2 : ChosenAvatarVariable
Change State of : Instance name 3 : ChosenAvatarVariable
etc...
Question 2:
Can I use the expression or javascript tool to iterate through the instance names instead?
Where SN = Slide number
Change State of : Instance name[SN] : ChosenAvatarVariable
(I am not a JS programming, but understand the fundamentals)
Any help or advice on this topic is much appreciated.
Thanks
Joe
