1 Reply Latest reply on Aug 5, 2007 7:10 AM by kglad

    1120 Access of undefined Property

    123lloyd321
      Hi,

      I'm following a basic tutorial which includes actionscript to detect how much of my root timeline has been loaded in terms of bytes. The actionscript keeps returning two error messages:

      1120: Access of undefined property percent

      and

      1120: Access of undefined property _root

      Can anyone tell me why this small bit of code might be going wrong?

      percent = Math.floor(_root.getBytesLoaded()/_root.getBytesTotal() *100);

      Thanks

      Lloyd