Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
HJ Install
Bevel Button-Alphamania
space crawling
DM Stars Field Effect
DirectOS Xtra
Acrobat Reader
Halo around images
Image Xport
Xplode that text
CatEffects pack
 

 

 

Behavior Check For Asset

Added on 6/20/2000

 

Compatibilities:
D7 D8 PC Script Shockwave

This item has not yet been rated

Author: KumarK

Check For Asset

---- written for Director 8 ---
---- Kumar.K ----
---- kumark@icode.com ----
------ Custom Properties ------

--- This Handler Checks for the Asset Given---
-----assetType canbe one of these ---
--#animgif,#bitmap,#button,#picture,#cursor,#QuickTimeMedia,#digitalVideo,#script
--#empty,#shape,#field,#sound,#filmLoop,#swa,#flash,#text (#richText is now obsolete)
--#font,#transition,#movie,#vectorShape,#ole,#palette
on assetCheck assetType
  set asset = new (assetType)
  if ilk(asset,#member) then
    erase asset
    put assetType & " asset is installed."
    ---Your Custom Lingo Goes here--
    --- what You want do if the assest is installed --
  else
    put assetType & " asset is Not installed."
    ---Your Custom Lingo Goes here--
    --- what You want do if the assest is Not installed --
  end if
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail