To behave like a fool or an idiot.
Heard in Cork
In useYou're acting the flute since you arrived this morning.
Lawrence Muck's posh English
Ah, there you are, you rascal.
Here it is in posh English.
You have been behaving like an utter buffoon since you arrived this morning.