Author Topic: Confused on source files  (Read 2581 times)

80nelson

  • Newbie
  • *
  • Posts: 13
Confused on source files
« on: February 18, 2009, 09:31:00 pm »
I am new and have modified xml to a point..I need to modify the .as files now. I do not know how to make a change and have it reflect the .swf file in the bin folder. Please if you could provide a little workflow to guide me to ensure I do not mess up files.

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Confused on source files
« Reply #1 on: February 18, 2009, 09:52:07 pm »
I don't really know what workflow you mean. If you change the source code you'll just have to recompile it (open the according .fla and publish it to swf). If you need the megazine.fla/.swf, interface.fla/.swf or vid.fla/swf depends solely on what changes you make to the code. In most cases it'll be the megazine.fla you'll need to recompile, though. :)
The path for publishing should be correct if you didn't move any folders after extracting the release.
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.

80nelson

  • Newbie
  • *
  • Posts: 13
Re: Confused on source files
« Reply #2 on: February 18, 2009, 10:03:13 pm »
If I edit an .as file what will I need to do to have the edit show?

80nelson

  • Newbie
  • *
  • Posts: 13
Re: Confused on source files
« Reply #3 on: February 18, 2009, 10:09:08 pm »
Also, I need to accomplish this.

I set in .xml the container height and width. Its perfect, until I go into full screen. In this mode I need new heights and widths..How do I do this?

Also, your site is great and I am learning a lot from your files. Thanks!!!

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Confused on source files
« Reply #4 on: February 18, 2009, 10:16:30 pm »
As I said, you'll have to recompile / publish the .fla file(s). Open the megazine.fla in the Flash IDE and publish ist (Ctrl+Return). If it's something affecting the interface (e.g. LibrarySWF.as) open the interface.fla, same procedure.

Sizes in fullscreen are the same as in normal mode, unless you use liquid scaling. This is still not quite usable, though (as the GUI scales, too). So alternatively you could have a look at the Main.as, specifically the onFullscreen function, and make the changes you need in there.
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.

80nelson

  • Newbie
  • *
  • Posts: 13
Re: Confused on source files
« Reply #5 on: February 18, 2009, 10:18:24 pm »
OK thank you.

80nelson

  • Newbie
  • *
  • Posts: 13
Re: Confused on source files
« Reply #6 on: February 18, 2009, 11:18:07 pm »
I have modified flash files and published. The published files went into the root bin folder instead of megazine folder (where your .swf files were and ran correctly)

I moved my published swf files into the correct directory and it still does not work.

I knew something was wrong when I deleted the entire zoomcontainer.as data and published and it was still working...

I just dont get it.

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Confused on source files
« Reply #7 on: February 19, 2009, 12:42:20 am »
Hm, if you extract the release zip just like it is the paths should actually be fine. Also, if there is no error after deleting a source file that is very strange indeed...
But if there are no compilerwarnings whatsoever I really can't guess where the problem lies, sorry. You could double check if the path to the document class is correct (the Main.as), and the path to the include directory (where the source files are, i.e. where the Main.as file is). But if that's not it, no idea.
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.

80nelson

  • Newbie
  • *
  • Posts: 13
Re: Confused on source files
« Reply #8 on: February 19, 2009, 01:17:57 am »
I have downloaded 1.31 version 5 times. I think something is wrong with the directory or flash file. I can modify .xml and use your provided .swf but I can not use the flash files. If I do nothing and just publish regardless of where I place it (over existing .swf or where it automatically publishes) the page will no longer work. The only way it works is if I use your existing provided .swf

I can not do this though because in full screen I have to be able to position the high res. I have to be able to use flash files.