Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Wait for a DirectMedia CuePoint (Index ID as Reference)
Sound slider
Hex to integer
Rollover Ink Change
Font Freak
Flash sending messages to Director
Director Web
E-mailExec 2.0
SmartOLE Xtra
Turn puppeting off for a range of sprite channels
MediaMacros Xtras Mall
 

 

 

Behavior castLib.saveAndCompact() from Lingo

Added on 6/10/2003

 

Compatibilities:
D9

Required Xtras:
FileXtra

Rating:

Author: peterh

castLib.save() is a documented Lingo function, but doesn't compact the cast when it does. If you want to compact it aswell, you must save it under a different name. Funnily enough, after you've done that, saving again under the original name will save a compressed cast. Then just delete the file you first saved. (Works in MX, don't know about others)

on saveAndCompact cLib
  fName=cLib.fileName
  cLib.save(fName&"X")
  cLib.save(fName)
  
  fxObj = xtra("FileXtra4").new()
  flist= fxObj.fx_FileDelete(fName&"X")
  fxObj=0
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail