• Style Pro CMS Flash Template
    Paypal Shopping Cart
    iPhone/iPad compatible



  • Style Portfolio v.3 CMS Flash Template
    Paypal Shopping Cart
    iPhone/iPad compatible



Welcome, Guest

TOPIC: Problem when create custom page

Problem when create custom page 1 year, 11 months ago #606

  • webly
Hi.
I have bought the template on activeden.
First of all...: Awesome Template!

Now the only issue is for the custom page.
I add a new item in the menu and call him "book",
choose the custom filetype and press "next step".
Insert swf path (book) and swf name (book).
Now template say that it's all right!
I upload all files of swf (book.swf, xml file and pages folder) into the created folder (book).
But when i click on the book page template doesn't load the data...

P.S.: The file is an AS3 XML FlipBook!

can you help me???

Re:Problem when create custom page 1 year, 11 months ago #607

  • admin
  • OFFLINE
  • Administrator
  • Posts: 594
  • Karma: 14
hi
to make dynamics swf work you must change the path of xml and into xml (of flipbook) to "component/book/yourfile.xml" instead "yourfile.xml"

the same for the link in yourfile.xml

you need to edit the flipbook source

Re:Problem when create custom page 1 year, 11 months ago #608

  • webly
Thanks for the quick reply.

Yes this is the code:

book.xml (path: "component/xml/custom/book.xml")
<window>
	<item>
		<filetype><![CDATA[custom]]></filetype>
		<sheet><![CDATA[component/xml/home.css]]></sheet>
		<link><![CDATA[component/book/book.swf]]></link>
	</item>
</window>


And the swf files are placed in the correct directory:
component/book/book.swf

Flipbook needs to be modified?
What i should to modify?
The link in the flipbook's xml file are relative...
Such as <background src="bg.png" type="image"/>

Re:Problem when create custom page 1 year, 11 months ago #609

  • webly
I need help yet...

Re:Problem when create custom page 1 year, 11 months ago #610

  • admin
  • OFFLINE
  • Administrator
  • Posts: 594
  • Karma: 14
the code is correct yes

but is not the code I talking about

you have to open flipbook fla file or its as files and search where it calls its own xml

then you ahve to search for the relative path setting and change it to component/book/assets(orwhatelse)

Re:Problem when create custom page 1 year, 11 months ago #611

  • webly
Ok, i understand this and i have tried changing this code line of Flipbook's Main.As file:
_xmlLoader.loadXml("component/book/setup.xml");


But the problem is not that flipbook doesn't load the pages... but the template doesn't load the flipbook swf...
Time to create page: 0.34 seconds