Re: SWFLoader not pulling through all sub SWF styles

2019-09-13 Thread Alex Harui
I'm not sure I understand the current problem. What is the behavior in the browser/Flash version? Does the "About IBM..." show up in only some context menus or not at all (probably because context menu modification had different rules for Flash vs AIR). Their library code might be detecting

Re: SWFLoader not pulling through all sub SWF styles

2019-09-13 Thread DarrenEvans
You're not wrong! There are other bits and pieces we are working through that are not working as expected. If I get some time I'll try and get an example app together to pass on the knowledge. Our current problem is we use the "IBM ILOG Elixir" component (now owned by RogueWave but we still use

Re: SWFLoader not pulling through all sub SWF styles

2019-09-12 Thread Alex Harui
Hi Darren, Yes, you and several others are trying to use AIR as a surrogate browser. This "should" be possible, but AIR has very different security rules than the browser and those differences have shown up in two ways for you: 1) the styles problem, 2) the casting of SystemManager problem.

Re: SWFLoader not pulling through all sub SWF styles

2019-09-12 Thread DarrenEvans
I think we may have our wires crossed in terms of what we are trying to achieve here. The Air App is simply a surrogate browser, simply a means to load our existing application SWF. There doesn't need to be any communication between Air App and SWF other than it has a place to host/show it. So

Re: SWFLoader not pulling through all sub SWF styles

2019-09-11 Thread Alex Harui
It is all about the ApplicationDomain topology. By loading the sub application's SWF into its own ApplicationDomain, the subApplication has its own definition of SystemManager which is not the same definition as the main Application's SystemManager. You can almost think of an

AW: SWFLoader not pulling through all sub SWF styles

2019-09-11 Thread Weber Jan
Dieter Dallmeier Amtsgericht Regensburg HRA 6827 DE813790649 Dallmeier GmbH Amtsgericht Regensburg HRB 9085 -Ursprüngliche Nachricht- Von: DarrenEvans Gesendet: Mittwoch, 11. September 2019 12:30 An: users@flex.apache.org Betreff: Re: SWFLoader n

Re: SWFLoader not pulling through all sub SWF styles

2019-09-11 Thread DarrenEvans
We are using Flex SDK 4.6.0.23201 (with built in AIR SDK 3.1.0.4880) for both the Air application host and the SWF being loaded. We gave up on the styling problem (loading the SWF in to the same application domain). We swapped it to load in to it's own application domain, ala: *var

Re: SWFLoader not pulling through all sub SWF styles

2019-09-09 Thread Alex Harui
That thread I think is about loading a child SWF that was not a Flex Application. Let's collect some information first: -What version of Flex are you using for the browser version? -Are you using the same version of Flex for the AIR version? -What is the URL of the main SWF? -What is the URL of

Re: SWFLoader not pulling through all sub SWF styles

2019-09-06 Thread Alex Harui
IIRC, this has to do with the ApplicationDomain specified in the LoaderContext. In the currently running Flash app, what ApplicationDomain settings are being used? I think you will need to use the same settings with loadBytes. Also, IIRC, if you were loading SWFs into a separate security

SWFLoader not pulling through all sub SWF styles

2019-09-06 Thread DarrenEvans
Not sure if this forum is still as active as it once was but I'll give it a go... We have a massive Flex application that we are probably not going to have converted to HTML/JS by the time FlashPlayer is turned off at the end of 2020. So as a stop gap solution we are going to try the locally