Flash Nav and Frames

My flash navagation is in a frame and i need it to target another Frame.

I have multiple frames

ok this is what is looks like:


____1________________2_________________________3____
|              ||______________4__________________||            |                      
|              ||                 |                                       ||             |
|              ||                 |                                       ||             |
|              ||                 |              6                       ||             |
|              ||                 |______________________||             |
|              ||      5         |                                       ||             |
|              ||                 |                                       ||             |
|              ||                 |                                       ||             |
|              ||                 |                                       ||             |
|              ||                 |                7                     ||             |
|              ||                 |                                       ||             |
|              ||                 |                                       ||             |              |________||__________|______________________||             |
|____________________________________________________|


Now The home page has 3 farmes.  1 - 2 - 3

Frame 2 has the flash nav in it and Frame 4

Frame 4 has frames 5 - 6 - 7 in it.

The frame that I need to change is frame 7    



LVL 1
JsonTerre1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ardivusCommented:
Are you just trying to change the content in frame 7 from one file to another, like going from main.html to somethingelse.html?

If so, you can target that frame in your getURL call, like this:

getURL("somethingelse.html", "frame7name");

where "frame7name" is the name you have set for that frame.



If you are trying to control a flash movie in frame 7 with the flash nav in frame 2, you will have to use a LocalConnection, or something, depending on what exactly you are trying to do.


If I'm not even close with these answers, please post more information, like what you are changing in frame 7, or what you want it to do.
0
JsonTerre1Author Commented:
This is a web page with HTML Frames. So you are right there.

One of the HTML frames is 7 which is inside Frame 4 Which is inside Frame 2.

I tried

on (release) {
 getURL("somethingelse.html", "frame7name");
}


 but that did not work.  Now i know that the name of the page and the frame name is right so i'm unclear as to why Frame 7 doesn;t change to the correct web page.

Any other suggestions?



-Jason
0
JsonTerre1Author Commented:
This is what I have discovered thus far.

My button is in a Movie clip that i bring on the stage.  So all the action script is in the movie clip as well as the button.  When the button is put directly on the stage it works.

Anyone know how I can make this work without having to place the button directly on the stage but instead put it in a movie clip and then bring the movie clip on the stage?


-Jason
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

blue-genieCommented:
Hi, what exactly do you mean by bring the movieclip on the stage?
0
JsonTerre1Author Commented:
sorry for the confusion.

I created an fla file.  I created a Movie Symbol and placed a button in it and then i placed that Movie clip symbol on Scene 1.  when i try to use geturl() on my button (which is on the movie clip symbol) it doesn't work.  but if i place the button on Scene 1 directly and then try the button it works.

Hope this is clearer.
0
blue-genieCommented:
that's wierd, cause I've re-created the frameset you've described, and created a swf containing a button inside a movieclip with the following code on the button and it works fine:

on (press) {
      getURL("test.htm", "frame7");
}

the only thing i can suggest is check your frame name properly.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
blue-genieCommented:
one more thing before i call it a day, what does it do when you click on the button, do you get any error messages?

0
JsonTerre1Author Commented:
I don't get an error or anything. The frame name is correct to.  very odd.

0
JsonTerre1Author Commented:
Maybe i'm not explaining my frameset correctly.

The home page hase 3 frames.  1 , 2 , 3

Then Frame 2 has an html page that has a  frameset.  that frameset has frames in it as well.  one of the frames there has an html page in it which also has another frameset.  that freamset has in it other frames including frame 7.

Not sure if that matters that the Frame is embedded into so may other multiple framesets.  I don't think it should though.  Like i said above when I put the button right on scene 1 it works. But when I put it in a movie clip and then place the movie clip on scene 1 it doesn't.  I use the same action script for both buttons.

Very confused about this one.

-Jason
0
JsonTerre1Author Commented:
I figured out the problem.

Here is a different one though.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

I have 2 swf files I am writing script on a button in one swf file.

the name of the other swf file is: Titles.swf

the path of Titles.swf is in the same directory.

the HTML frame name is: Content_TitleFrame

the swf movie timeline frame name label is:   Welcome

when i put this it doesn't work:

on (release){
_Titles.swf.gotoAndPlay("Welcome");
}

any suggestions?

0
blue-genieCommented:
Jason,

can i suggest something, close this thread (delete it) and ask your new question separately, the powers that be dont' like 2 questions being asked in one thread.

Ps. what was the problem with  your frames?
0
JsonTerre1Author Commented:
blue-genie,  How do i delete this question.  I don't know how.

The problem to this original question was in fact that there was nothing wrong with it.  

When I tested it localy:  localhost/Mywebsite/
it didn;t work.  But when I exported it to a live server it works.  Still does it now.. I don't understand it at all but am just glad it works on the live server.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.