Hi,
I am new into flash and I am editing fla file with Flash CS4, I have a page on the website that has a list of videos I want to change the videos with html fils to open in a new tab(page). I removed the video links and added the html files but when I click on it nothing happen when i put the the videos back it works, here is the xml file and the action script any help is appreciated
Thanks in advance.
source.xml
<?xml version=“1.0” encoding=“utf-8” standalone=“yes”?>
<buttons>
<b1 name=“Bubbles” link=“video/video_1.flv” til=“4:30” />
<b2 name="Toyota " link=“video/video_2.flv” til=“5:32”/>
<b3 name=“Cartoon” link=“video/video_3.flv” til=“4:82”/>
</buttons>
I change this with the following in order to open html files instead of the video files.
but it is not working when I click it doesn’t go anywhere
<?xml version=“1.0” encoding=“utf-8” standalone=“yes”?>
<buttons>
<b1 name=“Bubbles” link=“albums/album.html” til=“February” />
<b2 name="Toyota " link=“albums/album2.html” til=“April09”/>
<b3 name=“Cartoon” link=“albums/album3” til=“May09”/>
</buttons>
here is the Action script.
Stage.scaleMode = “noScale”
Stage.align = “TC”
xml_data = new XML();
xml_data.ignoreWhite = true;
xml_data.load(“albums/source.xml”);
stop();
_root.current_p = 0;
_root.g_page = 0;
_root.page = 0;
_root.flag = 0;
magnet = 400;
magic = 6;
loadVariablesNum(“inc/text.html”, 0);
and here is the action script on the symbole
text1.text = _root.xml_data.firstChild.childNodes[_parent.url1].attributes.name;