loading a movieclip if and when needed

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default loading a movieclip if and when needed

    hello.

    could someone please tell me how to load a movieclip from the library only if
    it is needed and therefore when it is needed.

    i've tried using attachmovie without "export on first frame" checked and it
    only works for the first clip that i've attached to the parent clip.
    consecutive clips do not appear - they are attached to the same parent as the
    first.

    thankyou.

    kudhu Guest

  2. Similar Questions and Discussions

    1. movieClip needed
      Hello, I'm starting with FLEX ; I know AS not too bad since I've practised a lot these last months ... so it makes a lot of differences of course...
    2. Loading images in a movieClip using PHP/MySQL
      Loading images in a movieClip using PHP/MySQL I'm just starting to learn Actioncript, so this may be simple. I would be very happy if anyone could...
    3. loading and scaling an external SWF into a movieclip?
      Hi. I'm sure there's a way to do this easily with AS, but I don't know how. I'm trying to load an SWF into an empty movieclip instance. I've got...
    4. Error using Crypt::OpenSSL::RSA - Fails loading public key - Help needed
      Hello everyone! I wrote a simple perl program to encrypt a string using Crypt::OpenSSL::RSA. Everything as described in the module...
    5. a movieclip to control another movieclip???
      Well, try to trace the _x coordinate or print it onto screen so you can see what it is. What is pc_move? If you want to move the clip, you must...
  3. #2

    Default Re: loading a movieclip if and when needed

    to use attachMovie() when you don't export a movieclip with the first frame you must instantiate that movieclip on some timeline frame.
    kglad Guest

Posting Permissions

  • You may not post new threads
  • You may 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