Ask a Question related to Macromedia Director Lingo, Design and Development.
-
ShaolinWood webforumsuser@macromedia.com #1
making a castmember move x,y
I want to run a function to move a castmember, I work in Flash and aren't so clued up in Director,
What I want to do is have a button on a menu, which is sunken down, and when you click it it slides
up into view.
Can I use functions in Lingo??
Can I refer to a cast-member's x and y coords like in Flash?
like: MyMember._x += 5; or does it work with V and H?
Thanks for any help
ShaolinWood webforumsuser@macromedia.com Guest
-
Making layers move within a template
I am creating a template which contains (from top to bottom) an uneditable layer for the logo, an editable layer for the content, and an uneditable... -
making shapes move
I am trying to make a bee and want to make the wings look like they are flying. Anyone have any suggestions for me? I am new to flash and thought I... -
How to animate a castmember with lingo?
Hi, this is what I am trying to do: When I click on my button y want my castmember to animate off the stage. i want to be able to do this with... -
making movieclip move away from mouse
Anyone care to explain to me how to make a movieclip move away from my mouse or know any tutorials on the web on how to do this? When the... -
How do I delete a castmember in Lingo?
Hi Group It's easy to create new castmembers into a specific castlib with Lingo, but how can I delete them again with Lingo. I guess there is... -
ShaolinWood webforumsuser@macromedia.com #2
Never mind
OK, that's quite simple.
But how do you define a variable?
like if you want to state: worldDomination = true;
And then later on have some code:
if world domination = true then quit
end if
or some like that...
ShaolinWood webforumsuser@macromedia.com Guest
-
Richie Bisset #3
Re: Never mind
That's exactly how you do it. You'll have to declare the property
though. if you only ever reference it from the one script then at the
top of that script, outwith any of the handlers, add:
property worldDomination
if you want to use it between several scripts just add the following
to each script that will reference it (again outwith any of the
handlers):
global worldDomination
hope that helps,
richie
On Fri, 5 Dec 2003 11:12:19 +0000 (UTC), "ShaolinWood"
[email]webforumsuser@macromedia.com[/email] wrote:
>OK, that's quite simple.
>But how do you define a variable?
>like if you want to state: worldDomination = true;
>
>And then later on have some code:
>
>if world domination = true then quit
>end if
>
>or some like that...
>
>Richie Bisset Guest
-
ShaolinWood webforumsuser@macromedia.com #4
Thanks man
That will definitely help.
thanks for the reply
Njoy
ShaolinWood webforumsuser@macromedia.com Guest
-
Rob Dillon #5
Re: making a castmember move x,y
A cast member is the original asset and resides in the cast. Any
instance of a member on the stage is a sprite. It's the sprite that you
want to animate.
Yes, Director has functions. The verticle component of a sprite's
location, it's loc, is the locV property.
All of this information, as well as many other interesting facts about
Director, are conveniently located in the Director Help section of the
Help Menu. You might also want to wander through some of the tutorials.
You may also find some useful information there.
--
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
-
Loren Schwarz #6
Re: making a castmember move x,y
> All of this information, as well as many other interesting facts about
Sometimes I really wonder how people can want to achieve anything using> Director, are conveniently located in the Director Help section of the
> Help Menu. You might also want to wander through some of the tutorials.
> You may also find some useful information there.
>
> --
> Rob
Director without even having one single look at the manual or _at least_ at
the online help?! If you are a somehow experienced programmer, you can go
ahead and try things out in Director, but if you don't even know how a
variable is declared, then that's the best time to read about the
fundamentals of your new programming environment... (let's call Director a
programming environment, in this case ;-) )
L.S.
Loren Schwarz Guest



Reply With Quote

