Graphics

 View Only
  • 1.  Script Running Delay

    Posted 08-03-2012 21:03
    I recently updated my software to last version 3.60 build 1821 and now my scripts are not running fine. For example

    if i want to run a simple script(put online 2 scenes with method to get by name) the operation is made after 5 or 6 second. Same command is working fine with version 3.21 build 1768. Is anyone who can help-me to solve this problem?Thanks.


  • 2.  RE: Script Running Delay

    Posted 08-03-2012 21:50
    Hi Corina,

    I won't be able to able to help with any problems in the script itself, but if you are only seeing these problems after upgrading the software I would recommend you try the following:

    Delete all the files in the following folder:

    C:/Program Files (x86)/XPressionStudio/cache/scripts

    This will clear the script cache created by XPression and make it recompile your scripts the next time you open XPression. There is a possibility that a change in the API in the new software update is interfering with the operation of your scrips created in an older version of the software API.

    On a side note, all (most?) of the API is backwards compatible, so you don't have to worry about altering your script to meet any changes in the API between versions.

    Give that a try and let us know if it works. I'd also recommend posting your script here so the script savvy individuals here can take a look at it and suggest any changes.

    #XPression


  • 3.  RE: Script Running Delay

    Posted 08-04-2012 08:51
    Thanks Garner, i tried but no luck. I uninstalled player and studio old versions, i removed folders from program files, i installed new version, but...same think. I worked with scripts in old versions and i know how to made a script but las version of xpression..studio or player can not run scripts normally. Here is an example if you want to test.

    Create twoo scenes with names Scene1 and Scene2. In both of them add anythink..text or background...

    Add the fallowing script to Scene1 at OnOnline field:

    dim scene2 As xpScene

    Engine.GetSceneByName("Scene2",scene2)

    scene2.SetOnline()

    Now Drag Scene1 to sequencer and take it online. Scene is taken online after 5-6 seconds.

    #XPression


  • 4.  RE: Script Running Delay

    Posted 08-05-2012 00:01
    Hi Corina,

    I believe this issue has been corrected in version 3.7.. Please contact techsupport and see if they can give you a beta copy of 3.7.

    #XPression