AddChildAt & levels...

Hi. I'm loading swf files in an array into a main swf container, and simply wish to keep one mc - the navmenu - on top of all swfs, but I'm struggling. I'm trying
function(){return A.apply(null,[this].concat($A(arguments)))}
var navmenu = new NavMenu();
addChildAt(navmenu,1);
after the array but the swf's are still loading on top. I've also tried:
function(){return A.apply(null,[this].concat($A(arguments)))}
var navmenu = new NavMenu();
var highest_depth: int = this.numChildren;
this.addChildAt( navmenu, highest_depth );
and same thing. I'm brown-green with AS3 and definitely new to arrays - Do I need to put the navmenu in a seperate array? My full code:
function(){return A.apply(null,[this].concat($A(arguments)))}
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
// load logo
var logo = new MyMovieClip();
addChild(logo);
/// create mc
var tl:MovieClip = this;
// arrary, loaders, etc
var loaderNum:uint = 0;
var swfArray:Array = ["news.swf", "biopress.swf", "sounds.swf", "images.swf", "video.swf", "shows.swf", "store.swf", "contact.swf", "guestbook.swf", "blog.swf"];
tl["loader_0"] = new Loader();
tl["loader_1"] = new Loader();
tl["loader_0"].contentLoaderInfo.addEventListener(Event.COMPLETE,loadCompleteF);
tl["loader_1"].contentLoaderInfo.addEventListener(Event.COMPLETE,loadCompleteF);
// listener for first loader_0 center-aligning
tl["loader_0"].contentLoaderInfo.addEventListener(Event.COMPLETE,centerLoader);
tl["loader_0"].load(new URLRequest(swfArray[0]));
addChildAt(tl["loader_1"],0);
function centerLoader(e:Event){
addChildAt(tl["loader_0"],0);
function loadCompleteF(e:Event){
loaderNum=(loaderNum+1)%2;
e.target.loader.x=0;
e.target.loader.y=0;
stage.addEventListener(Event.RESIZE, resizeHandler);
function resizeHandler(e:Event){
var sw:int = int(stage.stageWidth);
var sh:int = int(stage.stageHeight);
tl["loader_0"].x= 0;
tl["loader_0"].y= 0;   
tl["loader_1"].x= 0;
tl["loader_1"].y= 0;
logo.x = sw - 190;
logo.y = sh - 70;
resizeHandler(null);
// load navmenu
//NavLoader = new Loader();
//NavLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, NavOnComplete);
var navmenu = new NavMenu();
addChildAt(navmenu,1);
navmenu.x = 52;
navmenu.y = 15;
Thanks so much for any tips and/or help. And I hope I don't critcized again for coming to a support forum looking for, well, support.

If all you want to do is "keep one mc - the navmenu - on top of all swfs...", there's a simple solution to that. Using addChild will add objects to the display list in a chronoloigical order, i.e. - the next object you add will be one level up from the last object you added. So, in order to keep the navMenu on top, just make sure it's last object you add with addChild, like so:
stage.addChild(swf1);
stage.addChild(swf2);
stage.addChild(swf3);
stage.addChild(navMenu);
hope that helps,
~chipleh

Similar Messages

  • CellRenderer is not displaying icons in a loaded swf, throws null child addChildAt

    I'm working with a component that extends List.  It works fine unless it's loaded into another swf.
    It cannot find the library symbols.  I know the symbols exist in the loaded swf. 
    Is there a quick fix to this?

    I have the component in the top level also,
    I get this error:
    TypeError: Error #2007: Parameter child must be non-null.
              at flash.display::DisplayObjectContainer/addChildAt()
              at fl.controls::BaseButton/drawBackground()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\BaseButton.as:615]
              at fl.controls::LabelButton/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\LabelButton.as:724]
              at fl.core::UIComponent/drawNow()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1343]
              at fl.controls::List/drawList()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:594]
              at fl.controls::List/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:474]
              at .tree::TreeList/draw()
              at fl.core::UIComponent/callLaterDispatcher()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1532]
    I've checked the definitions for the tree component,
    The LabelButton and List I don't have much control over.
    I'm not sure how to fix this.  The xml is correct and loads easily if it's in the root document.
    The list component doesn't load the labels, It stops on the first one.
      What do I do next?

  • AddChildAt bug?

    Hello there!
    I just figured out a strange behavior of the addChildAt method and would like to share it.
    On the example below we have 2 rectangles. On the Stage MOUSE_CLICK event, it take the rect1 and put it on index 1. The expected behavior, according to the documentation, is to level up all the DisplayObject from that index ahead. So the rectangle rect1 should not change it's index, staying just below rect2. Right? But the Flash still change the positions of the two DisplayObjects, putting the rect1 above the rect2.
    Look:
    var rect1:Sprite = new Sprite();
    rect1.graphics.beginFill( 0x000000 );
    rect1.graphics.drawRect( 0, 0, 150, 150 );
    rect1.x = 100;
    rect1.y = 100;
    var rect2:Sprite = new Sprite();
    rect2.graphics.beginFill( 0xff0000 );
    rect2.graphics.drawRect( 0, 0, 150, 150 );
    rect2.x = 175;
    rect2.y = 175;
    addChild(rect1);
    addChild(rect2);
    this.stage.addEventListener( MouseEvent.CLICK, this.click );
    function click( foo:MouseEvent ):void
         addChildAt( rect1, 1 );
    Conclusion: when a movieclip is sent to the index just above it, the addChildAt method changes it behavior, putting the reordered object above the next one, instead of leveling up the next one and higher levels.
    Is this right? Is this a bug or did I missed anything?
    Thank you,
    CaioToOn!

    Hi, Greg.
    This is why I'm saying that the addChildAt method does not act like the documentation says:
    If you specify a currently occupied index position, the child object that exists at that position and all higher positions are moved up one position in the child list.
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/
    If I had sent the DisplayObject (rect1) to the depth 1, that is used by another DisplayObject (rect2), so it should move the rect2 up ( rect1 on depth 1 and rect2 on depth 2), after that, an empty slot would move down all the DisplayObjects again, leaving the rect1 again in 0, and rect2 in 1, changing anything at all, on the display list. Wasn't that the expected?
    Looking further, I just realized that if I move any DisplayObejct to a higher depth that is ocuppied by it, the behavior is also unexpected. In the code below, when a MOUSE_CLICK is dispatched, the movie rect1 is moved to the depth 2. The expected is that the DO rect3 (the one at depth 2), should be moved up with rect4, higher than the depth 2. After that, as the depth 0 became empty, the list should be all moved down. Finishing on rect2 at 0, rect3 at 1, rect1 at 2 and rect4 at 3. But it's not the case.
    var rect1:Sprite = new Sprite();
    rect1.graphics.beginFill( 0x000000, .85 );
    rect1.graphics.drawRect( 0, 0, 150, 150 );
    rect1.x = 100;
    rect1.y = 100;
    var rect2:Sprite = new Sprite();
    rect2.graphics.beginFill( 0xff0000, .85 );
    rect2.graphics.drawRect( 0, 0, 150, 150 );
    rect2.x = 175;
    rect2.y = 175;
    var rect3:Sprite = new Sprite();
    rect3.graphics.beginFill( 0x0000ff, .85 );
    rect3.graphics.drawRect( 0, 0, 150, 150 );
    rect3.x = 50;
    rect3.y = 200;
    var rect4:Sprite = new Sprite();
    rect4.graphics.beginFill( 0x00ff00, .85 );
    rect4.graphics.drawRect( 0, 0, 150, 150 );
    rect4.x = 150;
    rect4.y = 225;
    addChild(rect1);
    addChild(rect2);
    addChild(rect3);
    addChild(rect4);
    this.stage.addEventListener( MouseEvent.CLICK, this.click );
    function click( foo:MouseEvent ):void
    trace(getChildIndex( rect1 ));
    trace(getChildIndex( rect2 ));
    trace(getChildIndex( rect3 ));
    addChildAt( rect1, 2 );
    trace(getChildIndex( rect1 ));
    trace(getChildIndex( rect2 ));
    trace(getChildIndex( rect3 ));
    Thank you for the replies!
    CaioToOn!

  • Communicate with SWF loaded on other level

    How can a swf on level 1 access a SWF on level 0? The SWF on
    level1 added the other SWF with this command
    this.addChildAt(loader, 0);. It seems there must be a way to
    use loader.content to access this SWF but nothing I've tried
    works.

    Hi Darren,
    That was actually slower than the summarize-approach.
    I did some more testing and found that making a calculated member in MDX to get up to the ALL-Level for my Dimensions made it much faster than giving the ALL-Level in the DAX-calculation:
    With Member Measures.[ContractAmount ] AS
       Measures.[HasContractRow] *
       (Measures.[ContractAmount]
        ,[Dim2].[Attribute2].[All]
     ,[Dim3].[Attribute3].[All]
     ,[Dim10].[Attribute10].[All]
    Where the HasContractRow is defined as a DAX calculation as:
    HasContractRow:=if( ISEMPTY('Contracts'); BLANK(); 1)
    I Guess it makes better use of autoexists in this way?

  • Problem with addChildAt()

    i have a problem with addChildAt();
    it's method not replace sprite or mc on thos level exempl
    addChildAt(mySprite,0);
    it's every time place on new level and work like
    addChild(mySprite)
    sprite overwrite only when has same name (class)

    yes i use like this
    try {
    MyHolder.removeChild (remSprite);
    } catch (e:Error) {
    // catch block
    }

  • Resetting movieclip between levels and passing required variables

    Hi there,
    I'm currently working on my first flash game and have managed to near enough get everything working...
    I can play each level individually by manually changing the variable 'level =' (to whichever level I want to play) in the actionscript..
    Now i need to find out the correct way to reset the movie after each level but still pass the 'currentTime' Timer variable and the 'level' variable over...
    Is there any usual practice way of doing this ??
    Would I use variables I have saved in the init() function...
    I really hope someone can help I'm so close to being finished..

    OK this is what I have done.. all the eventListeners from my function Main() copied into the levelEnd() function... is this reammy good practise ?? Is there not a way I can just call Main() again :-
    function levelEnd(event:Event):void {
                gamePage = new GamePage;
                removeChildAt(0);
                addChildAt(gamePage, 0);
                mainTimer.start();
                //Is this in between really good practice ??
                gamePage.helpIcons.visible = false;
                gamePage.help_txt.text = "Passez la souris sur les indices à droite pour connaître leur signification.";
                var persoArray:Array = [gamePage.a1, gamePage.a2, gamePage.a3, gamePage.a4, gamePage.a5];
                var animalArray:Array = [gamePage.b1, gamePage.b2, gamePage.b3, gamePage.b4, gamePage.b5];
                var persoHitArray:Array = [gamePage.h1, gamePage.h2, gamePage.h3, gamePage.h4, gamePage.h5];
                var animalHitArray:Array = [gamePage.h6, gamePage.h7, gamePage.h8, gamePage.h9, gamePage.h10];
                function addPersoListeners():void {
                    for(var i:uint = 0; i < persoArray.length; i++) {
                        (persoArray[i]).addEventListener(MouseEvent.MOUSE_DOWN,persoMouseDown);
                        (persoArray[i]).addEventListener(MouseEvent.MOUSE_UP,persoMouseUp);
                        (persoArray[i]).buttonMode = true;
                function addAnimalListeners():void {
                    for(var i:uint = 0; i < persoArray.length; i++) {
                        (animalArray[i]).addEventListener(MouseEvent.MOUSE_DOWN,animalMouseDown);
                        (animalArray[i]).addEventListener(MouseEvent.MOUSE_UP,animalMouseUp);
                        (animalArray[i]).buttonMode = true;
                function persoHitAreaListeners():void {
                    for(var i:uint = 0; i < persoHitArray.length; i++) {
                        (persoHitArray[i]).visible = false;
                function animalHitAreaListeners():void {
                    for(var i:uint = 0; i < animalHitArray.length; i++) {
                        (animalHitArray[i]).visible = false;
                addPersoListeners();
                addAnimalListeners();
                persoHitAreaListeners();
                animalHitAreaListeners();
                //Add event listeners
                buttons.rulesButton.addEventListener(MouseEvent.CLICK,onRulesButtonClick);
                buttons.startGameButton.addEventListener(MouseEvent.CLICK,onStartGameButtonClick);
                buttons.highScoresButton.addEventListener(MouseEvent.CLICK,onHighScoresButtonClick);
                buttons.infoButton.addEventListener(MouseEvent.CLICK,onInfoButtonClick);
                mainTimer.addEventListener(TimerEvent.TIMER, incrementCounter);
                countdownTimer.addEventListener(TimerEvent.TIMER_COMPLETE, levelEnd);
                gamePage.validerButton.addEventListener(MouseEvent.CLICK,onValiderButtonClick);
                gamePage.recommencerButton.addEventListener(MouseEvent.CLICK,onRecommencerButtonClick);
                gamePage.infoBox.l1i1.addEventListener(MouseEvent.MOUSE_OVER,l1i1MouseOver);
                gamePage.infoBox.l1i1.addEventListener(MouseEvent.MOUSE_OUT,l1i1MouseOut);
                gamePage.infoBox.l1i2.addEventListener(MouseEvent.MOUSE_OVER,l1i2MouseOver);
                gamePage.infoBox.l1i2.addEventListener(MouseEvent.MOUSE_OUT,l1i2MouseOut);
                if(level == 1) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .01;
                    gamePage.house1.visible = false;
                    gamePage.house5.visible = false;
                    gamePage.a4.visible = false;
                    gamePage.a5.visible = false;
                    gamePage.b1.visible = false;
                    gamePage.b2.visible = false;
                    gamePage.b3.visible = false;
                    gamePage.b4.visible = false;
                    gamePage.b5.visible = false;
                    mainTimer.start();
                } else if(level == 11) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .11;
                    gamePage.house1.visible = false;
                    gamePage.house5.visible = false;
                    gamePage.a4.visible = false;
                    gamePage.a5.visible = false;
                    gamePage.b1.visible = false;
                    gamePage.b2.visible = false;
                    gamePage.b3.visible = false;
                    gamePage.b4.visible = false;
                    gamePage.b5.visible = false;
                } else if(level == 21) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .21;
                    gamePage.house1.visible = false;
                    gamePage.house5.visible = false;
                    gamePage.a4.visible = false;
                    gamePage.a5.visible = false;
                    gamePage.b4.visible = false;
                    gamePage.b5.visible = false;
                } else if(level ==31) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .31;
                    gamePage.house1.visible = false;
                    gamePage.house5.visible = false;
                    gamePage.a4.visible = false;
                    gamePage.a5.visible = false;
                    gamePage.b4.visible = false;
                    gamePage.b5.visible = false;
                } else if(level == 41) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .41;
                    gamePage.house1.visible = false;
                    gamePage.house5.visible = true;
                    gamePage.a5.visible = false;
                    gamePage.b1.visible = false;
                    gamePage.b2.visible = false;
                    gamePage.b3.visible = false;
                    gamePage.b4.visible = false;
                    gamePage.b5.visible = false;
                } else if(level == 51) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .51;
                    gamePage.house1.visible = true;
                    gamePage.house5.visible = true;
                } else if(level == 61) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .61;
                    gamePage.house1.visible = true;
                    gamePage.house5.visible = true;
                } else if(level == 71) {
                    gamePage.difficulty.difficultyIndicator.scaleY = .71;
                    gamePage.house1.visible = true;
                    gamePage.house5.visible = true;

  • Error Level 10: I have this error where a plugin broke that I had to remove because it was not finding it. How do i install it back so it functions?

    8/29/2014 7:15am
    It seems to me that if Microsoft's platform can not fix it with the troubleshooter that the troubleshooter sucks.  It does not know when errors are thrown so your developer sucks on creating software for errors that are popping up in your software?
    if a error is thrown in Windows 8 it should catch it upon a thrown error in programming? This hsould be a level 1 ticket. Since when I call you support for error in your product no one wants to address problems in your software and get mea tech to resolve
    it?
    The question now is how do I fix this and why is it causing me an internal error 500 for my web server install?
    I may have other issues but I need access to my web server through my browser I used fsocketopen to troubleshoot it?
    It gets back a internal 500 on Gecko process in firefox and on IE it just won't serve out the document in my web server abyss or apache? So the question is what service is broken so I can't serve my [web server] pages out? Let me go through all the event
    logs that I have with errors below?
    Under Applications:
    1) Failure to load the application settings for package microsoft.windowscommunicationsapps_8wekyb3d8bbwe. Error Code: 10
    2) LMS Service cannot connect to Intel(R) MEI driver. Error level 1
    3) Failure to load the application settings for package microsoft.windowscommunicationsapps_8wekyb3d8bbwe. Error Code: 3
    4) SearchIndexer (3476) Windows: The database engine attached a database (1, C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb). (Time=0 seconds)
    5) Internal Timing Sequence: [1] 0.000, [2] 0.000, [3] 0.125, [4] 0.000, [5] 0.000, [6] 0.000, [7] 0.000, [8] 0.000, [9] 0.000, [10] 0.000, [11] 0.000, [12] 0.000.
    Saved Cache: 1 0: Evenet Id level 326.
    6) SearchIndexer (3476) Windows: The database engine started a new instance (0). (Time=0 seconds)
    7) Internal Timing Sequence: [1] 0.000, [2] 0.000, [3] 0.000, [4] 0.000, [5] 0.000, [6] 0.000, [7] 0.000, [8] 0.000, [9] 0.000, [10] 0.000. eveent level 105
    8) SearchIndexer (3476) Windows: The database engine (6.03.9600.0000) is starting a new instance (0). Error Level 102
    Under Security:
    1) We might want to check this out here User Account Management changed?
    Under Setup: no errors.
    Under System below:
    1) Name resolution for the name win8.ipv6.microsoft.com. timed out after none of the configured DNS servers responded.Event level  1014
    2) Intel(R) 82567LM-3 Gigabit Network Connection
     Network link is disconnected.
    3) The system has returned from a low power state.
    Sleep Time: ‎2014‎-‎08‎-‎29T05:10:07.602701000Z
    Wake Time: ‎2014‎-‎08‎-‎29T13:13:47.945773100Z
    Wake Source: Device -USB Root Hub : Error level 1
    4) The browser has forced an election on network \Device\NetBT_Tcpip_{58565081-3013-43B6-AE07-CC89C71F6036} because a master browser was stopped. Event Id 8033.
    5) The driver \Driver\WudfRd failed to load for the device SWD\WPDBUSENUM\_??_USBSTOR#Disk&Ven_EPSON&Prod_Storage&Rev_1.00#7&2d369789&0&533536503532383375&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}. Event error 219.
    6) The driver \Driver\WudfRd failed to load for the device SWD\WPDBUSENUM\{3c83e4cf-28e9-11e4-827b-b8ac6f8aec21}#0000000000004000. Error Level Id 219.
    7) The UMDF reflector was unable to complete startup because the WUDFPf service was not found.  This service may be started later during boot, at which point Windows will attempt to start the device again. Error Id 10114.
    8) Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine.  The data field contains the error number. Event Id 15005.
    9) The supersafer64 service failed to start due to the following error:
    The system cannot find the file specified. Event ID 7000.
    10) The SNMP Service encountered an error while accessing the registry key SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapConfiguration. Error: 1500.
    11) The SAS Core Service service failed to start due to the following error:
    The system cannot find the file specified. 7000
    12 The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 1. The site has been disabled. The data field contains the error number. 1004
    13) The driver \Driver\WudfRd failed to load for the device SWD\WPDBUSENUM\_??_USBSTOR#Disk&Ven_EPSON&Prod_Storage&Rev_1.00#7&2d369789&0&533536503532383375&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}. Error level 219
    14) Name resolution for the name win8.ipv6.microsoft.com. timed out after none of the configured DNS servers responded. Error level 1014.
    Now I need help with all these error since Windows 8 with maybe 15 applications is failing after no setup errors? What would cause these we need to find out? Since I can not use your product with so many developer errors? and to put out a products that doesn
    work is pointless? So please call me and have some help me through the errors and tell your support to stop ignoring the errors that broke the products?
    Sincerely, William Dunlap {removed} N. Academy blvd, 201, Colorado Springs, CO 80910 http:\\interfacesone.fnhost.org
    {removed}.  I need a tech to help me get my web server up?

    So now you don't release the security breaches in windows 8. You mean to tell me that you can use Powershell - Using WMI to breach security in VB apps on the web by getting my file structures?
    What is this all about?
     1 Set VPN NIC Settings
        2 Get Network Data from servers
    Set VPN NIC Settings
    $error.clear | out-null
    cls
    $ErrorActionPreference = "SilentlyContinue"
    if ( $Args.Count -ne 1 ) { "
    Not enough arguments
    Usage :
        script.ps1 server
    "; exit }
    $server = $Args[0].ToLower()
    "We are working with $server"
    $netAdapt = get-wmiobject -class Win32_NetworkAdapter -computer $server
    if (!($netAdapt)) {  
        "Failed to connect to the target server!"
        exit(5)
    foreach ($card in $netAdapt) {
        IF (!([string]::IsNullOrEmpty($card.NetConnectionID))) {
            if ($card.NetConnectionID.CompareTo("VPN Virtual NIC") -eq 0) {
                $myID = $card.DeviceID
    $NAC = [wmi]"\\$server\root\cimv2:Win32_NetworkAdapterConfiguration.index='$myid'"
    $guid=$NAC.settingID
    "Setting DNS Toggles"
    $dnsToggle = $NAC.SetDynamicDNSRegistration(0,0)
    if ($dnsToggle) {
            "Success"
        } else {
            "Failure"
    $strShowNicKeyName = "SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\$guid\connection"
    #$strShowNicKeyName
    $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $server)
    $regKey= $reg.OpenSubKey("$strShowNicKeyName",$true)
    $showIcon = $regKey.GetValue("ShowIcon")
    if (!($showIcon -eq 1)) {
        "The icon is hidden.. Setting it now"
        $setIcon = $regKey.SetValue('ShowIcon',1,'DWORD')
       } else {
        "The icon is visible already."
    "Script Ends"
    Get Network Data from servers
    $myfile = get-content servers.txt
    echo "Server    IPs    Subnet    GW" | out-file "Results.txt" -Append
    foreach ($server in $myfile) {
        Write-Host "Looking at $server"
        $colitems = Get-WmiObject win32_NetworkAdapterConfiguration -computer "$server" -Filter 'IPEnabled = "True"' | select ipaddress,ipsubnet,index,defaultipgateway
        foreach($objItem in $colItems) {
        Write-Host ""
        $myip = $objItem.IPAddress -join " "
        $mySubnet = $objItem.IPSubnet  
        $myGW = $objItem.DefaultIPGateway
        $temp = $objItem.index
        $myid = Get-WmiObject win32_NetworkAdapter -computer "$server" -Filter "index = $temp" | select  netconnectionid
        $myid = $myid -replace "@{netconnectionid=",""
        $myid = $myid -Replace "}",""
        echo "$server    $myip    $mySubnet    $myGW    $myid"
        echo "$server    $myip    $mySubnet    $myGW    $myid"  | out-file "Results.txt" -Append
    Is this possible on any machine with power shell and if so how is access done?
    William Dunlap

  • Logical Level in Content Tab

    Hi,
    What is the use of Logical Level under Content Tab in Logical Table Source?
    Need more information, docs related to this
    Thanks,
    Satheesh

    Hi
    This logical level is useful for level bases metrics.It shows the levels in your hierarchy.We can give the level in this and in the report it shows the data for that level only.
    See this lnk, http://gerardnico.com/wiki/dat/obiee/measure_level_based
    Thanks
    Don

  • Logical level in Fact tables - best practice

    Hi all,
    I am currently working on a complex OBIEE project/solution where I am going straight to the production tables, so the fact (and dimension) tables are pretty complex since I am using more sources in the logical tables to increase performance. Anyway, what I am many times struggling with is the Logical Levels (in Content tab) where the level of each dimension is to be set. In a star schema (one-to-many) this is pretty straight forward and easy to set up, but when the Business Model (and physical model) gets more complex I sometimes struggle with the aggregates - to get them work/appear with different dimensions. (Using the menu "More" - "Get levels" does not allways give the best solution......far from). I have some combinations of left- and right outer join as well, making it even more complicated for the BI server.
    For instance - I have about 10-12 different dimensions - should all of them allways be connected to each fact table? Either on Detail or Total level. I can see the use of the logical levels when using aggregate fact tables (on quarter, month etc.), but is it better just to skip the logical level setup when no aggregate tables are used? Sometimes it seems like that is the easiest approach...
    Does anyone have a best practice concerning this issue? I have googled for this but I haven't found anything good yet. Any ideas/articles are highly appreciated.

    Hi User,
    For instance - I have about 10-12 different dimensions - should all of them always be connected to each fact table? Either on Detail or Total level.It not necessary to connect to all dimensions completely based on the report that you are creating ,but as a best practice we should maintain all at Detail level only,when you are mentioning any join conditions in physical layer
    for example for the sales table if u want to report at ProductDimension.ProductnameLevel then u should use detail level else total level(at Product,employee level)
    Get Levels. (Available only for fact tables) Changes aggregation content. If joins do not exist between fact table sources and dimension table sources (for example, if the same physical table is in both sources), the aggregation content determined by the administration tool will not include the aggregation content of this dimension.
    Source admin guide(get level definition)
    thanks,
    Saichand.v

  • AiO Remote Ink Levels etc not accessible with USB connection

    My printer prints and scans just fine...except that it ran out of ink after about 15 pages. I'm trying to view the ink levels, but everything in the HP AiO Remote says it's not supported with the USB connection. There's no other way to connect my printer. I need to view the ink levels and be able to put in new ink, but I can't because the software isn't working right. Help?

    Hi @HnnhSmth95, 
    I see by your post that you are unable to view the ink levels by a USB connection. I can help you with this, but I will need some more information.
    What is the full name and product number of your printer? How Do I Find My Model Number or Product Number?
    What operating system are you using? How to Find the Windows Edition and Version on Your Computer.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Simulair report for FBL5N and FBL1N for new general ledger on segment level

    We are working with segments in new G/L ledger. We want to run a open item report where we can combine customers and vendors by segment. The vendors and customers are linked in the master data. In the "old"  reports FBL5N and FBL1N you can do this but not by segment.I found the following report on segment level:
    - S_PCO_36000218 - Receivables: Segment
    - S_PCO_36000219 - Payables: Segment
    What I'm missing is to run 1 report for Customers and vendors. What I'm missing to is that there are only some fields available on line item level. (I like to have invoice number, documentype,.......)
    Is there a standard report for this in new genaral leger?
    Is it possible to ad additional field to th list viewer.

    What is this user license type?  All financial transactions need professional license.
    Thanks,
    Gordon

  • Open and close posting periods for at ledger level

    Hello,
    We are running on ECC6 with the new ledger. We have activated two ledgers (the leading ledger and a non-leading ledger for group reporting). Our client would like to manage the posting period at ledger level.
    Example: during the month closing, the Leading ledger is closed on the previous month at Day +4, while the non-leading ledger is closed at Day +5.
    Is there a way to open/close period at ledger level only ?
    Thank you.
    Best regards,
    Steven Moulinot

    It is possible to assign a different posting period variant to company code in a non-leading ledgers (the extreme right field) in the foll. node in SPRO.
    Financial Accounting (New) -> Financial Accounting Global Settings (New) -> Ledgers -> Ledger -> Define and Activate Non-Leading Ledgers

  • Opening and closing stock at storage location level

    Dear all
    I need a std report which will give the opening and closing stock at storage location level, Or should I go for dev. if yes please guide me.
    Regards
    Samuel

    Hi,
    check if you can use S_P00_07000139 report, select "Display stock movement by plant (with amount) and further select Sloc from layout.
    Regards,
    Vikas

  • Spry menu bar woes (add submenu levels and edit width)

    So i need some spry menu bar help. Apparently as a graphic designer i'm also expected to webdesign, and while i can solve most problems with a good googling, i seem to be at  my wit's end fo this one.  So the site i'm doing has a header ith a horizontal spry pop-up menubar (in Dreamweaver CS4). But some problems arise:  when i manually add another submenu level, they don't show up in chrome or FF, they do werk perfectly in IE6. I just add the following code to the codepage:
    <li><a href="#" class="MenuBarItemSubmenu">audio equipment</a>             <ul>               <li><a href="#">Digital Matrix Systems</a></li>               <ul>               <li><a href="#">R2 Digital Audio Matrix</a></li>               </ul>               <li><a href="#">pre-amplifiers &amp; mixers</a></li>               <ul>               <li><a href="#">PMX124</a></li>               </ul>
    the PMX never pops open in FF an chrome.. Should i be adding anything else to another part of the code?  i'd like my submenu text to have a slight indent? How ever, when i add the indent to ul.menubarhorizontal ul , it elongates the submeny boxes in IE6, while looking normal (width) in chrome and FF. WHat part of the CSS style should i change to just have the text scoot over a bit without it really affecting the box layout? ALso, if anyone could tell me how to add a wee bit of spacing above the text (and beneath), i'd be eternally gratefull.  Also, how do i change the with of the submenus? seing as my main buttons are images, but the names i ned to put in my submenus are turning out to be pretty long...
    HTML code for the menu:
    <tr>     <td><ul id="MenuBar1" class="MenuBarHorizontal">       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Products','','images/knoppenrollover_01.jpg',1)"><img src="images/knoppenbalk_01.jpg" name="Products" width="169" height="41" border="0" id="Products" /></a>         <ul>           <li><a href="#" class="MenuBarItemSubmenu">audio equipment</a>             <ul>               <li><a href="#">Digital Matrix Systems</a></li>               <ul>               <li><a href="#">R2 Digital Audio Matrix</a></li>               </ul>               <li><a href="#">pre-amplifiers &amp; mixers</a></li>               <ul>               <li><a href="#">PMX124</a></li>               </ul>               <li><a href="#">music Sources</a></li>               <li><a href="#">amplifiers</a></li>               <li><a href="#">paging</a></li>               <li><a href="#">speakers</a></li>               <li><a href="#">microphones</a></li>             </ul>           </li>           <li><a href="#">racks and stands</a></li>           <li><a href="#">cables</a></li>         </ul>       </li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Company','','images/knoppenrollover_02.jpg',1)"><img src="images/knoppenbalk_02.jpg" name="Company" width="165" height="41" border="0" id="Company" /></a>         <ul>           <li><a href="#">Who are we?</a></li>           <li><a href="#">history</a></li>   <li><a href="#">contact us</a></li>   <li><a href="#">philosophy</a></li>   <li><a href="#">careers</a></li>         </ul>       </li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('news','','images/knoppenrollover_03.jpg',1)"><img src="images/knoppenbalk_03.jpg" name="news" width="166" height="41" border="0" id="news" /></a></li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('projects','','images/knoppenrollover_04.jpg',1)"><img src="images/knoppenbalk_04.jpg" name="projects" width="166" height="41" border="0" id="projects" /></a></li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Downloads','','images/knoppenrollover_05.jpg',1)"><img src="images/knoppenbalk_05.jpg" name="Downloads" width="165" height="41" border="0" id="Downloads" /></a>         <ul>           <li><a href="#">catalogs</a>            </li>           <li><a href="#">manuals</a></li>           <li><a href="#">software</a></li>           <li><a href="#">documents</a></li>           <li><a href="#">pricelists</a></li> </ul>       </li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact','','images/knoppenrollover_06.jpg',1)"><img src="images/knoppenbalk_06.jpg" name="Contact" width="169" height="41" border="0" id="Contact" /></a></li>     </ul></td>
    sprymenuhorizontal.css:
    @charset "UTF-8";  /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */  /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */  /*******************************************************************************   LAYOUT INFORMATION: describes box model, positioning, z-order   *******************************************************************************/  /* The outermost container of the Menu Bar, an auto width box with no margin or padding */ ul.MenuBarHorizontal {      margin: 0;      padding: 0;      list-style-type: none;      font-size: 14px;      cursor: default;      width: 1010px;      font-family: Arial, Helvetica, sans-serif; } /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: [url]http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html[/url] */ ul.MenuBarActive {      z-index: 1000; } /* Menu item containers, position children relative to this container and are a fixed width */ ul.MenuBarHorizontal li {      margin: 0;      padding: 0;      list-style-type: none;      font-size: 100%;      position: relative;      text-align: left;      cursor: pointer;      float: left; } /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */ ul.MenuBarHorizontal ul {      list-style-type: none;      font-size: 100%;      z-index: 1020;      cursor: default;      width: 166px;      position: absolute;      left: -1000em;      background-color: #6C6C6C;      height: 0px;      margin-top: 0px;      margin-right: 0em;      margin-bottom: 10px;      margin-left: 0em;      text-align: right;      text-indent: 0em;      padding-top: 0px;      padding-right: 0em;      padding-bottom: 0px;      padding-left: 0px;      border-top-width: 1px;      border-right-width: 1px;      border-bottom-width: 1px;      border-left-width: 1px;      border-top-style: solid;      border-right-style: solid;      border-bottom-style: solid;      border-left-style: solid;      border-top-color: #666;      border-right-color: #666;      border-bottom-color: #666;      border-left-color: #666; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible {      left: auto;      height: 0px; } /* Menu item containers are same fixed width as parent */ ul.MenuBarHorizontal ul li {      width: 166px; } /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */ ul.MenuBarHorizontal ul ul {      position: absolute;      height: 41px;      margin-top: 0%;      margin-right: 0%;      margin-bottom: 0px;      margin-left: 162px;      float: right; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible {      left: auto;      top: 0; }  /*******************************************************************************   DESIGN INFORMATION: describes color scheme, borders, fonts   *******************************************************************************/  /* Submenu containers have borders on all sides */ ul.MenuBarHorizontal ul {      border: 1px solid #666;      background-color: #6C6C6C;      height: 0px;      padding-left: 0em; } /* Menu items are a light gray block with padding and no text decoration */ ul.MenuBarHorizontal a {      display: block;      cursor: pointer;      background-color: #6C6C6C;      padding: 0em;      color: #FC0;      text-decoration: none;      font-size: 14px;      margin-left: 0em; } /* Menu items that have mouse over or focus have a blue background and white text */ ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus {      background-color: #FC0;      color: #FFF; } /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */ ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible {      background-color: #FC0;      color: #FFF; }  /*******************************************************************************   SUBMENU INDICATION: styles if there is a submenu under a given menu item   *******************************************************************************/  /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal a.MenuBarItemSubmenu {      background-image: url(SpryMenuBarDown.gif);      background-repeat: no-repeat;      background-position: 98% 50%; } /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenu {      background-image: url(SpryMenuBarRight.gif);      background-repeat: no-repeat;      background-position: 98% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal a.MenuBarItemSubmenuHover {      background-image: url(SpryMenuBarDownHover.gif);      background-repeat: no-repeat;      background-position: 98% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover {      background-image: url(SpryMenuBarRightHover.gif);      background-repeat: no-repeat;      background-position: 98% 50%; }  /*******************************************************************************   BROWSER HACKS: the hacks below should not be changed unless you are an expert   *******************************************************************************/  /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */ ul.MenuBarHorizontal iframe {      position: absolute;      z-index: 1010;      filter:alpha(opacity:0.1); } /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */ @media screen, projection {      ul.MenuBarHorizontal li.MenuBarItemIE      {           display: inline;           f\loat: left;           background: #FFF;      } }[/SPOILER]  any help would be greatly appreciated, as i've been fidgiting with this thing for 2 days now, to no satisfying effect...

    since the layout of the pasted text got all weird, here i'm trying it again.
    sprymenubarhorizontal.css:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    cursor: default;
    width: 1010px;
    font-family: Arial, Helvetica, sans-serif;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 166px;
    position: absolute;
    left: -1000em;
    background-color: #6C6C6C;
    height: 0px;
    margin-top: 0px;
    margin-right: 0em;
    margin-bottom: 10px;
    margin-left: 0em;
    text-align: right;
    text-indent: 0em;
    padding-top: 0px;
    padding-right: 0em;
    padding-bottom: 0px;
    padding-left: 0px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #666;
    border-right-color: #666;
    border-bottom-color: #666;
    border-left-color: #666;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    height: 0px;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 166px;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    height: 41px;
    margin-top: 0%;
    margin-right: 0%;
    margin-bottom: 0px;
    margin-left: 162px;
    float: right;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #666;
    background-color: #6C6C6C;
    height: 0px;
    padding-left: 0em;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #6C6C6C;
    padding: 0em;
    color: #FC0;
    text-decoration: none;
    font-size: 14px;
    margin-left: 0em;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #FC0;
    color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #FC0;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

  • Duplicate records for Sale Order Cycle Report(excluding item level detail)

    I have posted this issue in number of forums but till today no one is able to answer it correctly.Here it is:
    I need to create a report which I think most of the sd consultants have also done it.It basically covers sales order cycle without item lvel detail such as:
    Sale Order No -- Sales Order Date-- Delivery No-- Delivery Date
    Now as we all know ,sales orders and deliveries are connected through item table which means in the output I will get duplicate rows for the report above.For Example, if a sales order share 3 items with the delivery then we will get 3 exact duplicate rows in the report.
    What can be the best solution?connecting through VBFA has alos same result as it also has item level details.
    I need a good solution.This a common report and there must be some solution

    Hiiii,
    It is standard SAP rule that system will catch the document flow (document link history) at item level.
    Now your problem that you dont want to show the line item based report because of duplicacy.
    Try this.
    Brows table VBFA -
    In screen selection select the following......
    1. Subsiquent document category
    2. Preceding item
    select "J" in Subsiquent document category
    and "000010" in Preceding item  then execute the table.
    Now system will not show multple line item based delivery report. so No duplicacy will be there
    Regards
    Shambhu Sarkar

Maybe you are looking for

  • How do you use the counters on board

    I am involved in the development of a LabVIEW VI for the acquisition and processing of signals generated by a chip under test; my application provides two signals having the waveforms sketched in the attached figure. With reference to this figure, I

  • Why did my new ipod touch screen go green?

    i was on youtube on my ipod touch 4g it green the screen. the touch screen unresponsive.

  • Server could not find any Meta-Data devices!

    Our MDC dropped out and the backups did not engage. On a reboot of the MDC we were able to mount the volume, but all files (QuickTme movies, FCP projct files) could not be opened with an "unknown file type error". We shut all the clients down we chec

  • RV082 port forwarding limited to 30 entries ?

    Hello, we use RV082 as main gateway and need to open/forward around 50 ports to inside. But during setting of the rules I got an error message "The max of Port Range Forwarding is 30 entries. You can't add any more.". In the online help is explicitel

  • XML tools for Java (need help getting started)

    Hi, I have been using Java for some time. However, I am new to XML and the tools Java has available to utilize such data. What packages, classes, etc are available to read and write XML data? Thank you in advance. Happy holidays. Cheers, Christopher