Solved

_root.link Help

Posted on 2006-07-15
11
1,013 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 9

Expert Comment

by:ivan_os
Comment Utility
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
Comment Utility
Sorry, I'm new. How do I go about finding your email address?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 9

Expert Comment

by:ivan_os
Comment Utility
My profile :).
ivanos at ivanos.wz.cz
0
 

Author Comment

by:abonnell76
Comment Utility
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
Comment Utility
how do I close this ticket?
0
 
LVL 23

Expert Comment

by:Zeffer
Comment Utility
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
Comment Utility
PAQed with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now