Skip to main content
Known Participant
December 2, 2009
Question

Flex Generated Swf Donot load in Flash On Publishing.

  • December 2, 2009
  • 1 reply
  • 349 views

Hello!

I am facing one problem,I made a calendar.swf in flex.
and I am trying to load that calendar.swf file in flash file get-calendar using Loader Class.
calendar.swf is coming fine when I press cntrl+Enter
i mean during compiling swf.
But when I publish that using F12 then that flex swf donot load.

What is the reason,,I dont understand it.

Pls help!

Thanks

This topic has been closed for replies.

1 reply

December 2, 2009

calendar.swf is compiled to run in the local-with-networking sandbox, while get-calendar.swf runs in local-with-filesystem. Loading one into the other causes a security error. Simplest solution is to change get-calendar.fla to local-with-networking:

Publish Settings (Flash tab). Select Access network only in Local playback security.