Author Topic: Loading bar  (Read 1190 times)

Adrian

  • Newbie
  • *
  • Posts: 5
Loading bar
« on: May 08, 2009, 12:43:18 pm »
Where, how do I insert the loading bar in the xml file?

Thanks for your help!

Here's the top portion of my xml file:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book SYSTEM "http://megazine.mightypirates.de/megazine.dtd">
<book bgcolor="0x000000" pageheight="650" pagewidth="463" lang="en" barpos="-10" hidebuttons="fullscreen mute slideshow settings" reflection="true">
   <chapter>
      <page stiff="true" anchor="cover">
         <img src="../megazine/imgs/cover.jpg" aa="true" useglow="false" />
         <snd src="../megazine/snd/Blue_Danube.mp3" loop="true" />
      </page>
      <page>
         <img src="../megazine/imgs/1.jpg" aa="true" useglow="false" />

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Loading bar
« Reply #1 on: May 12, 2009, 09:59:21 am »
You don't ;)

I'm assuming you're talking about the loading bar for images? It will always be positioned at the center of the respective image, so you'll have to provide the width and height, otherwise the sizes will obviously not known while loading.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

Adrian

  • Newbie
  • *
  • Posts: 5
Re: Loading bar
« Reply #2 on: May 12, 2009, 08:19:56 pm »
I provided the width and height of the pages (as you can see in the xml page; but I never seen the loading bar (progress bar, that says "LOADING") but the loading bar never appears anywhere on the page. And thanks for your reply, BTW.

Adrian

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Loading bar
« Reply #3 on: May 13, 2009, 03:44:16 pm »
That's not what I meant. I meant you'll have to add the width / height in the image declaration, like so
Code: (xml)
  1. <img width="463" height="650" .../>
The loading bars should still appear in the top left of the pages, though, if you don't...
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.