So this is driving me a little nuts. I purchased an Edge Animate template that has a dial that swipes between different slides (EdgeDial - A Responsive UI Dial And Image Slider - Edge Animate Templates | CodeCanyon). This is for an iPad DPS app. I've included videos on each of the slides.
I have it all working fine, where the user taps a button at each slide and the video plays. But if the user flips to the next slide while a video is in progress, the video just keeps playing in the background. What I want to happen is, whenever the user drags to the next slide in the dial, any current videos will stop.
So from the main stage, under the function called when the user drags, I've inserted the following line:
sym.getSymbol("ImageSymbol1").$("Video_Name")[0].stop(); |
But this just seems to be breaking it. I can find lots of documentation regarding how to start/stop nested symbols, but I can't find anything about controlling video that's contained in a nested symbol. Any help would be greatly appreciated.