I think that is if they are in the same folder.
in your case you may want to try an absolute path.
or try removing "base" all together.
The base may need to point at the folder where the html file is, possibly.
Not positive on that one.

Karl

On Jul 28, 2010, at 5:22 AM, natalia Vikhtinskaya wrote:

http://kb2.adobe.com/cps/041/tn_04157.html
They say it can be relative.

2010/7/28 Glen Pike <[email protected]>:
Hi,

   I think your base parameter needs to be absolute?

   e.g.

   'base', "http://www.mysite.com/New/";

   HTH

   Glen

On 28/07/2010 11:00, natalia Vikhtinskaya wrote:

Hi
I need to have swf and html in different folders. swf loads xml that
is in in the same folder as swf. I know that base attribute can help
but I can not make it to work. XML does not loaded. Please look what
is wrong in my code?
<script language="javascript">
       if (AC_FL_RunContent == 0) {
               alert("This page requires AC_RunActiveContent.js.");
       } else {
               AC_FL_RunContent(
                       'codebase',
'http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=9,0,0,0',
                       'width', '290',
                       'height', '74',
                       'src', 'New/home-customers_290_74',
                       'base','New/'
                       'quality', 'high',
                       'pluginspage',
'http://www.macromedia.com/go/getflashplayer',
                       'align', 'middle',
                       'play', 'true',
                       'loop', 'true',
                       'scale', 'noscale',
                       'wmode', 'window',
                       'devicefont', 'false',
                       'id', 'home-customers_290_74',
                       'bgcolor', '#ffffff',
                       'name', 'home-customers_290_74',
                       'menu', 'true',
                       'allowFullScreen', 'false',
                       'allowScriptAccess','sameDomain',
                       'movie', 'New/home-customers_290_74',
                       'salign', ''
                       ); //end AC code
       }
</script>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to