Professional Web Applications Themes

Dynamic cast libraries - Macromedia Director Lingo

How can I open a new castlib at runtime? I'm trying to create some nice generic scripts for common components in my movies and it would be nice if each instance of the component could have its own castlib... I know I could simply add a parameter for the cast name for an existing cast, but it would be easier if I didn't have to worry about that. and could just feed in a component name and let the script handle the rest. Thanks in advance for any help regarding this -- Stephen Whipp Eastmond Publishing Ltd. (UK) ----------------------------------------------- Visit ...

  1. #1

    Default Dynamic cast libraries

    How can I open a new castlib at runtime?

    I'm trying to create some nice generic scripts for common components in my
    movies and it would be nice if each instance of the component could have its
    own castlib... I know I could simply add a parameter for the cast name for
    an existing cast, but it would be easier if I didn't have to worry about
    that. and could just feed in a component name and let the script handle the
    rest.

    Thanks in advance for any help regarding this

    --
    Stephen Whipp
    Eastmond Publishing Ltd. (UK)
    -----------------------------------------------
    Visit our website at:
    [url]www.autograph-maths.com[/url]
    ----------------------------------------------




    Stephen Whipp Guest

  2. #2

    Default Re: Dynamic cast libraries

    a common approach is to switch castlibs by changing the 'filename' path
    of a cast initialy set to a linked external castlib file.
    JB Guest

  3. #3

    Default Re:Dynamic cast libraries

    see "save castLib" in help. maybe it can help.

    /M


    MosseMilk webforumsuser@macromedia.com Guest

Similar Threads

  1. Looping through all the cast libraries to change member properties.
    By Stef in forum Macromedia Director Lingo
    Replies: 1
    Last Post: October 30th, 11:00 PM
  2. Dynamic libraries and install paths
    By Wade in forum Mac Programming
    Replies: 1
    Last Post: October 18th, 06:00 AM
  3. Event processing and dynamic libraries
    By Kalani Thielen in forum Mac Programming
    Replies: 0
    Last Post: August 14th, 04:21 PM
  4. #16053 [Com]: Unable to Load Dynamic Libraries
    By iandbigejunk at yahoo dot com in forum PHP Development
    Replies: 1
    Last Post: August 14th, 05:47 AM
  5. dynamic libraries, libtool
    By OSX User in forum Mac Programming
    Replies: 1
    Last Post: August 2nd, 07:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139