-
I'm trying to make a button, "Languages", so that when I rollover it, there will be a choice of 2 buttons (Languages disapears) "English" and "German". Clicking on one of these buttons takes you to the corresponding language page. I'm not so great with actionscript but I'm trying to pick it up. I'm sure there's a way to do this but how?
-
FK's Geezer Mod
Are the German and English pages HTML or flash movies?
If they are movies, add labels to the first frame of each, 'German' and 'English'.
Add a layer and put a stop(); on the first frame.
Put your languages button on another layer. Click the button and add to the actions panel:
on (rollOver) {
nextFrame();
}
Make another layer and make the second frame a keyframe. Add two buttons and give them instance names. Click the German button and add to the actions panel:
on (release) {
gotoAndPlay("german");
}
german would be the label name. Do the same for the English button.
If they are html pages, add this to the buttons:
on (release) {
getURL("http://www.mysite.com/german.htm");
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|