Unwanted mc instances - is it me?

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

  1. #1

    Default Re: Unwanted mc instances - is it me?

    hmm. Just had a look at your movie, and it doesn't look like thats exactly what
    it does...

    You have tried starting your levels for swapDepths at 500 or more? And ensure
    they are unique for every swapDepths call?

    Pea Guest

  2. Similar Questions and Discussions

    1. Unwanted Rounding
      I have a decimal datatype set to precision 5 and scale 2. When I try to insert a new record via ASP using a stored procedure, my numbers are...
    2. Unwanted mc instances
      Hi all I hope I'm not posting this twice but it didn't seem to work first time. Apologies just in case. And next time I'll copy my carefully...
    3. unwanted border around swf
      I have this flash site that comes from a html primary page. But the swf window that is embebed in a html page too, shows a small border around the...
    4. unwanted message pop-ups
      Can anyone tell my how to stop these messanger pop-ups? I have had no trouble with this until yesterday after I downloaded the windows updates. All...
    5. unwanted adds
      for some reason everytime we log on to internet explorer we are getting porn adds and we cant make them go away we just recently got our first...
  3. #2

    Default Re: Unwanted mc instances - is it me?

    Thanks for your input, Pea.
    I created a global variable to maintain unique depths that I incremented each
    time, ie

    mc.swapDepths(currentDepth);
    currentDepth +=1;

    but the effect was multiple instances of EVERYthing I dragged (which I kinda
    expected). What I want to do is dispose of the instance that seems to be
    created when I swapDepth. I really just want to switch the z axis.

    thanks again

    BronwynL Guest

  4. #3

    Default Re: Unwanted mc instances - is it me?

    HAH! I've got a workaround. Not pretty, but...

    I created a mc with nothing in it, put it on stage and gave it an instance
    name of "null". When I initialise, I null.swapDepths(500) and so far I can't
    recreate my problem.

    YAY!

    BronwynL Guest

  5. #4

    Default Re: Unwanted mc instances - is it me?

    how about _root.swapDepths ? and save yourself a null.

    John

    --
    ----------------------------------------------------------------------------
    -----------
    RESOURCES
    [url]http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash[/url]
    ----------------------------------------------------------------------------
    -----------
    TUTORIALS at
    [url]www.laiverd.com[/url]
    Flash & PHP Emailform
    Using textfiles in Flash
    ----------------------------------------------------------------------------
    -----------


    Laiverd.COM 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