It is currently 26 May 2017, 23:47



template with png sequence [*SOLVED*]

Videos, graphics, Flash templates – how to create and play them using CasparCG

Moderators: Macey, Jonas Hummelstrand, didikunz

template with png sequence [*SOLVED*]

Postby tusa » 04 Mar 2017, 04:09

Hello guyes.

I have made a template with a png sequenze like this: https://www.youtube.com/watch?v=mn4IfcDkIhU
At first I did'nt add any text fields, then i t plays perfect and bring the background on and takes it of again.
When I add the text fields and animate them in the as script, it will bring the bar and the text on and only take the text off, but the background stays on.
I have to clear the channal to take it off.

I've shared the files here: https://www.dropbox.com/sh/djd6bes9tin39j3/AAD1aou0LURgHTWDBLyN4iQ6a?dl=0

Brg Tue.
Last edited by tusa on 06 Mar 2017, 07:56, edited 1 time in total.
tusa
 
Posts: 49
Joined: 14 Nov 2014, 15:15

Re: template with png sequence

Postby didikunz » 04 Mar 2017, 09:10

The alpha property should be between 0 and 1 and not between 0 and 100. So it should read:

Code: Select all
      override public function Play():void
      {
         Tweener.addTween(name_mc, {alpha:1, time:0.16, transition:"linear"});
         Tweener.addTween(nickname_mc, {alpha:1, time:0.16, transition:"linear"});
         //Tweener.addTween(mask_mc, {x:0, time:0.48, delay:0.28, transition:"easeOutSine"});
      }
Didi Kunz
CasparCG Client-Programmer, Template Maker & Live CG-Operator
Media Support, CH-5722 Gränichen, Switzerland http://mediasupport.ch/
Problems? Guide to posting Bug reports & Feature requests
User avatar
didikunz
 
Posts: 3448
Joined: 10 May 2010, 09:08
Location: Aarau, Switzerland

Re: template with png sequence

Postby tusa » 04 Mar 2017, 13:45

That did help on my animation for the text, but the content layer with the mc_bundt_bkg won't go off, and staus on even the text has been taken off?
tusa
 
Posts: 49
Joined: 14 Nov 2014, 15:15

Re: template with png sequence

Postby didikunz » 04 Mar 2017, 15:47

Aha, now I see. You have a timeline animation also. That does not work (at least not for me). You can do the animation either by code, leaving you with a single frame (main) timeline, or move the timeline animation inside a MovieClip and start it from code with nameOfMovieClip.gotoAndPlay(frameNumber);
Didi Kunz
CasparCG Client-Programmer, Template Maker & Live CG-Operator
Media Support, CH-5722 Gränichen, Switzerland http://mediasupport.ch/
Problems? Guide to posting Bug reports & Feature requests
User avatar
didikunz
 
Posts: 3448
Joined: 10 May 2010, 09:08
Location: Aarau, Switzerland

Re: template with png sequence

Postby tusa » 06 Mar 2017, 07:55

That apparently did'nt worked for me either, so I did use your solution, and now et works.
Thank you :-)
didikunz wrote:You can do the animation either by code, leaving you with a single frame (main) timeline, or move the timeline animation inside a MovieClip and start it from code with nameOfMovieClip.gotoAndPlay(frameNumber);
tusa
 
Posts: 49
Joined: 14 Nov 2014, 15:15


Return to Content

Who is online

Users browsing this forum: No registered users and 2 guests