Jump to content
Search Community

How to avoid running scripts/access to main .swf from child

3AnhEm test
Moderator Tag

Recommended Posts

HI everyone and Greensock,

 

I have a problem in my project that my application allows users can upload a .swf to use it as a avatar.

I use SWFLoader to add it into a container(MovieClip).

I want the external .swf cannot run scripts or access to the parent/main.swf.

How can I do this with SWFLoader? I have searched on Google for a long time but I haven't found a solution for this.

 

Hope to see your answer :) Thanks.

Link to comment
Share on other sites

I'm not familiar with overriding the parent property or even making swfs bullet-proof security-wise. I would assume that using the built-in security mechanisms of the Player are a safer bet, but its worth exploring the options.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...