Hey everyone, This is a thread about a rather complex SWF operation (for me at least is it complex)
What is done: I have a main SWF file that loads some other SWF to be displayed in it and also loads 2 JPG's as the background of the buttons. There are three slides and three buttons in the main SWF, depending on what button you click the corresponding SWF is shown which automatically plays. I use AS1 in the main SWF file and the flash version is pretty old, if I'm correct it's like v6, but that should not matter at all. The SWF has recently worked on some other domain and I'm sure I'm missing some detail that denies the main SWF from loading the other SWFs etc or .php with the xml correctly (see next sentence for the .php file).
I also have a .php with XML in it so the main SWF can find the other three SWFs and the JPG and some other information like text, colors etc:
<?xml version="1.0" ?><dynamic_content>
<item blurb="Text 1" content_timer="8000" cycle="true"
content_border_color="0x" content_bg_image="" tab_hl_color="0x000000"
tab_border_color="0x000000" tab_color="0x000000" tab_arrow_color="0xFFFFFF"
tab_text_color="0xFFFFFF"
tab_image="/template/images/file.jpg"
tab_highlight_color="0x" tab_highlight_text_color="0x" tab_highlight_image=""
content_url="http://sub.domain.com"
content_source="/template/images/file.swf"
content_target="_self" ></item>
<item blurb="Text 2" content_timer="5000" cycle="true"
content_border_color="0x" content_bg_image="" tab_hl_color="0xFFFFFF"
tab_border_color="0xFFFFFF" tab_color="0xFFFFFF" tab_arrow_color="0xFFFFFF"
tab_text_color="0xFFFFFF" tab_image="/template/images/file.jpg"
tab_highlight_color="0x" tab_highlight_text_color="0x" tab_highlight_image=""
content_url="http://www.domain.com/"
content_source="/template/images/file.swf" content_target="_self" ></item>
<item blurb="Text 3" content_timer="5000" cycle="true" content_border_color="0x"
content_bg_image="" tab_hl_color="0xFFFFFF" tab_border_color="0xFFFFFF"
tab_color="0xFFFFFF" tab_arrow_color="0xFFFFFF" tab_text_color="0xFFFFFF"
tab_image="/template/images/file.jpg" tab_highlight_color="0x"
tab_highlight_text_color="0x" tab_highlight_image=""
content_url="http://www.domain.com/page.html"
content_source="/template/images/file.swf" content_target="_self"
></item></dynamic_content>
When running it on a web server it doesn't work, but locally it works great. All links are checked and correct. In FF the status bar says 'Waiting for www.mydomain.com...' (when direct linking to the SWF file) When I right click on the SWF I have the usual menu displayed, I can for instance choose play but nothing happens. I guess the main SWF doesn't load the .php with the xml correctly when on the server?! even though I have PHP enabled etc and I can't understand why it's not working. I have crossdomain in place, but it's not necesary for this SWF as all files that are used are on the same domain.
So what is it I'm missing around here?