webassassin
01-16-2008, 08:33 AM
Hi guys I am a complete novice and need to know how to add links to make my buttons work in flash? I have 10 buttons that need to point to pages within the same site. Can anyone advise me please?
Thanks.
Thanks.
|
Click to See Complete Forum and Search --> : Flash Buttons webassassin 01-16-2008, 08:33 AM Hi guys I am a complete novice and need to know how to add links to make my buttons work in flash? I have 10 buttons that need to point to pages within the same site. Can anyone advise me please? Thanks. ryanbutler 01-16-2008, 10:27 AM If your button instance name is "aboutusBtn" then add this action script: aboutusBtn.onRelease=function(){ getURL("http://www.google.com"); } The getURL command has a few parameters for setting a target, such as a blank page. Google for more options. copirite 01-16-2008, 05:55 PM if your using AS2 put this code on the button instance: on (release) { getURL("index.htm","_parent"); } webassassin 01-22-2008, 05:40 AM Hi guys thanks for your help that script worked a treat. copirite 01-22-2008, 11:20 PM you are more than welcome webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |