Making links in Flash

  • Captain-Nick
  • Proficient
  • Proficient
  • User avatar
  • Posts: 333
  • Loc: North Lincolnshire, UK.

Post 3+ Months Ago

How to you make a piece of text a link to a webpage in Flash?

And another question...how do you make one of those loading screens? As in the ones you usually find on large flash movies that load the movie and then has a link to begin it.

Thanks.
  • lilith
  • Born
  • Born
  • lilith
  • Posts: 3
  • Loc: CROATIA

Post 3+ Months Ago

How do U make it? About preloader U think? U should visit some tutorials. And link on home page, just in the last frame of your movie U put in AS: stop();
getURL("home.htm","home.htm"); or the name of your first site if it is home, than home.htm, if it is index, than index.htm, or default...
For preloader visit Macromedia flash tutorials... :wink:
  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

Preloader Tutorial

As for taking the user to another web page, Lilith is almost there, syntaxx is slightly wrong though.

##----[ getURL ]----##

1) select your text
2) Press F8
3) Select button, give it a name and press 'OK'
4) Double click your new button
5) Insert a new KeyFrame in the 'HIT' state frame at the top then place a recangle shape approx the same size as your text in there aswell. The rectangle will not be viewable from the main movie, just acts as a hitTest for the button.
6) Return to your main clip by clicking on 'SCENE1' in the timeline.
7) In the action panel for your button place the following code:
Code: [ Select ]
on (release) {
getURL("http://www.yourLinkURL.com", "_self");
}
  1. on (release) {
  2. getURL("http://www.yourLinkURL.com", "_self");
  3. }


http://www.yourLinkURL.com obviously gets replaced with your link.

_self will load the page into the current browser window. If you don't want the user to be directed away from your site, use _blank instead. This will open a new browser window and load the link in there.
  • Captain-Nick
  • Proficient
  • Proficient
  • User avatar
  • Posts: 333
  • Loc: North Lincolnshire, UK.

Post 3+ Months Ago

Thanks for the help, much appriciated.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 14 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.