FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


need help with flash actionscript and xml!





salman_500
hey there!

so here's the issue, i recently bought a template off the internet, its completely flash and integrated with xml.
the content of the website is stored in the xml file.
theres a gallery in the website, under each image of the gallery is some text with a "read more" link.
this takes the user to a 'page' where the rest of the content is displayed.
heres the code from the xml:

Code:

<page name="gallery">
<image imageUrl="_pic6.png" link="#"/>
*10 others*
<image imageUrl="_pic9.png" link="#"/>

<image imageUrl="_pic_big1.png"/>
*10 others*
<image imageUrl="_pic_big4.png"/>

<texts>

<pageText><![CDATA[
Gallery
]]></pageText>

<pageText><![CDATA[
<font color="#c6c5c5">
*text here*
</font>
<font color="#029af2"><a href="asfunction:_root.more_click_func,0"> more</a></font>
]]></pageText>

</texts>

<link linkType="readMoreLink">
<item name="title"><![CDATA[
Weddings
]]></item>
<item name="linkText"><![CDATA[*remaining text here*
]]></item>
</link>

</page>


what i want done is that instead of having text in the page that follows the link, i have a sub-gallery that shows the right pictures.

e.g. suppose the first image is of a car. When the user clicks "more" the next page shows around 10 more pictures of cars. get what i mean?

now i cant quite get that to happen. and i think its because the readmore links function within the same page or something =S

Help please!
thanks in advance!
Related topics
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.