I deeply appreciated your help :)
I'm sorry that the question still can't be solve.
The all error message is
SecurityError: Error #2060: Security sandbox violation:
ExternalInterface caller file://C:\Documents and
Settings\Administrator\Desktop\test\test.swf cannot access
file://C:\Documents and
Settings\Administrator\Desktop\test\test.html.
at flash.external::ExternalInterface$/_initJS()
at flash.external::ExternalInterface$/call()
I don't understand they are at the same datafolder, why can't they
communicate?
I'll try my best to find solution.
--- In [email protected], Rick Winscot <rick.wins...@...>
wrote:
>
> So back to the second question ?your security? The kind of
communication
> you describe requires crossdomain permissions ?is this in place?
>
> http://www.adobe.com/products/flashplayer/security/
>
> Rick Winscot
>
>
> On 12/14/08 1:42 AM, "dialogtmp" <dialog...@...> wrote:
>
> >
> >
> >
> >
> > I tried to set allowscriptaccess=always,but it still occured
Error
> > #2060.
> >
> > I try to search some information, but I don't find the solution
> > until now.
> >
> > --- In [email protected] <mailto:flexcoders%
40yahoogroups.com> , Rick
> > Winscot <rick.winscot@>
> > wrote:
> >> >
> >> > Ok ?I think I get what you are doing... Which essentially
amounts
> > to
> >> > cross-site scripting. Have you tried the allowscriptaccess
> > parameter? What
> >> > is your security configuration?
> >> >
> >> > Rick Winscot
> >> >
> >> >
> >> > On 12/13/08 10:20 PM, "dialogtmp" <dialogtmp@> wrote:
> >> >
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > > thaks Rick :)
> >>> > >
> >>> > > About my flex page,at the first,it will wait another page
> >>> > > development by javascript pass the parameter.
> >>> > >
> >>> > > And then the flex page accroding to the parameter to parse
html .
> >>> > >
> >>> > > Finally, passing the result of html parsing back to the
> > javascript
> >>> > > page.
> >>> > >
> >>> > > dialogtmp
> >>> > >
> >>> > > --- In [email protected] <mailto:flexcoders%
40yahoogroups.com>
> >>> <mailto:flexcoders%
> > 40yahoogroups.com> , Rick
> >>> > > Winscot <rick.winscot@>
> >>> > > wrote:
> >>>>> > >> >
> >>>>> > >> > There may be bad news on the horizon. There was a way
to get
> >>> > > around this a
> >>>>> > >> > while ago by adjusting the allowscriptaccess?
parameter in
> > your
> >>> > > html output
> >>>>> > >> > to always.?If you¹ve already tried this without
success...
> > then
> >>> > > you are
> >>>>> > >> > probably hitting crossdomain issues. Flash knows what
page?
> > it is
> >>> > > on and
> >>>>> > >> > where it is being accessed from ?if what you are doing
> > violates a
> >>>>> > >> > crossdomain policy I can guarantee that any solution
you find
> > won
> >>> > > ¹t work for
> >>>>> > >> > everyone or for very long.
> >>>>> > >> >
> >>>>> > >> > Can you post a little bit about what you are trying
to do?
> > There
> >>> > > might be a
> >>>>> > >> > more creative?way to get around the error. What
kinds of
> > things
> >>> > > have you
> >>>>> > >> > already tried?
> >>>>> > >> >
> >>>>> > >> > Rick Winscot
> >>>>> > >> >
> >>>>> > >> >
> >>>>> > >> > On 12/11/08 11:09 PM, "dialogtmp" <dialogtmp@> wrote:
> >>>>> > >> >
> >>>>>>> > >>> > >
> >>>>>>> > >>> > >
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > hello all,
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > I meet a big trouble.
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > I use flex to development firefox addon.
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > It's ok when I run the html which compliled by
flex.
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > But when I package it to a firefox addon, it
occurs
> >>> > > SecurityError:
> >>>>>>> > >>> > > Error #2060.
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > Could you tell how to process this error?
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > I'm really nerver-racking....
> >>>>>>> > >>> > >
> >>>>>>> > >>> > > thanks,
> >>>>>>> > >>> > > dialogtmp
> >>>>>>> > >>> > >
> >>>>>>> > >>> > >
> >>>>>>> > >>> > >
> >>>>> > >> >
> >>> > >
> >>> > >
> >>> > >
> >> >
> >
> >
> >
>