dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Need help of the XML Gods!

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Posts
    168

    Need help of the XML Gods!

    I have this xml file that runs a flash .swf It works great but instead of opening the links in the same browser it opens them in another browser window. I have to target the html rather than the swf files I tried adding the "self Target code in the first link and it still doesn't work correctly. Any help? XML code id below

    <?xml version="1.0" encoding="iso-8859-1"?>
    <Menu>
    <Flash Name="Dinner Menus">
    <Item Name="Antipasti, Insalate, e Vegetali " Link="dinnermenu1.html" TARGET="_self"/>
    <Item Name="Paste asciutte e Risotti" Link="http://www.flashden.net"/>
    <Item Name="Secondi " Link="http://www.flashden.net"/>

    </Flash>
    <Audio Name="V.P. Take Out">
    <Item Name="Music" Link="http://www.flashden.net"/>
    <Item Name="Sound" Link="http://www.flashden.net"/>
    </Audio>
    <Video Name="Party Menus">
    <Item Name="Party Menu I" Link="partymenu1.html"/>
    <Item Name="Party Menu II" Link="partymenu2.html"/>
    <Item Name="Party Menu III" Link="partymenu3.html"/>
    </Video>
    <Fonts Name="Wine List">
    <Item Name="Sans-Serif" Link="http://www.flashden.net"/>
    <Item Name="Serif" Link="http://www.flashden.net"/>

    </Fonts>
    </Menu>

  2. #2
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    do it in the flash portion..

    where you use the getURL() command..add it to the second parameter..

    not in the XML file..

    example:

    PHP Code:
    someButton.onPress = function(){
        
    getURL(xmlNodevalue"_self");


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