Weird rollover not functioning using MovieClipLoader

A customized rollover mysteriously ceased working when loaded into mc using MovieClipLoader. The movieclip loaded was within the same domain as the shell movieclip. But shell mc used absolute path instead of relative path when calling the former.

Setting the following solved the problem, when viewing from the server:

“System.security.allowDomain(url)”

With “url” being the url of the loaded movieclip.

If viewed from local disk, the problem remained.

I assume the problem could have been solved simply by setting the path as relative, like so:

moviecliploader.loadClip(“gfx/someclip.swf”, containerMc);

Here is the naked, loaded mc. Here is the whole piece in action.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: