Skip to main content
Inspiring
August 24, 2011
Question

2.7 HTMLLoader, loading html which loads an AVM1 swf which loads other AVM1 swfs.

  • August 24, 2011
  • 2 replies
  • 992 views

I have not yet had time to test thoroughly, only just discovered the issue and thought I would post in case anyone already had any insights.

We have an AIR app that loads an .html file into an HTMLLoader. This .html file uses swfobject.js to load an AVM1 .swf (AS2, dev'd by a 3rd party), which in turn loads several of its own child .swf's and configuration .xml files from an assets directory local to the application.

Prior to AIR version 2.7.1.19610, this worked fine (at least, confirmed correct behaviour when using 2.5.0.16600; so it's possible it was an update in between, but this issue was only noticed after our most recent automatic AIR runtime update).

After an update of the runtime to this version, the first AVM1 .swf loads ok - it contains a preloader for its children, which reaches 100%, but then blanks out with nothing more happening. Right-clicking results in the context menu displaying "Movie not loaded..." and "About Adobe Flash Player 10.3.183.5".

Running the .html file outside of the AIR application - that is, doubleclicking and loading directly (in Chrome & IE, at least) - results in the original correct behaviour, so it does not appear to be the Flash Player version.

Our next step is to build our own AVM1 .swf's to help test, as we don't have great access to the internal workings of the ones being provided by the 3rd party. Without testing in our own AVM1 .swf's, there are no errors thrown that we have been able to see. Will update when we have time to investigate further - for the time-being, we will ensure the client remains using AIR 2.5.

This topic has been closed for replies.

2 replies

JCThomas5Author
Inspiring
January 4, 2012

Just a quick note for the sake of closure - this issue is no longer occurring, and seems to have been resolved by a newer version of AIR.

Cheers

chris.campbell
Legend
January 5, 2012

Good to hear, thank for following up.

Chris

chris.campbell
Legend
August 24, 2011

Thank you for the report.  This sounds like something that might have broken in our last release.  Would you mind adding a new bug over at bugbase.adobe.com?  Any sample projects/apps you can provide that can illustrate the problem would be appreciated.  If you can post back with the bug URL I'll follow up internally.

Thanks,

Chris

JCThomas5Author
Inspiring
August 28, 2011

Hi Chris,

Thanks - will try and organise some sample code to confirm if and how it's reproducible outside of the project we've found it in, but hurtling towards some deadlines so there might be a brief delay before this is possible. If it's worth adding to bugbase before I can do this, I'm happy to do so, but I'll assume for now it's better to wait.

The quick response is much appreciated!

Cheers, John

chris.campbell
Legend
August 29, 2011

Thanks John.  If it would be easier to use your existing code, instead of a sample project, and you'd rather not have it viewable externally you can always email it to me directly at ccampbel@adobe.com.

Chris