How to manage ApplicationDomain for loaded SWFs across different domains?

I've been getting this following error -- when I'm loading a subsidiary SWF into a main one. The sub swf contains the overlays. OverlayOne is a subclass of Overlay.
TypeError: Error #1034: Type Coercion failed: cannot convert OverlayOne@18684f89 to Overlay.
     at HSRawVideoPlayer/setCurrentOverLay()
     at HSRawVideoPlayer/showOverlay()
     at HSRawVideoPlayer/dotRoll()
I googled and found that I should probably be setting the applicationDomain of the loader context of the loaded swf to be that of the loading SWF (as per Senocular's article on the subject) -- although I thought that in cases of conflict this would resolve to the loading SWFs ApplicationDomain, so not necessary.
But I've also read that this won't work across different domains, and that's the situation here -- the client wants the urls of loading and loaded swf's to be fully qualified . Will setting the ApplicationDomain of the loaded SWF to be that of the parent solve the problem above, even if they are in different domains? Can someone show me a short code snippet? Thanks!

Hi,
DSS has inbuilt functionalities to compare the transactions against the in built rules.If the transactions take place not in accordance with the in-built rules,it is treated as a "violation" and is reporetd.
Virsa is an example of DSS tool.Here you can build rules for access and process ;constantly compare the actuals Vs the rules;report the violations.
In SAP R3 for example,the T/code:pfcg is tailored for access control,while the invoice parking [f-63] is tailored for process control.Using VIRSA,you can address to risks involved both,namely,access and process control.This is an example of how DSS can help in Risk integration.
In these tools,we have an Engine for building the rules-based on this we build the rules.These rules are stored in a table.when a transaction-for which we have built a rule - takes place,the system compares the rules VS actuals.The inconsistencies if any are reported as violations.
Hope this helps.
Regards,
Ramesh

Similar Messages

  • Unable to load swf from different domain through html wrapper in Chrom

    Hi All,
           I am trying a embed a swf from different domain. My html wrapper was in one domain and swf was in another domain. I have embedded the swf into the html wrapper. When i run the html file it is loading the swf in firefox and working fine. But when i try to run the same html in chrom or IE the swf is aborted. I have crossdomain.xml file in both the servers which is also allowing both the domains. I was not able to figure out the issue. Can anybody help on this.
    regards,
    Jayagopal.

    Are you getting any errors or warnings?

  • How to manage credit for same customer in different sectors

    Dear Gurus,
    Here is the scenario,
    My client   have four different sectors but a customer can buy from multiple sectors.The credit management for the same customer must be handled  differently for each sector.The credit exposure for all sectors should be different
    So how can we segregate this in sap credit management for only one customer master
    Regards,
    Sam Ahmed

    Credit Control Area Is set at 2 places:
    - @ Company Code (OBZK)
    - @ Sales Area (OVFL)
    You need to have different Credit Control Area based on your requirement, align with the sales areas you want differentiate. 
    To do so, follow IMG in following path or use TCode OVFL.
    SPRO - Enterprise Structure - Assignment - Sales & Distribution - Assign Sales Area to Credit control area
    Also, make sure in
    - Customer Master (XD02) for the desired sales areas you need specify the credit control area in the sales area data.
    - And in FD32, maintain different credit limit based on Customer & Credit Control Area.
    For reference you can refer consulting for configuration SAP Note 18613 - Checklist for Credit Management.
    And SAP Note 425483 - Consulting note collection: Credit checks.
    With Best Wishes
    JP

  • How to include contextMenu for whole swf

    Hi everybody,
         Let me know How to include contextMenu for whole swf?

    I have a similar problem.
    Stand alone my Sprites custom context menu always works. I can instantiate it using code, and nest it 'n' levels deep.
    When I add it to my main application, a default context menu is shown.   The main application is very complex - as it's a design application similar to Balsamiq Mockups - so every individual widget has a stand alone test harness.   This has been working very well as a way of coping with the size and complexity of the main application. But the context menu thing just doesn't work in the main application, and from the documentation I've seen nothing that suggests I should have had any problems including else wher.
    Please, please if anyone knows why in some scenarios a context menu stops working and the default context menu is shown instead then please share as I'm at the point of tearing my hair out on this....

  • How to manage apps for lots of devices

    Hi, I work @ all college in AU. We are implementing ipads as a study tool. Initially the ipads will be set up by the college, then distributed to the students to keep.
    My question is about how to manage apps for so many devices. For example we have 2 apps that need to be installed for 150 units to begin with. This could get quite messy I would think. Has anyone had any experience with this sort of volumes? Any and all input would be greatly appreciated.

    Look in the forum above this one...
    http://discussions.apple.com/thread.jspa?threadID=2594001&tstart=0

  • How to design EDW for source systems from different Time-Zones

    How to design EDW for source systems from different Time-Zones?
    Suppose IT landscape has a global BW in New York, and source systems in americas, europe and asia, then how the time-zones effect on time related things like delta selections on date or timestamp etc.

    As you said BW is global in NY, your source system must be global too. People from various locations can connect to same source system and thus timestamps for delta is always maintained as 1 single time. We have same scenario in our project. Our R/3 system is used by users in US and Europe. So we run deltas twice in day to make sure we got deltas from both locations.
    If scenarios was such that all locations connect to separate R/3 system, then obviously you have multiple queues. That is unique delta queue for each source system so deltas will be pulled as per data in respective queues.
    Abhijit

  • How to set levels for external swf's??? loading code added!

    hi,
    im using flash cs5, as2.
    i have a main index fla that loads into it 5 swf's.
    i need these 5 to be loaded into a lower level than the main index fla (index has to be the highest level)
    how can this be acheived?
    i have no idea on how or where to code this.
    my code for loading the movies is:
    F1
    var IndexLoaded = _root.getBytesLoaded();
    var total = _root.getBytesTotal();
    var percent = int(IndexLoaded/total*100);
    var loadingName = "Loading.. " + percent + "%" + " of " + "Index";
    var checkFrameplay = 0;
    Bar_anime.gotoAndStop(percent);
    Loadtext_txt.text = loadingName;
    if (IndexLoaded == total) {
                    var n = 0;
                    gotoAndPlay(3);
    F2
    gotoAndPlay(1);
    F3
    var movie:MovieClip = _root.StoredActions.Con.createEmptyMovieClip("movie"+n,n +1);
    loadMovie(n+".swf",_root.StoredActions.Con["movie"+n]);
    var MovieLoaded = 0;
    percent = 0;
    _root.StoredActions.Con["movie"+n]._x = 3000;
    F4
    MovieLoaded = _root.StoredActions.Con["movie"+n].getBytesLoaded();
    loadTotal = _root.StoredActions.Con["movie"+n].getBytesTotal();
    percent = int(MovieLoaded/loadTotal*100);
    Bar_anime.gotoAndStop(percent);
    loadingName = ("Loading.. " + percent+ "%" + " of "+ n);
    Loadtext_txt.text = loadingName;
    if (loadTotal>10) {
                    if (MovieLoaded>=loadTotal) {
                                    gotoAndPlay(6);
    F5
    gotoAndPlay(4);
    F6
    if (n < _root.nMenus) {
                    n++;
                    gotoAndPlay(3);
    } else {
                    gotoAndStop("Stopload");
                    _root.gotoAndPlay("Playmovie");
    F7
    stop();
    thanks in advance for any help.
    sajjy

    hi,
    i understand what you are saying about the code, im no advance user of as2 but i can say from all the research i have done, iv not seen anyone using this sort of code, its all over the place.
    but on the other hand, even though its a mess, its working and all the site functions and buttons work well with the code.
    basically the main.swf is the structure of the site, it has all the images/frames in the right places.  the other swfs load into a little window on the main.swf.  this window has some shading/reflections on it and the problem i have is when i scroll the movieclips, they scroll over the shading/reflections making it look tacky, if i didnt use any scrolling it would be fine but i need to use it due to having a small window.
    the content of the window is controlled by a button thats on the main.swf.
    each of the loaded swfs have dynamic text, movieclips, buttons to open external html windows.  nothing advance to be honest, all the interactive movieclips are controlled by clicking on them, navigating to another frame (using labels).
    i would upload the files for you to have a look but im under strict ruling that i cant share the content as its not yet been released to the public.
    i hope that helps clear a few things up for you.  if i cant get the levels to work then i guess it will have to stay like that or i will have to scrap the whole project and start again.

  • How to effectively remove a loaded SWF from the stage?

    I can not figure out a proper coding to remove a loded SWF from the stage.
    Here is my set up.
    I have a layout segmented into labeled section. In the section labeled "products" I have a layout consisting of product images acting as buttons which bring a user to another labeled section "prdctsPopUps"
    In the "prdctsPopUps" section I have placed an instance of LoaderMax placed into an mc container. Placing LoaderMax into an mc container automatically resolved an issue of clearing loaded SWFs from stage when I come back to "products" section.
    I specified the variable in the "products" section with the following set up:
    var sourceVar_ProductsPopUps:String;
    function onClickSumix1PopUp(event:MouseEvent):void {
                        sourceVar_ProductsPopUps="prdcts_popups/sumix1-popup_tl.swf";
                        gotoAndPlay("prdctsPopUps");
    So each button has its own "....swf" URL and they all open fine and I can come back to "products" section without any issues.
    However inside the swf (which loads through LoaderMax which is placed into an mc) there are other buttons which bring a user to labeled section "xyz". Which also functions properly. It opens as it is supposed to be and without any previously loaded "...swf" on the stage.
    At the labeled section "xyz" there is a limited set of buttons repeating from section "products" which has to bring a user back to the same set up in the "prdctsPopUps" labeled section and open a corresponding "...swf" .
    However only the last opened "...swf" will appear in that section. Effectively the one which was originally opened from the "prdctsPopUps" section and not the one which was supposed to be opened from the "xyz" section.
    I can not understand why it would work from one labeled section and not from another. I can not figure out on which section which code/function needed to be placed.
    Here is the set up from a button from the "xyz" section whcih supposed to bring a user to the same "prdctsPopUps" section but to load a different "...swf"
    var sourceVar_ProductsPopUps_fromXYZ:String;
    function onClick_floralytePopUp_fromXYZ(event:MouseEvent) :void {
                        sourceVar_ProductsPopUps_fromXYZ="prdcts_popups/floralyte-popup_tl.swf";
                        gotoAndPlay("prdctsPopUps");
    Here is the code set up for the LoaderMax from the "prdctsPopUps" section:
    var loaderProductPopUps:SWFLoader = new SWFLoader(sourceVar_ProductsPopUps,
                                                                                                        estimatedBytes:5000,
                                                                                                        container:holderMovieClip,
                                                                                                        onProgress:progressHandler,
                                                                                                        onComplete:completeHandler,
                                                                                                        centerRegistration:true,
                                                                                                        alpha:1,
                                                                                                        scaleMode:"none",
                                                                                                        width:540,
                                                                                                        height:730,
                                                                                                        crop:true,
                                                                                                        autoPlay:false
    function progressHandler(event:LoaderEvent):void{
              progressBarPopUp_mc.gradientbarPopUp_mc.scaleX = loaderProductPopUps.progress;
    function completeHandler(event:LoaderEvent):void{
              var loadedImage:ContentDisplay = event.target.content;
              TweenMax.to(progressBarPopUp_mc, 1.5, {alpha:0, scaleX:0.25, scaleY:0.25});
    loaderProductPopUps.load();
    Is there something which needs to be imported, or specific function needs to be specified in a specific labeled section?

    actually, i think you'll need to use something like:
    var loaderProductPopUps:SWFLoader;
    if ((loaderProductPopUps){
    if(loaderProductPopUps.content)){
       loaderProductPopUps.unload();
    loaderProductPopUps= new SWFLoader(sourceVar_ProductsPopUps, //the value of sourceVar_ProductsPopUps allows to load mulitple SWFs from the products page.
                                                                                                         estimatedBytes:5000 ,
                                                                                                         container:holderMov ieClip,// more convinient and easier to manage if to place the LoaderMax into an empty mc (holderMovieClip)
                                                                                                                                                                         // if not will work as well. Then the line container:holderMovieClip, has to be replaced with container:this,
                                                                                                                                                                         // can be any size, can not be scaled as it distorts the content
                                                                                                         onProgress:progress Handler,
                                                                                                         onComplete:complete Handler,
                                                                                                         centerRegistration: true,
                                                                                                         //x:-260, y:-320, //no need for this is if used: centerRegistration:true,
                                                                                                         alpha:1,
                                                                                                         scaleMode:"none",
                                                                                                         //scaleX:0, scaleY:0,
                                                                                                         //vAlign:"top",
                                                                                                         width:540,
                                                                                                         height:730,//scales proportionally but I need to cut off the edges
                                                                                                         crop:true,
                                                                                                         autoPlay:false
    function progressHandler(event:LoaderEvent):void{
              progressBarPopUp_mc.gradientbarPopUp_mc.scaleX = loaderProductPopUps.progress;
    function completeHandler(event:LoaderEvent):void{
              var loadedImage:ContentDisplay = event.target.content;
              //TweenMax.to(loadedImage, 1.5, {alpha:1, scaleX:1, scaleY:1});//only need this line if corresponding values are changed in SWF loader constructor
              TweenMax.to(progressBarPopUp_mc, 1.5, {alpha:0, scaleX:0.25, scaleY:0.25});
    loaderProductPopUps.load();

  • Using Loader.loadBytes - specify SecurityDomain for loaded swf?

    Hi i have a problem.
    I use Loader.loadBytes to dynamically load a swf into my app (i use this method to load modules into the app). My trouble is that when I want to use ExternalInterface.addCallback to allow js calls on my app. When those functions get called a SecurityError gets thrown because I'm not in the right Security Domain. Trying to set the SecurityDomain of the loaded content via LoaderContext results in another error telling me that SecurityDomain can't be other than null. Is there a way to actually get my modules accessible from JS?
    *Note:
    I have set in my main ap (the one that instantiates the module controller that loads the modules) the following:
    Security.allowDomain("*");
    Security.allowInsecureDomain("*");
    the loading code:
    var _contextLoader : LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
    _contextLoader.allowCodeImport = true;
    _moduleLoader.loadBytes(moduleBytes, _contextLoader);
    The error:
    SecurityDomain 'null' tried to access incompatible context ...

    The loaded swf is at loader.content, but you can only access
    it once the loading has completed and the loader has been added to
    the display list. For example, CODE 1 will not work, but CODE 2
    will.
    //CODE 1
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    myLoader.load(new URLRequest("movie.swf"));
    var loadedSwf:MovieClip = MovieClip(loader.content); //ERROR
    //CODE 2
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    myLoader.load(new URLRequest("movie.swf"));
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    loadCompleted);
    var loadedSwf:MovieClip;
    function loadCompleted(ev:Event):void {
    loadedSwf = MovieClip(loader.content);
    trace(loadedSwf);
    PS. I recommend using the Tweener library for tweening in
    ActionScript. It is much better than the Adobe functions and there
    is a tutorial at:
    http://gotoandlearn.com/player.php?id=45

  • Adobe Scout issue: not starting a new session for loaded SWFs

    We have an issue with Adobe Scout. It does not listen (doesn't start a new session like it sould) for a SWF loaded by another (main) SWF. The SWFs have advanced telemetry enabled and the setup is correct as described inhttp://www.adobe.com/devnet/scout/articles/adobe-scout-getting-started .html. Please help
    Thank you
    I am using Win 7 64-bit, the latest versions of Adobe Scout and Flash Player, Chrome 32 / IE 11.
    Also I have made sure that the Scout server is listening, as descibed in the article linked above: Verify that the Scout server listening. Open Scout, and then type localhost:7934 into your web browser. It should respond quickly with "server dropped connection", "no data received", or something similar (since Scout is not an HTTP server). Scout should show the error message "can't start a session because the telemetry data isn't valid". If the browser stalls for a long time, and then comes back with "server not found" or something similar, then the socket isn't working.

    The correct answer is here: http://stackoverflow.com/questions/21827477/adobe-scout-is-not-starting-a-new-session-for- loaded-swfs

  • INSTALL[for load] command without Security Domain AID

    Hello all,
    I have a question for the INSTALL[for load] command.
    The Security Domain AID is optional field, so I'm wondering if I didn't specify the AID, then which Security Domain performs the INSTALL[for load] command?
    Thanks,
    Julie.

    Which ever one you are sending your APDU commands to. Which SD did you select ? Usually, the default applet is the ISD, so the commands are going to that applet.

  • How to maintain same width of columns across different table sections in OBIEE reprot

    I have a prompt and report (analysis) on the dashboard. In the report, there are tables sections.
    The problem is when I run the report, the column widths vary across different section of table. This report also showing totals too.
    The report needs to be fit so there is no horizontal scroll bar in the report.
    I have already given the same width in additional properties of column values, header and folder and in total's property in criteria and also in the result tab.
    I am new to OBIEE, so don't know how to fix it. any help would be appreciated.
    thanks in advance.

    You might want to post to the OBIEE discussion area
    Business Intelligence Suite Enterprise Edition

  • How to grant access to sharepoint for the user from different Domain

    Hi All
        I need to grant access to user from different domain. 
        Where I can able to view the users in people picker (different domain).
    Thanks in Advance.
    Raj

     Hi
    Trevor Seward
    Sorry to disturb
    you again.
      I am trying to restrict user from search from other domain, say we have domain A and Domain B, where I am trying to restrict all the user from domain B (Search users)for a site collection. I have found couple of stsadmin command to do so. but none
    of them works. Below are the commands I have tried
    STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "domain:<Name>.domain" -url "http://Site URL"
    stsadm -o setproperty -pn peoplepicker-searchadcustomquery -pv “(canonicalName=<Name>.domain*)” -url "Site URL"
    we have two way trust.
    Can you suggest any solution.
    Thanks 
    Raj

  • Preloader problem with swf in different domains, not working online

    Hello
    I've an swf (loader.swf) hosted in dominioA.com, that justs loads a swf (movie.swf) hosted in dominioB.com.
    loader.swf has a preloader. When I execute the movie in flash, it works perfect, but when I upload the swf, the preloader doesn't works. I see 0% and after starts movie.swf normally.
    Here is the code of loader.swf
    Security.allowDomain("www.dominioB.com");
    Security.allowDomain("www.dominioA.com");
    var contexto:LoaderContext = new LoaderContext();
    contexto.applicationDomain = ApplicationDomain.currentDomain;
    var _preloader:MovieClip=preloader
    _preloader.barra.width=0;
    var _DOM:String="http://www.dominioB.com/movie.swf?anticache="+Math.random();
    var myLoader:Loader=new Loader;
    addChild(myLoader)
    myLoader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onLoadPogress);
    myLoader.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
    myLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,onDataLoad);
    var carga=new URLRequest(_DOM);
    myLoader.load(carga, contexto);
    function onDataLoad(evt:Event) {     
              //inicializar datos
    function onLoadPogress(event:ProgressEvent){
         var cargado:int = event.bytesLoaded;
        var total:int = event.bytesTotal;
        var porcentaje:int = cargado/total*100;
        _preloader.txt.text = "Cargado: "+String(porcentaje)+"%";
        _preloader.barra.width = porcentaje*2;
    function httpStatusHandler(event:HTTPStatusEvent):void {
           if(event.status==404){                    
    function ioErrorHandler(e:IOErrorEvent):void {
    function initHandler(e:Event):void {
    Any idea??
    Regards

    movie.swf load perfect, and everything works. It doesn't seem to be a cross-domain issue.
    In loader.swf, all the actionscript is in the timeline, not in a class.
    Thanks.

  • Loading modules from different domain

    when I load modules from the same location where is main application, everything is fine. But when modules are loaded from different adrress i got following error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at mx.utils::LoaderUtil$/isRSLLoaded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\uti ls\LoaderUtil.as:525]
              at mx.utils::LoaderUtil$/http://www.adobe.com/2006/flex/mx/internal::processRequiredRSLs()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\utils\LoaderUtil.as:259]
              at mx.core::FlexModuleFactory/getRSLInfo()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \core\FlexModuleFactory.as:582]
              at mx.core::FlexModuleFactory/update()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\cor e\FlexModuleFactory.as:470]
              at mx.core::FlexModuleFactory/moduleInitHandler()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\core\FlexModuleFactory.as:819]
    any ideas what might be wrong?
    thanks for any help in advance

    This is a link to testing application:
    http://michalnpe.homeip.net:55001/bin-release/LoadModuleApp.html
    you can see source code of this app.
    Let's say we want to run module from different domain.
    so insert following address for crossdomain.xml and module (into TextInput in the applicataion above) .
    http://a2s.pl/crossdomain.xml
    http://www.a2s.pl/npe/softmgr/Michal/wymiana/TestModule.swf
    here is the code that loads the module:
    protected function loadModule(event:MouseEvent):void
                                            testloader.url = moduleAddress.text;
                                            //testloader.loadModule();
                                  public function setup():void { // run before loading modules
                                            Security.allowDomain("*");
                                            Security.loadPolicyFile(crossdomain.text);
                                            var request:URLRequest = new URLRequest(crossdomain.text);
                                            var loader:URLLoader = new URLLoader();
                                            loader.load(request);

Maybe you are looking for

  • What is the minimum server layer OEM version supports SNMP trap reception ?

    Hi: - I have been trying to enable SNMP trap reception on an OEM plug-in. - I turned on debug channel for recvlets.snmp and saw: 2009-10-16 16:07:42,808 Thread-3028552624 ERROR recvlets.snmp: Duplicate threshold : test900, oracle_guide, interfaces, s

  • HT1428 How do I revert settings from renaming the home folder?

    *PREFACE* I've read plenty of articles today on why NOT to attempt to rename the home folder.. This was done mistakenly by a friend attempting to help with my wifes macbook air. While they were able to rename the home folder, upon reboot, all system

  • Most accessible output format?

    I'm relatively new to PP. In AE, I exported a project to a PNG Sequence. In PP, I use that sequence as my video, add some audio, and now I want to export it to the most popular / versatile output format. Is it H.264, or something else? What other opt

  • Customer invoice for Third Party return and Credit Invoice???

    Hi All, Business needs third party return with vendor & customer Credit invoice. I am fully aware that standard SAP does not support this scenario. I am looking any other best way to implement this scenario in sap, if any body has worked on this.. I

  • Using a Ipod with a sound mixer?

    Is there any sound mixer that allowed my IPhone 3g to be broadcasted using ustream?