My question is:
I built a symbol and name it videoholder. Inside the symbol i draw a Rectangel and
named it: Rectangel.
Iput the following code on the first frame/millisecond:
var video_path = sym.$("Rectangel");
video_path.html('<video width= "750" height= "421" src = "example.mp4" type = "video/mp4" controls= "controls" </video>');
Then I delete the symbol from the stage.
Now I placed different images as symbols on the stage.
When I click on these images i get the videoholder_image on the stage via createChildSymbol from the library.
What I want is to put a code on each image_symbol which allows me to change the code
inside the videoholder Rectangel:
var video_path = sym.$("Rectangel");
video_path.html('<video width= "750" height= "421" src = "example_new.mp4" type = "video/mp4" controls= "controls" </video>');
I appreciate any hlep