Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Embedding swf files in AIR app for ios

$
0
0

Hi,

 

After going through a lot of articles already available, I found answers with varying views on the following questions:-

 

1) Can we embed swf files using the embed tag in air app for ios, with symbols exported ?

Something like [Embed(source="someSWF",symbol="exportedSymbol")]

and also something like [Embed(source="someSWF")].

From what I understand, one can't embed swf's with actionscript byte code in them. So exporting symbols actually creates class linkages which leads to creation of abc. But I'm unsure on this because some sources say otherwise.

 

2) Can we embed swf files using embed tag in air app for ios, without symbols exported ?

Something like [Embed(source="someSWF")]

and also something like [Embed(source="someSWF" mimeType = "application/octet-stream")]

I read somewhere else, that you can actually embed symbols separately by providing symbol tag in embed tag but not entire swf (which leads to uncompiled actionscript error) but not sure about this as this is contradictory to finding #1.

 

3) If #2 is possible, then do embedding two different swfs with same symbol names would cause a conflict and result in #3747 error ?

 

Please note I am not asking about the Loader class here but using the Embed keyword for embedding swfs.

 

Also do the results differ with AIRSDK 3.8 and 3.9 and using different swf-version in compiler flags ?

In our application we started getting error #3747 in class creation of one of the embedded swfs (like new EmbeddedClass()) when we changed from swf-version 17 to 21 using AIRSDK 3.8. So was this error not there earlier or it was there but swf-version was suppressing it ?

 

Any help is much appreciated.

 

Thanks!


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>