Results 1 to 2 of 2

Thread: pv3d collada FileLoadEvent.LOAD_PROGRESS

  1. #1
    Fab4ce
    Guest

    pv3d collada FileLoadEvent.LOAD_PROGRESS

    hi,
    i´m new here. I hope that there are some people in here using Papervision.
    Well, i do....or i try.
    I got this code from an example of loading a DAE file with the DAE parser in PV3D. Now i try the same with the Collada parser.
    It doesn´t work.

    Code :
    collada.addEventListener(FileLoadEvent.LOAD_PROGRESS, handleProgress);
     
    function handleProgress(e:Event):void
    {
    bl = e.target.bytesLoaded;
    bt = e.target.bytesTotal;
    per = Math.round(bl/bt*100);
    messageText.text = "COLLADA "+per+"% LOADED, PLEASE WAIT";
    };
    Does anyone know how to trace a loading progress of a collada file in PV3D?
    My Output Windows shows me errors like this:
    ....
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
    ....

  2. #2
    Junior Member
    Join Date
    Aug 2007
    Posts
    5
    Hi, please check the Papervision3D mailing list

Posting Permissions

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