This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > February 2004 > how do you use links with frames in html and Flash
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how do you use links with frames in html and Flash
|
|
| TheWizzzard webforumsuser@macromedia.com 2004-02-02, 9:29 am |
| I have built a web page and used frames with Html coding. I have placed a flash menu on the side.
How do you get the menu to open a page in another frame.
Please if anyone could help, it would be most arreciated.
I have uploaded a temporary site to the following address so you can see the codec used so far.
http://www.corbhold.com/tempfolder to visit the site!
many thanks
Jason (Wizzzard)
Referring URLs
http://www.corbhold.com/tempfolder
| |
| swingb13 webforumsuser@macromedia.com 2004-02-02, 12:30 pm |
| You need to use the localConnection object. It's fairly simple (below is an example) and there's more information available [L=here http://www.macromedia.com/support/f...ction_objects/. Colin Moock also has a good tutorial avai
lable on his site (see referring URL below) from his ActionScript for FlashMX book (which BTW is the absolute best book available for learning ActionScript).
//this script allows two seperate movies in an HTML page to effect each other
//CODE IN THE RECIEVING MOVIE
receiveConn = new LocalConnection();
receiveConn.methodName = function (param1,param2){
//statements
}
//CODE IN THE SENDING MOVIE
sendConn = new LocalConnection();
sendConn.send("connectionName","methodName","value1","value2");
Doug Richards
Team Macromedia Volunteer for Flash
Sprint Corporate Champions User Group Manager
Member AIGA
Referring URLs
http://www.macromedia.com/support/f...ection_objects/
http://moock.org
| |
| jolyon_russ webforumsuser@macromedia.com 2004-02-02, 3:31 pm |
| Jason,
The explaination given by the nice Macromedia Senior Team Member will help you to get 2 .swf's to communicate with each other.
From looking at your site I think what you are wanting to do is load HTML into a designated HTML frame. In which case what the nice Macromedia Senior Team Member has posted is useless to you.
If this is correct and you do want to load an HTML page into an HTML frame using a flash button this fairly simple.
When you set the getURL action on the flash button you need to add a value in the panel labeled window. For your site this is likely (from looking at your source) to be main
The code should look like this:
on (release) {
getURL("http://www.corbhold.com/tempfolder/facphotos.html", "main");
}
I hope this helps, more than the nice Macromedia Senior Team Member.
Jolyon
| |
| swingb13 webforumsuser@macromedia.com 2004-02-02, 4:30 pm |
| Wow, good catch Joloyn!
Just as a follow up to this reply we 'nice Macromedia Senior Team Member(s)' are volunteers, meaning that we do spend a large amount of our personal time moderating these forums and trying to help people because we're passionate about the technology. This
means that we've had to learn to read between the lines for posts that are sometimes less than specific and guess what the underlying question is. A quick glance at Jason's site told me that he was already familiar with the getURL method since he's alrea
dy using that to launch links, so I eliminated that from the obvious answers and decided that the underlying question was probably related to using the localConnection object, a question that is asked much more frequently.
It's a good thing we have such polite people like Joloyn in our community to help catch these mistakes. Thanks again.
Doug Richards
Team Macromedia Volunteer for Flash
Sprint Corporate Champions User Group Manager
Member AIGA
| |
| jolyon_russ webforumsuser@macromedia.com 2004-02-03, 5:28 am |
| Hey Doug,
Thanks for being cool, I know that you guys are REALLY knowledgable and do this mostly out of the kindness of your hearts, it's just sometimes you guys (like anyone else posting on these forums) can confuse the people who are having issues. Equally I've r
ead some posts where there doesn't even seem to be a coherent question. I guess that's why there's a disclaimer on the first forums page that goes something like, 'don't take anything you read in hear and golden.' Also that's probably why you guys are her
e, to try and answer the questions no-one else can.
So how do you become a 'nice Macromedia Senior Team Member' ?
And where are you an AIGA member, I regularly attend the London UK meetings, hosted at the Design Council and chaired by Nico McDonald.
Cheers.
Jolyon
| |
| swingb13 webforumsuser@macromedia.com 2004-02-03, 11:31 am |
| Jolyon,
My AIGA chapter is in Kansas City, Missouri. It's a good organization. There is a suprisingly large number of talented designers here and it's especially nice since it's a very media diverse organization.
If you're interested in becoming a Team Macromedia Member you can read all about the program http://www.macromedia.com/support/f...am_macromedia/. I'd encourage you to read about the program and note the criteria and requirements prior to su
bmitting. If you have any questions feel free to post them back here.
Doug Richards
Team Macromedia Volunteer for Flash
Sprint Corporate Champions User Group Manager
Member AIGA
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|