Welcome Guest [Log In] [Register]
Welcome to Brackenwood. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
.SWF controlling frames!; Comlock has this going on.
Topic Started: Jan 31 2006, 03:47 PM (177 Views)
CapedMagician
Brackenwood Newbie
Hey everyone! (Comlock and Vector probably know the answers)

I'm trying to have a .swf menu control some frames in an html document.
Comlock does this in his site and I'm trying to replicate it to an extent. comlock.net

I understand the buttons, I just don't understand where to start on the actionscript.

Thanks!

-CM :bing:
Offline Profile Quote Post Goto Top
 
flash_bass
Member Avatar
Brackenwood Lightweight
do you want the buttons to open up a webpage or go to a page in the .swf im not quite sure what you mean :blink:
Offline Profile Quote Post Goto Top
 
CapedMagician
Brackenwood Newbie
I want the swf to change the HTML in a frame thats one the same page.
Offline Profile Quote Post Goto Top
 
juggleballz
Member Avatar
I'm loose, full of juice and ready for use!
Basically u want swf buttons. no problem.

the code on ur buttons shud read as this:

Code:
 
on (release) {
   getURL("http://www.your_website_name.com/your_webpage.html");
}


change the names respectively.

if u want ur button to open a page in its own window u need to add ,"_blank" to the end of it, like so:

Code:
 
on (release) {
   getURL("http://www.your_website_name.com/your_webpage.html","_blank");
}



However, Swf buttons can not change iFrame pages, from my recollection. im not entirely sure on that, still working that one out, and if i do, ill be a happy camper.

Offline Profile Quote Post Goto Top
 
CapedMagician
Brackenwood Newbie
ok...I understand that. and I'll try it.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Actionscript · Next Topic »
Add Reply