- Use a shape tool to create your button. If You're making a flash banner, the button will be the same size as the stage, and positioned at the top of the layers pallette
- Make sure your shape is selected, then press F8 (or Modify > Convert to symbol). Select Movie Clip and press OK.
- If you want the entire image to act as a button, like a Flash banner for example, make the button transparent by reducing the alpha to 0%.
- Double click on the stage. This will take you inside the movie clip to a new timeline. Click the black dot in the new frame, then hit the Actions tab. Inside the Actions tab, insert the following code:
on(release){ getURL("https://www.yourlinkhere.com.au"); }
- Press Ctrl + Enter to preview your .swf and test the link.
Creating a button in AS2
Archive
- May 2016 (1)
- June 2015 (7)
- May 2015 (3)
- April 2015 (2)
- March 2015 (6)
- February 2015 (3)
- January 2015 (2)
- December 2014 (3)
- November 2014 (1)
- October 2014 (8)
- September 2014 (8)
- August 2014 (8)
- July 2014 (14)
- June 2014 (12)
- May 2014 (9)
- September 2013 (2)
- April 2013 (2)
- March 2013 (5)
- November 2012 (2)
- June 2011 (1)
- February 2011 (1)
- August 2010 (1)
- July 2010 (1)
- June 2010 (7)
- May 2010 (1)
- March 2010 (5)
- February 2010 (1)
- November 2009 (4)
- July 2009 (1)
- July 2008 (11)
- October 2007 (2)