Solved

_root.link Help

Posted on 2006-07-15
11
1,025 Views
Last Modified: 2008-01-09
I have the following _root.link assigned to the home button

on (rollOver) {
      if (_root.link<>1) {
            this.gotoAndPlay("s1");
      }
}
on (releaseOutside, rollOut) {
      if (_root.link<>1) {
            this.gotoAndPlay("s2");
      }
}
on (release) {
      if (_root.link<>1) {
            _root["item"+_root.link].gotoAndPlay("s2");
            _root.link = 1;
      }
}
on (release) {
      getURL("index.html");
}

When it loads index.html the home button doesn't slide out to let the user know that he's on the home button page.

History: I got this website from templatemonster.com and I needed to change the links around inside the aforementioned code. The home button used to be index-1.html, and it worked correctly.

I used the movie explorer to find another reference in the main timeline - it says the following.

_root["item"+_root.button].gotoAndPlay("s1");
_root.link=_root.button;

The answer I'm looking for will tell me how to be able to change the links correctly so that when that page loads the correct button slides out.
Here is a live example of the problem
http://vipowered.com/texasstone

This issue is urgent to me.

I can provide the FLA.
0
Comment
Question by:abonnell76
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
11 Comments
 
LVL 23

Expert Comment

by:Zeffer
ID: 17115671
you have got a couple of other buttons behaving strangely..click portfolio and about slides out.. click about and home slides out
what version of flash are you using.. if it's MX I can have a look .. don't have 8

Z
0
 

Author Comment

by:abonnell76
ID: 17116094
correct. However, I just wanted to work on one. i can then take the answer for the one and apply it to the rest of them. unfortunately, This is in Flash 8.
0
 

Author Comment

by:abonnell76
ID: 17116097
If no one answers for this I have a "workaround". index.html will just redirect to index-1.html... I'd rather not be cheezy though.
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 9

Expert Comment

by:ivan_os
ID: 17117682
Hi abonnell76 ,
can you upload your fla or send it by email? I'll take a look...

Best regards,
ivan_os
0
 

Author Comment

by:abonnell76
ID: 17117824
Sorry, I'm new. How do I go about finding your email address?
0
 
LVL 9

Expert Comment

by:ivan_os
ID: 17117889
My profile :).
ivanos at ivanos.wz.cz
0
 

Author Comment

by:abonnell76
ID: 17135896
Ok, I resolved this myself and I hope it helps others that read this post.
when you insert the flash into a page it gives the following code in the flash parameters.

 <param name="movie" value="flash/header.swf?button=2">

Change the button number in the html  to correspond with the flash button/page... Works perfectly now.
0
 

Author Comment

by:abonnell76
ID: 17135908
how do I close this ticket?
0
 
LVL 23

Expert Comment

by:Zeffer
ID: 17136028
click on support up the top.. and post a request..although closing it like that will lose the question and your solution to others in EE.. so maybe request closing and saving it as though asked and answered..

you could maybe also request that there is option like I am suggesting available.. for people to retrieve their points if they solve it themselves.. yet the question goes into the EE database.. thus available to others.

This actually happens quite frequently as people are not just sitting there expecting a magic solution.. but working on the problem themselves.


Z

0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 17634903
PAQed with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question