Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames with Flash

Status
Not open for further replies.

DorXBasS

Vendor
Feb 1, 2001
23
CA
Hi, i've already post a thread in April about a menu in flash...

I just want to use a two-way separated window in my browser...
top = menu (that i named "a")
bottom = mainpage (that i named "b"

Everything is in ASP format...

My actions on my button are:
on (press) {
getURL (" "b");
}
(microsoft.com just for test purpose hehe)

I also tried :
on (press) {
getURL (" "b.asp");
}

And this always open a new window...i just want to redirect that link to my bottom (mainpage)

If you want to have a look:

Mike
 
The second part of the statement is reserved for the target HTML frame into which you want to load the 'URL'.

If your trying to accommodate the " into an ASP script you would probably have to define it as a variable and use a loadvariables/GET action to put the name into the ASP script.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Ok everything is in HTML format now, but it still opens me a new window when i click my flash menu. it suppose to go in my bottom frame....

Do you get the idea?
Mike
 
ok Mike I get you now (should've read the thread a bit slower)

what's the HTML code for your frameset page?

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
This is the code...but i haven't write it, dreamweaver did :) ---->

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>
<frameset rows=&quot;164,*&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot; cols=&quot;*&quot;>
<frame name=&quot;topFrame&quot; scrolling=&quot;NO&quot; noresize src=&quot;a.html&quot; >
<frame name=&quot;mainFrame&quot; src=&quot;b.html&quot;>
</frameset>
<noframes>
<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot;>
</body>
</noframes>
</html>
 
well there's your problem then, the frame 'isnt' named 'b'. Your html page is named 'b' but your 'frame name' is &quot;mainFrame&quot;.

change the following line:

Code:
<frame name=&quot;mainFrame&quot; src=&quot;b.html&quot;>
to

Code:
<frame name=&quot;b&quot; src=&quot;b.html&quot;>

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Duh!!! that's when we make such a trust in our softwares :)

Tnx man, you rule! (or i suck...or both!! i think it's both!!)

Mike -B
 
LOL, I know what you're going through, done it a million times. The only way of being 100% with DW is to open the frames panel and click on each frame in the panel and set the properties. But then again, I suppose the only way to be 100% is to check the code after all is done and dusted.

don't work too hard
dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Ok, guys, I'm trying to work with frames, and/or tables here, but the problem is, I want to set up a mouse over that effects another movie. Ie. top frame has the button, it does it's mouse over thing, &quot;not a problem on my end&quot; the target frame based upon that roll over needs to display an image. Since they are 2 frames, or tables, they are 2 different movies that have to work together. I don't want to load a different page for each mouse over, nor do I want to &quot;tell&quot; the page to load something, I want to have both movies work in tandem on each frameset or table. I've seen it done in Java script, here is the url:
I just would rather figure it out in flash, hate java script since it is so cumbersom and takes forever to load. I've seen one tutorial that shows how to do it, but that was 6 months ago, and I can't find the link to save my life on it. any help with this would be helpful.. Thanks
 
Having a hard time figuring out how to get the Flash buttons in my left side Nav Bar to open the target page in the Main Frame (on the right). Any suggestions? I'm a Newbie working with Flash. Dreamweaver doesn't feature a Target=Main_Frame.

Thanks
Lori9
 
Lori9,

Use this script on your button:
Code:
on (press) {
    getURL (&quot;[URL unfurl="true"]http://www.yourserver.com/your.html&quot;,[/URL] &quot;mainsite&quot;);
}
...
&quot;mainsite&quot; being the exact same name of the frame id in your frameset.


;-)ldnewbie
 
Idnewbie:
Thank you! Where within the code should this be inserted? (Working w/ Dreamweaver).

Lori9
 
That's Oldnewbie! Smiley stands for &quot;O&quot;!

This should be the actionscript you assign your button in Flash, not in Dreamweaver!

;-)ldnewbie
 
Lori9,

Correcting my above post:
&quot;mainsite&quot; being the exact same name of the frame name (not id) in your frameset.

;-)ldnewbie
 
LoL, Hey Yoda, I think you should elaborate some more on the name...or perhaps change it back to an O...

anyways...you seem very frusterated Idnewbie.
Regards,
AnthLOLny
----------------------------------------
The Learning process is just a way to get rid of all the stupids in your head.

Now where's that cute little kitten? :-X
 
Yes Anthny!
You are starting to frusterate me a lot!
Nice spelling!

;-)ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top