3 Replies Latest reply on Mar 23, 2011 1:00 PM by Ned Murphy

    Dynamic text won't appear

    BailOrBurn

      I'm trying to generate a random number at the start of the movie, but nothing will show up. I'm not getting any errors, there's just nothing on the screen (i've tried giving it a background to see if the text is just white). Here's the script; because i can't see the result i'm not sure if this script even works like I want, but one problem at a time.

       

      {display = Math.floor(Math.random()*9);}

       

      display is the name of the dynamic text box.

       

      I plan on exporting this to UDK with Scaleform so that a random number shows up in the level and then have that number be the combination to a safe or something.

       

      I'm using Actionscript2.0 and CS4 if it matters.

       

      Any help would be appreciated