A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23

Thread: XML Data progressBar

  1. #21
    Senior Member
    Join Date
    Jun 2001
    Posts
    116
    it looks easy but it doesnt work it keep giving me an error of
    ')' or ',' expected in the line that said

    var percentLoaded:Number = Math.floor((bytesLoaded / bytesTotal ) 100);
    is this feature an error by Adobe ?

  2. #22
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    As I said several times you cannot trace the loading progress, because for loading XML there is no progress event as for the MovieClip Loader or for what is possible in AS3. You can only see 0 or the number of bytes loaded at the beginning or the number, when they equal the total number of bytes at the end of loading.

    var percentLoaded:Number = Math.floor((bytesLoaded / bytesTotal ) *100);
    - The right of the People to create Flash movies shall not be infringed. -

  3. #23
    Senior Member
    Join Date
    Jun 2001
    Posts
    116
    and whats the point of the adobe live document ??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center