Flash AS syntax help
Flash AS syntax help
- Started
- Last post
- 5 Responses
- thismanslife
I have this code working:
myobject.onRelease = function () {
*function goes here*
}...but can I do it for multiple objects, ie.
myobject1 or myobject2 or myobject2.onRelease = function () {
*function goes here*
}???
- blaw0
- thismanslife0
Hot. Cheers, I'll give that a go :)
- alloyd0
u don't need to do that, just do this:
myObj1.onRelease =
myObj2.onRelease =
myObj3.onRelease = function()
{
doThisFunction();
};
- thismanslife0
Also useful to know, thanks!
- thismanslife0
Just want to to say thanks for the help, all working beautifully and i'm done for the night.
If either of you ever need any CSS advice... that's my forte... ;)