Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Volume Control Dial
Back Button - All In One
Get VideoForWindows Version
3D Groove
Timeline re-direction and navigation
Mix-FX Flash animation builder
ADOxtra for Shockwave Multiuser Server
asFFT 2.0
Convert Colour Image to Grayscale
PowerPoint / PPT Access
MediaMacros Xtras Mall
 

 

 

Behavior Video Cleanup

Added on 7/1/1999

 

Compatibilities:
behavior D6_5 Mac

This item has not yet been rated

Author: ColeTierney

Behavior that cleans up digital video and calls FixPalette for the mac From Cole Tierney"s Code Corner http://homepages.together.net/%7Etierney/cole/code/

-- Drop this onto a digital video sprite and palette will be used
-- Image trails will be erased. -- CBT; 5/26/98 --

on getBehaviorDescription
  return "Makes quicktime use the palette and cleans up trails when digital video sprite ends."
end

on beginSprite me
  if the machineType <> 256 then  
    openxlib the pathName & "FixPalette Xobject"
    set fxpal = FixPalette( mNew, the stageLeft, the stageTop, the stageRight, the stageTop )  
    if objectP( fxpal ) then
      fxpal( mPatchIt )
      fxpal( mDispose )
    end if  
    closeXLib the pathName & "FixPalette Xobject"    
  end if  
end

on endSprite me  
  set the visible of sprite the spriteNum of me = FALSE
  updatestage
  set the visible of sprite the spriteNum of me = TRUE  
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