cannot package animation swf inside the AIR application with API-ad-hoc of the target

I have included a small animation today in my AIR application using a clip from movie to swf as below

private var myLoader:Loader = new Loader();  animation connection

private var url: URLRequest = new URLRequest("..) /.. /.. (' / data / ConnectingAnim.swf ');

... code to add the loader and position

It works fine when I deploy on my device via USB, but when I try to package for ad-hoc distribution, the ipa resulting isn't fair. The screen with the animation is broken.

I'm guessing that the packaging for the app store is probably broken too.

Am I missing something?

Thank you!

Post edited by: mu.a

You must use a loader context, unless you use the interpreter mode. Read this article:

http://help.Adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204 - 7de0.html

You want the context.applicationDomain = ApplicationDomain.currentDomain;  variation.

Tags: Adobe AIR

Similar Questions

  • Load SWF inside the [AIR] naviteWindow

    Hello

    I have an AIR application where I need to load a SWF file from a server.

    At some point, the user will click on a button and this button will create a new nativeWindow.

    Inside this nativeWindow, we have a reference of the scene.

    I want to just load a SWF file, addChild for the stage and be happy!  : PEI

    But I get this error:

    SecurityError: Error #2070: Security sandbox violation: caller http://somewhere.com/swfapp.swf cannot access Stage owned by app:/Teste.swf.
    at flash.display::Stage/get stageWidth()
    at com.swfapp::MainClass/initApp()
    at flash.display::DisplayObjectContainer/addChild()
    at flash.display::Stage/addChild()
    at NativeWindowSWFLoader/loadSWFURLComplete()[C:\Users\hats\Desktop\teste\NativeWindowSWFLoader.as:93]
    

    I use a normal charger:

    private function loadSWFFromURL():void
    {
              var context:LoaderContext = new LoaderContext();
              context.applicationDomain = ApplicationDomain.currentDomain;
              context.securityDomain = SecurityDomain.currentDomain;
              context.allowLoadBytesCodeExecution = true;
              context.allowCodeImport = true;
    
              loaderSWFURL = new Loader();
              loaderSWFURL.contentLoaderInfo.addEventListener(Event.COMPLETE, loadSWFURLComplete);
              loaderSWFURL.load(new URLRequest(urlSWF));
    }
    

    private function loadSWFURLComplete(e:Event):void 
    {
                  //var loaderInfo:LoaderInfo = LoaderInfo(e.target);
                  //var byteArray:ByteArray = loaderInfo.bytes;
    
                   this.stage.addChild(loaderSWFURL);
    }
    

    Can someone hep me on this?

    Thank you.

    you need a file permissions cross-on you domain somewhere.com using the loader class.

    or you can use the HTMLLoader class without one:

    var htmlLoader:HTMLLoader = new HTMLLoader();

    htmlLoader.width = stage.stageWidth;

    htmlLoader.height = stage.stageHeight;

    htmlLoader.load (new URLRequest ("http://somewhere.com/swfApp.swf"));

    addChild (htmlLoader);

  • SWF inside the Accordion widget Muse continues to play when you click on another tab.

    I placed a swf inside a Muse Accordion widget. I would like that to stop and return to the beginning, when I click on a button on the widget. Is this possible? Thank you... and besides, I can do a bit of copy and paste javascript, but I'm not a coder.

    Please try to use the composition with video container.

    Thank you

    Sanjit

  • Cannot establish a connection to the target red card Safari.

    I'm running OS X 10.8.5 using Safari 6.2.8.  I recently started getting an error when I try to log into the target red card - www.rcam.target.com.  The error message says that Safari cannot establish a secure connection.  How can I fix?

    Try another browser as a test.

    Firefox

  • cannot find configuration debug «backberry t air application»

    Hello

    I use Flex 4 plugin for eclipse. I tried to create my first application by following the steps in the guide started it. After writing a code I tried to adjust the cnfiguration of Debug as mentioned in the guide, however, I discovered that I don't have Blackberry applications of compressed Air as a type of cnfiguration of debugging in the Debug Configuration screen.

    When installing Backberry t Air SDK, I found following a non-fatal error in logs

    Custom action: com.zerog.ia.customcode.util.fileutils.CopyFile
    Status: ERROR
    Additional notes: ERROR - class com.zerog.ia.customcode.util.fileutils.CopyFile NonfatalInstallException C:\Program Files\Adobe\Adobe Flash Builder 4 Plug-in\sdks\... \dropins\blackberry-Tablet-SDK.Link (the system cannot find the path specified)

    Thank you

    OMKAR

    From this thread:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/installation-of-Tablet-SDK-finish...

    And this thread:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-AIR/Flash-Builder-4-does-not-have-the...

    This was the fix:

    «In the folder Tablet OS SDK installed, there is a subfolder 'Eclipse', inside, there is a file called "blackberry-tablet - sdk.link".» Copy this file into your Eclipse 3.6.1 "dropins" folder, restart your Eclipse IDE, you should see the PlayBook Tablet OS SDK in your launch configuration. "

  • Loading external swf into an Air application

    Hi all

    I have build an Adobe Air app for desktop PC and have problems to load an external swf. Whenever I try to load, I get:

    SecurityError: Error #2070: security sandbox violation... cannot access stage owned by app... blah blah

    The file is loading is in a local directory, but I understand its in an another "sandbox" that represents a security risk.


    Is there a way to get around this?


    Any help would be appreciated


    Thank you very much


    Matt

    That's why I added these comments on domain of the swf file.  for locally loaded SWF files, use:

    SFMltd wrote:

    Hi Kglad, thanks for the example.

    If I run my class with securityDomain = SecurityDomain.currentDomain; then it throws this error: SecurityError: Error #2142: security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property.

    The e-mail of swf file trying to load is stored locally, so I guess that this error is logical. However if I comment on this line, I get the same error "cannot access stage owned by app"?

    See below for the class:

    package {}

    import flash.display.MovieClip;

    import flash.filesystem.File;

    import flash.events.Event;

    import flash.net.FileReference;

    import flash.events.MouseEvent;

    import flash.display.Loader;

    import flash.net.URLRequest;

    import flash.system.LoaderContext;

    import flash.system.ApplicationDomain;

    import flash.system.SecurityDomain;

    public class assetPreview extends MovieClip {}

    private var loader: Loader;

    private var mainSWF:MovieClip = new MovieClip();

    public void assetPreview() {}

    addEventListener(Event.ADDED_TO_STAGE, initialise);

    }

    public void initialise(e:Event):void

    {

    removeEventListener(Event.ADDED_TO_STAGE, initialise);

    var allowSWF:LoaderContext = new LoaderContext (false, ApplicationDomain.currentDomain);

    allowSWF.securityDomain = SecurityDomain.currentDomain;

    loader = new Loader();

    Loader.Load (new URLRequest (settingsXML.pathToSWF), allowSWF);

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, viewPreview);

    }

    public void viewPreview(e:Event):void

    {

    addChild (mainSWF);

    mainSWF.addChild (loader);

    }

    }

    }

  • Cannot use median filter inside the While loop

    Hello

    I try to use the filter median insade loop some time. This seems to be a problem. I have attached the VI. Help, please.

    This entry is a number of sample as 1,1.1,1.05. This output is zero.

    Thank you

    Vincent

    Since you get only one value per iteration, you can use the point-by-point version of the median filter.

  • PlayBook of Air application with in-app purchase?

    Hi all! My first post, so I hope this is the right place for my question!

    I see Blackberry already has an in-app SDK for Java-based applications purchase. A few weeks ago, I made an app for Playbook in the Air and I would like to extend with in-app purchase.

    Are you there a SDK for Adobe Air? Or a way to workaround?

    Thank you very much!

    Tamara

    No such SDK is available yet, although it seems likely to be added to the PlayBook, but perhaps not for the Adobe AIR SDK.

  • Using invocation of AIR Navigator with AIR apps that have the runtime integrated

    Adobe AIR * AIR. SWF in the browser API

    After you have found the above article which sets out how to launch an AIR application from the browser I tried to create some test files.

    When you publish an AIR using activities15 desktop application and setting the goal as 'Application with the embedded runtime' publication fails with the error "116. Invocation of the browser is not supported with this lens.

    The documentation mentions nothing about applications with Embedded runtime and I assume that it was written before incorporation was possible.

    Could someone please confirm that this is indeed the case. That you are unable to launch an AIR application with the runtime shipped from the browser?

    Thank you very much

    Mark

    Your assumptions seem to be correct... runtume in captivity does not support invocation browser out of the box, probably because it would be generally part of the installer. If you take a look at this page, it suggests ways to implement your own URI handlers for the registry of Windows and OSX:

    Adobe AIR * package bundle captivates runtime for desktop

  • How to enable hardware acceleration in an Adobe AIR application

    Hello

    As the author of this post How to enable hardware acceleration in an air exe? , I try to activate hardware acceleration inside my AIR application

    If the user has disabled hardware acceleration in the sound settings flash drive, context3d.driverInfo will say "Hw_disabled = userDisabled".

    The only way to re-enable is to open Internet Explorer or Firefox and right-click on a flash content, then check "enable hardware acceleration".

    I (we) would like to be able to reactivate directly inside the AIR application (via actionscript code) and not tell the user to open a browser and check some random boxes (cause you know that it is not very easy to use...)

    A bug has been opened here Bug #3843535 - disable hardware in IE plugin flash acceleration turns off in AIR EXEs and is marked as fixed but nothing is fixed: there is still no way to enable hardware acceleration in a desktop AIR application

    Thank you

    Hello

    I pushed to get this fixed a bug and felt that we have addressed this issue in v16.  Can you share an example of application so that I can have our team take a look?

    Thank you

    Chris

  • RT webservice inside the RT target folder location

    Hello

    Platform: sbRIO 9651, LV2014

    Application: An application that loads the static html Web page. The html page receives digital data to display via a javascript file, that loads data stored in an xml file in the same folder. All these records are kept under "public content" under webservice. I would like to know the actual location of the folder content webservice public in order to make changes to the page through a labview VI .xml. The next time that the html page loading, it will be the new digital values that will be charged.

    If any iniside VI the target indicates its location as "home/lvuser/natinst/bin", I guess that the webservice folder location is different. After looking in the folders inside the target (using webDAV), I came across a file "/ var/local/natinst/webservices /' which when accessed through labview to rewrite the xml page, said that the path does not exist."

    Where exactly all the Web service files are located? I would like to get the real path to given to the VI to replace the xml file. There is a webservice.lvws file that is created when a race like startup exe is created. I guess that this file points to the location of the webservice project in the target... ??

    Thank you

    Arya

    I suspect that's not trivial to do. On Windows 7, Web Services are stored in 'C:\ProgramData\National Instruments\WebServices\aws\' and on the inside, there is a folder for each web service you have deployed. The folder name is something like "-'." Inside it is a 'Public' folder that contains my static files. You could try to find the file/folder to get the path. I'm not also sure if LV loads the file into memory when the Web Service Initializes which could mean that it will be not updated. If you redeploy your web service, the file will get replaced if it is deployed by the web service.

    Why not to create a Web Service VI which load its content from a file located some leaves on the other on the sbRIO dynamically and the fate? Then your VI can change the file and the VI of web service can display/output there.

  • Deploy application with GlassFish-JavaEE, move from Mac to Linux.

    On a Mac, I developed and managed a Java EE application successfully.

    It's an EAR with an EJB module and a Web module.

    Now continues on a device of Linux (Ubuntu), I can't start over exactly the same application. I got exacttly the same code with git.


    I tried to launch the application with:

    <

    asadmin deploy ejbEntities/target/ejbEntities-1.0-SNAPSHOT.jar

    >

    the console of administration in the r through http://localhost:4848:

    Applications /-> deploy snapshot.jar selection...


    And with Netbeans with all the same result:

    After generating with dependencies and running.

    He tells his running successfully. But in services server/glassfish Server/applications/nothing is displayed and the output is the server.log:

    <

    An exception occurred while loading the application: the EJB container initialization error

    com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid destination jms/NewMessage for MDB: JNDI name not found

    at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:2269)

    at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:2095)

    at com.sun.enterprise.connectors.inbound.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:168)

    to org.glassfish.ejb.mdb.MessageBeanContainer. < init > (MessageBeanContainer.java:252)

    at org.glassfish.ejb.mdb.MessageBeanContainerFactory.createContainer(MessageBeanContainerFactory.java:63)

    at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:221)

    at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:291)

    at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:99)

    at org.glassfish.internal.data.ModuleInfo.load (ModuleInfo.java:206)

    at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:313)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:539)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:535)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 2.execute(CommandRunnerImpl.java:534)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:565)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:557)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1300 (CommandRunnerImpl.java:109)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1846)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1722)

    at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404)

    at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    to org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$ 1.invoke(ResourceMethodInvocationHandlerFactory.java:81)

    to org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$ 1.run(AbstractJavaResourceMethodDispatcher.java:151)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)

    to org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ ResponseOutInvoker.doDispatch (JavaResourceMethodDispatcherProvider.java:152)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)

    to org.glassfish.jersey.server.ServerRuntime$ 1.run(ServerRuntime.java:271)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:271)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:267)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:267)

    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)

    at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)

    at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)

    at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)

    to org.glassfish.admin.rest.adapter.JerseyContainerCommandService$ 3.service(JerseyContainerCommandService.java:173)

    at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ HttpHandlerCallable.call (ContainerMapper.java:459)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)

    at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)

    at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)

    at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)

    to org.glassfish.grizzly.filterchain.ExecutorResolver$ 9.execute(ExecutorResolver.java:119)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)

    at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)

    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)

    at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)

    at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)

    in org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$ 100 (WorkerThreadIOStrategy.java:56)

    to org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:565)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:545)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid destination jms/NewMessage for MDB: JNDI name not found

    at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:2263)

    ... more than 71

    ]]

    [2015-06 - 01 T 15: 15:19.286 - 0200] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID = 130 _ThreadName = admin-listener (6)] [timeMillis: 1433164519286] [levelValue: 800] []

    Redirecting to /common/index.jsf]]

    [2015-06 - 01 T 15: 15:19.301 - 0200] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID = 132 _ThreadName = admin-listener (8)] [timeMillis: 1433164519301] [levelValue: 800] []

    [[Administration console: initializing attributes Session...]]

    >

    What could be the problem? The app has not changed, it is the environment.


    After that Googling autour, I found the problem had to do with the syntax.


    For example, on:

    http://StackOverflow.com/questions/7110563/GlassFish-v3-cant-deploy-MessageDriven-bean-missing-destination-JNDI-name


    I got the same error. The problem was:

    @ActivationConfigProperty (propertyName = "destination", propertyValue = "jms/SampleTopic")

    This need to be

    @ActivationConfigProperty (propertyName = "destination", propertyValue = "SampleTopic")


    Can whe´re I set this property?

    Whe´re is the configuration file of Glassfish?


    Could someone guide me through this?


    Thanks in advance.


    Peter,

    I found the domain.xml file. ~/glassfish4/GlassFish/domains/Domain1/config/domain.XML

    In this file, I wasn't able to find anything on the com.sun.appserv. *. packages.

    The software allows to work with this default file (on a Mac).

    With the asadmin terminal I tried to add custom resources.

    And they appear whe. After you restart glassfish no different result.

    The application deployment guide https://glassfish.java.net/docs/4.0/application-deployment-guide.pdf mentionned on glassfish ejb - jar.xml and ejb - jar.xml.

    I couldn't find these files for version 3.1.

    http://docs.Oracle.com/CD/E26576_01/doc.312/e24929/dd-files.htm#GSDPG00080

    But the app was capable on running with the default settings, so without these files.

    What can I check next?

  • air application connects to the web service although swf don't

    Hey there,

    I will try and be brief. We built a kiosk application in flash builder a pure as3 project. When we went to convert it into an air application all seems fine except for two issues. one is that we cannot use the Security.allowDomain("*"); Tagus. not much we comment on this possibility, but when we do we cannot connect to the web service that we use. Here is the error msg that we get:

    URL http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid = 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    ioErrorHandler: errorProductId: WebApplicationException

    ioErrorHandler: currentTarget: Error #2032: error in workflow. URL: http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid =. 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    Here is the error of charles:

    < error >

    < > 103 errorCode < / errorCode >

    types of arguments < message > Incorrect or combination < / message >

    < errorDetail > WebApplicationException() < / errorDetail >

    false < success > < / success >

    < / error >

    now, if we run just the swf file it connects very well. the only reason I need this app to be in a wrapper of the air is so that I can remove the print dialog box. otherwise, I'd create just an exe file.

    any ideas would be great!

    Thank you

    OK, found the problem!

    When we built the as3 project and we implement web service calls, we used post from get we caused problems. We have been connecting to a service of qa so that may have something to do with it. In all cases, we have changed the headers in the air application to get and it seems to work fine. Why would he works in the SWF and not the air who knows, but there are go!

    Thank you

    Jorge

  • Loading the local swf files in Dir Application (ios)

    Hi guys,.

    I want to load additional local swf files for my ios Release version but I'm a bit confused because of changes in the API again.

    As far as I know at the moment (3.7 Air or newer), it is permitted to load local swf files containing actionscript compiled from local file and a remote host that is predefined as well.

    My assumption, based on this article:

    http://blogs.Adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-SWFs-for-air-apps on ios.

    I created the text file to include all my names swf local and created the next node in the application.xml file:

    < iPhone >

    .

    < externalSwfs > assets/SampleSWFInfoFile.txt < / externalSwfs >

    .

    < / iPhone >

    When I compile the release build (ipa) using the adt command line, it converts all my local SWF files in naked sovereign wealth funds which is perfect, but even if I include all SWFs in the compiler command, it takes only the SampleSWFInfoFile.txt file in the current folder in the ipa, but not swf files.

    I guess, he thinks I have will load these files from an external host, but I want to include them in the application itself.

    I tried to copy files swf stripped in the externalStrippedSwfs folder and comment on the assets/SampleSWFInfoFile.txt < externalSwfs > < / externalSwfs > node application.xml and he and this way, he puts the SWFs in the ipa, but when I try to install and launch the application, it hangs and when I test it using Flash Builder he displays a compilation error message

    «VerifyError: Error #1042: not an ABC file.»

    Anyone of you guys know the solution to this problem?

    Thank you in advance for your help!

    You are the publication in AOT mode as long as you use one of these:

    The AIR Developer Tool ADT a target that allows you to package applications or for the mode of the AOT or interpreter. Targets for packaging in AOT mode are ipa-app-store, ipa-ad-hoc, ipa-test and debugging of the ipa.

    Flash CS6 Pro and Flash Builder automate this process well enough so it's invisible, but the SWF file loads and runs the code very well for me when directly published.

    If I take it on the command line, I can use this to compile successfully (test iPad application):

    ADT-package - target the ipa-ad-hoc - stores pkcs12 - keystore my.p12 - implementation service-profile my.mobileprovision NameOfApp.ipa NameOfApp - app.xml iTunesArtwork SWF/SWF/GenerateText.swf swfs.txt AppIconsForPublish iTunesArtwork@2x NameOfApp.swf

    I include at a minimum the generic icons in there, but I did a "SWF" folder and placed "swfs.txt" and "GenerateText.swf" there. The SWF file uses code to generate random text and change every second using a timer. I load using the same code as you do with the context ApplicationDomain.currentDomain. I see appear the SWF file and text begin to change randomly.

    As I compile there is a generated file called 'externalStrippedSwfs' with the stripped in that SWF.

    One thing to note is that I provide no SWF/swfs.txt in my settings of the iPhone. If I do that it does not. I provide the path to the text file containing the SWF I want be stripped to adt itself as well as funds sovereign I want stripped and he takes care of the rest.

  • How to connect several swf in the same application for iOS

    Hello

    I have a problem.

    I have lot of swf files, each of them is related to another: I have a menu with botton page linked to the different games (a swf for the game).

    Now, I need to convert this into an iPad app.

    My question is: which is the best way to create a link between all my swf files?

    I read a lot of things, but I really don't understand how I can move.

    Thx for the help,

    Stefano

    Add them to your files included in the iOS settings panel and use the sdk air 3.6 + and use the current application domain http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air-apps-sur-ios /

Maybe you are looking for