Skip to main content
MatteoMasciotti
Participating Frequently
December 23, 2021
Question

Dropdown Menu and Marker keys

  • December 23, 2021
  • 1 reply
  • 98 views

Hello

Is there a way I can use the words inside of a dropdown menu control as "source text" in a text layer?

In the screenshot you see there are two layers.  A text layer whose source text is derived by a marker comment (you can see the expression) and a dropdown menu with a list of countries. I'd like to pair the marker (or simply the source text of the text layer) with the words in the menù (not the index number...) Is it possible? Is there a way?

Thank you so much

This topic has been closed for replies.

1 reply

Mylenium
Legend
December 23, 2021

I don't think so. Both these functions are read-only and can't mutally populate. If at all you could do an elaborate comparison inside the code itself and then use valueAtTime() or time remapping to "jump" to a marker based on the text, which I think is what you have in mind, but it's never going to be easily maintainable in the sense that everything updates dynamically to reproduce a simple gotoAndPlay() as it would be in Flash/ Animate.

 

Mylenium