Can a Dock menu be reliably put into an AppleScript app?

In AS Studio?
In Smile?

(I'm on 10.4.11)