Skip to main content
Participant
April 17, 2013
Question

External swf file not using URLRequest

  • April 17, 2013
  • 1 reply
  • 751 views

Good morning guys.

You can load an external swf file not using URLRequest? Since embed html code is setted as <param value="never" name="allowscriptaccess"/>

I have this problem and I need to load a swf skin

thank you

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 17, 2013

what are you trying to do?

and there's no logical reason to set allowscriptaccess to never.  either you trust that swf in your domain or it should not be in your domain.

hgodinhoAuthor
Participant
April 17, 2013

I'm trying to import a swf file to mine, but when the tag allowscriptaccess is set to "never" it does not work, I need to somehow import it into my main swf.

thank you

kglad
Community Expert
Community Expert
April 17, 2013

are you loading a swf (done during runtime) or importing one (done during authortime)?

in either case, the allowscriptaccess parameter of the external swf (that your loading or importing) is irrelevant.  allowscriptaccess is assigned in the main (loading or importing) swf's embedding html page and is used to control html/js access of the main and loaded swfs.

if you trust the swf you're loading, you can change allowscriptacess to always.  if you're importing a swf, none of its actionscript will execute anyway so it doesn't matter whether its trusted or not.