Hey there! I don’t remember much of this movie other than that it’s a color movie that used to be on VHS. One iconic part of it was that a bed frame with long legs carried that main character somewhere or another. The main character was a boy in… blue pajamas, I believe? I also remember some part about him releasing a black goo fo some kind? It was very dream-like.
That sounds like “Little Nemo : Adventures in Slumberland” to me.
http://www.imdb.com/title/tt0104740/?ref_=fn_al_tt_1