Skip to main content
Participant
February 2, 2007
Question

i want to make a new command from existing commands

  • February 2, 2007
  • 2 replies
  • 144 views
hi everybody,
what i'm looking for is a way to create some sort of ground rule.
i want to make a new flash command (what comes after the "._"),
using 2 existing commands for one of my projects.
i learn java in school and it's boring like hell but there, you can do that sort of things.
i will be glad for some help, it will save my a litlle time, but i'm not quite desperate yet.
maybe i will.
This topic has been closed for replies.

2 replies

MrFishiAuthor
Participant
February 2, 2007
you've got it right there. that is exectly what i'm trying to do.
but there is a problem, because funtion works only for a specific object and i want to create a command which i'll be able to use for all objects.
for example, ._newcommand=._x+._weight
for calculate the final x position of the object.
Inspiring
February 2, 2007
Like some sort of function you can call over over again? Please explain.


--

Dan Mode
--> Adobe Community Expert
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog


"MrFishi" <webforumsuser@macromedia.com> wrote in message
news:eq0dhs$ina$1@forums.macromedia.com...
> hi everybody,
> what i'm looking for is a way to create some sort of ground rule.
> i want to make a new flash command (what comes after the "._"),
> using 2 existing commands for one of my projects.
> i learn java in school and it's boring like hell but there, you can do
> that
> sort of things.
> i will be glad for some help, it will save my a litlle time, but i'm not
> quite
> desperate yet.
> maybe i will.
>