A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Flash Menu targeting different frame in HTML

  1. #1
    Senior Member
    Join Date
    Mar 2002
    Posts
    194
    Hi I have a menu.swf file playing in a frame (menu) I want to click on a link and have it post in the right frame (fmain) I edit my link in the xml file and no mater what I do it post it in the menu frame. Any one have an idea?
    Below is the xml code and I'll include a link to the page also. Thanks. My brain is fried :-) the hotelmotel link is all that I've been working with and trying to get to work.

    url: http://www.creativepointe.com/chamber/

    xml: http://www.creativepointe.com/chamber/navxml.html
    [Edited by creativepointe on 07-10-2002 at 12:47 PM]

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food
    Posts
    3,789
    getURL("http://...", "fmain");

    getURL(url, target);

  3. #3
    Senior Member
    Join Date
    Mar 2002
    Posts
    194

    nope

    I tried that it doesn't work. It'll work if I hard code it into the swf file, but if you look at the xml file that it's pulling from that won't work. Any other ideas? Anyone?

  4. #4
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food
    Posts
    3,789
    targetFrame = yourXML.childNodes[x]/....attributes[target]
    targetURL = yourXML.childNodes[x]/....attributes[action]
    getURL(targetURL, targetFrame);

    something like that

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