Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

_root.link Help

Posted on 2006-07-15
11
Medium Priority
?
1,027 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

719 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