PDA

View Full Version : Action Script question for Buttons



rachna
11-26-2003, 11:49 PM
Hi ! need help for applying link on a button to go to another page - like "****.swf" or another scene without letting the previous page continue playing.

jeet
11-27-2003, 05:19 AM
hi rachna,

there are two different type to call the swf

1. call a swf on a parent swf movie for this use below code


on (release) {
loadMovieNum("moviename.swf", 0);
}

2. another one is, if you want to call a swf in other html page use below code


on (release) {
getURL("newHtmlFileName.html", "_self");
}

i think it will help you to open a swf!

Feel free to more queries!

Regards
jeet

rachna
12-01-2003, 06:44 PM
jeet, thanx for the help. it seems to have helped. am sure to be confronted by more tricky situations like this in the future. will definately need your help.

thanx once again.

rachna.