Adventure Game Studio

Community => General Discussion => Topic started by: Oliwerko on Wed 17/10/2007 18:18:30

Title: Flash buttons frame problems - SOLVED, NO HELP NEEDED !!!
Post by: Oliwerko on Wed 17/10/2007 18:18:30
Hey there,

I am having problems kicking buttons created in flash to work.
I can make a button and all that, but I can not make it work correctly with frames on the site. You know, I type the name of the target frame into the action script, but It only displays the correct page in _self, _blank, or _top. I can't get it to display the page I want in my custom frame named "main". And the button is unusable that way. I hope you get what I mean.

Here is the frames code:
<frameset rows="12%, 70, *">
<frame src="title.html" name="title" SCROLLING="no" frameborder="0" noresize>
<frame src="buttons.html" name="buttons" SCROLLING="no" frameborder="0" noresize>
<frameset cols="135, *">
<frame src="side.html" name="side" SCROLLING="no" frameborder="0" noresize>
<frame src="home.html" name="main" SCROLLING="no" frameborder="0" noresize>
</frameset>
</frameset>


The button is located in the "buttons" frame, and I want it to display a page in the "main" frame.

Can anyone help me? Is it possible to make flash buttons work with frames ?

Thanks.
Title: Re: Flash buttons frame problems
Post by: Scummbuddy on Wed 17/10/2007 20:36:33
I think I've once looked into doing your sort of thing, but I don't recall having any success. I will say that on one of my pages now, I have flash buttons that link to an iFrame and haven't had any problems with that.
Title: Re: Flash buttons frame problems
Post by: Khris on Wed 17/10/2007 22:38:32
Have you tried renaming the frame?
In a working site of mine, the main frame is called "_mainw" and I faintly remember having had problems with "main" or "_main".
Title: Re: Flash buttons frame problems
Post by: Oliwerko on Thu 18/10/2007 15:17:59
OK, I gave up trying. Solved it through dreamweaver finally.
However, I still wonder: Is it possible to change content of 2 frames with only 1 click on 1 button ?


EDIT:

Found a way around it, frames are killers.
Thanks for info anyway.