Jump to content
Search Community

Recommended Posts

Posted

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.

Posted

Thanks carl schooff :).

 

My colleague has another solution is override the parent property so the child .swf cannot access the main .swf. Do you think it is ok?

Posted

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.

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...