Graphics

 View Only
  • 1.  Script animation scenegroup at last scene shown

    Posted 05-11-2013 08:11
    Hi Folks,

    I am struggling finding a way to create a script that will animate a scenegroup off, when the last scene in the scenegroup has been shown. Has anyone experimented with this?

    I am need this for both end-credits and tickers with different topics i.e. News/Sports/Bizz/Gosip.

    Any help is gratefully recieved

    Niels


  • 2.  RE: Script animation scenegroup at last scene shown

    Posted 05-15-2013 17:11
    On your last scene of your scene group, after your text, put an event object. Go in Script Editor, "OnHide" and paste this :

    Dim MyTakeItem as xpBaseTakeItem

    Dim MyOutFB as xpOutputFrameBuffer

    Engine.GetOutputFrameBuffer(0, MyOutFB)

    MyOutFB.GetTakeItemOnLayer(0, MyTakeItem) 'replace 0 by layer used by takeitem

    MyTakeItem.SetOffline()


    #XPression