You do this by making a movie clip and attaching a small script to it so the ground behaves as a solid platform without showing any artwork.
Create an mc (movie clip), then open its actions panel and enter:
onClipEvent (load) {
Makeground(1)
}
The Makeground(1) call registers the clip as collision geometry. Leave the clip's visible frame empty and you get an invisible floor the player can still stand on — handy for hidden paths and puzzle rooms.