You probably need to set the scriptaccess param to "always" or "sameDomain"
(depending on whether the swf will always live on the3 samwe serve as the
host page or not)

read more here:
http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000360.html

<http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000360.html>Use
the SWFObject generator to set the property correctly (and easily) here:
http://code.google.com/p/swfobject/wiki/generator

<http://code.google.com/p/swfobject/wiki/generator>You should end up with
something like:

var flashvars = {};
var params = {};
params.allowscriptaccess = "always";
var attributes = {};
swfobject.embedSWF("some.swf", "myAlternativeContent", "800", "600",
"9.0.0", false, flashvars, params, attributes);


Aran



On Wed, Feb 3, 2010 at 3:53 AM, Nathan Mynarcik <[email protected]> wrote:

> Was there an external java-script file that the functions were referencing?
> Do you have a link to share?
>
>
> Nathan Mynarcik
> Interactive Web Developer
> [email protected]
> 254.749.2525
> www.mynarcik.com
>
>
> On Tue, Feb 2, 2010 at 4:53 AM, doyle nam <[email protected]> wrote:
>
>> HELLO!
>>
>>    i try to control a SWF-OBJECT and make it  "Forward()","Back()" by
>> using javascript like this:
>>
>> var swf = document.getElementById('movie01');
>>                        swf.Forward();
>>
>> it work perfectly while the HTML file was opened in local-
>> computer.HOWEVER,when upload that HTML file to server,and visit it as
>> a normal web-site,it no longer work...??
>>
>>   the SWF file are in server.anyone know what happen??THANKS!!!!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "SWFObject" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<swfobject%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/swfobject?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to