Hi guys,
i have a question, back in AS2 era,
if i have an MC on the stage with function as below
[COLOR=“RoyalBlue”][INDENT][INDENT]mc.onRelease = function() {
trace(“RELEASED”);
};[/INDENT][/INDENT][/COLOR]
i can actually add in another line
[INDENT][INDENT][COLOR=“RoyalBlue”]mc.onRelease()[/COLOR][/INDENT][/INDENT]
which will trigger my button event without me actually clicking on it.
I was wondering how can i achieve the same effect in as3?
because i am building a website, and i want the 1st button to trigger itself after it is
created on stage.
any idea guys?
thanks in advance
regards,
Edwin