Flash loading processes

how does flash load an .swf?

I have a movie file, the first two frames I made a makeshift preloader 2nd frame: ‘if loadedbytes = totalbytes, go to and play 3, else go to and play 1’

would this work? Or would I have to put those two frames in a separate scene?

yay for beginner questions :]