User blog:Yuma10000/I need help remembering a old movie

I remember I watch this movie before but I don't know which title it is.

I going give you some clues!

Kid going up stair attic or closet and it turn into a pirate ship.

Kid bedroom inside a pirate ship.

That all I remember!