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
Solved

_root.link Help

Posted on 2006-07-15
11
1,020 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
  • 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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 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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

839 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