Why don?t the location values in the Sprite Overlay agree with the values

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Why don?t the location values in the Sprite Overlay agree with the values

    I would expect the left,top,right bottom values for a sprite that appear underneath it on the stage when you click on it to agree with the l,t,r,b values in the Sprite Inspector. But they don?t. As I understand it the registration points are differ in position for a text sprite and a bitmapped sprite but that still doesn?t explain it.

    For example, for a text sprite, Inspector shows
    l:383, t:422, r:770, b:449 with X:383, Y:422 and W:387, H:27
    which is internally consistent. But the Overlay for the same sprite is (400,500,787,527)

    Shouldn?t they agree? What am I missing?

    Confused,

    (Director 7.0, Mac)



    adiabatic webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Overlay of 2d sprite over a 3d sprite
      Hey; I am having a heck of a time getting a 2D sprit to show abouve a 3D scean. Is it even possible? if so how...?
    2. read row values from datagrid and populate in new datagrid values from connected
      Hello, i am new in asp.net and i am having a question: I am having a datagrid_1 in which i am showing the context of PatientDetails table....
    3. Sprite Overlay - Opacity
      Hi, I was playing around with the sprite overlay opacity control, and now its set to the maximum. I cant see the small line to get the opacity...
    4. Printed Image location don't agree with preview
      I just got a new Epson 2200 printer. The first photos I printed do not end up on the paper where Photoshop preview says they will. If I choose center...
    5. Adding custom values and database values to DropDwonList
      The other way is to create a DataTable, put the --None-- as the first Row, then read the datareader into the DataTable, and append the --other-- at...
  3. #2

    Default Re: Why don?t the location values in the Sprite Overlay agree with the values

    Two questions...

    1) Does the Overlay's values change if you move the Stage around on the screen?
    2) Are you running D7 in OS9 within OSX?

    Charles Parcell
    Team Macromedia Volunteer for Director MX
    ----
    Web Forums
    ----
    Feature Request & Bug Form
    Charles Parcell webforumsuser@macromedia.com Guest

  4. #3

    Default Re: Why don?t the location values in the Sprite Overlay agree with the valu

    Hello Charles Parcell,

    Thanks for your interest. Your question about moving the sprite helped me solve the problem. Let me explain.

    I am using Lingo to position sprites on the stage during the course of a movie. For diagnostic purposes I Put the position of some sprites in the Message window during a run. They show the sprite to be where it should be. When I stop a run with the Controller and click on a sprite, the Overlay has the correct position which is consistent with the Message window. The Inspector however HAS THE ORIGINAL POSITION OF THE SPRITE BEFORE THE RUN STARTED. So both agree on the width and height of the sprite but not its position. If you drag the sprite by the smallest amount it snaps back to its original position and now Overlay and Inspector are in complete agreement. It looks like the Inspector figures that when the movie has been stopped, the sprite belongs in its original position where it quickly goes if given a slight nudge. I wouldn?t have caught this had I not moved it as you suggested.

    Thanks again,
    Fred





    adiabatic webforumsuser@macromedia.com Guest

  5. #4

    Default Re: Why don?t the location values in the Sprite Overlay agree with the valu

    Ahh yes. That pesky redraw issue after moving sprites via Lingo.

    It can really cause you to pull your hair out when you create sprites at runtime and then distroy them when you stop running. So, now the sprite no long exists but there is a sprite rendered on the Stage still. On a late night after looking at the screen for 16 hours that can make you scratch your head on occasion.

    :)

    Glad the problem is solved for you.


    Charles Parcell
    Team Macromedia Volunteer for Director MX
    ----
    Web Forums
    ----
    Feature Request & Bug Form
    Charles Parcell webforumsuser@macromedia.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