Google Product Forums

Re: video end options


M1lkyBarK1d Jan 12, 2012 12:34 AM
Posted in group: DoubleClick Rich Media

Categories: Studio Flash Components :

Hi

Im having a similar problem. I've have tried your suggestion but when the video ends nothing happens.

i have the following  code in frame one of main timeline

function onVidEnd(){
trace("End");
_root.play();
}

and onVidEnd in the Video end options 

but nothing happens when the video ends. Ive been looking at other template FLA files an they include code such as 

import com.google.ads.studio.events.VideoEvent;

do i need to include any more code other than the function

Ive tested the function in the timeline and it works but nothing from the Video Player Advanced Component

Im using v2 of the DC component.

Any help would be appreciated as its driving me mad.

thanks