If you have any suggestions or comments, and would prefer using email, please contact me at:
gngabriel29[REMOVETHISANDREPLACEWITHYOU-KNOW-WHAT]ymail.com

October 26, 2008

Flash Actions Create button to point to a Web page

Filed under: Flash/Flash Actions


Good day folks. For those who have ever wondered how they can link their flash movies to a web page, please tune in to today’s tutorial, as I show you how you can create a simple button that can point you to a specific web page or url.

1. select rectangle tool, click and drag rectangle shape on stage

2. right-click rectangle shape, and select Convert to Symbol, and select type of Button, and enter name, eg. btnGoHome

3. select Windows > Actions, to open Actions panel

Click in script assist, to enable script assist

4. ensure Script Assist button is clicked in, to enable script assist

5. select Global Functions > Browser/Network > getUrl

note: because script assist is enabled, and you have selected a button instance, the event handler of on(release){} will automatically be added to surround the action of getURL

6. type in the URL, eg. http://videotutorials.blogsome.com

Select _blank from window dropdown box

7. select _blank from the Window dropdown box

script in script area will now look like below:

on(release){

getURL(”http://videotutorials.blogsome.com”,”_blank”);

}

8. close Actions panel

9. press Ctrl + S, to save file

10. press Ctrl + Enter, to test movie

note: when click and release button, a new browser window will be opened pointing to given url of http://videotutorials.blogsome.com

Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>. I unfortunately do not have a spoiler-code, so be sure mark spoilers well.



Anti-spam measure: please retype the above text into the box provided.