Graphics

 View Only
  • 1.  Synchronizing Text Layers

    Posted 08-13-2018 21:27
    I have a couple of scenes where the same message or words are being used in a few different places, is there a way to sync these up so my operator doesn't have to retype the same lines 3 times. thank you.


  • 2.  RE: Synchronizing Text Layers

    Posted 08-14-2018 04:52
    You can use Visual Logic for this purpose. Just link the output of the text layer that you want to enter text into to the inputs of the other text layers.
    #XPression


  • 3.  RE: Synchronizing Text Layers

    Posted 08-15-2018 20:07
    What if you wanted to output text from one scene to another? Playing around with crawls at the moment. I have a Scene Group with three linked scenes using an SQL database through Datalinq. The linked scenes each have two text boxes, one with the crawl category (Top Stories, Breaking News, etc...) and the other with the crawl info. I want to output the text of each linked scene's category text to a text box in the main Scene Group, which in turn will animate a "header tab" to display what crawl category is currently on-air. New to Xpression, so please pardon me if I'm not explaining things properly. Thank you.
    #XPression


  • 4.  RE: Synchronizing Text Layers

    Posted 08-16-2018 15:40
    Between scenes is either datalinq like you have done or scripting something like;

    dim textparent, textchild as xpTextObject
    dim parent as xpScene
    dim fb as xpOutputFramebuffer

    engine.GetOutputFramebuffer(0, fb)
    fb.GetSceneOnLayer(0, parent)
    parent.GetObjectByName("Text1", textparent)

    self.GetObjectByName("Text1", textchild)

    textchild.text = textparent.text



    This example requires the scene you are copying from to be online.

    #XPression