Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Sub Menu Buttons Not Linking



Hello everyone; I have an fla, 4 scenes. scene one is home. I have a movie on the stage that has several layers, first is actions, with stop on the first frame. I also have a button that has a rollover action to go to frame two where the sub menu buttons appear. I also have invisible buttons to close the sub menus by going to frame one. Everything is working great except for this. What I want is that when the user clicks on the sub menu button, it takes him to scene2. That is not happening, I have checked on the spelling of the scene names and everything. What is actually happening when the sub menu button is clicked, all the sub menu buttons dissappear instead. I also tried creating several new files and do the same thing with no solution.Please see attached FLA. Can anyone help plz.ThanksRaffi



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 03-03-2006, 06:46 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Help With Pop Up Menu (Sub Menu Buttons) Linking To Frame On Main Timeline
Hi,
I really need help with my flash project. I've created a pop up menu by having 4 buttons on the main timeline which I made into a movie clip which has an instance name of menu_mc. Inside that movie clip I have my sub menu created and the menu works great. My only problem is that I can't seem to link the submenu buttons to the frames created on the main timeline. I've tried all the action script I can think of. One example I am using is

menu_mc.contact_btn.onfiltered= function() {
gotoAndStop("Scene 1", "contact");
}

This is where I am trying to link the Contact Button (which is a submenu button of the About button) to the contact frame which is located on the main timeline. Please help me if you can. Thanks.

Menu Buttons & Linking
Hello,
I am a very big newbie to the world of flash and I am taking a college course for it. What I did was create a menu with buttons that link to certain areas of my flash movie (for my assignment). I did this by labeling certain areas and then referring to the names on the buttons. The problem was I could not figure out how to do this in ActionScript 3, I could only do it in ActionScript 2. Now I have other things I have to do in Flash but the entire book I have is written for ActionScript 3. What I would like help with is changing the current ActionScript 2 commands over to ActionScript 3. The commands are such as:
Code:
on (rollOver) {
gotoAndPlay("Menu 1");
}
and
Code:
on (release) {
gotoAndPlay("Scene 1", "Inspired");
}
Any help with this would be greatly appreciated!! Thanks in advance!

Sub Menu Buttons Not Linking
Hello everyone;

I have an fla, 4 scenes. scene one is home. I have a movie on the stage that has several layers, first is actions, with stop on the first frame. I also have a button that has a rollover action to go to frame two where the sub menu buttons appear. I also have invisible buttons to close the sub menus by going to frame one. Everything is working great except for this. What I want is that when the user clicks on the sub menu button, it takes him to scene2. That is not happening, I have checked on the spelling of the scene names and everything. What is actually happening when the sub menu button is clicked, all the sub menu buttons dissappear instead. I also tried creating several new files and do the same thing with no solution.
Please see attached FLA.

Can anyone help plz.
Thanks
Raffi

Help Linking Flash Menu Buttons Within The Same Swf
Can someone please help!!!

I need help linking flash menu buttons to different parts within the main flash website. The dropdown menu is an extrernal swf.

I've tried to follow a lot of tutorials on this, but the buttons dont seem to work.

Please help, and thanks in advance!

[F8] Problems With Linking Buttons On Drop Down Menu
Hi folks.

I've only been playing with flash a few days now, but I thought I was coming along well, until I find myseld repeatedly stumped by the same problem.

I have created a navbar with 5 buttons. 2 do not have drop downs (the home and contact buttons) and when I click on them I can make whatever I want to happen (in this case, change the .swf in the Loader), but the other three buttons do have drop downs... and I cannot get any of the buttons in the drop down to work in anyway. I have been trying the following code, which works for the home/contact buttons, but not the others as I said...

on (release) {
myLoader.contentPath = "weddings.swf";
}

Can anyone help? I'm sure it's something simple but life changing...

Linking Drop-down Menu Buttons To Thier Desired Location
I went through the Drop-Down menu tutorial (created by Brett Taylor, 2000-06-26) and was successful, but now am trying to link those buttons to to the specific place on the time line.

I have created a movie that has 5 frames in it that are text pages only, and I want the drop-down menu button that the user clicks on to go to that movie (which is the 9th frame on the main timeline) and go to frame two which is inside that movie.

I'm farely new at Flash and don't have the "Programmers" though process and I've tried to figure it out but to no avail. Can you help?

Creating Animated Buttons Tut-Linking The Buttons To Content
I followed Lee's excellent tut on creating buttons using movies clips.

I am rather confused as to how the buttons can be linked to content -

ie Portfolio button to portfolio page - Contact button to contact page.

Im rather new to flash 8 however from my understanding of MX2004 I know
how to create a behaviour on a button symbol to play a certain page. After playing about with Flash this evening I was unable to get any button created using the tut to link to another page.

Can someone point me in the right direction, code or otherwise.

Thanks

Chris

Linking Problems W/ Cool Menu FX Menu
Hi, I have a Flash site that I created a side menu for using Cool Menu FX and can be viewed at the link below:

http://www.graphicdesign-nh.com/fc2/fcflashsite.html


The menu loads externally in the Flash site using the LoadMovie command. I set up links for the side menu buttons using Cool Menu FX to go to specific frame labels specified as named anchors (ie., fcflashsite.html#howworks) in the Flash site file. If the menu file is opened in Macromedia Player, the buttons work in that they open the browser window and it goes to the correct anchor label in the Flash site file. However, when the menu is viewed in the site as in the above URL the buttons don't work at all. Any ideas what is wrong? It seems like something simple. Please let me know. I'd appreciate any help. Thanks!

LInking Problems W/ Cool Menu FX Menu
Hi, I have a Flash site that I created a side menu for using Cool Menu FX and can be viewed at the link below:

http://www.graphicdesign-nh.com/fc2/fcflashsite.html


The menu loads externally in the Flash site using the LoadMovie command. I set up links for the side menu buttons using Cool Menu FX to go to specific frame labels specified as named anchors (ie., fcflashsite.html#howworks) in the Flash site file. If the menu file is opened in Macromedia Player, the buttons work in that they open the browser window and it goes to the correct anchor label in the Flash site file. However, when the menu is viewed in the site as in the above URL the buttons don't work at all. Any ideas what is wrong? It seems like something simple. Please let me know. I'd appreciate any help. Thanks!

XML Menu Linking - HELP
Hello, everyone! I suppose there has been such a topic already, but I cannot find it. I have been doing some XML menu (I have covered all the XML tutorials here on kirupa.com) and the code is doing just fine. I am using this one:


Code:
item_spacing = 100;
item_count = 0;
function BuildMenu(menu_xml){
broj = menu_xml.firstChild.childNodes;
for(i=0;i<broj.length;i++){
if(broj[i].attributes.name == "menu"){
var labels = broj[i].firstChild;
var item_mc = menu_mc.attachMovie("button_mc", "button"+item_count+"_mc", item_count);
item_mc._x = item_count*item_spacing;
item_count++;
item_mc.menu_txt.text = labels.nodeValue;
}
}
}
var menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(success){
if(success){
BuildMenu(this);
}
else{
trace("Error");
}
}
menu_xml.load("menu.xml");
The "button_mc" I am attaching to the "menu_mc" consists of a dynamic text field and a rectangle which is transformed to a button using this code:


Code:
frame 1:
stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = this.onDragOver = function(){
rewind = false;
play();
}
this.onRollOut = this.onDragOut = function(){
rewind = true;
}

frame 6:
stop();
The XML file looks something like this:


Code:
<menu>
<item name="menu" link="movie1.swf">HOME</item>
<item name="menu" link="movie2.swf">PROFILE</item>
.
.
.
</menu>
The menu builds without any problems. But, now comes the problematic part... I want to give those buttons in the menu the function to load .swf-s into the "loader_mc" which is on the main timeline. "loader_mc" is basically the place where I want my "movie1.swf" etc. to load into.

I have been trying to figure it out by myself for two days now and I gave up. I hope someone can help me with this. What can I do (what code to write) so that every button gets to load a different .swf into the "loader_mc"?

Thanks in advance!!!

Linking Buttons
I have a button link on my site under my portfolio tab
it links to a website. but when you click on it it put the url behind mine. I used the get url and just put the site url their. Can some help thank you. Any other sugestions would be great also. Thank you

Buttons And Linking
Can I link flash buttons inside my webpage instead of outside of it. How would i do this. Suppose i have a leftframe and rightframe.html
I don't need the url locator do I because the files are stored on my server. How would I do this. Do I still need to type the complete path of my webpage? Or do I just add the leftframe to the button. I just don't know how to do this. Anyone know?

Buttons And Linking
Do I have to upload the files that I want my buttons to link to inside the MX flash program?

I was reading that in dreamweaver 4 buttons can link to documents but it seems it is done as the person is inside the MX program.

I thought if I write the html links to the buttons that when I upload the html and flash buttons that they will go to the html document. It doesn't

Linking Buttons
I am either really forgetting something or buttons are hard! How can I link a simple button to a URL?

Linking Buttons To ....
so how do you link a button to a word document???
I used on release get url. It worked two days ago - and then yesterday it STOPPED WORKING. I know it sounds ridiculous....but I swear I didnt touch that file between the time it worked and didnt work!!

Please any ideas??
I also have to link to pdf file.

These files should be available for download/viewing. Not open up within Flash. It CANNOT be that diffcult?!

Thanks!

Linking Buttons
I have a button that when you click it I want it to play another swf ...what is the code I put on it to make it do taht I cant seem to remember?! thank you

Linking Buttons To Mc's Within A Mc
Guys,
I have an image slider made up of 3 mc's which I've taken off the main timeline and put inside another movie clip (called 'transparent mask'). I want the buttons (see the code below) to link to the other movie clips within ITSELF. They are called 'timelineroot', 'timelineroot3' & 'contentboxes'. Where do i need to buttons to point to? What am i missing..?

cheers

on (press) {
tellTarget ("/timelineroot") {
gotoAndStop(1);
}
tellTarget ("/timelineroot3") {
gotoAndStop(1);
}
}
on (rollOver) {
tellTarget ("/contentboxes") {
gotoAndStop(2);
}
}
on (rollOut) {
tellTarget ("/contentboxes") {
gotoAndStop(1);
}
}

Linking Buttons HELP
Hi there,

I hope that someone can explain me how to make my buttons work correctly. I'm trying to link between pages, using the standart procedures, of converting a link button to symbol and then using the controls to a Goto WebPage which is fine, BUT everytime when i export and publish the file, i have to click twice on a particular button to make it go to the next webpage. How can i make it work just by clicking it once??? Please, help!!!

The actionscript i alaways use for my buttons is:

on (press) {

//Goto Webpage Behavior
getURL("http//xxx","_self");
//End Behavior

}


Thanks

Linking Buttons....
this is in Flash 8

If I make buttons using....

Code:
duplicateMovieClip(_root.newsBox.newsCount.allNumbers.newsNumber, "newsNumber"+(i+1), 5+i);
_root.newsBox.newsCount.allNumbers["newsNumber"+(i+1)].digit = (i+1);

how do i make the deployed buttons hold a link...?
on release;..... i want to change the loaded content - image and text.
at the moment i have previous and next working - but cant make the jump buttons function.

?

I have the button tracing "this.digit" which is the number assigned to each button, can't make it link to the content. Do i need to "push" the number to an array...or similar?

Linking Buttons To The Web
i just posted a similar question about a week ago, and with my other site it worked, but now i am building something similar and have followed the same format with buttons linking to websites, but for some reason now it wont work.

basically what i want to do is link the name of a website in a paragraph to that site. so i created a button (on it's own layer) and space in the text so that it would change colors and link to a site when clicked on.

here is my code, i'm not sure what i'm doing wrong. also my files are attached. any help would be much appreciated! i'm using cs3.

maintext_btn.onRelease = function(){
getURL("http://sde.state.ok.us/pass", "_self");
}

Linking Buttons In CS3
Hey,

I am new to CS3, and I couldn't add action to button... so I add action to frame. My button is GumbDomov and it works, but I have one other button that also has to be linked (named GumbKontakt)

Here is the code, how could I add action for this two buttons.

GumbDomov.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://.../"),"_self");
}

....................................

If I write action like this...

GumbDomov.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://.../"),"_self");
}

GumbKontakt.addEventListener(MouseEvent.MOUSE_DOWN , mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://.../"),"_self");
}

It doesn't work.
How should I modify the ccode?

Thanks

Linking Buttons To URL
I have 30 buttons that I am trying to link to 30 different URLs. Here's what I have ...

aguasviva_btn.addEventListener(MouseEvent.CLICK,cl ickHandler1);
booth_btn.addEventListener(MouseEvent.CLICK,clickH andler2);
boughton_btn.addEventListener(MouseEvent.CLICK,cli ckHandler3);
brumley_btn.addEventListener(MouseEvent.CLICK,clic kHandler4); buss_btn.addEventListener(MouseEvent.CLICK,clickHa ndler5);
calfee_btn.addEventListener(MouseEvent.CLICK,click Handler6);
casanova_btn.addEventListener(MouseEvent.CLICK,cli ckHandler7);
lgarcia_btn.addEventListener(MouseEvent.CLICK,clic kHandler8);
ygarcia_btn.addEventListener(MouseEvent.CLICK,clic kHandler9);
herrera_btn.addEventListener(MouseEvent.CLICK,clic kHandler10); hite_btn.addEventListener(MouseEvent.CLICK,clickHa ndler11); mier_btn.addEventListener(MouseEvent.CLICK,clickHa ndler12); orr_btn.addEventListener(MouseEvent.CLICK,clickHan dler13); poole_btn.addEventListener(MouseEvent.CLICK,clickH andler14);
prado_btn.addEventListener(MouseEvent.CLICK,clickH andler15); stanke_btn.addEventListener(MouseEvent.CLICK,click Handler16); stinnett_btn.addEventListener(MouseEvent.CLICK,cli ckHandler17);
thompson_btn.addEventListener(MouseEvent.CLICK,cli ckHandler18);
tuten_btn.addEventListener(MouseEvent.CLICK,clickH andler19); vasquez_btn.addEventListener(MouseEvent.CLICK,clic kHandler20);
wallach_btn.addEventListener(MouseEvent.CLICK,clic kHandler21); watt_btn.addEventListener(MouseEvent.CLICK,clickHa ndler22);
function clickHandler1(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/Yossandy_Garcia_Clip"));
}
function clickHandler2(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Robert_Boothe_Clip"));
}
function clickHandler3(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Mike_Boughton_Clip"));
}
function clickHandler4(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Mike_Brumley_Clip"));
}
function clickHandler5(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Nick_Buss_Clip"));
}
function clickHandler6(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Clay_Calfee_Clip"));
}
function clickHandler7(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Gabriel_Casanova_Clip"));
}
function clickHandler8(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Luis_Garcia_Clip"));
}
function clickHandler9(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Yossandy_Garcia_Clip"));
}
function clickHandler10(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Elian_Herrera_Clip"));
}
function clickHandler11(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Pete_Hite_Clip"));
}
function clickHandler12(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Jessie_Mier_Clip"));
}
function clickHandler13(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Kyle_Orr_Clip"));
}
function clickHandler14(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Lyndon_Poole_Clip"));
}
function clickHandler15(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Marcel_Prado_Clip"));
}
function clickHandler16(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Cal_Stanke_Clip"));
}
function clickHandler17(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Danny_Stinnett_Clip"));
}
function clickHandler18(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Eric_Thompson_Clip"));
}
function clickHandler19(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/Brandon_Tuten_Clip"));
}
function clickHandler20(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Luis_Vasquez_Clip"));
}
function clickHandler21(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Matt_Wallach_Clip"));
}
function clickHandler22(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.standard.net/ASP/RaptorsInterviews/ Michael_Watt_Clip"));
}


I am getting this error ....
1046: Type was not found or was not a compile-time constant: Aguasvivabtn.


I can't seem to figure out what's wrong

Linking BUTTONS Help
HEY, can someone help me with this?
I did a menu, with 8 buttons, and now I want to link each button, to a different (page with and image)
ex: room1 goes to reception "image" and so on... How can I do it?

I need to know this so hard, my deadline is tomorrow, my teacher will kill me!

I need to know all that things, actionscripts, behaviours , that stuff to make that happen!

XX THANKS ary

Linking Buttons To Url's
Hi

I've made a few buttons in flash 8 but i'm having difficulty trying to get the buttons to link to a url address. The buttons are symbols and i have used the getURL function under Browser/Network actionscript but its just not working! how do i get these buttons to work. I'm probably just being a bit dim!!

thanks
dave

Linking Buttons To A URL
I am tring to make a flash web site and i got stuck. i need to knew how to link a button to a URL. i resently switched to Flash CS3 but i am having to save all of my file as flash 8 files to get the action script to work. i usauly use AS1&2 i tried switching to AS1&2 in the CS3 file format but that did not work. So i need to now how to do it in AS1&2 fomat. Also if you now how to do AS3 code for buttons and sutch, i could really use some help. Thanks. <3

Linking Buttons
Hi,

I know this is probably really easy to do but I'm fairly new to flash, I'm using Flash MX.
I have a button that I want the user to click on to open a jpeg image. I've tried using this script:

// Attach to frame
mybutton.onRelease = function () {
getURL("pathname", "_blank");
};

But all I get is this error message:

**Error** Scene=Scene 1, layer=action script, frame=1:Line 2: Statement must appear within on handler
mybutton.onRelease = function () {

Is the problem that this script doesn't work in MX? Please please please HELP!
Thank you in advance.

Linking Buttons
I'm currently working on a scene with an image loader that is linked to a series of buttons and their individual instance names. I have now placed these buttons within a cursor controlled image scroller (still within the same scene) however now the image loader can no longer read the buttons' instances in order to load the relevant images onscreen. Instead it reads the movies' instance. If anyone can help I would be very grateful.

Linking Buttons
I'm currently working on a scene with an image loader that is linked to a series of buttons and their individual instance names. I have now placed these buttons within a cursor controlled image scroller (still within the same scene) however now the image loader can no longer read the buttons' instances in order to load the relevant images onscreen. Instead it reads the movies' instance. If anyone can help I would be very grateful.





























Edited: 12/17/2008 at 07:23:48 AM by davey darch

Linking Buttons
ok well this is a little more technical then basic button linking.
i made these animated buttons that i want to link. Ive tryed multiple things but no luck. heres what i got. Im making a site in dreamweaver and im using buttons i made in flash for navigation and im displaying the content in an Iframe. the delema is that i cant seem to get them to link right. take a look at the button that is attatched and see if its possible. plz post any ideas.

Linking Buttons With MCs
I'm having trouble figuring how to get the buttons to reference the correct imageBox and position the imageHolder. The imageHolder is a movieclip on the main stage and inside of that are a series of imageBoxes attached for each image. You can click on each image and the imageHolder will move and the images will enable and disable. If you click on a button the current image will fade but then return to 100% alpha. It's not completing the disableImages function.

You can view a swf of it HERE. Probably viewing it will be better than anything I can describe.

This is the actionscript for enabling and disabling images and for positioning the imageHolder:
ActionScript Code:
function disableImages() {
for (i=0; i<imageTotal; i++) {
imageHolder["imageBox"+i].enabled = false;
}
//
var whereTo:Number = _root.imageHolder["imageBox"+p]._x+(_root["image"+p].w/2);
TweenLite.to(imageHolder, 0.75, {_x:(Stage.width/2)-whereTo, onComplete:currentImg});
}

function currentImg() {
for (i=0; i<imageTotal; i++) {
if (i == p) {
//image selected
imageHolder["imageBox"+i].enabled = false;
trace("sortDetail IF");
TweenLite.to(imageHolder["imageBox"+p].image, 0.5, {_alpha:100});
} else {
//image not selected
imageHolder["imageBox"+i].enabled = true;
}
}
}




Actionscript for creating the Buttons and whatnot:
ActionScript Code:
function createImages() {
for (i=0; i<imageTotal; i++) {
var img = this["image"+i] = new Object();
img.id = i;
img.path = xmlRoot.childNodes[i].attributes.path;
img.w = 0;
img.h = 0;
//
var t = this.imgNum.duplicateMovieClip("imgNum" + i, i);
t.toolImg = xmlRoot.childNodes[i].attributes.thumb;
t._x = this["imgNum" + (i-1)]._x + this["imgNum" + (i-1)]._width + 4;
t.num_txt.text = i+1;
t.onRollOver = over;
t.onRollOut = out;
t.onPress = released;
}
gotoAndStop("start");
}
//
infoBox.text = "Loading XML...";

function over(){
tooltip.imgTip.loadMovie(this.toolImg);
tooltip._x = this._x + 3;
tooltip._y = (this._y + this._height)-5;
tooltip._visible = true;
}

function out(){
tooltip._visible = false;
}

function released(){
TweenLite.to(imageHolder["imageBox"+p].image, 0.5, {_alpha:20});
disableImages();
trace("imgHOL = " + imageHolder["imageBox"+p]);
trace("RELEASED = " +this)
}




Thanks

Linking Buttons
ok well this is a little more technical then basic button linking.
i made these animated buttons that i want to link. Ive tryed multiple things but no luck. heres what i got. Im making a site in dreamweaver and im using buttons i made in flash for navigation and im displaying the content in an Iframe. the delema is that i cant seem to get them to link right. take a look at the button that is attatched and see if its possible. plz post any ideas.

Linking Buttons
i have made a button(you know make a symbol and it's behavior a button right?)

but now i can't let it link to my main website how do i link it

Linking Three Buttons
Hi I have a 3 page website. i have used the following code

home_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
function mouseDownHandler1(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.humper.pwp.blueyonder.co.uk/index.html") , "_self");
}

serv_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2);
function mouseDownHandler2(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.humper.pwp.blueyonder.co.uk/services.html") , "_self");
}

contac_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler3);
function mouseDownHandler3(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.humper.pwp.blueyonder.co.uk/contact.html") , "_self");
}


mail_btn.addEventListener(MouseEvent.MOUSE_DOWN, contact);

function contact(event:MouseEvent):void
{
var contact_req:URLRequest = new
URLRequest("mailto:face@btinternet.com");
navigateToURL(contact_req, "_self");
}


the problem i have. is when i click on home and services it works ok, but as soon as i go back, they open up in another window, also the contact page does not work.


Many thanks in advance

Linking From A Draggable Menu
Hi everyone, I'm trying to make my first site on Flash MX, and so far jus' fiddling around with different navigation systems. I made a little draggable menu, and then got kinda stuck with making buttons within the Menu Clip link back to the main timeline and change the frame position.. (I'm REALLY new to Flash btw, especially Actionscript, it's my first day lol) So far I have this:

http://strangedaze.tripod.ca/Menu.swf

The design isn't final, I know it's ropey

I tried making the ":: Sketches" a movie clip and trying to attach goToAndStop but I think I may have just messed up the code.. would that work if I put the code in correctly?
then I tried making it a button and that didn't quite work either. Any help/comments much appreciated

Please Help Linking A Flash Menu
I've got a flash menu on my car club page and I'm having all sorts of problems linking the buttons to the pages. my main problem is that I cant scroll all the way to the end of the flash to be able to link the buttons. I am at the symbol that has the buttons loading up one after each other. I scrolled to the end and linked each button. but when I preview the flash all the buttons link to page of the first button. Here is a link to the .fla file. http://www.midstateimports.com/menu.fla . If anyone here can tell me how to link the buttons or even do it for me it would be greatly appreciated.

Problem Still With Linking Menu
Still my Problem is this i have a button inside a movieclip, inside a movie clip (no im not stuttering, its inside 2 movieclips) and i need to link it to a another scene in this movie.

if i try a basic "on release root.gotoandplay" it throws the mouse over away and doesnt work.

I need to link the Blue button of the guys shaking hands that is in the scroller to the following scene... "transition_ partners"

that is where i start to encounter a major problem... cause sometimes the mouseover effect goes away aswell.

Please.... i think it is impossible. if you dont get it right then i am gonna have to redo the entire menu system.

Attached is the version minus the grey test block and cut down to size.

Linking In A Flash Menu (help)
Hello!

I am currently making a website where the entire top part of the design, including the menu, is a flash. I have the menu, with all the different buttons with different names of sections on it that change when the mouse is over it. Unfortunately, since I did not design the flash (I bought it as a template with a html graphic design below it) this is my first day ever using the Macromedia Flash program and I don't know how to make links in the flash menu. When I click on it in the full html design, it does nothing and has no link.

Can anyone help me please?

Thank you!

Troulbe With Linking A Menu
i have a menu i created and im having problems links my submenu topics to html address and some will call in swf's i really have know idea how do this any help will be great i will attach the file since it is difficult for me to fully explain accurately again thanx to anyone trying help

Help In Linking Horizontal Menu Bar
i've been following the tutorial on the link below to create a dynamic horizontal menu bar but now i encounter a problem which i cant link the buttons to another scene?...anyone can help?

http://www.layoutgalaxy.com/html/htm...er49-page1.htm

Thanks in Advance

Linking Pop Menu To It Scenes
I need some ones expertise.

I have created a "test" pop up menu with its sub links as a movie clip(s) for a web site Im designing.

I would like for them is to link them to its scenes. for eg: profiles to scene 2 with its sub links showing, and also linking the sub menus to their own scenes

Im hoping some can help me, I'm in desperate need

You can email, so I can email the file, for some unknown reason, I can not attached the file

Cheers

Linking Up A Drop Down Menu
Hey, Just curious if someone can help-I am inserting a .swf drop down menu into a dreamweaverMX webpage -when I press on a specific field in a drop down menu-how can I get it to go to a specific area in my webpage? just curious where and what code I would put in to direct it to a page in my website.

Drop Down Menu-linking
hi,
newb question-but-when I press on a selection in the drop down menu-how do I get it to go to a certain page in my website-I have attached a drop down menu from this site-please help
thanks

Linking A Flash Menu
Hi,

I have got a site with frames. On the left frame I imported a flash menu and now I want to link the items in that flash menu to the right frame so when clicked the information appears in the right frame.
How do I do that????

check http://www.geocities.com/alien19802002/ to see what I mean

and this is what 1 have under the buttons for example:

on (release){
getURL ("http://www.meerevents.nl","rechts");
}

Drop Down Menu-linking
hi,
newb question-but-when I press on a selection in the drop down menu-how do I get it to go to a certain page in my website-I have attached a drop down menu from this site-please help
thanks

Linking From Carousel Menu
Hi,

I'm getting into the carousel menu, and its great. I'm at the end of tutorial two however I want to build a menu where i can just click on the menu items and go to a page on my website, like a normal link.

Can I do this with the XML file?
How do I create a new variable to do this?

HELP With Buttons Linking To Scenes
need help bad, thanks in advance peeps...

ok i have a menu with 3 buttons. buttons are labeled home, info, and links. i made a scene for each thing. so now i wanna program the button so 'on mouse event click' it will goto scene x. but when i bring up the actionscript window, i am unable to do anything for the button.

i uploaded the .fla, 160k. thanks.

http://frealfso.frostburg.edu/cs110L...m/follower.fla

Linking Buttons To Web Pages
Hello all...

I am trying to make a small web page using Flash 5. Since the .fla file size was getting a bit too big I tried to break it into 5 different files, one for each of the pages of that site (don´t know if that was the best way to go around the problem but...)

So know what happens is this: I have to link all the different pages I have, through some navigation buttons I´ve put in. What I thought I would have to do was something like... GET URL and then point out the location of the HTML file (created when you publish the .fla files) but somehow that doesn´t work when I test it on my computer. I always get some error message, like the location does not exist, or something... (maybe that is not the way this is done or maybe it is just me doing it wrong)

anyway... I was hoping someone would tell me if what I´m trying to do can be done (I think so but...) and what is the best way to so.

I hope that was clear enough...
and thank you!

Linking URLs With Buttons
I am trying to learn Flash 5.0, and here's a problem that I CAN NOT fix:
I made a flash movie that is suppose to play when you go to my website, and in this movie I have made buttons linking to my different pages within my site. I know how to have my button link to another page by using the Get URL action. But when I go to test my button out, it will load the website and play the movie (with the button with links) and then automatically goes to the page that is linked to the button. I want to be able to click the button and then go to the linking page.
Now I dont know what the on (release)does, but I tried to type it in and it won't work it says that there are errors, does this even have anything to do with my problem? Can someone please try and help if u understand this.

Thanks
Michelle

Linking Buttons The Frames
Hi
Thanks for reading my dilemma...

Okay... here's the situation:
I have all of these buttons on my site. What I want them to be able to do is that whenever a person clicks on one of the buttons, it will jump to a specific part of the timeline beyond frame-150. Just to let you know, all of the animations and stuff all end at frame 150 on my main timeline.

I figure that I'd put a keyframe at frame 151 on a layer for one of the 'pages' to jump to, once the button is pressed. That so-called page would have a button to jump back to frame-150. *at least, this is the idea and theory*. I have the idea of labelling the frames involved after frame 150 but I don't really know how to piece together all of this knowledge.

Could someone please walk me through this and tell me how to code the action script and how to set this up?

Is this even how I should approach the situation?
I don't want to deal with scenes and stuff, since I'm not to familiar with actionscripting.

PLEEEEEEEEEASE help me.

Copyright © 2005-08 www.BigResource.com, All rights reserved