Ask a Question related to Macromedia Director Basics, Design and Development.
-
MECS webforumsuser@macromedia.com #1
movable sprites
I have recently updated several movies from an older version of Director to Director MX. Now the movable
sprites jump around to odd locations on the screen when the playback head enters the frame where they
become movable.
Is anyone else having this problem, and is there a fix other than manually removing and replacing those
sprites one by one?
Thanks.
Dewey
MECS webforumsuser@macromedia.com Guest
-
Movable iFrame with imbedded HTML
Hi, thank you for your assistance! My pop-up uses an iFrame to place an html page within. However, dragging the iFrame leaves the html content... -
Connection to Movable Type Blog MT4
Hi there, can some one tell how I can make a connection to a MT4 Blog. I did it with the wizzard, but it failed.. Error " Name and Passwort for... -
controlling and movable sprites
please help, I am proficient in Maya and Director and understand the general concepts of Director's 3d Action and Triggers. However, I would... -
movable interface?
hi, just wondering if someone could help me...please! I have to make an interface for a CD-Rom with Director 8.5 The stage is going to be smaller... -
movable objects in a movie
how do i make objects draggable in a movie? i dont have a lingo book so cant look through it. can u give me the behavior or where to find it? this... -
blkli0n webforumsuser@macromedia.com #2
movable sprites
Hi,
I have multiple sprites in my score on the same channel with all of their properties set to moveable. Once I set the sprites to moveable I lose the ability to isolate individual sprites and move them without affecting adjecent sprites on the same channel. So when I move my sprite in frame 1 channel 18 and then go to frame 2 channel 18 that sprite has moved in conjunction with frame 1. One solution that I have is to move the sprite on frame 2 to channel 19 but my problem is that I have approx. 80 sprites. Is their a way to isolate the sprites movement by it member name instead of by the sprite number.
Ex)on spriteMove
sprite(18).moveableSprite = TRUE
end
thanks
blkli0n webforumsuser@macromedia.com Guest
-
Jay #3
Re: movable sprites
If you are using director 8.5 and up you can select the all your
sprites and apply the moveable behavior from the the behavior
inspector.
"blkli0n" [email]webforumsuser@macromedia.com[/email] wrote in message news:<boh7eo$slo$1@forums.macromedia.com>...their properties set to moveable. Once I set the sprites to moveable> Hi,
>
> I have multiple sprites in my score on the same channel with all of
I lose the ability to isolate individual sprites and move them without
affecting adjecent sprites on the same channel. So when I move my
sprite in frame 1 channel 18 and then go to frame 2 channel 18 that
sprite has moved in conjunction with frame 1. One solution that I
have is to move the sprite on frame 2 to channel 19 but my problem is
that I have approx. 80 sprites. Is their a way to isolate the
sprites movement by it member name instead of by the sprite number.>
> Ex)on spriteMove
> sprite(18).moveableSprite = TRUE
> end
>
> thanksJay Guest
-
Rob Dillon #4
Re: movable sprites
Director animation is based on keyframes. When you place an instance of
a member on the stage or the score, it will usually span a number of
frames. The default is number of frames is 28. The first frame will
show a circle and the last frame will show a rectangle. That circle in
the first frame represents a keyframe.
If you move the sprite in any one frame without selecting the
registration point for that sprite, then you will move the location of
that sprite in every frame. If you move the sprite by dragging the
registration point then you will, 1. create a new keyframe at the end
of the sprite's span in the score, and, 2. change the location of the
sprite in only that frame and, 3. set up an animation path from the
first frame to the last frame. You will also now see a circle at the
last frame of the sprite's span.
If you want to add a keyframe at any point in the sprite's span, select
that frame and, 1. use the Insert menu item Keyframe, or, 2. use the
keyboard shortcut for that action. Adding a keyframe to a sprite's span
will cause the sprite to animate from one keyframed locatioon to the
next.
If you want to have each sprite in each frame operate independently and
not be tween animated, then select each frame in the sprite's span, one
at a time, and then select Split Sprite from the Modify menu.
There are several useful sections of the online manual and also some
useful tutorials included with Director. These may help to show you how
Director works.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
blkli0n webforumsuser@macromedia.com #5
Re: movable sprites
Hi,
I wish my problem was that simple unfortunately, it?s a little more complex then moving assets around in authoring mode. I need the user to be able to dynamically move sprites during runtime mode. I have 4 sprites per channel in different frames but they all reside on the same channel. I need to be able to move these sprites around with lingo so that they can be positioned and once positioned obtain their v & h loc and save that data to a text file.
My problem, is when I set one sprite in channel 18 to moveable or do it through lingo via the drag behavior or just in code and move that sprite during runtime and proceed to another frame where the second sprite resides it has moved as well. I need to be able to move the sprites independently of each other while maintaining all the sprites on the same channel. Again I must have all the sprites on the same channel.
If you choose to respond please read my entire post so my dilemma may be understood fully.
I appreciate the help.
Ben
blkli0n webforumsuser@macromedia.com Guest
-
Rob Dillon #6
Re: movable sprites
Hi Ben,
Your original thought of storing the new location in a global variable
would work just fine if you were not using the same sprite channel for
a different sprite.
The very simplest solution is to use different sprite channesl for each
of these movable sprites.
If you really, really, do need to use the same sprite channel, and with
1,000 channels available I can't think of a good reason, then you could
also store the name of the member that occupies the sprite channel in
any one location.
You should actually be using a global variable, or in the case of
storing the member name and sprite channel number, a global property
list, as it's about 1000 times faster to use than a text member and
about 100 times faster than a field member.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest



Reply With Quote

