Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthortiml
    • CommentTimeSep 26th 2008 edited
     
    Hi all,

    First off, thanks for LegacyCaptivateLoader...

    We had upgraded our delivery swf to AS3 and didn't realize that Captivate wouldn't play nice until way too late!

    LegacyCaptivateLoader is helping a lot, but I'm slightly stuck.

    Something is throwing an error between debug line:

    LegacyCaptivateLoader initialized. Primary SWF ID is player

    and the next debug line:

    Proxy loaded. Waiting on ExternalInterface.

    In Firefox 3 the error message is:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

    And in IE7 it is:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.


    Here's the really strange part...everything works as I expect it to in Firefox, despite the error. But the LegacyCaptivateLoader (LCL) portion of my player is breaking fatally in IE. I extended LCL to dispatch an event called "CAPREADY" when it told proxy to load the captivate so that I could pause the captivate immediately (I know it isn't really ready at this point but this part is working okay anyway).

    My problem is that this event never fires in IE but does fire in Firefox...

    So something is happening after I create the LCL object but before the proxy loader's ON_COMPLETE fires.

    I've tried wrapping the proxy loading in a try..catch but nothing was caught.

    Any ideas?
    • CommentAuthortiml
    • CommentTimeSep 26th 2008
     
    Alright, further debugging seems to be that the on_complete is causing the error message in both.

    I can do all of that stuff another way, so no real loss there.

    But, still no go in IE, working in Firefox...and no error messages to go on either.
    • CommentAuthorphilip
    • CommentTimeSep 26th 2008
     
    hmm... without seeing your code or an online example, it's kind of hard to diagnose problems. :smile:

    of course, i have to ask: did it work in IE before you added your custom mods?

    as i mentioned in the documentation, this system is a total hack, and as such is very fragile. the most fragile aspect is the use of the global ID hack.

    based on your earlier comments

    Proxy loaded. Waiting on ExternalInterface.

    In Firefox 3 the error message is:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

    And in IE7 it is:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.


    my guess is that the global ID hack wasn't working. this occurs at line 43 of the LegacyCaptivateLoader.as file:


    _proxyReady = ExternalInterface.call(_swfID +".proxyReady");


    This can be affected by the doctype of your HTML file; see "Hack #3" here. Try checking/changing your doctype and see if it helps.

    - philip
    • CommentAuthortiml
    • CommentTimeSep 26th 2008
     
    Thanks for the response.

    I've tried both with and w/out a doctype...no help...

    I'm loading captivates from a different domain, do you think that could have something to do with it?

    Proxy.swf is sitting with my player though.

    I removed the event stuff since it turned out to cause the error, I think because the event didn't fire soon enough or something...not really sure, but anyway...the error messages are gone now too.

    Also, I did a test that basically recreates your example and my captivate loaded...so it's got to be something with the integration in my existing player.swf

    i'm done for the day though...going camping...i'll be back at it sunday night and keep you posted!
    • CommentAuthortiml
    • CommentTimeSep 26th 2008
     
    well, probably not domains...was able to load the other domain captivates in the test i created.

    ...obviously not camping yet.
    • CommentAuthorphilip
    • CommentTimeSep 26th 2008
     
    [ insert "happy camper" joke here ]

    :bigsmile:
    • CommentAuthortiml
    • CommentTimeSep 26th 2008
     
    ha, not happy and not a camper...lol

    so, it's waiting for the proxy connection forever...as you thought.

    I can't figure out what would be preventing it in IE only...
    • CommentAuthorphilip
    • CommentTimeSep 26th 2008
     
    are you testing locally?

    testing externalinterface locally requires changing your Flash Player security settings.
    • CommentAuthortiml
    • CommentTimeSep 26th 2008
     
    it's running on the visual web developer webserver and i don't get that security popup (like when you just double-click the demo file)