It is currently 24 Jun 2017, 09:43



flash template load + mask

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

Moderators: Macey, Jonas Hummelstrand, didikunz

flash template load + mask

Postby guiprou » 05 Sep 2016, 10:32

Hello,

I developped a template which has a strange behaviour.

I explain : I need to use an animation (shape sequence) as a mask for dynamic texts.
I see 2 possibilities:

-> either I put my sequence directly into the main stage: when I do this, my masked dynamic texts won't be filled with template data. (By the way, this behaviour occurs when the mak contains shape sequence, not with a unique shape).

-> or I can put my sequence into a movieclip : in this case, my masked texts work well (even with shape sequence), dynamic fields get template data, but using a shape sequence in a movie clip make the template playing on the load command ! A bit disturbing if I want to load my template a few seconds before I play it ...

Have you ever experimented this ? If someone has a solution for either having dynamic texts working well with mask on stage or having animation that doesn't start on load while placing it into a movie clip, I take it !

Thanks for your feedbacks

Guillaume
guiprou
 
Posts: 14
Joined: 03 Jul 2014, 09:55

Re: flash template load + mask

Postby didikunz » 05 Sep 2016, 21:58

The second approach is the right one. Simply Add a stop(); comand in the first frame of your movieClip. It is then very easy to start the clip from ActionScript by calling nameOfMovieClip.gotoAndPlay(1);
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: 3477
Joined: 10 May 2010, 09:08
Location: Aarau, Switzerland

Re: flash template load + mask

Postby guiprou » 06 Sep 2016, 13:58

Thanks a lot didikunz !
That works now
guiprou
 
Posts: 14
Joined: 03 Jul 2014, 09:55


Return to Content

Who is online

Users browsing this forum: No registered users and 2 guests