Hello stack overflow community,
I am using Google's DoubleClick Studio version 2 AS3 .
I am using Flash CS5.5.
I have read through DoubleClicks that in other words, using rich media, how to create a banner ad using video.
I have a parent SDF and a child is SLF.
My child swf is organized like this: Scenes 1 with layer 1 Level 1 contains a movie clip on the forum that contains all my banner elements (video). Players, video player buttons, text, backgrounds, an image and CTA buttons are using these DoubleClick Studio components again). An example of "Spread_1" in this movie clip is the video player advanced component in this movie clip.
I consider video player as an advanced component. I understand what is the place with an exception in the component inspector, when I am in the "video end option", I have three radio button options and a fourth option which calls the function. In the text field, I had put this function "last limit ()"
In a verb layer, I put that code in the function that is called the video player advanced component, the code for the function is:
** work last frame () {gotoAndStop (2, "Spread_1")} ** This function is located in the first frame of the movie clip "Spread_1" My intention is when the video stops playing, I want to go to 2 frames.
When I test the banner, I get this output:
** [0.01] Nibollar: emulating page load [2.08] Nabailor: Page Loaded. [2.45] Enabler: 'cakePlayer': the video event EVENT_VIDEO_PLAY [2.45] Enabler: 'cakePlayer': EVENT_VIDEO_VIEW_TIMER [7.54] Enabler: 'cakePlayer': video event EVENT_VIDEO_MIDPOINT [12.83] Enabler for: video event video event: 'cakePlayer': EVENT_VIDEO_COMPLETE [12.83] Enabler: video event: 'cakePlayer': EVENT_VIDEO_VIEW_TIMER ArgumentError: error # 2108: the scene was not found Spread_1. At flash.display :: MovieClip on / gotoAndStop () H100_fla :: Spread_1_1 / Work / http to lastFrame (): //adobe.com/AS3/2006/builtin :: on com.google.ads.studio () apply Are there. Utils :: on FunctionUtils $ / invokeStringAsFunction () MethodInfo-37 () function / at http: //adobe.com/AS3/2006/builtin :: Apply () on com.google.ads.studio.video::EnhancedVideoController/ completeHandler () on flash.events::EventDispatcher/dispatchEventFunction () on flash.events::EventDispatcher/dispatchEvent () on flash.events::EventDispatcher/dispatchEventFunction () on flash.events::EventDispatcher/dispatchEvent () in Flash. Events :: EventDispatcher / dispatchEventFunction () on flash.events::EventDispatcher/dispatchEvent () (on com.google.ads.studio.video::VideoEventDispatcher/dispatch) on com.google.ads.studio.video::VideoEventDispatcher/ Flash.utils :: timer / _timerDispatch () in flash.utils :: timer / tick () ** I do not understand the error and I have a DoubleClick Studio version 2 AS 3 Useful Newbie on using
For any help you nk, it is much appreciated.
The second parameter of Goto is for visual and visualization, you are passing the name of movieclip instead .
Argument: Error # 2108: Scene Spread_1 not found. If you want to move to frame 2 on the main timeline, try this:
function lastframe () {gotoAndStop (2)} or if you want to go to Frame 2 in Spread_1 Mac
Function Last Frame () {Spread_1.gotoAndStop (2); } If you only got one, then you do not need to send the view name as a parameter.
Comments
Post a Comment