Load speed: FLEX MX:TABNAVIGATOR LOAD SPEED VERSUS SPARK:TABBAR

TODAY I NOTICED A LARGE DIFFERENCE BETWEEN
THE OLDER MX:TABNAVIGATOR
AND NEWER S:TABBAR (SPARK)
Summary:
My test application was built in flex builder 4 and I was using my localhost (asp.net devlepment enviroment) for testing.
Tests I built:
I built many proofs for concept using flex objects, ui  and data handlers.
HOW WAS THIS TEST (which I spoke about in the title) CREATED:
I built two components which will be used as CHILDREN to the main application.  The fist child component used the SPARK TABBAR and the other child component used the MX:TABNAVIGATOR.  The main application declared these children (using action script) initially and a List control actually loaded the children into the main application.
BOTH CHILD COMPPONENTS had 10 tabs....
5 of the 10 tabs contained "grand" child components (none of the components(main application/children/grandchildren) worked with external data)
RESULTS:
THE LOAD SPEED BETWEEN THE TWO CONTROLS was very noticable between the two controls.
THE SPARK COMPONENT (S:tabbar) AVERAGED 3-5 SECONDS TO LOAD
WHERE THE MX:TABNAVIGATOR ONLY TOOK 1-2 SECONDS
HAS ANYBODY ELSE EXPERIENCED THE SAME RESULTS?
THANKS,
DOUG LUBY OF LOUISIANA
WWW.douglubey.com
SEARCH:  FLEX MX:TABNAVIGATOR LOAD SPEED VERSUS SPARK:TABBAR

It definately seems to fit (pretty good).
My labels in the "TABS" were of different length.
So I converted them all to be the same length.
<s:TabBar dataProvider="{viewstackSampleB}" id="sampleBMainTabBar"left="
11" top="8" right="11" height="34" fontSize="6"/>
<mx:ViewStack id="viewstackSampleB" cornerRadius="20" top="40" bottom="10" left="10" right="10">
<s:NavigatorContent label="Profile___________________" width="100%" height="100%">
<s:NavigatorContent left="0" top="0" right="0" bottom="0" backgroundColor="#000080">
<sample:SampleB_Profile id="studentProfile" left="2" top="2" right="2" bottom="2"/>
</s:NavigatorContent>
</s:NavigatorContent>
<s:NavigatorContent label="SampleB_DragNDrop1________" width="100%" height="100%">
<s:NavigatorContent left="0" top="0" right="0" bottom="0" backgroundColor="#000080">
<sample:SampleB_DragNDrop1 id="studentDragNDrop1" left="2" top="2" right="2" bottom="2"/>
</s:NavigatorContent>  
</s:NavigatorContent>
<s:NavigatorContent label="SampleB_DragNDrop2________" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
<sample:SampleB_DragNDrop2 id="studentDragNDrop2" left="2" top="2" right="2" bottom="2"/>
</s:NavigatorContent>  
</s:NavigatorContent>  
<s:NavigatorContent label="SampleB_PullDataFromParent" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
<sample:SampleB_PullingDataParent id="studentPullingDataParent" left="2" top="2" right="2" bottom="2"/>
</s:NavigatorContent>  
</s:NavigatorContent>  
<s:NavigatorContent label="Tab Five__________________" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
</s:NavigatorContent>  
</s:NavigatorContent>  
<s:NavigatorContent label="Tab Six___________________" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
</s:NavigatorContent>  
</s:NavigatorContent>  
<s:NavigatorContent label="Tab Seven_________________" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
</s:NavigatorContent>  
</s:NavigatorContent>
<s:NavigatorContent label="Tab Eight_________________" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
</s:NavigatorContent>  
</s:NavigatorContent>
<s:NavigatorContent label="Tab Nine__________________" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
</s:NavigatorContent>  
</s:NavigatorContent>
<s:NavigatorContent label="Tab Ten___________________" width="100%" height="100%">
<s:NavigatorContent left="0" top="-3" right="0" bottom="0" backgroundColor="#AEAEAE">
</s:NavigatorContent>  
</s:NavigatorContent>  
</mx:ViewStack>
THIS APPEARS TO HAVE THE SAME LOAD TIME as the TabNavigator.
So I have to ask:
What is a permanent fix for this.
Where I can I update my current "Build" for FLEX 4
so my application does not retain this bug.
OR ANOTHER QUESTION...what can I exclude in my declarations to fix this bug.
I would prefer to use the Spark TabBar over the mx:tabnavigator
MY CURRENT "BUILD" is 4.0.1.277662

Similar Messages

  • Can this html code be changed to speed up the image load time?

    I found some html that creates a auto running slide show. I've got three images (small image sizes) but it is slow to start up when the page is first opened. http://web.me.com/phelpssculpture/Site/test.html this is the escaped code:
    <center><img id='imageholder' src='' ></img></center>
    <script type='text/javascript'>
    images = new Array();
    images.push('http://web.me.com/phelpssculpture/Docs/typewriterprpage.jpg');
    images.push('http://web.me.com/phelpssculpture/Docs/royalprpage.jpg');
    images.push('http://web.me.com/phelpssculpture/Docs/Lovetest.jpg');
    var image_index = 0;
    function rotateImage() {
    if (image_index == images.length - 1) { image_index = 0 } else { image_index++ }
    document.getElementById('imageholder').src = images[image_index];
    setInterval('rotateImage()', 5000);
    </script>
    I have a page: http://web.me.com/phelpssculpture/Site/Resume.html
    that has a rollover image (from OldToad) that has two images about the same file size and located in the same folder on my iDisk as the other slide show images but it seems to load instantly.
    this is the escaped code:
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    loadImage1 = new Image();
    loadImage1.src="http://web.me.com/phelpssculpture/Docs/typewriterprpage.jpg";
    staticImage1 = new Image();
    staticImage1.src="http://web.me.com/phelpssculpture/Docs/royalprpage.jpg";
    // End -->
    </script>
    <a href="http://web.mac.com/phelpssculpture/Site/royal.html" onmouseover="image1.src=loadImage1.src;" onmouseout="image1.src=staticImage1.src;">
    <img name="image1" src="http://web.me.com/phelpssculpture/Docs/royalprpage.jpg" border=0></a>
    Does anyone know if it's possible to improve the html of the slideshow snippet to speed up the initial load time?
    Thanks, David

    Ethmoid:
    There are seven different pages: http://web.me.com/phelpssculpture/Site/movieroyal_davidphelps.html
    Each link is directed to a different page.
    I created the basic layout on one page and then duplicated the page six times.
    the links are in one text box ( that's why they're lined up well ) and each individual word is activated as a link. I changed the background color of the forward tab to match the color of the main shape and used the send forward or send backward command to get the tabs to look right on each page.
    The only problem with the words being in a single text box is that explorer doesn't render the spacing correctly and they fall off their respective tabs. When I get time I will put each word in it's own text box ( it's not that hard to align them ) so it will render properly in explorer.
    Sincerely, David Phelps

  • Browserlab is not working for me, it wont complete the load even though i have high speed internet?

    Subject
    First time use of browser lab not working.
    Problem Description
    Ok, so, I'm working on a tutorial page on CS5.5 and I am at the stage of using browserlab to preview it online. I log in and enter my password then it opens my browser and I click on "start using browserlab now" and a load screed appears. It loads for about a minute and then remains "blank", which is in fact the adobe screen with a language bar at the top right, but NO preview pages? also, if I then go into dreamweaver again the browserlab tab reports an error saying "Timed out, failed to connect to BrowserLab"
    Steps to Recreate
    This issue happens every time, and I have never got it to work. 
    Windows 7 32-bit operating system. 
    I am using the main BrowserLab interface as well as testing via Dreamweaver integration (DW version is version 11.5 build 5315)
    I dont understand what this next statement means? "What is the URL you're testing against?"
    Expected Results
    I thought that browserlab would open my page in multiple browsers on one page so i could see if there are any errors for different browser types.
    Actual Results
    Did not load correctly and gives errors.
    Many thanks in advance
    Marshall de Meillon

    Hi Marshall,
    Thanks for the detailed report. Don't worry about your step #4, you didn't get to that point.
    From what I can tell, you're opening up BrowserLab in your browser first, then trying to do a preview from Dreamweaver, is that correct? I'd like to try a test where you first test BrowserLab in standalone mode and if that works, then try the BrowserLab integration with Dreamweaver. So please try doing the following steps:
    Close Dreamweaver and all of your browser windows.
    Leave DW closed, open a single browser window and go to https://browserlab.adobe.com
    Log in, and request a screenshot by typing in a URL like http://www.yahoo.com and pressing <Enter>
    Does that work for you? Do you get screenshots for that? If not, please describe the steps you followed and what you see
    If so, close your browser window and open Dreamweaver. Do not open your browser to BrowserLab
    In DW, open the webpage you'd like to view in BrowserLab and press the preview button in the BrowserLab panel as shown in your shot
    You may need to log in again, but let me know what happens with that test.
    Mark

  • Slow loading of Flex iviews

    I have been using NW04 for running imported models (par-files) created in a separate NW04s development system (set up just for developing VC-apps.). These have loaded nicely and at an acceptable speed. Now we are upgrading our complete portal environment and thereby running the models from their deployed PCD-locations (actually new iviews with delta links to deployed iviews).
    Now the new environment are loading all VC-generated iview MUCH slower than the old environment. Other portal components seem to load about the same, but they too are slowed down by the flex iviews while they are downloading, initializing and querying their data. Pages without VC generated content are not affected.
    All content on the pages showing the iviews are identical from old to upgraded portal and all iviews have been deployed as Flex1.
    Any ideas??
    Henning Strand

    Murat
    Actually I ended up deselecting the "Enable styling of Flex controls in portal themes" under Options->Compiler. I remember that this helped quite a bit. Now that we have upgraded to sps 18 I am trying to apply this again as it's a useful feature. In my development system it seems load nicely also with this option selected.
    Henning

  • Error in app with TabNavigator loaded with SWFLoader - WebKit browsers

    Hiya,
    I use a flex app (A) to load another flex app (B) using SWFLoader (both built using Flex Builder 3 sometime ago).
    Everything works fine as expected across all (IE, FF, Chrome, Safari) desktop browsers.
    However, if I use a TabNavigator within the flex app (B) then when you click on any of the tabs it unloads the flex app (B) and re-starts flex app (A). This behaviour is limited to Webkit based browsers (Chrome & Safari) the rest of the browsers (IE, FF) it works fine.
    I wonder if anyone can throw some light on this.
    Many thanks
    Kind regards,
    klem

    Resolved:
    Replacing the HTML template files with the latest copy from Flash Builder 4.5 seemed to resolve the issue. It appears they have replaced the AC_OETags.js with swfobject.js
    Tried to explore upgrading the code to 4.5 but seemed to throw a lot of incompatibilities, created a test/dummy project instead in 4.5 and used the html file created to replace the old html files created by Flex Builder 3.0
    Clearly not a very common problem, but hope this saves someone time and effort.
    Thanks Harui

  • Can I load a swf into my Flex app that loads other swf's?

    The code below loads an AS2 swf into my Flex mobile for IOS app and it works.  If that AS2 swf has like a circle in it that runs across the stage, it loads and displays properly when run in FlashBuilder.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     initialize="init()">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  private var request:URLRequest = new URLRequest("http://PATH_TO_AS2_SWF");
                                  private var loader:Loader = new Loader();
                                  private var myComponent:UIComponent = new UIComponent; 
                                  private function init():void{
                                            myComponent.percentHeight = 100;
                                            myComponent.percentWidth = 100;
                                            loader.load(request);
                                            myComponent.addChild(loader);
                                            player.addElement(myComponent);
                        ]]>
              </fx:Script>
              <s:Group id="player"
                                   height="100%" width="100%"/>
    </s:Application>
    But if that AS2 swf loads other swf's, they don't load or display.  My FlashBuilder debugger reports no errors or security sand box violations.   I'm using the most elemental code in my AS2 swf so as to not cause problems.  This is it in its entirety:
    this.onLoad = function(){
              _root.loadMovie("http://[PATH_TO_REMOTE_SWF]");
    The paths to the remote content are fine because swf's load and display fine from AS2 swf when run on it's own - not embedded in Flex app.  They also load and run fine if I cut out the AS2 swf and access directly from my Flex code.  So I know there isn't a path issue.  More likely not accessing the right layer in the AS2 swf from Flex or something.  Or maybe security sandbox violation but I don't see anything reported in the FlashBuilder debug console.  When run console just reports:
    [SWF] SwfMobile.swf - 2,639,761 bytes after decompression
    [SWF] assets/swf/AS2.swf - 1,470 bytes after decompression
    Is there something inherently wrong with loading swf's that load other things?  Even if I have the AS2 swf load jpgs they don't load so the format of the target content at the end of the chain doesn't seem to be the issue.  Just the act of embedding a swf that loads other things seems to be the problem.

    Ah, yes. Using an AVM1 SWF could prove difficult...
    I'm going on about 3 hours of sleep at the moment, but let me toss out a few thoughts I have and hopefully something will stick...
    Ok, so my first thought what to try and cast the loaded content as a MovieClip and call methods on that, but the fact they are AVM1 throws that out the window.
    That leaves LocalConnection, as you mentioned. But this would require you to have code on the receiving end to handle the connection... no good either.
    But what if you created a "bridge" in AS2 that holds all the code for the receiving end of LocalConnection (or has the control logic itself, perhaps even eliminating the need for LocalConnection all together!). I think maybe this is what you were trying to do already by loading a SWF into a SWF? Well instead of loading your bridge at runtime, what if you statically linked it into your project as a class?
    *a few moments later*
    Well it looks like you can in fact link in a a symbol created for AVM1, but it will only come in as a SpriteAsset, and will not include any custom code (which makes sense, since they use entirely different class constructs).
    To do the test, I created a symbol exported for actionscript (AS2/Flash8), then linked it in with a CSS style embed. I then instantiated the class and called describeType on it.
    So in summery, it looks like calling custom code on the bridge is out (I did not test this extensively, that was just my first impression with this simple test). However, if you may be able to perform the actions you need by attempting to cast the loaded content into something AVM2 can recognize. Apparently it does this automatically when linked in statically, so maybe there is something there worth looking into... mainly, can you do what you need using only the base class and no custom code?
    Keep me posted!

  • This.stage in a SWF loaded into Flex

    I'm running into an issue where I have a SWF created in Flash that adjusts its size according to parameters using Stage.scaleMode = StageScaleMode.NO_SCALE and Stage.align = StageAlign.TOP_LEFT, but for some reason the reference to this.stage is lost when its loaded into Flex. In Flex, I receive an error for Cannot access property or method of a null object reference. Is there some conflict with this.stage inside of Flex?
    Thanks,
    Michael

    Make sure you are accessing this.stage property late enough during the initialization of your application.
    For instance, if you've got an application event trigger a call to an init() function, make sure the trigger is applicationComplete and not creationComplete.
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
       applicationComplete="init()">
    In order to access an application's stage property, to add an event listener for instance, you'll need to make use of the applicationComplete event. This event is triggered a little later in the application initialization process.
    Let me know if that does/not help.
    Ben Edwards

  • Reduce Flex application initial loading time

    Comparing to HTML, Flex's initial load time is very long. How
    to reduce the initial loading time to the level that is
    comparable to HTML's loading time for the page content? Any
    best practice or rules to follow?

    Ok, OK! What's the specs?
    How long is the load time? Please don't say "very long".
    Let's see the spec. Oh, and can you give me a load time for the
    mythologocal HTML page in question, just so I can compare?
    I gotta tell ya, I sometimes take a nap when I'm loading half
    the ASP pages I stumble across nowadays.
    Here's a page from the Los Angeles times--html--- coming in @
    6-7 seconds.
    http://latimesblogs.latimes.com/lanow/2009/02/los-angeles-pay.html
    Another example: from CNN.com, coming in at about 10-11
    seconds. Unbelievable.
    http://www.cnn.com/video/#/video/showbiz/2009/02/03/wynter.simpson.scientology.cnn
    I've got a 350Kb Flex app using RSLs which loads in about 5
    seconds. I'm kicking @ss compared to a lot of professional web
    sites out there. Think that's too slow? Compared to what???

  • Stop flex application to load after clicking of stop button on browser

    Hi,
    I am running in a problem where i have the flex application, while loading the application in the middle of the application page i want to stop loading the application on clicking of browsers stop button.
    Please help me....
    thanks in advance...

    One technique woudl be to create a new button that the user would interpret as the submit button (I will call this a pseudo submit button). You would make the real submit button invisible (so the user cannot see it or click on it, but it can still be used programmatically). Now on the pseudo submit button put your code to validate your information. If this validation passes then click the real submit button. To do this run this code:
    submitbuttonname.execEvent("click");
    If the validation fails then put a message up. In this technique the real submit cannot be pushed until the validate succeeds.
    Hope this helps.

  • SQL*Loader-951: Error calling once/load initialization

    Dear all,
    11g on solaris 10.
    Dear all,
    When loading data using the below :
    sqlldr username/password@db control=data.ctl direct=true errors=10000 readsize=1048576 log=databill.log
    data loading successful.
    but when am speeding up the same and trying to load as below :
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true bindsize= 5048576 multithreading=true log=databill.log
    SQL*Loader-951: Error calling once/load initialization
    ORA-26002: Table username.table has index defined upon it.
    If I drop index, and run the same it works fine.. is there way I can speed up the insert (append) using the above
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true bindsize= 5048576 multithreading=true log=databill.log
    control file :
    UNRECOVERABLE
    LOAD DATA
    INFILE "databill.dat" "str X'0c'"
    BADFILE "databill.bad"
    DISCARDFILE "databill.dis"
    APPEND
    PRESERVE BLANKS
    INTO TABLE username.databill_TEST
    FIELDS TERMINATED BY X'07' TRAILING NULLCOLS
    Thanks
    Kai

    Thanks ,
    when using ,
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true readsize=1048576 bindsize= 5048576 multithreading=true log=databill.log
      12048217 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
      Date cache:
       Max Size:      1000
       Entries :       424
       Hits    :  81540372
       Misses  :         0
    Bind array size not used in direct path.
    Column array  rows :    5000
    Stream buffer bytes:  256000
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:      12048217
    Total logical records rejected:         0
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:     3767
    Total stream buffers loaded by SQL*Loader load thread:    11300
    Run began on Thu Dec 17 19:36:01 2009
    Run ended on Thu Dec 17 19:42:16 2009
    Elapsed time was:     00:06:14.25
    CPU time was:         00:02:29.55when using
    sqlldr username/password@db control=data.ctl direct=true errors=10000 readsize=1048576 log=databill.log
      12048217 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
      Date cache:
       Max Size:      1000
       Entries :       424
       Hits    :  81540372
       Misses  :         0
    Bind array size not used in direct path.
    Column array  rows :    5000
    Stream buffer bytes:  256000
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:      12048217
    Total logical records rejected:         0
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:     3767
    Total stream buffers loaded by SQL*Loader load thread:    11300
    Run began on Thu Dec 17 04:29:05 2009
    Run ended on Thu Dec 17 04:37:04 2009
    Elapsed time was:     00:07:58.95
    CPU time was:         00:03:04.94How can I acheive maxium loading performance, what do I have to add to this :
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true readsize=1048576 bindsize= 5048576 multithreading=true log=databill.log
    Please guide
    Kai

  • Down loaded 802.11n enabler now loading pages are at a crawl

    Down loaded 802.11n enabler now loading pages are at a crawl? Have a Linksys wrt160n what should be my settings to get speeds at least back to before the down load.
    Now at WAP personal, mixed, 20-40 on the Linksys
    saw this after the down load when trying to load
    Aug 20 01:24:49 my-name-computer-2 mDNSResponder: Repeated transitions for interface en1 (192.168.1.102); delaying packets by 5 seconds
    Aug 20 01:24:52 my-name-computer-2 mDNSResponder: NOTE: Wide-Area Service Discovery disabled to avoid crashing defective DNS relay 68.238.64.12.

    Meant WPA

  • MacBook Air 2011, running Lion 10.7.2, and Safari won't load any pages. Firefox loads everything just fine. What's going on?

    I have a MacBook Air 2011, running Lion 10.7.2, and Safari won't load any pages. Firefox loads everything just fine. What's going on?

    d Pacifist to reinstall both the Safari
    application and the WebKit framework
    was that before the 10.4.6 combo was applied?
    Nope, I tried the Pacifist route after applying the combo update.
    It does sound as if webkit is busted at the moment.
    What version of osx is on your install disks?
    Not sure, I'll have to check them.
    I'd like to avoid a archive & install, but I'm beginning to think it's my only remaining option.

  • I have a ipad 1. I seem to be having a lot of connectivity issues. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop.

    I seem to be having a lot of connectivity issues my iPad. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop. It seems I have to turn it completely off and restart.
    Anyone had these issues?

    Settings > General > Reset > Reset network settings

  • Loading multiple files with SQL Loader

    Hello.
    I will appreciate your recommendation about the way to load multiple files (to multiple tables) using SQL Loader with only one Control file.
    file1 to load to Table1, file2 to load to Table2 etc.
    How the Control file should look like?
    I was looking on Web, but didn't find exactly what I need.
    Thanks!

    Ctl File : myctl.ctl
    ---------- Start ---------
    LOAD DATA
    INFILE 'F:\sqlldr\abc1.dat'
    INFILE 'F:\sqlldr\abc2.dat'
    INTO TABLE hdfc1
    (TRANS_DATE CHAR,
    NARRATION CHAR,
    VALUE_DATE CHAR,
    DEBIT_AMOUNT INTEGER,
    CREDIT_AMOUNT INTEGER,
    CHQ_REF_NUMBER CHAR,
    CLOSING_BALANCE CHAR)
    INTO TABLE hdfc2
    (TRANS_DATE CHAR,
    NARRATION CHAR,
    VALUE_DATE CHAR,
    DEBIT_AMOUNT INTEGER,
    CREDIT_AMOUNT INTEGER,
    CHQ_REF_NUMBER CHAR,
    CLOSING_BALANCE CHAR)
    -----------End-----------
    Sqlldr Command
    sqlldr scott/tiger@dbtalk control=F:\sqlldr\myctl.ctl log=F:\sqlldr\ddl_file1.txt
    Regards,
    Abu

  • How do I create a local AIR app that loads a network resource that loads a network resource?

    Ok, when you think about it, what I'm trying to accomplish
    isn't that difficult, yet I'm running into security sandbox
    violations all over the place.
    Here's the scenario:
    - I have a network-enabled SWF that lives in a web server,
    that pulls external content via the network. That part works fine
    when you run it as itself.
    - THEN, I have an AIR application that is nothing but a
    "stub" that loads that network-enabled SWF from a web server, that
    in turn is supposed to pull the external content from the network.
    It seems easy: I don't want to have to bundle up that same
    main SWF as an AIR application as that would create two code bases
    to maintain should there be any future bug fixes. Count that
    against countless installs on both the web-version and the desktop
    version, and there's lots of variables. So I just wanted the AIR
    application to pull that single SWF off the server and have it do
    its work, independent of the AIR application.
    However, the problem I'm running into is:
    quote:
    SecurityError: Error #2142: Security sandbox violation: local
    SWF files cannot use the LoaderContext.securityDomain property.
    app:/buzztv_desktop_0.1.swf was attempting to load
    http://localhost/widget/widget.swf.
    at flash.display::Loader/_load()
    at flash.display::Loader/load()
    There was a previous instance of that same error that
    referenced Stage, but I solved that by wrapping the main function
    in an if (stage) {}, so this is the next error on the list. I have
    a feeling that if I've encountered these two errors already, there
    are more lined up behind them.
    So I tried something like
    quote:
    _loader.load(request, new LoaderContext(true, null,
    SecurityDomain.currentDomain));
    ...thinking that it might help, but it didn't.
    Is there a reasonable solution to this without changing the
    entire workflow of the project, or do I simply have to have the
    same main SWF as two code bases, one for the embeddable web
    version, and one for the desktop version (read: they are intended
    to do the same exact thing, no differing features, no desktop
    notifications, etc.)?
    Thanks in advance!

    Hi,
    I have simillary problem, please, did you find solution?
    Thx

Maybe you are looking for

  • How 2 read all the line of a sales order text ID plz

    Dear all I have the following to read sales order text of single line of limited char(40)   TIDNO = '0003'.     CONCATENATE SSORD                 LIPS-POSNR     INTO        TNAME.     TOBJT = 'VBBP'.     PERFORM FINDTEXT.     LOOP AT MSLINES.       W

  • JBO-25005 implementing multi-entity business rules (solved)

    Hi guys, I've been following through some examples in the "businessrules in adf" whitepaper you recently updated. I'm attempting a multi-entity collection within parent (6.1.4.2) on page 42. I have two entities defined as a composition and as a simpl

  • JavaScript functions across the forms?

    Hello, We are developing set of forms using LiveCycle Designer. The forms are complex and need some involved JavaScripts. I found great feature where we can insert a script object to hold common JavaScript functions and use those anywhere in the form

  • Need to enable or activate the checkboxes in se51's layout

    Gurus,   I have created the check boxes in se51 layout but when i execute the program & click on that check boxes it is not working. So kindly suggest me some workaround. Every response would be appreciable. Reagrds VICKy

  • This Is Just Great. HP Support Assistant Issue (Screenshot Provided To Help Fix)

    Hey. I checked the correct boxes and clicked on "Apply" but nothing happens. Below is a screenshot of what I mean. [img]http://i1059.photobucket.com/albums/t426/kokolovich/Untitled_zps63aeee05.png[/img] This question was solved. View Solution.