dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Reset Object?

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    5

    Reset Object?

    Hi,

    Is there a way to reset the Turbine object?

    I have a C# script that goes through a folder and for each files, I want to create a .swf. But when I use the Turbine.Create() function, it adds each image so the last .swf contains all of them.

    Thank you.

  2. #2
    Hello,

    the final release of Turbine will have a Reset method. Right now you could rely on the garbage collector and simply create another object on top of the previous. For instance:

    Turbine7 t = new Turbine7();
    // do whatever you have to do with t: Create; Load; Generate...

    // after you're done, create another Turbine7
    t = new Turbine7();
    // do the same


    Hope it helps,
    Manuel Fernandes
    Blue*Pacific Software

  3. #3
    Junior Member
    Join Date
    Apr 2002
    Posts
    5
    Works great!!

    But in order to make it work, I had to Server.MapPath() every folder.

    Thank you!
    Last edited by Borg17; 08-28-2003 at 10:49 AM.

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