that code wouldn't cause your timeline to got to frame 172.
there's something else causing that.
Thank you for your help.
I have tried the same code again by creating a new blank flash movie and only putting a btnPrint button on frame 1 and a graphic on frame 172.
When I pressed the btnPrint button in the web browser, I could get the correct printed out image, but, once again, the web browser shows the printed image on the browser window and not the current frame at which the btnPrint button is located.
Maybe the web browser is simply showing the printed image rather than the flash movie actually going to the frame 172... I have no idea what's going on.
Thank you very much for your help.
I don't see any problem at test4.html.
I'll try to find out what's causing the error in my flash movie although strangely at the moment I don't have a clue.
Thank you very much for your time.
This morning I have tested the same flash movies on another computer in my company that has Adobe Flash CS6 installed and it worked fine! (After I converted the flash movies to CS6 format and exported)
The computer I have been using and testing so far was a rather old PC and it had Adobe CS3 installed on it and I think the problem could have been caused by the version of Adobe CS3 installed on that PC - probabily not updated.
Thank you very much for your help, kglad