Remote loading Multi-versioned application & ApplicationDomains & communication

Hello,
let's have an application A that loads application B using SWFLoader. Is it possible to have A and B compiled with different Flex SDKs and have the applications in the same ApplicationDomain?
I want to communicate between the applications, for example add some event listener to SystemManager of B. If I use loadForCompatibility=true, I get coercion error (of course - ApplicationDomains are different and we have two SystemManagers, so flex has no idea which one to use).
Any ideas how to achive the communication?

I would be lovely if Adobe created some demo for remote loading multi-versioned application using runtime shared library, with some event communication between applications

Similar Messages

  • Sub-apps event passing in multi-versioned application - type coersion fails

    I have the following structure on an application I'm working on:
    AirWrapper, basically just an AIR wrapper for the core. Includes AIR specific definitions of various classes needed by the core.
        |---- loads core.swf using SWFLoader, contains functionality for handling data saving/loading, subapp loading, etc.
                 |-----loads subapp.swf using SWFLoader, with loadForCompatibility = true;
    From subapp.swf I'm dispatching a ServiceReferenceEvent (custom event), which is supposed to be caught by the core.swf. If I set loadForCompatibility = false, then it works as it should. However if I set loadForCompatibility = true, then I get a
    TypeError: Error #1034: Type Coercion failed: cannot convert fi.activeark.platform.events::ServiceReferenceEvent@1e0afeb1 to fi.activeark.platform.events.ServiceReferenceEvent.
    Now if I've understood the documentations correctly, the reason this error pops up is because the subapp is loaded into a sibling application domain of the core.swf and is therefore using it's own definition of the ServiceReferenceEvent (even though both the core and the subapp in fact reference the same .as file). My research on the issues suggests that I should be able to fix this by boot strapping the ServiceReferenceEvent class into AirWrapper. This should make both the core and the subapp use the same definition.
    The problem is that this doesn't work. Does anyone have any thoughts on why? Alternatively I would be happy if someone would suggest an alternate method for communicating between a main and subapp swf with loadForCompatibility = true (preferrably one that would allow me to pass custom events)? I need the loadForCompatilbility = true because we're expecting subapps to be created with different versions of the Flex framework over the life cycle of the application.

    Thanks Alex! I got it to work as you described. I realized that I of course also need to marshal every object that the event I send through references, which means even more extra code. Another issue is that the event that I'm marshalling is referencing an object that must implement a particular interface. What I've tried is creating a basic object, add references to the implemented functions, and then type cast it to the interface in question. I've also tried type casting directly but all fails. Is it possible to marshal an interface?
    Basically what I want to have happen is that the subapp I'm loading dispatches an event to the core. The event contains a reference to an object which implements an interface that the core.swf also knows about. The methods of this interface are then used as callbacks from the core.swf. If marshalling an interface is not possible, do you have any suggestions on how I could achieve a similar thing in some other way?

  • My iPhone is locked due to setting up a passcode after loading new version 7. I have tried to reset but keep getting turn of "find my iphone". I can't get into the phone to turn this off. What do I do now?

    My iPhone is locked due to setting up a passcode after loading new version 7. I have tried to reset but keep getting turn of "find my iphone". I can't get into the phone to turn this off. What do I do now?

    Try this - http://support.apple.com/kb/ht1212 - also you can sign into www.icloud.com and remote erase the phone
    recovery mode restore as descibed in HT1808 might be  your last resort though

  • SQL pricing for Migrating an existing multi-tenant application

    We have a client with an ~10 year old multi-tenant application running on a traditional dedicated hosting environment.  The client is interested in migrating to Azure but only if they can benefit from PAAS features (managed backups, snapshots, scaling,
    etc).
    Their application automatically creates a new SQL database with each new customer signup.  As such, there are 886 databases which would need to be moved.  The total size on disk of all DBs together is only 3.82 GB.  Only 3 DBs are more than
    100 MB.  862 of the DBs are less than 10MB each (794 of those are less than 5MB).
    The way I read Azure pricing, each of these 883 DBs less than 100 GB would cost $5/month.  The only other alternative is to get a VM with SQL server on it -- but I can't see the advantage of that vs. the dedicated host they are already using.
    Is there any other alternative to consider when contemplating an application made up of many small databases?
    Thanks in advance for any advice,
    Jason

    Hi,
    If you have existing applications or workloads you simply want to grab and move to the cloud, SQL Server in a Virtual Machine is the easiest path to realize the benefits of the cloud. If you are looking to innovate and build new relational applications running
    in the cloud or extend parts of on-premises applications into the cloud, SQL Database is the best long-term solution.
    In your scenario, if use azure SQL, you must pay for each database per month, refer to
    http://azure.microsoft.com/en-us/pricing/details/sql-database/for more information about SQL Azure, cost too much.
    About use SQL VM, I suggest you read the following article.
     #http://blogs.msdn.com/b/windowsazure/archive/2013/06/04/the-top-10-things-to-know-when-running-sql-server-workloads-on-windows-azure-virtual-machines.aspx?Redirected=true
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I get illustrator to load ( trial version)?

    How can I get illustrator to load ( trial version)?

    z hitt,
    This may be one for this specialized forum (where you may be able find the answer from previous threads),
    http://forums.adobe.com/community/download_install_setup
    or for Customer Care (tick I Still Need Help and hope for an agent available for a chat),
    http://helpx.adobe.com/contact.html?product=illustrator&topic=downloading-installing-and-s etting-up

  • Remote Desktop MAC version 8.0.5 crashing when opening format panel in Excel

    Remote Desktop MAC version 8.0.5 crashing when opening a format panel in Excel.  Attempt to reconnect via RDC do not work until you log into Windows direct and close the formatting window.  I'm running Windows 7 Pro, Service Pack 1 and using Microsoft
    Remote Desktop version 8.0.5 on a Mac running OS X 10.9.2.  Reproduced error 3 times.  Has also twice caused Excel to crash, so error does seem specific to the Windows environment and/or interaction with RDC (i.e. - not Mac related).

    Hi,
    Would you please provide us the log file for check after issue occurs.
    Microsoft Remote Desktop -> About Microsoft Remote Desktop -> Send log via email -> Copy and paste the log here.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Multi-Channel Application

    The following error occurs when trying to execute a multi channel application in Openwave 6.2:
    Request timed out.

    Could you provide more details? What platform and version of o9iASW Wireless are you using? The latest version should also support xhtml pages.
    Rgds,
    Thomas

  • I have configure remote access feature web application proxy but not configure give the error. The remote name could not be resolved.

    I have configure remote access feature web application proxy but not configure give the error. The remote name could not be resolved in server 2012 R2.
    I have configure Ad and ADFS different server and try to configure web application proxy different server. what setting are required for connect web application proxy to Ad and ADFS.

    Hi,
    In addition, please make sure that the port 443 is not blocked by the firewall.
    Web Application Proxy requires internal name resolution to resolve the names of backend servers, and AD FS servers. When publishing web applications via Web Application Proxy, every web application you publish requires an external URL. For clients to reach
    these web applications, a public DNS server must be able to resolve each external URL that you configure. Note that the external URL must resolve to the same IP address as the Web Application Proxy server, or the external IP address of a firewall or load-balancer
    placed in front of the Web Application Proxy server.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to extract data from Hyperion essbase and load into essbase application

    Hi Guru,
    I want to extract data from hyperion essbase 1 application and then load to another application of hyperion essbase.
    Can any one know,how to do this.
    Please,suggest LKM and IKM that should be used for this.

    Thank you very much John,
    I am using Report script method not your least like method(Calc script as you mentioned in your blog)...:)
    I don't know how to check logs of essbase.
    what is load rule and how to use that?
    My ODI version is:10.1.3.6.2
    One more think i want to ask you is i don't have hyperion planning as Technology in topology maneger in my ODI.
    Though, in my oracledi\lib\scripts\xml directory, i have TECH_HyperionPlanning.xml
    So,how to import technology to have this OR I need something else for this....
    Edited by: Maulik Vadodariya on 16 Mar, 2011 3:51 PM
    Edited by: Maulik Vadodariya on 16 Mar, 2011 4:11 PM
    Edited by: Maulik Vadodariya on 16 Mar, 2011 4:14 PM
    Edited by: Maulik Vadodariya on 16 Mar, 2011 4:14 PM
    Edited by: Maulik Vadodariya on 16 Mar, 2011 4:15 PM

  • Extenstion update window keeps popping up; I have loaded latest version of Firefox as prompted to no avail

    extension update window keeps popping up when I am in Outlook email environment; I have loaded latest version of Firefox as prompted to no avail

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    *Firefox 8.0.x: http://www.mozilla.com/en-US/firefox/all.html
    *Trash the current Firefox application to do a clean (re-)install
    *Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • How to remove farm account from Application Discovery and Load Balancer Service Application

    Hello Community
        Using Sharpoint 2010 Server I think the reason
    the User Profile Synchronization would stop is because somehow the farm
    account was registered as a managed account.  So I removed the farm
    account from all services that ran under the farm account so that I could
    run Remove-SPManagedAccount or click the Remove icon in manage service accounts
    and then unregisted farm account as a managed account.
       But before I can run Remove-SPManagedAccount I need to remove it from one more
    service account that uses the farm account which is:
        "Application Discovery and Load Balanceer Service Account".
        However, nothing seems to remove it from there.
        I tried :
    "get-spserviceapplication | where {$_.TypeName -match "Application Discovery and Load Balancer Service Application"}
        and then
    "stop-spserviceinstance "dde7fbef-b068-4687-bedb-f67230efab5a"
        amongst a host of other methods so that I could ultimately
    unregister farm account as a managed account.
        But no matter what I do when I try to remove the farm account from Application Discovery
    and Load Balancer Service Application
    and then unregister the farm account as a managed account a message always says
    "Application Discovery and Load Balancer Service Application" is using the farm account
    as its service account.
        What can I do to free the farm account from Application Discovery and Load Balancer Service Application?
        Thank you
        Shabeaut

    The Farm Account is always a Managed Account and can never be "unmanaged". You don't have to set the automatic password roll.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I have had to uninstall itunes so that I could load this version, the PC says it is correctly loaded, but I now cannot open itunes. Advice?

    I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I had to uninstall itunes so that I could load this version as the update to version 11 kept failing. The PC says 11.1.1.11 is correctly loaded, but I now cannot open itunes. Any advice on how to get itunes working again?

    Hello there, ytnoj.
    Uninstalling and reinstalling iTunes can be a tricky endeavor and must be done in a very specific way. The following Knowledge Base article provides the step-by-step of the process:
    Removing and Reinstalling iTunes and other software components for Windows XP
    https://support.apple.com/kb/HT1925
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Error while loading data from application server

    Hi all,
    Am facing a problem while loading data from application server.
    The error i get is ....
    *" The argument ' Rental/Lease ' cannot be interpreted as a number while assigning character to application structure*.
    'Rental/Lease' is a value for a character infoobject length 30. I checked for the sequence of fields in data source and the sequnce of values am receiving in application server and the sequence match.
    when i copy these values into a CSV onto a desktop and load,load is successful.
    Please let me know your views.
    Thanks&Regards,
    Praveen

    It looks like the system is trying to convert Rental/Lease to a number format.   Is the info object type CHAR or NUMC or ???  I would look there.
    Also, make  sure / is in RSKC.
    Brian

  • JDeveloper 11.1.2.0.0 Version Application wizard : File Backup Error

    hi
    As shown in the scenario (sc1) screencast at http://screencast.com/t/GA7OcgYZ
    the JDeveloper 11.1.2.0.0 Version Application wizard can fail sometimes, showing a "File Backup Error" dialog, with the message
    "Failed attempting to back up imported resource
    D:\screencast\VersionAppLockedIssueApp-v0.01\VersionAppLockedIssueApp\Model.
    Check that there are no file system explorers viewing files in this location and that none of the files are open in other applications before resuming."
    This even occurs when there are no other processes (like Windows Explorer or an editor) using/locking the file.
    It should be possible to reproduce the behaviour using the example application
    at http://www.consideringred.com/files/oracle/2011/VersionAppLockedIssueApp-v0.01.zip
    which is really nothing special I think, so it might also reproduce using another application.
    First open the application and also open the file "browseEmployees.jsf" in design view.
    After that, as it seems, the Version Application wizard fails.
    Note that it might be relevant that I am using Windows 7, as I can imagine that this could behave differently when using JDeveloper on other operating systems.
    Also note, if I try to ZIP the application folder (instead of using the Version Application wizard) after opening the file "browseEmployees.jsf" in design view, I get a message like "WARNING: The process cannot access the file because it is being used by another process.
    : D:\screencast\VersionAppLockedIssueApp-v0.01\VersionAppLockedIssueApp\.data\00000000\je.lck ",
    as can be seen in the scenario (sc2) screencast at http://screencast.com/t/rFiL47Bil
    As it seems that the Version Application wizard has managed to commit the source files, one workaround could be to checkout the source in another location and continue working there.
    Other suggestions to avoid this issue, or deal with it, are welcome.
    questions:
    - (q1) Can this "File Backup Error" behaviour for the Version Application wizard be reproduced?
    - (q2) How can this "File Backup Error" behaviour for the Version Application wizard be explained?
    many thanks
    Jan Vervecken

    fyi
    Today I noticed that there is a My Oracle Support note about this:
    - note id 1353389.1 , "In JDeveloper11.1.2.0.0 the Version Application Wizard Failed with the Error: File Backup Error "
    Its "Solution" section currently says:
    "The problem is still investigated by development.
    But there is a possible workaround for Bug 12912410 by unchecking the checkbox 'Perform Checkout' in step 5 of 6 in the wizard screen. "
    regards
    Jan

  • Using Audition 2.0 on Windows XP platform.  Now have Windows 8.1 on new computer and need to upgrade and load latest version of Audition.  Any suggestions?  Thanks very much.....R

    Using Audition 2.0 on Windows XP platform.  Now have Windows 8.1 on new computer and need to upgrade and load latest version of Audition.  Any suggestions?  Many thanks, R.

    VC6. is rather old, but you can try to convert the VC6 project using the upgrade wizard of VC2012. Depending on the content of the project your code will work more or less without problems, at least it will compile without errors.
    You could also go the 2nd way and create in VC2012 a project type using the wizard that is very similar to your current VC6 projcet (MDI, SDI, Dialog Based, ...). Than you replace the files generated by the wizard with the content of your project. Sometimes
    this way is more successful.
    But at all the automated converting success depends on the code of your VC6 project. I had both, conversions without big problems and also conversions that need a lot changes to run on a current VC version.
    Best regards
    Bordon
    Note: Posted code pieces may not have a good programming style and may not perfect. It is also possible that they do not work in all situations. Code pieces are only indended to explain something particualar.

Maybe you are looking for

  • HP Pavilion Drivers for window XP

    Hi  good evening  excuse me , I want to ask about (HP Pavilion dv5 1126em )s drivers .  I got inside the site to the drivers but i found six drivers only !! I want someone to help me because I Want to format my laptop ,  but I didn't find  all the dr

  • AVAILABLE: 8i on SuSE Linux 6.2 made easy

    Instructions and an easy to use patch for 8i standard and enterprise edition is now available at http://www.suse.de/~mha/oracle/ (as usual...). The EE patch contains the Oracle patch for EE, so only mine is needed, plus some more fixes. null

  • Animation. How do I import still images in final cut pro x (from dragon frame) duration 3 frames pr. image?

    Animation. How do I import still images in final cut pro x (from dragon frame) duration 3 frames pr. image? We have allready tried to set stillimages duration in preferences to 0,08 sek, but it does not have any effect!

  • Integration between SD and QM - urgent

    Can someone post the integration points between SD and QM. It's urgent Thanks in advance

  • Unable to Save RFQ and PO.

    Hi Experts, I am facing a very serious problem in saving the documents. Whenever I create PO or RFQ and Save it. It gets Saved and with the document number. But if I go to document display in ME23N or ME43 and the enter the document number created. t