Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
It is done at runtime.
So why can not I use the URLRequest when my html is changed to allowscriptaccess = never? Be a problem in crossdomain.xml?
Copy link to clipboard
Copied
why does your html specify allowscriptaccess=never?
for example, if you don't trust the swfs loaded from youtube, that's fine. but you can't expect the youtube swfs to work correctly because they probably need to communicate with youtube.com.
Copy link to clipboard
Copied
I created a video player in AS3, it matters a swf as skin. Was created in my html tags to use video on facebook, so my page is compatible for use on facebook and my player play within the facebok, but for some reason it only works when I use FF for the CH, IE tag allowscriptaccess arrow is always never the case of FF does not happen so he always leaves normal. For that reason needed to run the import hen is set to never. An example being you grab any youtube page and put it on your facebook if you embed the inpscionar to play you will see that this setted in chrome as allowscriptaccess = never
Find more inspiration, events, and resources on the new Adobe Community
Explore Now