all groups > flash actionscript > february 2007 >
You're in the

flash actionscript

group:

i want to make a new command from existing commands


Re: i want to make a new command from existing commands dan mode ->Adobe Community Expert
2/2/2007 3:27:53 PM
flash actionscript:
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


[quoted text, click to view]

i want to make a new command from existing commands MrFishi
2/2/2007 10:21:48 PM
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.
Re: i want to make a new command from existing commands MrFishi
2/2/2007 10:47:40 PM
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.
AddThis Social Bookmark Button