Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Mysterious error

Mysterious error

2004-04-28       - By Bernard Lebel

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hello,

I'm using a script that, at one point, has an enumerator. For each item in
it, two functions are called. The strange thing is that all seem to work
fine (the functions all return positive results), but after the enumerator
has performed its last iteration, an error

"Object doesn't support this property or method - [line 221]"

is trhown, pointing to the enumerator statement line
for( var f = new Enumerator( oFoldersColl2 ); !f.atEnd(); f.moveNext() )


Am I missing something?

Thanks
Bernard



Relevant script part:

    // Check if folder with files was found
    if( oFoldersColl2.count < 1 )
    {
      logmessage( "No folder was collected.", siError );
    }
      else
      {
        for( var f = new Enumerator( oFoldersColl2 ); !f.atEnd(); f.moveNext() )
        {
          // Get current folder
          var oFolder = fso.getfolder( f.item() );

          // Call main function
          var fCheck = checksequence( oFolder );

          if( fCheck != 1 )
          {
            logmessage( "For some reason, CheckSequence failed.", siError );
          }
            else
            {
              logmessage( "CheckSequence successfully completed.", siInfo );
            }
        }
      }

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
MSN Premium helps eliminate e-mail viruses. Get 2 months FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http:/
/hotmail.com/enca&HL=Market_MSNIS_Taglines

---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi