How To: Link to a URL in Flash

Link to a URL in Flash

1. The following Steps shows how to open a URL in a Web Browser, using a Button Click from a Flash Application. 2. Open a new Flash Application and place a Rectangle Shape from Tools and inside place a Text Box and Enter a Text named "URL". 3. Then convert it to Symbol by Right Click->Convert to Symbol and selecting type as Button. 4. Goto Button Properties and Name the button instance as "btnurl" 5. Then in the Action Screen Create a OnRelease() Event function for Button "btnurl" 6. use a method named getURL and place the website name "http://www.theanimalplanet.com" 7 Then press Ctrl+Enter and Press URL Button on the Window. 8. This will open a default web Browser with the website named "http://www.theanimalplanet.com"

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest