Ask a Question related to Macromedia Director Basics, Design and Development.
-
adiabatic webforumsuser@macromedia.com #1
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
-
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...? -
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.... -
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... -
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... -
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... -
Charles Parcell webforumsuser@macromedia.com #2
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
-
adiabatic webforumsuser@macromedia.com #3
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
-
Charles Parcell webforumsuser@macromedia.com #4
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



Reply With Quote

