tedvieira Posted March 3, 2007 Share Posted March 3, 2007 Hi,I've got an html page with a flash header on it. In the flash header I've got buttons that I need to set up links to different locations on the same html page. In html I would use the <A HREF="#location" and <A NAME="location". How do I achieve this type of thing with the link in the flash header.Thanks!Ted Vieira Link to comment Share on other sites More sharing options...
Xenon Design Posted March 4, 2007 Share Posted March 4, 2007 Do you know how to make buttons in flash? Also do you know about the on(click) functions? if not just rummage in W3 and find out first.Basically you need to just go on the button: on(click){getURL("#location", "_top");} Simple Link to comment Share on other sites More sharing options...
smiles Posted March 4, 2007 Share Posted March 4, 2007 I think he means a banner with buttons and when you click them, you will change the HTML contents (direct to another page) below that bannerI have no idea about this quality Link to comment Share on other sites More sharing options...
tedvieira Posted March 4, 2007 Author Share Posted March 4, 2007 Do you know how to make buttons in flash? Also do you know about the on(click) functions? if not just rummage in W3 and find out first.Basically you need to just go on the button:on(click){getURL("#location", "_top");} Simple Yeah, this seemed right to me too. In my Behaviors Panel, I selected the button, clicked on the "+", selected "web page" and typed in "#services" (I even tried "index.html#services"), and selected "_top" but it doesn't work. :-( Anything I might be doing wrong?Thanks again,Ted(I'm using flash mx 2004) Link to comment Share on other sites More sharing options...
Fizzix Posted May 8, 2007 Share Posted May 8, 2007 Do you know how to make buttons in flash? Also do you know about the on(click) functions? if not just rummage in W3 and find out first.Basically you need to just go on the button:on(click){getURL("#location", "_top");} Simple Yeah, this seemed right to me too. In my Behaviors Panel, I selected the button, clicked on the "+", selected "web page" and typed in "#services" (I even tried "index.html#services"), and selected "_top" but it doesn't work. :-( Anything I might be doing wrong?Thanks again,Ted(I'm using flash mx 2004)I am using Flash MX 2004, and your probem appears to be using on(click) - I used on(release) in its place, and it works. on(release){getURL("location", "_top");} -- mind, if this isn't what you need... it works for me. for example, the value in quotes there as location, you'd use index.html#services instead. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now