Skip to main content
Known Participant
January 11, 2010
Answered

Why can't I load external .swf CheckBoxes?

  • January 11, 2010
  • 1 reply
  • 1052 views

Hello, world...

I'm trying to load an external .swf that contains some checkboxes. The extenal .swf has a server-side script in applications folder on FMS3.

When I load the external .swf in local, it works fine.

If I load the external .swf in remote using an Apache Web Server, the external .swf is loaded but the checkboxes don't appear...

Why?

Please, help me...

Emiliano.

    This topic has been closed for replies.
    Correct answer Robert Reinhardt

    Hi, JayCharles....

    I try to explane better...

    I have a main application that is a Videocommunication...

    I need to load three external .swf into my main .swf...

    Two of these three external .swf work good.

    One of these external .swf isn't loaded well...

    This external .swf has nine CheckBoxes. As you can see from screenshot attached, only the CheckBoxes labels appear...but not the CheckBoxes themselves...

    I use an Apache Web Server, an Flash CS4 professional and an FMS3.

    I hope I was clear...sorry for my english...

    Thanks.

    Emiliano.


    Are these AS2 or AS3 components? If the latter, I'd recommend putting the components into an RSL (runtime shared library) and then referring assets in the external SWF from the RSL.

    -Robert

    --

    Robert Reinhardt

    Creator, videoRx.com

    Author, Flash Bible series and Video for Adobe Flash CS4 Professional Studio Techniques

    Adobe Community Expert

    http://blogs.flashsupport.com/robert

    1 reply

    January 11, 2010

    Domain policy violation perhaps? When loading local content, the domain policy is different than when loading from an internet location. Are the loaded .swf and the .swf you're loading into served from the same domain/IP ?

    Known Participant
    January 11, 2010

    Hi, JayCharles...

    My main .swf is located in:

    \\MYSERVER\Apache2.2\htdocs\fms3\Logopedia\Lato Dottore\VideoComm.swf

    instead, the external .swf is located in:

    \\MYSERVER\Apache2.2\htdocs\fms3\Logopedia\AnalisiVisiva.swf

    From server-side script I pass this URL:

    var mySWF_URL3 = "http://192.168.1.67/fms3/Logopedia/AnalisiVisiva.swf";

    I have another external .swf that contains TextInputs instead of CheckBoxes and it works fine...

    Why does TextInput work and doesn't CheckBox work?

    Perhaps the CheckBoxes do not be loaded?

    Please, help me...

    Emiliano

    January 12, 2010

    Maybe there's something I didn't understand from your initial post.

    When you say that it works when you load locally, do you mean:

    1. You can load the problem swf into your other swf when both files are on your local machine

    or

    2. You can run the problem .swf on it's own, without loading it into another .swf

    The reason I ask is that I remember a problem with older versions of the UI components... there was an issue the components that shipped with either Flash MX2004 or Flash 8 (don't remember which one... it was a long time ago) that caused exactly what you're describing (components not working in loaded movies). If the problem is #1 above, any chance your .swf files were authored Flash MX or Flash 2008?