Use the getURL() function to open a new web page in a new window.
Sorry i dint explain my problem clearly. Actually i want to naivgate to new scene in flash when a function is called
Then use the gotoAndStop() or gotoAndPlay() functions. IF you are using scenes you might have some problems. Scenes have always been problematic when it comes to working with Actionscript. You are better off creating your scenes as movieclips or as sections along one scene's timeline.
In as3 is used this
it works goog in as3 but i dont know how to use it in as2. Is there any different method for as2
In AS2 the order of the arguments is reversed... gotoAndPlay(scene,frame)