Author Topic: GAH! I hate programming when nothing ever works!  (Read 889 times)

MPete

  • Full Member
  • ***
  • Posts: 62
GAH! I hate programming when nothing ever works!
« on: April 08, 2010, 06:55:00 am »
I'm completely lost... I'm not even begun to do anything fancy and it's already struggling with weird issues:

- My swf files are loading the correct path into the browser, but when loading into MegaZine the pages are blank/white. This is the weirdest one for me at the moment as I jsut don't know what to change because all the paths are correct!

- The paths to the swf files and xml files seem VERY sensitive. Do I use absolute paths: /megazine/megazine.mz3 or relative paths ../megazine/megazine.mz3 or domains http://mydomain.com/megazine/megazine.mz3 - and is it relative to the megazine.swf, megazine.mz3, pages, who knows.

- CSS styling is killing me with Internet Explorer and sometimes Firefox where absolute positions and height/width seem to be required otherwise the megazine window just doesn't show.


EDIT:
I'm making a bit of progress with my issues... it appears that the pages are blank when viewing with www. but OK without www.
« Last Edit: April 08, 2010, 07:12:46 am by MPete »

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: GAH! I hate programming when nothing ever works!
« Reply #1 on: April 08, 2010, 02:02:45 pm »
Hey Pete,

haha, I know that feeling just too well ;)

First point: mm, maybe a security/sandboxing issue?

Second: relative paths are relative to the megazine.swf, i.e. paths that have no protocol prefix (e.g. http:// or https://).

Third: ah, yes, what fun adjusting CSS to work in every browser can be! This pie chart captures the reality of web design quite nicely, if you don't know it already. ;)
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.