Ir para conteúdo
Fórum Script Brasil
  • 0

alterar uns itens


sergiofmaia

Pergunta

Senhores,

Tem um site em flash que estou tentando alterar uns itens para um cliente...

Segue abaixo o link:

http://www.speedymedia.net/clientes/augustomarin/

Preciso de mais um Botão HOME que neste botão seja alterado algumas fotos com efeitos simples de mudança de fotos.

O Site é feito em FLASH com XML.

Eu tenho pouco conhecimento e não consigo alterar, alguém pode me ajudar?

Preciso de ajuda pois um cliente está cobrando?

Obs.: Pago pelo serviço, isso me ajudará como portfolio.

Meus contatos

sergio.f.maia@gmail.com

sergio.f.maia@hotmail.com

Link para o comentário
Compartilhar em outros sites

2 respostass a esta questão

Posts Recomendados

  • 0

Os arquivos são muito grandes.

<?xml version="1.0" encoding="iso-8859-1"?>

<content>

<!-- general vars -->

<section name="settings">

<item name="textSelectable">True</item>

<item name="copyright"><![CDATA[

<font face=standard 07_56">AUGUSTO’ MARIN © 2009 | <a href="asfunction:_root.more_click_func,privacyPolicy">by Speedymedia</a></font>

]]></item>

<item name="companyName"><![CDATA[<font face="Swis721 Lt BT">AUGUSTO<font color="#d4e974"></font> MARIN</font>]]></item>

<item name="slogan" ><![CDATA[<font face="standard 07_56">CREATIVE PHOTO</font>]]></item>

</section>

<!-- menu -->

<section name="menu">

<link systemOrder="1"><![CDATA[

<font face="standard 07_56">HOME</font>

]]></link>

<link systemOrder="2"><![CDATA[

<font face="standard 07_56">PORTFOLIO</font>

]]></link>

<link systemOrder="3"><![CDATA[

<font face="standard 07_56">INVESTIMENTO</font>

]]></link>

<link systemOrder="4"><![CDATA[

<font face="standard 07_56">SERVIÇOS</font>

]]></link>

<link systemOrder="5"><![CDATA[

<font face="standard 07_56">CONTATO</font>

]]></link>

</section>

<!-- pages -->

<section name="pages">

<page name="ABOUT ME">

<image imageUrl="_pic1.jpg" link="http://www.speedymedia.net/clientes/augustomarin"/>

<image imageUrl="_pic2.jpg" link="http://www.speedymedia.net/clientes/augustomarin"/>

<image imageUrl="_pic3.jpg" link="http://www.speedymedia.net/clientes/augustomarin"/>

<texts>

<pageText><![CDATA[

<font face="standard 07_55">BIOGRAFIA</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_55">AGENDA</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_55">FOTOS</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_55">AUGUSTO</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">AUGUSTO MARIN</font><br>

<font face="standard 07_55">Conte um pouco sobre você...<br>

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz<br>

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz<br>

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz<br>

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz<br>

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.</font><br>

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.<br>

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.</font><br>

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn</font>

]]></pageText>

<pageText><![CDATA[

<a href="asfunction:_root.more_click_func,0"><u><font face="standard 07_65">Click Here to Learn More</font></u></a>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.</font><br>

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.</font><br>

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

in culpa qui officia deserunt mollit anim id est laborum</font><br>

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn</font><br>

<font face="standard 07_65" color="#ffffff">06.06.2009</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn</font>

]]></pageText>

<pageText><![CDATA[

<a href="asfunction:_root.more_click_func,1"><u><font face="standard 07_65">Clique para saber mais</font></u></a>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">12.05.2008</font><br>

<font face="standard 07_55">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_55">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent vestibulum molestie lacus. Aenean<br>

nonummy hendrerit mauris. Phasellus porta.</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">12.08.2008</font><br>

<font face="standard 07_55">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnn.</font>

]]></pageText>

<pageText><![CDATA[

<a href="asfunction:_root.more_click_func,2"><u><font face="standard 07_65">Click Here to Learn More</font></u></a>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">CONSECTETUR ADIPISICING ELIT</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

dnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.</font><br><br><br>

<font face="standard 07_65" color="#ffffff">LOREM IPSUM DOLOR SIT AMET, CONSECTETUER ADIPISCING ELIT. PRAESENT VESTIBU-<br>

LUM MOLESTIE LACUS. AENEAN NONUMMY HENDRERIT MAURIS.</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn</font><br><br><br>

<font face="standard 07_65" color="#ffffff">LOREM IPSUM DOLOR SIT AMET, CONSECTETUER ADIPISCING ELIT.</font><br>

<font face="standard 07_55">nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.</font>

]]></pageText>

<pageText><![CDATA[

<a href="asfunction:_root.more_click_func,3"><u><font face="standard 07_65">Click Here to Learn More</font></u></a>

]]></pageText>

</texts>

<link linkType="readMoreLink">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.speedymedia.net/clientes/augustomarin"/>

<item name="title"><![CDATA[

<font face="standard 07_65" color="#ffffff">READ MORE 1</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br><br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br><br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn<br>

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.</font>

]]></item>

<item name="linkText"><![CDATA[

<a href="#"><u><font face="standard 07_65">info@companyname.com</font></u></a></font>

]]></item>

</link>

<link linkType="readMoreLink">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.yourcompany.com"/>

<item name="title"><![CDATA[

<font face="standard 07_65" color="#ffffff">READ MORE 2</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non<br>

numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim<br>

ad minima veniam, quis strum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea<br>

commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.<br>

molestiae consequatur, vel illum.<br><br>

Qui dolorem eum fugiat quo voluptas nulla pariaturFusce suscipit varius mi. Cum sociis natoque penatibus<br>

et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fuuctus a, lorem. Maecenas tristique<br>

orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec sit amet eros.<br><br>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna. Sed laoreet<br>

aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et<br>

urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus. rmentum dictum magna. Sed<br>

laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit.</font>

]]></item>

<item name="linkText"><![CDATA[

<a href="#"><u><font face="standard 07_65">info@companyname.com</font></u></a></font>

]]></item>

</link>

<link linkType="readMoreLink">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.yourcompany.com"/>

<item name="title"><![CDATA[

<font face="standard 07_65" color="#ffffff">READ MORE 3</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non<br>

numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim<br>

ad minima veniam, quis strum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea<br>

commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.<br>

molestiae consequatur, vel illum.<br><br>

Qui dolorem eum fugiat quo voluptas nulla pariaturFusce suscipit varius mi. Cum sociis natoque penatibus<br>

et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fuuctus a, lorem. Maecenas tristique<br>

orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec sit amet eros.<br><br>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna. Sed laoreet<br>

aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et<br>

urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus. rmentum dictum magna. Sed<br>

laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit.</font>

]]></item>

<item name="linkText"><![CDATA[

<a href="#"><u><font face="standard 07_65">info@companyname.com</font></u></a></font>

]]></item>

</link>

<link linkType="readMoreLink">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.yourcompany.com"/>

<item name="title"><![CDATA[

<font face="standard 07_65" color="#ffffff">READ MORE 4</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non<br>

numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim<br>

ad minima veniam, quis strum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea<br>

commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.<br>

molestiae consequatur, vel illum.<br><br>

Qui dolorem eum fugiat quo voluptas nulla pariaturFusce suscipit varius mi. Cum sociis natoque penatibus<br>

et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fuuctus a, lorem. Maecenas tristique<br>

orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec sit amet eros.<br><br>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna. Sed laoreet<br>

aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et<br>

urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus. rmentum dictum magna. Sed<br>

laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit.</font>

]]></item>

<item name="linkText"><![CDATA[

<a href="#"><u><font face="standard 07_65">contato@speedymedia.net</font></u></a></font>

]]></item>

</link>

</page>

<page name="dynamicGallery">

</page>

<page name="EXHIBITIONS">

<image imageUrl="_pic4.jpg" link="http://www.yourcompany.com"/>

<texts>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">CONSECTETUR ADIPISICING ELIT</font><br>

<font face="standard 07_55">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore ettu<br>

dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex<br>

ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cilluolore eu fugiart<br>

nulla pariatur. Excepteur sint occaecupidatat non proident, sunt in culpa qui officia deserollanim iaborum<br>

it amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<br>

Ut enim ad minim veniam.</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">ETIAM CURSUS LEO VEL METUS</font><br>

<font face="standard 07_55">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore ettu<br>

dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex<br>

ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cilluolore eu fugiart<br>

nulla pariatur. Excepteur sint occaecupidatat non proident, sunt in culpa qui officia deserollanim iaborum<br>

it amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<br>

Ut enim ad minim veniam., quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo<br>

consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cilluolore eu fugiat nulla pariatur.<br>

Excepteur sint occaecupidatat non proident, sunt in culpa qui officia deserollanim id est laborum luptate<br>

velit esse cilluolore eu fugiat nulla pariatur. Excepteur sint occaecupidatat non proident, sunt in culpa qui</font>

]]></pageText>

<pageText><![CDATA[

<a href="asfunction:_root.more_click_func,0"><u><font face="standard 07_65">Click Here to Learn More</font></u></a>

]]></pageText>

</texts>

<link linkType="readMoreLink">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.yourcompany.com"/>

<item name="title"><![CDATA[

<font face="standard 07_65" color="#ffffff">READ MORE 1</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non<br>

numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim<br>

ad minima veniam, quis strum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea<br>

commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.<br>

molestiae consequatur, vel illum.<br><br>

Qui dolorem eum fugiat quo voluptas nulla pariaturFusce suscipit varius mi. Cum sociis natoque penatibus<br>

et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fuuctus a, lorem. Maecenas tristique<br>

orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec sit amet eros.<br><br>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna. Sed laoreet<br>

aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et<br>

urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus. rmentum dictum magna. Sed<br>

laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit.</font>

]]></item>

<item name="linkText"><![CDATA[

<a href="#"><u><font face="standard 07_65">contato@speedymedia.net</font></u></a></font>

]]></item>

</link>

</page>

<page name="SERVICES">

<image imageUrl="_pic5.jpg" link="http://www.yourcompany.com"/>

<texts>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">LOREM IPSUM DOLOR SIT AMET, CONSECTETUER ADIPISCING ELIT. PRAESENT VESTIBU-<br>

LUM MOLESTIE LACUS. NONUMMY HENDRERIT MAURIS. PHASELLUS PORTA.</font><br>

<font face="standard 07_55">Fusce suscipit varius mi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridicu-<br>

lus mus. Nulla dui. Fusce feugiat malesuada odio. Morbi nunc odio, gravida at, cursus nec, luctus a, lorem.<br>

Maecenas tristique orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec<br>

sit amet eros. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna.<br>

Sed laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor<br>

wisi et urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus.</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">ALIQUAM CONGUE FERMENTUM NISL</font><br>

<font face="standard 07_55">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore ettu<br>

dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex<br>

ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cilluolore eu fugiart<br>

nulla pariatur. Excepteur sint occaecupidatat non proident, sunt in culpa qui officia deserollanim iaborum<br>

it amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<br>

Ut enim ad minim veniam., quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo<br>

consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cilluolore eu fugiat nulla pariatur.<br>

Excepteur sint occaecupidatat non proident, sunt in culpa qui officia.</font>

]]></pageText>

<pageText><![CDATA[

<a href="asfunction:_root.more_click_func,0"><u><font face="standard 07_65">Click Here to Learn More</font></u></a>

]]></pageText>

</texts>

<link linkType="readMoreLink">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.yourcompany.com"/>

<item name="title"><![CDATA[

<font face="standard 07_65" color="#ffffff">READ MORE 1</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non<br>

numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim<br>

ad minima veniam, quis strum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea<br>

commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.<br>

molestiae consequatur, vel illum.<br><br>

Qui dolorem eum fugiat quo voluptas nulla pariaturFusce suscipit varius mi. Cum sociis natoque penatibus<br>

et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fuuctus a, lorem. Maecenas tristique<br>

orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec sit amet eros.<br><br>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna. Sed laoreet<br>

aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et<br>

urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus. rmentum dictum magna. Sed<br>

laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit.</font>

]]></item>

<item name="linkText"><![CDATA[

<a href="#"><u><font face="standard 07_65">contato@speedymedia.net</font></u></a></font>

]]></item>

</link>

</page>

<page name="CONTACTS">

<image imageUrl="_pic6.jpg" link="http://www.yourcompany.com"/>

<texts>

<pageText><![CDATA[

<font face="standard 07_65" color="#ffffff">QUISQUE NULLA. VESTIBULUM LIBERO NISL, PORTA VEL, SCELERISQUE EGET, MALE-<br>

SUADA AT, NEQUE. VIVAMUS EGET NIBH. ETIAM CURSUS LEO VEL METUS.</font><br>

<font face="standard 07_55">Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,<br>

totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui<br>

dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora<br>

incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis strum<br>

exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem<br>

vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.</font>

]]></pageText>

<pageText><![CDATA[

<font face="standard 07_65"><u>Reset</u> <u>Submit</u></font>

]]></pageText>

</texts>

</page>

</section>

<!-- privacy policy -->

<section name="privacyPolicy">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.speedymedia.net/clientes/augustomarin"/>

<item name="pageTitle"><![CDATA[

<font face="standard 07_65" color="#ffffff">PRIVACY POLICY</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non<br>

numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim<br>

ad minima veniam, quis strum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea<br>

commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.<br>

molestiae consequatur, vel illum.<br><br>

Qui dolorem eum fugiat quo voluptas nulla pariaturFusce suscipit varius mi. Cum sociis natoque penatibus<br>

et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fuuctus a, lorem. Maecenas tristique<br>

orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec sit amet eros.<br><br>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna. Sed laoreet<br>

aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et<br>

urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus. rmentum dictum magna. Sed<br>

laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit.</font>

]]></item>

<item name="pageText"><![CDATA[

<a href="#"><u><font face="standard 07_65">contato@speedymedia.net</font></u></a></font>

]]></item>

</section>

<!-- privacy policy -->

<!-- terms of use -->

<section name="termsOfUse">

<item name="pageImage" imageUrl="_pic7.jpg" link="http://www.speedymedia.net/clientes/augustomarin"/>

<item name="pageTitle"><![CDATA[

<font face="standard 07_65" color="#ffffff">TERMS OF USE</font><br>

<font face="standard 07_55">totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta<br>

sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia<br>

onsequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br><br>

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non<br>

numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim<br>

ad minima veniam, quis strum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea<br>

commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.<br>

molestiae consequatur, vel illum.<br><br>

Qui dolorem eum fugiat quo voluptas nulla pariaturFusce suscipit varius mi. Cum sociis natoque penatibus<br>

et magnis dis parturient montes, nascetur ridiculus mus. Nulla dui. Fuuctus a, lorem. Maecenas tristique<br>

orci ac sem. Duis ultricies pharetra magna. Donec accumsan malesuada orci. Donec sit amet eros.<br><br>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris fermentum dictum magna. Sed laoreet<br>

aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et<br>

urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus. rmentum dictum magna. Sed<br>

laoreet aliquam leo. Ut tellus dolor, dapibus eget, elementum vel, cursus eleifend, elit.</font>

]]></item>

<item name="pageText"><![CDATA[

<a href="#"><u><font face="standard 07_65">contato@speedymedia.net</font></u></a></font>

]]></item>

</section>

<!-- terms of use -->

<!-- contact form -->

</content>

Nome: xmlFunctions

import flash.display.*;

function loadBitmapSmoothed(url:String, target:MovieClip) {

// Create a movie clip which will contain our

// unsmoothed bitmap

var bmc:MovieClip = target.createEmptyMovieClip("bmc", target.getNextHighestDepth());

// Create a listener which will notify us when

// the bitmap loaded successfully

var listener:Object = new Object();

// Track the target

listener.tmc = target;

// If the bitmap loaded successfully we redraw the

// movie into a BitmapData object and then attach

// that BitmapData to the target movie clip with

// the smoothing flag turned on.

listener.onLoadInit = function(mc:MovieClip) {

mc._visible = false;

var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true);

this.tmc.attachBitmap(bitmap, this.tmc.getNextHighestDepth(), "auto", true);

bitmap.draw(mc);

};

// Do it, load the bitmap now

var loader:MovieClipLoader = new MovieClipLoader();

loader.addListener(listener);

loader.loadClip(url, bmc);

}

var mainObj = _root.parsed_obj;

var galleryObj = _root.gallery_obj;

function textSelectable(selectedObject) {

isTextSelected = getSettingsValue(mainObj, "textSelectable", "item");

if (isTextSelected == "true") {

selectedObject.selectable = true;

}

}

function getXmlSection(obj, itemName, sectionName) {

i = 0;

while (obj[itemName]) {

if (obj[itemName].name == sectionName) {

returnedResult = true;

return (i);

break;

}

i++;

}

}

function getSettingsValue(obj, itemName, itemType) {

sectionNum = getXmlSection(obj, "section", "settings");

k = 0;

while (obj["section][sectionNum][itemType][k]) {

if (obj["section"][sectionNum][itemType][k].name == itemName) {

return (obj.section[sectionNum][itemType][k].value);

break;

}

k++;

}

}

function getSettingsValueByName(textObj, sname, emded) {

textObj.htmlText = getSettingsValue(mainObj, sname, "item");

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getSubLink(textObj, num) {

sectionNum = getXmlSection(mainObj, 'section', 'pages');

currentPage = _root.link-_root.firstPageFrame;

var fontFamily = mainObj['section'][sectionNum]['page'][currentPage]['sublinks'][0]['link'][num]['fontFamily'];

textObj.htmlText = mainObj['section'][sectionNum]['page'][currentPage]['sublinks'][0]['link'][num].value;

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getFontFamily(obj, sectionName, itemType, targetItem):String {

sectionNum = getXmlSection(obj, 'section', sectionName);

return getAttributeValue(obj['section'][sectionNum][itemType], targetItem);

}

function getAttributeValue(where, targetItem):String {

if (isNaN(targetItem)) {

k = 0;

while (where[k]) {

if (where[k].name == targetItem) {

return where[k]['fontFamily'];

break;

}

k++;

}

} else {

return where[targetItem]['fontFamily'];

}

}

function getCopyright(textObj, embed) {

textObj.htmlText = getSettingsValue(mainObj, "copyright", "item");

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getCompanyName(textObj, embed) {

textObj.htmlText = getSettingsValue(mainObj, "companyName", "item");

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getCompanyName2(textObj, embed) {

textObj.htmlText = getSettingsValue(mainObj, "companyName2", "item");

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getSlogan(textObj, embed) {

textObj.htmlText = getSettingsValue(mainObj, "slogan", "item");

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getSystemValue(textObj, systemOptionName) {

textObj.htmlText = getSettingsValue(mainObj, systemOptionName, "item");

textSelectable(textObj);

}

function getMenuLink(textObj, linkNum, embed) {

sectionNum = getXmlSection(mainObj, "section", "menu");

textObj.htmlText = mainObj["section"][sectionNum].link[linkNum].value;

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getMenuSystemOrder(linkNum) {

sectionNum = getXmlSection(mainObj, "section", "menu");

return (mainObj["section"][sectionNum].link[linkNum].systemOrder);

}

function getMenuNameByLink(textObj, linkNum, embed) {

sectionNum = getXmlSection(mainObj, "section", "center_menu");

for (var i:Number = 0; i<mainObj["section"][sectionNum].link.length; i++) {

if (linkNum == mainObj["section"][sectionNum].link.systemOrder) {

textObj.htmlText = mainObj["section"][sectionNum].link.value;

if (embed == false) {

textObj.embedFonts = false;

} else {

textObj.embedFonts = true;

}

break;

}

}

}

function getMenuOrderNumByLink(linkNum) {

sectionNum = getXmlSection(mainObj, "section", "menu");

for (var i:Number = 0; i<mainObj["section"][sectionNum].link.length; i++) {

if (linkNum == mainObj["section"][sectionNum].link.systemOrder) {

return i;

}

}

}

function getCurrentText(textObj, textNumber, embed) {

sectionNum = getXmlSection(mainObj, 'section', 'pages');

currentPage = _root.link-_root.firstPageFrame;

textObj.htmlText = mainObj['section'][sectionNum]['page'][currentPage]['texts'][0]['pageText'][textNumber].value;

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getMenuPreviousLink(linkNum) {

k = 0;

systemOrder = getMenuSystemOrder(k);

while (systemOrder) {

if (systemOrder == linkNum) {

orderResult = k+1;

break;

}

k++;

systemOrder = getMenuSystemOrder(k);

}

return (orderResult);

}

function getCurrentImageName(imageNumber) {

sectionNum = getXmlSection(mainObj, "section", "pages");

currentPage = _root.link-_root.firstPageFrame;

imageParams = new Array();

imageParams['name'] = mainObj["section"][sectionNum]["page"][currentPage]["image"][imageNumber]["imageUrl"];

imageParams['linkToOpen'] = mainObj["section"][sectionNum]["page"][currentPage]["image"][imageNumber]["link"];

imageParams['target'] = mainObj["section"][sectionNum]["page"][currentPage]["image"][imageNumber]["target"];

return (imageParams);

}

function getCurrentImageName_splash(imageNumber) {

sectionNum = getXmlSection(mainObj, "section", "settings");

imageParams = new Array();

imageParams['name'] = mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];

imageParams['linkToOpen'] = mainObj["section"][sectionNum]["image"][imageNumber]["link"];

return (imageParams);

}

function checkLinkType(linkTextType, linkNumber) {

k = 0;

typeCount = 0;

finalLinkNumber = parseInt(linkNumber)+1;

currentPage = _root.link-_root.firstPageFrame;

sectionNum = getXmlSection(mainObj, "section", "pages");

linkTypeCkeck = mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];

while (linkTypeCkeck) {

if (linkTypeCkeck == linkTextType) {

typeCount++;

}

if (typeCount == finalLinkNumber) {

return (k);

break;

}

k++;

linkTypeCkeck = mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];

}

}

/*

function more_click_func(number) {

//num=_root.pagesReadMoreFrame;

//currentPage=_root.link-_root.firstPageFrame;

if(_root.link<>_root.pagesReadMoreFrame or _root.link<>_root.pagesReadMoreFrame+1) {

if( _root.link != _root.pagesReadMoreFrame ) {

_root.link_prev = _root.link;

}

_root.menu["item" + _root.link].gotoAndPlay("s2");

if (number==999999) {

sectionNum=getXmlSection(mainObj, "section", "privacyPolicy");

titleNum=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");

title2Num=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle2");

textNum=getXmlSection(mainObj.section[sectionNum], "item", "pageText");

_root.readPrivTitle=mainObj.section[sectionNum]["item"][titleNum].value;

_root.readPrivTitle2=mainObj.section[sectionNum]["item"][title2Num].value;

_root.readPrivText=mainObj.section[sectionNum]["item"][textNum].value;

_root.readPrivTitleFont=mainObj.section[sectionNum]["item"][titleNum]['fontFamily'];

_root.readPrivTitle2Font=mainObj.section[sectionNum]["item"][title2Num]['fontFamily'];

_root.readPrivTextFont=mainObj.section[sectionNum]["item"][textNum]['fontFamily'];

_root.link=_root.pagesReadMoreFrame+1;

}

else {

sectionNum=getXmlSection(mainObj, "section", "pages");

linkCount=checkLinkType("readMoreLink", number);

i=0;

linkTitleNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount], "item", "title");

linkTitle2Num=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount], "item", "title2");

linkTextNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount], "item", "linkText");

_root.readMoreTitle=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitleNum].value;

_root.readMoreTitle2=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitle2Num].value;

_root.readMoreText=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTextNum].value;

_root.readMoreTitleFont = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitleNum]['fontFamily'];

_root.readMoreTitle2Font = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitle2Num]['fontFamily'];

_root.readMoreTextFont = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTextNum]['fontFamily'];

_root.link=_root.pagesReadMoreFrame;

}

_root.pagess.gotoAndPlay("s1");

}

}

*/

_root.readMoreFrameType = 'readmore';

function more_click_func(number) {

tempNumber = number.split(" ");

number = tempNumber.join("");

number = number.toLowerCase();

num = _root.pagesReadMoreFrame;

currentPage = _root.link-_root.firstPageFrame;

if (isNaN(Number(number))) {

readMoreType = number;

} else {

readMoreType = 'readmore';

}

if (_root.link<>num || _root.readMoreFrameType != readMoreType) {

if (_root.link != _root.pagesReadMoreFrame) {

_root.link_prev = _root.link;

}

_root.menu["item"+Number(getMenuOrderNumByLink(_root.link)+1)].gotoAndPlay("s2");

if (number == 'privacypolicy') {

_root.readMoreFrameType = 'privacypolicy';

sectionNum = getXmlSection(mainObj, "section", "privacyPolicy");

imageNum = getXmlSection(mainObj.section[sectionNum], "item", "pageImage");

titleNum = getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");

title2Num = getXmlSection(mainObj.section[sectionNum], "item", "pageTitle2");

textNum = getXmlSection(mainObj.section[sectionNum], "item", "pageText");

_root.readPrivImageUrl = mainObj.section[sectionNum]["item"][imageNum]['imageUrl'];

_root.readPrivImageLink = mainObj.section[sectionNum]["item"][imageNum]['link'];

trace( _root.readPrivImageUrl )

trace( _root.readPrivImageLink )

_root.readPrivTitle = mainObj.section[sectionNum]["item"][titleNum].value;

_root.readPrivTitle2 = mainObj.section[sectionNum]["item"][title2Num].value;

_root.readPrivText = mainObj.section[sectionNum]["item"][textNum].value;

_root.readPrivTitleFont = mainObj.section[sectionNum]["item"][titleNum]['fontFamily'];

_root.readPrivTitle2Font = mainObj.section[sectionNum]["item"][title2Num]['fontFamily'];

_root.readPrivTextFont = mainObj.section[sectionNum]["item"][textNum]['fontFamily'];

} else if (number == 'termsofuse') {

_root.readMoreFrameType = 'termsofuse';

sectionNum = getXmlSection(mainObj, "section", "termsOfUse");

titleNum = getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");

textNum = getXmlSection(mainObj.section[sectionNum], "item", "pageText");

imageNum = getXmlSection(mainObj.section[sectionNum], "item", "pageImage");

_root.termsTitle = mainObj.section[sectionNum]["item"][titleNum].value;

_root.termsText = mainObj.section[sectionNum]["item"][textNum].value;

_root.termsImageUrl = mainObj.section[sectionNum]["item"][imageNum]['imageUrl'];

_root.termsImageLink = mainObj.section[sectionNum]["item"][imageNum]['link'];

} else {

_root.readMoreFrameType = 'readmore';

sectionNum = getXmlSection(mainObj, "section", "pages");

linkCount = checkLinkType("readMoreLink", number);

i = 0;

linkImageNum = getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount], "item", "pageImage");

linkTitleNum = getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount], "item", "title");

linkTitle2Num = getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount], "item", "title2");

linkTextNum = getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount], "item", "linkText");

_root.readMoreImageUrl = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkImageNum]['imageUrl'];

_root.readMoreImageLink = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkImageNum]['link'];

_root.readMoreTitle = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitleNum].value;

_root.readMoreTitle2 = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitle2Num].value;

_root.readMoreText = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTextNum].value;

_root.readMoreTitleFont = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitleNum]['fontFamily'];

_root.readMoreTitle2Font = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTitle2Num]['fontFamily'];

_root.readMoreTextFont = mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount]["item"][linkTextNum]['fontFamily'];

}

_root.link = num;

_root.gotoAndPlay("s1");

}

}

function getContactFormText(textObj, textNumber, embed) {

sectionNum = getXmlSection(mainObj, "section", "contactForm");

textObj.htmlText = mainObj["section"][sectionNum]["texts"][0]["pageText"][textNumber].value;

textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getContactFormParams() {

sectionNum = getXmlSection(mainObj, "section", "contactForm");

ContactFormParams = new Array();

servNum = getXmlSection(mainObj["section"][sectionNum], "item", "serverOption");

recNum = getXmlSection(mainObj["section"][sectionNum], "item", "recipient");

ContactFormParams['rec'] = mainObj["section"][sectionNum]["item"][recNum].value;

ContactFormParams['serv'] = mainObj["section"][sectionNum]["item"][servNum].value;

return (ContactFormParams);

}

// gallery functions

function getGallerySystemProperty(propName) {

sectionNum = getXmlSection(galleryObj, "section", "systemOptions");

propNum = getXmlSection(galleryObj["section"][sectionNum], "option", propName);

return (galleryObj["section"][sectionNum]["option"][propNum].value);

}

function getGallerySettings(propName) {

sectionNum = getXmlSection(galleryObj, "section", "settings");

propNum = getXmlSection(galleryObj["section"][sectionNum], "option", propName);

return (galleryObj["section"][sectionNum]["option"][propNum].value);

}

function getGalleryImage(imageNum, categoryNum) {

sectionNum = getXmlSection(galleryObj, "section", "imagesData");

imageParams = new Array();

image = galleryObj["section"][sectionNum]["category"][categoryNum]["image"][imageNum];

nameNum = getXmlSection(image, "item", "imageUrl");

commentNum = getXmlSection(image, "item", "imageComment");

imageParams['name'] = image['item'][nameNum].value;

imageParams['comment'] = image['item'][commentNum].value;

return (imageParams);

}

function getCurrentGalleryName(categoryNum) {

sectionNum = getXmlSection(galleryObj, "section", "imagesData");

return (galleryObj["section"][sectionNum]["category"][categoryNum].name);

}

function getCurrentGalleryFolder(categoryNum) {

sectionNum = getXmlSection(galleryObj, "section", "imagesData");

return (galleryObj["section"][sectionNum]["category"][categoryNum].folderID);

}

function getCountCategoryImages(categoryNum) {

sectionNum = getXmlSection(galleryObj, "section", "imagesData");

i = 0;

flag = "true";

while (flag == "true") {

if (!galleryObj["section"][sectionNum]["category"][categoryNum]['image']) {

flag = "false";

} else {

i++;

}

}

return (i);

}

function getNumberByname(imageName, categoryNum) {

sectionNum = getXmlSection(galleryObj, "section", "imagesData");

imageCount = 0;

flag = "true";

while (flag == "true") {

if (galleryObj["section"][sectionNum]["category"][categoryNum]['image'][imageCount]) {

imageObject = galleryObj["section"][sectionNum]["category"][categoryNum]["image"][imageCount];

nameNum = getXmlSection(imageObject, "item", "imageUrl");

if (imageObject['item'][nameNum].value == imageName) {

imageNum = imageCount;

flag = "false";

return (imageNum);

}

imageCount++;

} else {

flag = "false";

}

}

}

function getReadMoreTitle(textObj, embed) {

textObj.htmlText = _root.readMoreTitle;

_root.textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getReadMoreTitle2(textObj, embed) {

textObj.htmlText = _root.readMoreTitle2;

_root.textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getReadMoreText(textObj, embed) {

textObj.htmlText = _root.readMoreText;

_root.textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function needToEmbedFonts(sourceText:String):Boolean {

if (sourceText) {

var fontFaces:Array = new Array();

var searchString:String = ' FACE=;

var fromIndex:Number = 0;

var currentIndex:Number = (sourceText.toUpperCase()).indexOf(searchString, fromIndex);

while (currentIndex != -1) {

var startQuoteIndex:Number = currentIndex+searchString.length;

var quoteType:String = sourceText.charAt(startQuoteIndex);

var endQuoteIndex:Number = sourceText.indexOf(quoteType, startQuoteIndex+1);

fontFaces.push(sourceText.substring(startQuoteIndex+1, endQuoteIndex));

fromIndex = currentIndex+1;

currentIndex = (sourceText.toUpperCase()).indexOf(searchString, fromIndex);

}

var counter:Number;

// Check FontsManager

if (_root.fm && !_root.fm.libraryLoadingError) {

for (counter=0; counter<fontFaces.length; counter++) {

if (_root.fm.isFontRegistered(fontFaces[counter])) {

return true;

}

}

} else {

// Check default fonts

var defaultFontsCollection:Array = ['Tahoma', 'Arial', 'Comic Sans MS', 'Courier New', 'Times New Roman', 'Verdana', 'Georgia];

var defaultFontsCollectionString:String = defaultFontsCollection.toString();

for (counter=0; counter<fontFaces.length; counter++) {

if (defaultFontsCollectionString.indexOf(fontFaces[counter]) == -1) {

return true;

}

}

}

}

return false;

}

function getGlobalText(textObj, textsNumber, optional:Boolean) {

sectionNum = getXmlSection(mainObj, "section", "global_text");

textObj.htmlText = mainObj["section"][sectionNum].texts[textsNumber].value;

if (optional == undefined) {

textSelectable(textObj);

} else {

// do nothing

}

}

function getGlobalImageName(imageNumber) {

sectionNum = getXmlSection(mainObj, "section", "global_img");

//currentPage = _root.link-_root.firstPageFrame;

imageParams = new Array();

imageParams['name'] = mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];

imageParams['linkToOpen'] = mainObj["section"][sectionNum]["image"][imageNumber]["link"];

return (imageParams);

}

function getMenuSize(linkNum) {

sectionNum = getXmlSection(mainObj, "section", "menu");

return (mainObj["section"][sectionNum].sizeOf[linkNum].value);

}

function getPrivTitle(textObj, embed) {

textObj.htmlText = _root.readPrivTitle;

_root.textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getPrivText(textObj, embed) {

textObj.htmlText = _root.readPrivText;

_root.textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getTermsTitle(textObj, embed) {

textObj.htmlText = _root.termsTitle;

_root.textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

function getTermsText(textObj, embed) {

textObj.htmlText = _root.termsText;

_root.textSelectable(textObj);

if (embed == undefined || embed == null) {

textObj.embedFonts = needToEmbedFonts(textObj.htmlText);

} else {

textObj.embedFonts = embed;

}

}

Nome: XMLParser

/*

VERSION: 3.2

DATE: 3/23/2007

DESCRIPTION:

This class provides an easy way to load and/or send an XML file and parse the data into a format that's simple

to work with. Every node becomes an array with the same name. All attributes are also easily accessible because

they become properties with the same name. So for example, if this is your XML:

<Resources>

<Book name="Mary Poppins" ISDN="1122563" />

<Book name="The Bible" ISDN="333777" />

<Novel name="The Screwtape Letters" ISDN="257896">

<Description>This is an interesting perspective</Description>

</Novel>

</Resources>

Then you could access the first book's ISDN with:

Book[0].ISDN

The value of a node (like the text between the <Description> and </Description> tags above can

be accessed using the "value" property, like so:

Novel[0].Description[0].value

Just remember that all nodes become arrays even if there's only one node, and attributes become properties.

You can obviously loop through the arrays too which is very useful. The root node is ignored for efficiency

(less code for you to write).

EXAMPLE:

To simply load a "myDocument.xml" document and parse the data into ActionScript-friendly values, do:

import gs.dataTransfer.XMLParser;

var parsed_obj = new Object(); //This will hold the parsed xml data (once the XML loads and gets parsed).

XMLParser.load("myDocument.xml", onFinish, parsed_obj);

function onFinish(success_boolean, results_obj, xml) { //This function gets called when the XML gets parsed.

if (success_boolean) {

trace("The first book is: "+results_obj.Book[0].name);

}

}

Or to send an object to the server in XML format (remember, each element in an array becomes a node and all

object properties become node attributes) and load the results back into an ActionScript-friendly format, do:

import gs.dataTransfer.XMLParser;

//Create an object to send an populate it with values...

var toSend_obj = new Object();

toSend_obj.name = "Test Name";

toSend_obj.Book = new Array();

toSend_obj.Book.push({title:"Mary Poppins", ISDN:"125486523"});

toSend_obj.Book.push({title:"The Bible", ISDN:"25478866998"});

//Now send the data and load the results from the server into the response_obj...

var response_obj = new Object(); //We'll use this to hold the parsed xml response.

XMLParser.sendAndLoad(toSend_obj, "http://www.myDomain.com/myScript.php", onFinish, response_obj);

function onFinish(success_boolean, results_obj, xml) {

if (success_boolean) {

trace("The server responded with this XML: "+xml);

trace("The server's response was translated into this ActionScript object: "+results_obj);

}

}

In the example above, the server would receive the following XML document:

<XML name="Test Name">

<Book ISDN="125486523" title="Mary Poppins" />

<Book ISDN="25478866998" title="The Bible" />

</XML>

NOTES:

- It is case sensitive, so if you run into problems, check that.

- The value of any text node can be accessed with the "value" property as mentioned above.

- A valid XML document requires a single root element, so in order to consolidate things,

That root will be ignored in the resulting arrays. So if your root element is <Library>

and it has <Book> nodes, you don't have to access them with Library[0].Book[0]. You can

just do Book[0].

- You can simply translate an object into XML (without sending it anywhere) using the

XMLParser.objectToXML(my_obj) function which returns an XML instance.

CODED BY: Jack Doyle, jack@greensock.com

*/

import mx.utils.Delegate;

class gs.dataTransfer.XMLParser

{

static var CLASS_REF = gs.dataTransfer.XMLParser;

private static var _parsers_array:Array;

private var _url_str:String;

private var _onComplete_func:Function;

private var _xml:XML;

private var _results_obj:Object;

var parse:Function; //Just for backward compatibility. It's essentially an alias pointing to the initLoad() function.

private var xhttpStatus : Number;

private var xhttpStatusType : String;

private var triedWithoutCache : Boolean = false;

function XMLParser() {

parse = initLoad; //Just for backward compatibility. It's essentially an alias pointing to the initLoad() function.

if (_parsers_array == undefined) {

_parsers_array = [];

}

_parsers_array.push(this);

}

static function load(url_str:String, onComplete_func:Function, results_obj:Object, killChache : Boolean):XMLParser {

var parser_obj = new XMLParser();

parser_obj.initLoad(url_str, onComplete_func, results_obj, killChache);

return parser_obj;

}

static function sendAndLoad(toSend_obj:Object, url_str:String, onComplete_func:Function, results_obj:Object):XMLParser {

var parser_obj = new XMLParser();

parser_obj.initSendAndLoad(toSend_obj, url_str, onComplete_func, results_obj);

return parser_obj;

}

function initLoad(url_str:String, onComplete_func:Function, results_obj:Object, killChache : Boolean) {

if (results_obj == undefined) {

results_obj = {};

}

_results_obj = results_obj;

_url_str = url_str;

_onComplete_func = onComplete_func;

_xml = new XML();

_xml.ignoreWhite = true;

_xml.onData = Delegate.create(this, this.onDataLoaded);

// _xml.onLoad = Delegate.create(this, this.parseLoadedXML);

var cacheKiller : String = (killChache == true) ? '?cacheKiller=' + String(new Date().getTime()) : '';

_xml.load(_url_str + cacheKiller);

}

function initSendAndLoad(toSend_obj:Object, url_str:String, onComplete_func:Function, results_obj:Object) {

if (results_obj == undefined) {

results_obj = {};

}

_results_obj = results_obj;

_url_str = url_str;

_onComplete_func = onComplete_func;

if (toSend_obj instanceof XML) {

var xmlToSend_obj = toSend_obj;

} else {

var xmlToSend_obj = XMLParser.objectToXML(toSend_obj);

}

_xml = new XML();

_xml.ignoreWhite = true;

_xml.onLoad = Delegate.create(this, this.parseLoadedXML);

xmlToSend_obj.sendAndLoad(_url_str, _xml);

}

function searchAndReplace(holder, searchfor, replacement) {

var temparray = holder.split(searchfor);

var holder = temparray.join(replacement);

return (holder);

}

private function onDataLoaded(src : String) {

if(src == undefined) {

if(triedWithoutCache == false) {

triedWithoutCache = true;

initLoad(_url_str, _onComplete_func, _results_obj, false);

} else {

parseLoadedXML(false);

}

} else {

_xml.parseXML(src);

_xml.loaded = true;

parseLoadedXML(true);

}

}

private function parseLoadedXML(success_boolean) {

if (success_boolean == false) {

trace("XML FAILED TO LOAD! ("+_url_str+")");

_onComplete_func(false);

return;

}

var x = this._xml;

var c = x.firstChild.firstChild; //"c" is for current_node

var last_node = x.firstChild.lastChild;

x.firstChild.obj = _results_obj; //Allows us to tack on all the arrays and objects to this instance for easy retrieval by the user. If this causes a problem, we could create a public object variable that holds everything, but this simplifies things for the user.

while(c != undefined) {

//We ran into an issue where Flash was creating an extra subnode anytime we had content in a node like <NODE>My Content</NODE>. The tip off is when the nodeName is null and the nodeType is 3 (text).

if (c.nodeName == null && c.nodeType == 3) {

c.parentNode.obj.value = searchAndReplace(c.nodeValue, '\r\n', '');

} else {

var o = {};

for (var att in c.attributes) {

o[att] = c.attributes[att];

}

var pn = c.parentNode.obj;

if (pn[c.nodeName] == undefined) {

pn[c.nodeName] = [];

}

c.obj = o;

pn[c.nodeName].push(o);

}

if (c.childNodes.length > 0) {

c = c.childNodes[0];

} else {

var next_node = c;

while(next_node.nextSibling == undefined && next_node.parentNode != undefined) {

next_node = next_node.parentNode;

}

c = next_node.nextSibling;

if (next_node == last_node) {

c = undefined;

}

}

}

_onComplete_func(true, _results_obj, x);

}

//Allows us to translate an object (typically with arrays attached to it) back into an XML object. This is useful when we need to send it back to the server or save it somewhere.

public static function objectToXML(o:Object, rootNodeName_str:String):XML {

if (rootNodeName_str == undefined) {

rootNodeName_str = "XML";

}

var xml:XML = new XML();

var n:XMLNode = xml.createElement(rootNodeName_str);

var props = [];

var prop;

for (var p in o) {

props.push(p);

}

for (var p = props.length - 1; p >= 0; p--) { //By default, attributes are looped through in reverse, so we go the opposite way to accommodate for this.

prop = props[p];

if (typeof(o[prop]) == "object" && o[prop].length > 0) { //Means it's an array!

arrayToNodes(o[prop], n, xml, prop);

} else if (prop == "value") {

var tn:XMLNode = xml.createTextNode(o.value);

n.appendChild(tn);

} else {

n.attributes[prop] = o[prop];

}

}

xml.appendChild(n);

return xml;

}

//Recursive function that walks through any sub-arrays as well...

private static function arrayToNodes(ar:Array, parentNode:XMLNode, xml:XML, nodeName_str:String):Void {

var chldrn = [];

var props:Array;

var prop;

var n:XMLNode;

var o:Object;

for (var i = ar.length - 1; i >= 0; i--) {

n = xml.createElement(nodeName_str);

o = ar;

props = [];

for (var p in o) {

props.push(p);

}

for (var p = props.length - 1; p >= 0; p--) { //By default, attributes are looped through in reverse, so we go the opposite way to accommodate for this.

prop = props[p];

if (typeof(o[prop]) == "object" && o[prop].length > 0) { //Means it's an array!

arrayToNodes(o[prop], n, xml, prop);

} else if (prop != "value") {

n.attributes[prop] = o[prop];

} else {

var tn:XMLNode = xml.createTextNode(o.value);

n.appendChild(tn);

}

}

chldrn.push(n);

//parentNode.appendChild(n);

}

for (var i = chldrn.length - 1; i >= 0; i--) {

parentNode.appendChild(chldrn);

}

}

public function destroy():Void {

delete _xml;

for (var i = 0; i < _parsers_array.length; i++) {

if (this == _parsers_array) {

_parsers_array.splice(i, 1);

}

}

destroyInstance(this);

}

static function destroyInstance(i:XMLParser):Void {

delete i;

}

//---- GETTERS / SETTERS --------------------------------------------------------------------

static function get active_boolean():Boolean {

if (_parsers_array.length > 0) {

return true;

} else {

return false;

}

}

}

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,4k
×
×
  • Criar Novo...