A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Opening a link in a frameset

  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    43

    Opening a link in a frameset

    Here's what I have:

    a frameset called index.html
    a frame called left.html
    a frame called mainFrame.html

    The frame ID's are also the same as the html names

    I have a flash movie in the left frame as a regular bar menu with buttons.
    I want to open the links from the left menu in the mainFrame

    Easy I thought...NOT!

    I've followed loads of links and posts on how to do this and all say what I originally tried; just specify the framename in the window box (if using script assist) or just type "_mainFrame" after the get url string.

    Nothing works, I just cannot get this to happen. Does anyone know where I'm going wrong? It either opens a new tab, a new window or open in itself (I've tried every single combination but nothing works!)

    I'm using CS3 but have an AS2 doc. Help much appreciated.

  2. #2
    Member
    Join Date
    Oct 2005
    Posts
    43
    Forgot...

    My button script:

    on (release) {
    getURL("thecast.html", "mainFrame");
    }

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    43
    I've just downloaded 2 premade files from flash sites and neither of them open their links in the frames as they specify.

    I think this is either a browser or Flash plug-in problem.

    I appreciate frames are old hat but I wanted to make a quick website to show something, seems it's better just to rethink the whole idea and make it in Flash.

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    seems it's better just to rethink the whole idea and make it in Flash
    maybe. Or test your frameset online. Seeing how you have the correct code, it should work there.

    gparis

  5. #5
    Member
    Join Date
    Oct 2005
    Posts
    43
    It's so annoying.

    I spent several hours trying to fathom this problem out, including poring over the Adobe site for tips.

    Not one tutorial mentioned anything about you not being able to test this locally!

    As you said, it worked fine online, but why oh why don't they just mention this in basic help files??????

    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center