If I use this code it works
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0";
width="290" height="74" id="home-customers_290_74" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="base" value="New/" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="new/home-customers_290_74.swf" /><param
name="quality" value="high" /><param name="scale" value="noscale"
/><param name="base" value="New/" /><param name="bgcolor"
value="#ffffff" />      <embed src="New/home-customers_290_74.swf"
quality="high" scale="noscale" bgcolor="#ffffff" width="290"
height="74" name="home-customers_290_74" align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"; />
        </object>
</body>
So problem is in AC_FL_RunContent. But I don't understand what is wrong


2010/7/28 Karl DeSaulniers <[email protected]>:
> 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
>

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

Reply via email to