Category "adobe-animate"

1084: Syntax error: expecting rightparen before colon

I'm new to ActionScript and I'm confused about these two errors. I already have some prior coding experience from other languages. Scene 1, Layer 'Actions', Fra

get var from inside a function to return it AS3

I have this static public function berechne() and I want this function to return data. But data is inside another function, so I can't access it outside the fun