Author Topic: problems with loading swf's and a custom interface  (Read 748 times)

igor

  • Newbie
  • *
  • Posts: 3
problems with loading swf's and a custom interface
« on: August 21, 2009, 12:34:02 am »
Yesterday I did get a custom interface + loading swf-pages working.

But today, I've changed the loading of the book-xml since that should be dynamic (from db).
So in the Main.as I added the initialisation of MZ with the third param delayLoad=true;
Then I retrieve my data from the server, xconstruct the xml myself and fire the MZ.load()-method manually with the custom XML.

This all works fine, MZ creates the book I want, but now the megazineSetup()-method doesn't get fired anymore.  The shortest form with 1 param. is fired in Flash during testing, nut not anymore in the browser. 

On the other hand, I made a custom interface which worked fine with the default XML, but now in the browser, the interface is called twice (not during Flash testing however). Any ideas?





igor

  • Newbie
  • *
  • Posts: 3
Re: problems with loading swf's and a custom interface
« Reply #1 on: August 21, 2009, 01:07:19 am »
I've tackled one problem: the megazineSetup is called (in the shortest form), also in hte browser now.
A sandbox-restriction prevented the method from being fired.

But I still have the problem with the custom interface which is loaded twice when loaded in hte browser.
Any clues here which might help me?

thanks
Igor

igor

  • Newbie
  • *
  • Posts: 3
Re: problems with loading swf's and a custom interface
« Reply #2 on: August 21, 2009, 05:53:42 pm »
problem solved.
The custom interface-problem was also due to sandbox-issues in the local context.

Igor