Thanks to this forum and the extremely helpful people around here I’m able to swap and control a widget from outside that widget.
If you look at the attached sample and open the ‘control_parent_through_iframe_widget_01.html’ file in a browser you can see just that.
control_parent.zip (1.0 MB)
Button 1 and 2 load one of the included “test.html” files. And with a second click the timeline inside those “test” files (loaded widget) reactivates so they nicely fade out and the user can choose a new button to click without having a “pats-boom” transition.
The third button shows my problem. I need to remove the button bar that controls the widgets to get a full view of this particular widget scene, but would like to have the button bar reappear after the user clicks a button in the widget.
Is there something similar on these forums that helps me figure out how to control the ‘parent’ from within the childs iFrame? I looked but it’s, as far as I can see the other way around .