Steps to plan  and save data in Workbook

Hi all,
Please provide me steps to Plan and save a data in a real time cube using workbook.
I have gone through different articles in SDN and tried to relicate but failed to save the data.
May be I am missing some thing, some steps. Please provide me with steps as giving links will not help me.
Thanks
Sunny

Hi,
You will have to follow the below steps to create a workbook which can save data in realtime cube.
1. First create Aggregation level(mandatory for input ready query which can save data) in Planning Modeler.
    Aggregation level you will have to create on Reatime cube.
    Transaction code for Planning modeler is RSPLAN.
2. After you have created aggregation level .
   -> Create Query in Query Designer on the Aggregation level.
3. Make sure that you have made the setting for keyfigure as Input-ready.
    Also make sure to make you have set the Query Property as 'Start Query in Change mode".
   -> Then only query will be eligible for entering and saving the data on execution.
4. Now when you execute the query in Bex Analyser and save it as Workbook.
-> Data can only be entered and saved when the query open in input-ready mode.
5. The best way to check in Bex analyser whether query is input-ready or not is
  -> In the query result layout , use Right lcik of Mouse -> then in the context menu
  -> you should see the following two options apart from other options
Two options are:
  1. Transfer plan values
  2. Save values
If you get these two options then query is input ready and you can enter data and save it in realtime cube using the
Right mouse click -> Save values
6. If query is not coming as input-ready then it means that not all charateristics are drilled down
   -> means that rows does not contains unique records.
In that case you will have to drilldown to make each rows contain unique records.
-> The best way is to restrict the characteristics with variable or single values in filter area.
-> this will give you drilldown data and so the query will come as input-ready.
Pls also check the link:
http://help.sap.com/saphelp_nw70/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm
Regards,
Amit

Similar Messages

  • How to differentiate b/w Plan and actual data

    Hi,
    How to differentiate b/w plan nad actual data.
    Is that value type or Version InfoObject??
    What should be the value for that and how it gets populated ??
    Regards,

    Hello Tapan,
    The plan and actual data is differentiated on the basis of value of infoobject 0VTYPE. Value 10 is for actual. Different plan versions can be differentiated by different values of infoobject 0VERSION.
    These values are populated when actual data is loaded or plan data is entered.
    Hope it helps.
    Regards,
    Praveen

  • How can I do to acquire and save date in the same time and in the same file when I run continual my VI without interrupti​on.

    I've attached a VI that I am using to acquire amplitude from Spectrum analyzerse. I tried to connect amplitude ouput to the VI Write Characters To File.vi and Write to Spreadsheet File.vi. Unfortunately when I run continual this VI without interruption, labview ask me many time to enter a new file name to save a new value.
    So, How can I do to aquire and save date in the same time and in the same file when I run continual my VI for example during 10 min.
    Thank you in advance.
    Regards,
    Attachments:
    HP8563E_Query_Amplitude.vi ‏37 KB

    Hi,
    Your VI does work perfectly. Unfortunately this not what I want to do. I've made error in my last comment. I am so sorry for this.
    So I explain to you again what I want to do exactly. I want to acquire amplitude along road by my vehicle. I want to use wheel signal coming from vehicle to measure distance along road. Then I acquire 1 amplitude each 60 inches from spectrum analyzer.
    I acquire from PC parallel port a coded wheel signal coming from vehicle (each period of the signal corresponds to 12 Inches). Figure attached shows the numeric signal coming from vehicle, and the corresponding values “120” and “88” that I can read from In Port vi.
    So I want to acquire 1 time amplitude from spectrum analyser each 5
    period of the signal that I am acquiring from parallel port.
    So fist I have to find how can I count the number of period from reading the values “120” and “88” that I am acquiring from In Port (I don’t know the way to count a number of period from reading values “120” and “88”).
    Here is a new algorithm.
    1) i=0 (counter: number of period)
    2) I read value from In Port
    3) If I acquire a period
    i= i+1 (another period)
    4) If i is multiple of 5 (If I read 5 period)
    acquire 1 time amplitude and write to the same
    file this amplitude and the corresponding distance
    Distance = 12*i). Remember each period of signal
    Corresponds to 12 Inches).i has to take these
    values: 5,10,15,20,25,35,40,45,50,55,60............
    5) Back to 2 if not stop.
    Thank you very much for helping me.
    Regards,
    Attachments:
    Acquire_Amplitude_00.vi ‏59 KB
    Figure_Algorithm.doc ‏26 KB

  • Best practice for Plan and actual data

    Hello, what is the best practice for Plan and actual data?  should they both be in the same app or different?
    Thanks.

    Hi Zack,
    It will be easier for you to maintain the data in a single application. Every application needs to have the category dimension, mandatorily. So, you can use this dimension to maintain the actual and plan data.
    Hope this helps.

  • Any limitation on number of fill and print forms I can post on my website and have external users with Reader fill in, print and mail to me? (I don't need/want them to be able to fill and save data.)

    I would like to post fillable only forms to the public but not give them the option to save or email the filled in form. If they want a copy of what they've filled in, they must print it.
    I believe I can do this by just creating a fillable PDF and posting it without adding any reader extension capabilities. I also believe there is no limitation, as there is for fill and save forms as per this other post I read: Adobe Acrobat X Pro * Enable Reader users to save form data.
    My IT department is telling me they will not allow me to post fillable PDFs online due to a "license limitation" so I started researching this myself, and the above link is the only thing I've found. While that post specifically outlines the limitations on saving filled in forms, I'm really looking for something that specifically tells me that there is no limitation on fillable, non-saveable (yes, I know that's not a word...) forms.
    If anyone can provide additional information for me, I'd appreciate it. Or, if I'm completely wrong in my belief and there's a limitation either way, feel free to set me straight. I'd rather know the correct answer than be right!
    Thanks!!

    If you don't Reader-enable a document, then there are no licensing restrictions involved. Note that Reader 11 and all versions of Acrobat are able to save non-enabled forms, unlike previous versions.
    The question should not be whether a form is savable, but rather whether you used Acrobat to add usage rights to the form AND you (the licensee) plan on receiving filled-in instances (including hardcopies) of it. The simplest way is to not Reader-enable the form and convince your users to use Reader 11 (or Acrobat) if they want to save.

  • Can I use wireless WIFI on a 9650 at home and save data usage

    Hi,
    I am ordering a 9650, and have a wireless network at home. I was going to go with the $15 data plan, because i use email mostly. Someone said I could use wifi on my wireless network at home for web pages to save data not going thru the verizon network? I am new to this, can you really do this?
    Thanks

    Gunit wrote:
    Hi,
    I am ordering a 9650, and have a wireless network at home. I was going to go with the $15 data plan, because i use email mostly. Someone said I could use wifi on my wireless network at home for web pages to save data not going thru the verizon network? I am new to this, can you really do this?
    Thanks
    Hi,
    I think you made a great choice ordering the 9650 Bold.  You can probably save a lot of money on the data plan by using the 15 dollar/month plan.  You can do a lot with your BB with just the WiFi.  I turned my WiFi on and turned off the mobile connection and was able to send/recieve emails, chat on Blackberry Messenger, and surf the internet.  For me, using my home WiFi is a lot faster that using the mobile network.  My only advice is to regularly check your My Verizon for your usage on data to make sure you are not going over the max usage for your plan.  Good luck.
    Doc

  • How to open Excel Template save it under a different name and then write and save data to it at regualar intervals

    I have an excel template that I have created. I am opening that template, saving it under a different name, and then writing and saving data to that excel sheet at regular intervals. It is giving me an error 5, I understand what this means and I am trying to work around it.  However after too many hours spent trying to figure it out, I have asked for any help or input. I have attached an example vi, not the actual one since it is very involved.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Power Cycle Test 3.0 Excel Save Testing.vi ‏18 KB

    This snippet encapsulates most of the previous suggestions, and adds a few of my own.
    The first code shows one (simplified) way of building the output file name.  It incorporates the Build Path function to combine Report File Path with the file name (don't need initial "\"), builds the File Name with Format into String, getting the Time part of the name from Format Date/Time String.  I also use Build Path to get the Template path.  Inside the For Loop, another Format into String gets the data that is placed in the 10 Excel cells.  We don't write anything yet -- we're only filling in the cells in the WorkSheet (think of how you use Excel -- you could, but probably don't, save the WorkBook after every cell entry, you wait until you are all done and then do a Save, followed by closing Excel).  Finally, when we are done, we save the file using the output name we want to use, then close Excel (which disposes of the Report Object).  If we want to generate another report, with another (time-based) name, we can put this code into a sub-VI and simply call it again.
    Don't worry if you don't have LabVIEW 2014 (which was used to save this snippet) -- most of the code comes from the original that you posted, so it should be a pretty simple edit to change that code to match this.
    Bob Schor

  • Verizon Data plan and "Delayed Data"

    Had something very odd happen with the Verizon data usage on my Xoom over the course of the past two days.
    I'm a fairly heavy user (3 Gbyte plan), and, as such, I do watch my usage using "My Verizon" - both the on-screen widget icon and via longing in to check.
    Anyway, on Monday, the screen icon was showing a bit over 2 Gb had been used (cycle ending on the 12th), and later that day (7th) I got the alert text indicating that I'd reached 75%.
    I took note of this, and decided to limit how I would use my Xoom so as to avoid going over.
    But, Tuesday, I got the text alert that I'd reached 90%, and a check of the widget icon and logging in showed my usage at 2.77 Gb. I put my Xoom into Airplane Mode until I was at home, and my WiFi connected (I made sure that it was using WiFi). I didn't do a great deal with it that would have required much data transfer, even though in WiFi mode.
    However, this morning, when I arrived at work (no WiFi, so in 4G) the icon indicated that I'd used 3.055 Gb - over 300 Mb more than when I'd shut-off my 4G/3G usage by going in to Airplane Mode outside of WiFi range. I was perplexed and concerned. I logged in, and sure enough, I was over-limit. I used it for a short while, then put it back into airplane mode (a bit concerned that something was amiss).
    A short time later, I turned the 4G back on, and found the data usage had increased to 3.154 Gb – nearly an additional 100 Mbytes (without my even using my Xoom).
    I put it back into Airplane Mode, and called Verizon to try to figure out what was happening.
    I was eventually connected to someone in tech support, and after explaining what had been happening (turning 4G back on found my usage had gone up to 3.188 Gb), without my even asking if it were even possible, he quickly told me that it was not possible for data usage to be “stolen” (and I neither had tethering enabled, nor the Bluetooth on).
    I continued to explain that I was not using my Xoom any more than normal (less, in fact); and he came to this answer for what might have been going on (drumroll, please…):
    Delayed Data Usage
    He went on to explain that “they see this happen all the time”, and that there can be these “delays” in tallying-up data usage that can extend back 90 days.
    I argued that over 400 Mb seemed a rather excessive amount to have been “backed-up”, and suddenly pushed through.
    He agreed, but said that there was nothing that could be done.
    I have insufficient understanding to argue the point any further, so it seems I will have to accept that I will be charged for an additional 1 Gb (okay, it’s only $10, but it the ****** principle of it!).
    So, what I’d like to ask of you all is, has anyone else ever heard of this “Delayed Data” or had something similar happen to you?
    I concerned that this large-scale unexplained data usage will continue, and I’ll end up getting hit for even more overages, and I’d like to be better armed to argue my case should that occur. Any explanations of this would be greatly appreciated.

    I actually talked to the Verizon rep about the automatic updating of apps (I beleive that I have it turned off for all my apps).
    Now, I do have the Eye-Fi app which loads photos from my camera to my Xoom, but the option to upload those photes to Eye-Fi's web site is set to only happen when connected to WiFi. I did take some photos ove rthe weekend, which loaded to my Xoom. but, even if the Eye-Fi apps had ignored the WiFi-only setting, and uploaded them over 4G, it would have amounted to less than 100 Mbytes of data.
    Obviously, so apps simnply do their own thing and send and recieve data without user input, but I've had these apps for months, and this sort of thing has never happened before.
    One possible app that I was concerned with that might be able to account for such large amounts of data if it were in some rogue behavior would be Netflix, as movies would obvioulsy be very large data files. But, I have no indication that it (or any other app) has simply downloaded such large amounts of data without my knowledge. If anyone knows of apps which might go rogue in such a way, I'd ertainly like to know about them.
    Since I didn't include EVRYTHING in my first post, I'll add a bit more info to consider. I've had my Xoom since Feb 28, so I've already been through a number of billing cycles. My typical data usage has been between 2.5 and 2.8 Gb/mo over all those cysles. And, that amount has often included some heavier usage near the end of the cycle when it seemed clear that I was in no danger of going over.
    This months cycle is the first since my Xoom was upgraded to LTE. But, that's the only change. I've been using my Xoom pretty much the same way I have been doing for months. That's why I'm so concerned that there is some more going on than just "delayed data". It's not just that I'm over limit, but that it happened very quickly (from ~2.5 to nearly 3.5 in two days) and is so much more than I'd normally use.
    Unless LTE has some unoique quirk to it that it ends up using a whole lot more data than 3G, and more (much more) of that data ends up showing up in this delayed fashion [something that it might be fair to warn user of], then I am concern that ther is something more going on here.

  • Using OBIEE Scheduler to export and save data in excel/pdf

    Hi
    Is it possible to use obiee scheduler and run particular reports and export the data into excel/pdf and save this file at given location on server.
    env: obiee 11g/linux OS
    Thanks for any ideas.

    Hi,
    Yes it is possible.
    As per my knowledge we don't have such option but we can do one way.
    Using IBOTS you can store specific report and specific time in specific location.
    Note : Using JS script.
    Are you going to implement this way send me your mails id will send you js script for doing this.
    Re: Auto SAVE to excel -- Please refer this thread.
    Create js file using the below script and add this js scrif in your ibot advanced tab.
    var FSO = new ActiveXObject("Scripting.FileSystemObject");
    var foldername = 'D:\IBOT'
    if (FSO.FolderExists(foldername))
    var fileName = foldername + "\\" +Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    else
    FSO.CreateFolder(foldername);
    var fileName = foldername + "D:\IBOT" + Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    Thanks,
    Satya

  • Using SharedObjects to load and save data

    Hello, i am having troubles with using shared objects to save and load data for my highscore feature of my game i am developing in actionscript 3. This is my main code.
    I am trying to update a dynamic text field that acts as an high score function
    [as]
    package
              // initialize;
              import flash.display.MovieClip;
              import flash.utils.Timer;
              import flash.events.TimerEvent;
              import flash.ui.Mouse;
              import flash.events.KeyboardEvent;
              import flash.ui.Keyboard;
              import flash.events.Event;
              import flash.media.SoundChannel;
              import flash.net.SharedObject;
              import flash.text.TextField;
              import flash.display.Stage;
              import flash.events.ProgressEvent;
              public class Game extends MovieClip
                        public static var _stage:Stage;
                        static var so:SharedObject;
                        static var ship:MovieClip;
                        static var healthMeter:HealthMeter;
                        static var score:Score;
                        static var highScore:HighScore;
                        static var enemyShipTimer:Timer;
                        static var gameOverMenu:GameOverMenu;
                        static var startMenu:StartMenu;
                        static var helpMenu:HelpMenu;
                        static var startButton:StartButton;
                        static var returnButton:ReturnButton;
                        static var helpButton:HelpButton;
                        static var pauseButton:PauseButton;
                        static var playButton:PlayButton;
                        static var mainMenuButton:MainMenuButton;
                        public var currentValue:Number;
                        public var loadingProgress:LoadingProgress;
                        public function Game()
                                  loadingProgress = new LoadingProgress();
                                  loadingProgress.x = 550;
                                  loadingProgress.y = 500;
                                  addChild( loadingProgress );
                                  loaderInfo.addEventListener( Event.COMPLETE, onCompletelyDownloaded );
                                  loaderInfo.addEventListener( ProgressEvent.PROGRESS, onProgressMade );
                        public function showMenuScreen():void
                                  _stage = this.stage;
                                  Key.initialize(stage);
                                  ship = new Ship();
                                  healthMeter = new HealthMeter();
                                  var score:Score = new Score();
                                  var highScore:HighScore = new HighScore();
                                  so = SharedObject.getLocal("scores");
                                  if (so.data.score)
                                            highScore.bestScore.text = so.data.score.toString();
                                  else
                                            highScore.bestScore.text = "0";
                                  addChild(score);
                                  addChild(highScore);
                                  gameScore.visible = false;
                                  bestScore.visible = true;
                                  healthMeter.x = 2.5;
                                  healthMeter.y = 576;
                                  gameOverMenu = new GameOverMenu();
                                  gameOverMenu.x = 217;
                                  gameOverMenu.y = 244;
                                  addChild(gameOverMenu);
                                  gameOverMenu.visible = false;
                                  helpMenu = new HelpMenu();
                                  helpMenu.x = 480;
                                  helpMenu.y = 312;
                                  addChild(helpMenu);
                                  helpMenu.visible = false;
                                  returnButton = new ReturnButton();
                                  returnButton.x = 54;
                                  returnButton.y = 52;
                                  addChild(returnButton);
                                  returnButton.visible = false;
                                  gameOverMenu.playAgainButton.addEventListener("mouseDown", newGame);
                                  startMenu = new StartMenu();
                                  mainMenuButton = new MainMenuButton();
                                  startButton = new StartButton();
                                  helpButton = new HelpButton();
                                  startMenu.x = 151;
                                  startMenu.y = 111;
                                  startButton.x = 93;
                                  startButton.y = 426;
                                  helpButton.x = 631;
                                  helpButton.y = 386;
                                  mainMenuButton.x = 656;
                                  mainMenuButton.y = 483;
                                  addChild(mainMenuButton);
                                  mainMenuButton.visible = false;
                                  stage.addChildAt(startMenu, 0);
                                  addChild(startButton);
                                  addChild(helpButton);
                                  startMenu.visible = true;
                                  startButton.visible = true;
                                  helpButton.visible = true;
                                  startMenu.visible = true;
                                  startButton.addEventListener("mouseDown", newGame);
                                  helpButton.addEventListener("mouseDown", helpGame);
                                  mainMenuButton.addEventListener("mouseDown", mainMenu);
                                  returnButton.addEventListener("mouseDown", mainMenu2);
                                  pauseButton = new PauseButton();
                                  pauseButton.x = 896;
                                  pauseButton.y = 63;
                                  pauseButton.addEventListener("mouseDown", PauseGame);
                                  playButton = new PlayButton();
                                  playButton.x = 896;
                                  playButton.y = 63;
                                  addChild(playButton);
                                  playButton.visible = false;
                                  playButton.addEventListener("mouseDown", PlayGame);
                        static function gameOver()
                                  scoreF();
                                  mainMenuButton.visible = true;
                                  healthMeter.visible = false;
                                  pauseButton.visible = false;
                                  gameOverMenu.visible = true;
                                  enemyShipTimer.stop();
                                  for (var i in EnemyShip.list)
                                            EnemyShip.list[i].kill();
                                  ship.takeDamage(-ship.maxHealth);
                        function newGame(e:Event)
                                  addEventListener(Event.DEACTIVATE, PauseGame);
                                  bestScore.visible = false;
                                  gameScore.visible = true;
                                  addChild(pauseButton);
                                  addChild(healthMeter);
                                  addChild(mainMenuButton);
                                  enemyShipTimer = new Timer(750);
                                  enemyShipTimer.addEventListener("timer", sendEnemy);
                                  addChild(ship);
                                  healthMeter.visible = true;
                                  startMenu.visible = false;
                                  mainMenuButton.visible = false;
                                  startButton.visible = false;
                                  healthMeter.visible = true;
                                  pauseButton.visible = true;
                                  playButton.visible = false;
                                  gameOverMenu.visible = false;
                                  helpButton.visible = false;
                                  ship.visible = true;
                                  ship.x = 367;
                                  ship.y = 542;
                                  enemyShipTimer.start();
                                  currentValue = 0;
                                  updateDisplay();
                        function mainMenu(e:Event)
                                  removeEventListener(Event.DEACTIVATE, PauseGame);
                                  bestScore.visible = true;
                                  gameScore.visible = false;
                                  removeChild(mainMenuButton);
                                  removeChild(ship);
                                  healthMeter.visible = false;
                                  startMenu.visible = true;
                                  mainMenuButton.visible = false;
                                  startButton.visible = true;
                                  healthMeter.visible = false;
                                  pauseButton.visible = false;
                                  playButton.visible = false;
                                  ship.takeDamage(ship.maxHealth);
                                  gameOverMenu.visible = false;
                                  helpButton.visible = true;
                                  returnButton.visible = false;
                        function mainMenu2(e:Event)
                                  bestScore.visible = true;
                                  gameScore.visible = false;
                                  healthMeter.visible = false;
                                  startMenu.visible = true;
                                  mainMenuButton.visible = false;
                                  startButton.visible = true;
                                  healthMeter.visible = false;
                                  pauseButton.visible = false;
                                  playButton.visible = false;
                                  gameOverMenu.visible = false;
                                  helpButton.visible = true;
                                  returnButton.visible = false;
                                  helpMenu.visible = false;
                        function PauseGame(e:Event)
                                  enemyShipTimer.removeEventListener("timer", sendEnemy);
                                  stage.frameRate = 0;//
                                  pauseButton.visible = false;
                                  playButton.visible = true;
                        function PlayGame(e:Event)
                                  enemyShipTimer.addEventListener("timer", sendEnemy);
                                  stage.frameRate = 30;//
                                  pauseButton.visible = true;
                                  playButton.visible = false;
                        function helpGame(e:Event)
                                  startMenu.visible = false;
                                  startButton.visible = false;
                                  helpButton.visible = false;
                                  helpMenu.visible = true;
                                  returnButton.visible = true;
                        function sendEnemy(e:Event)
                                  var enemy = new EnemyShip();
                                  stage.addChildAt(enemy, 0);
                                  addToValue(1);
                        function addToValue( amountToAdd:Number ):void
                                  currentValue = currentValue + amountToAdd;
                                  updateDisplay();
                        static function scoreF():void
                                  if (so.data.score)
                                            if (getFinalScore()>so.data.score)
                                                      so.data.score = getFinalScore();
                                                      so.flush();
                                  else
                                            so.data.score = getFinalScore();
                                            so.flush();
                        function updateDisplay():void
                                  if (currentValue>Number(highScore.bestScore.text))
                                            scoreF();
                                            highScore.bestScore.text = currentValue.toString();
                                  TextField(gameScore.getChildByName("scoreDisplay")).text = currentValue.toString();
                                  TextField(bestScore.getChildByName("bestScore")).text = highScore.bestScore.text;
                                  loadingProgress.percentDisplay.text = currentValue.toString();
                        static function getFinalScore()
                                  _stage;
                                  return;
                                  gameScore.currentValue;
                        public function onCompletelyDownloaded( event:Event ):void
                                  gotoAndStop(3);
                                  showMenuScreen();
                        public function onProgressMade( progressEvent:ProgressEvent ):void
                                  setValue( Math.floor( 100 * loaderInfo.bytesLoaded / loaderInfo.bytesTotal ) );
                        public function setValue( amount:Number ):void
                                  currentValue = amount;
                                  updateDisplay();
    [/as]
    when i run this, it crashes with this error.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at Game/updateDisplay()[C:\Users\Ben\Desktop\SFUR\Game.as:329]
              at Game/setValue()[C:\Users\Ben\Desktop\SFUR\Game.as:356]
              at Game/onProgressMade()[C:\Users\Ben\Desktop\SFUR\Game.as:351]
    help would be greatly appreciated.
    if you need any more details please ask.
    Line 329:  if (currentValue>Number(highScore.bestScore.text))
    Line 356:  updateDisplay();
    Line 351:
    setValue( Math.floor( 100 * loaderInfo.bytesLoaded / loaderInfo.bytesTotal ) );
    -Ben

    Ok, i have changed my classes a bit to try and fix the issue. I found a tutorial online called MJW avoider game or something and so i split some of my code in to seperate classes. But now the score doesnt update. I have fixed the loading issue (hopefully) i can access the main menu etc... but the highscore doesnt show at all after a game. Here are my classes.
    Document class (Game.as)
    package
              // initialize;
              import flash.display.MovieClip;
              import flash.utils.Timer;
              import flash.events.TimerEvent;
              import flash.ui.Mouse;
              import flash.events.KeyboardEvent;
              import flash.ui.Keyboard;
              import flash.events.Event;
              import flash.media.SoundChannel;
              import flash.net.SharedObject;
              import flash.text.TextField;
              import flash.display.Stage;
              import flash.events.ProgressEvent;
              public class Game extends MovieClip
                        public static var _stage:Stage;
                        static var so:SharedObject;
                        static var ship:MovieClip;
                        static var healthMeter:HealthMeter;
                        static var score:Score;
                        static var enemyShipTimer:Timer;
                        static var gameOverMenu:GameOverMenu;
                        static var startMenu:StartMenu;
                        static var helpMenu:HelpMenu;
                        static var startButton:StartButton;
                        static var returnButton:ReturnButton;
                        static var helpButton:HelpButton;
                        static var pauseButton:PauseButton;
                        static var playButton:PlayButton;
                        static var mainMenuButton:MainMenuButton;
                        public var currentValue:Number;
                        public var loadingProgress:LoadingProgress;
                        static var highScore:HighScore;
                        public function Game()
                                  loadingProgress = new LoadingProgress();
                                  loadingProgress.x = 550;
                                  loadingProgress.y = 500;
                                  addChild( loadingProgress );
                                  loaderInfo.addEventListener( Event.COMPLETE, onCompletelyDownloaded );
                                  loaderInfo.addEventListener( ProgressEvent.PROGRESS, onProgressMade );
                        public function showMenuScreen():void
                                  removeChild( loadingProgress );
                                  _stage = this.stage;
                                  highScore = new HighScore();
                                  ship = new Ship();
                                  healthMeter = new HealthMeter();
                                  var score:Score = new Score();
                                  so = SharedObject.getLocal("scores");
                                  if (so.data.score)
                                            highScore.bestScore.text = so.data.score.toString();
                                  else
                                            highScore.bestScore.text = "0";
                                  addChild(score);
                                  addChild(highScore);
                                  gameScore.visible = false;
                                  bestScore.visible = true;
                                  healthMeter.x = 2.5;
                                  healthMeter.y = 576;
                                  gameOverMenu = new GameOverMenu();
                                  gameOverMenu.x = 217;
                                  gameOverMenu.y = 244;
                                  addChild(gameOverMenu);
                                  gameOverMenu.visible = false;
                                  helpMenu = new HelpMenu();
                                  helpMenu.x = 480;
                                  helpMenu.y = 312;
                                  addChild(helpMenu);
                                  helpMenu.visible = false;
                                  returnButton = new ReturnButton();
                                  returnButton.x = 54;
                                  returnButton.y = 52;
                                  addChild(returnButton);
                                  returnButton.visible = false;
                                  gameOverMenu.playAgainButton.addEventListener("mouseDo wn", newGame);
                                  startMenu = new StartMenu();
                                  mainMenuButton = new MainMenuButton();
                                  startButton = new StartButton();
                                  helpButton = new HelpButton();
                                  startMenu.x = 151;
                                  startMenu.y = 111;
                                  startButton.x = 93;
                                  startButton.y = 426;
                                  helpButton.x = 631;
                                  helpButton.y = 386;
                                  mainMenuButton.x = 656;
                                  mainMenuButton.y = 483;
                                  addChild(mainMenuButton);
                                  mainMenuButton.visible = false;
                                  stage.addChildAt(startMenu, 0);
                                  addChild(startButton);
                                  addChild(helpButton);
                                  startMenu.visible = true;
                                  startButton.visible = true;
                                  helpButton.visible = true;
                                  startMenu.visible = true;
                                  startButton.addEventListener("mouseDown", newGame);
                                  helpButton.addEventListener("mouseDown", helpGame);
                                  mainMenuButton.addEventListener("mouseDown", mainMenu);
                                  returnButton.addEventListener("mouseDown", mainMenu2);
                                  pauseButton = new PauseButton();
                                  pauseButton.x = 896;
                                  pauseButton.y = 63;
                                  pauseButton.addEventListener("mouseDown", PauseGame);
                                  playButton = new PlayButton();
                                  playButton.x = 896;
                                  playButton.y = 63;
                                  addChild(playButton);
                                  playButton.visible = false;
                                  playButton.addEventListener("mouseDown", PlayGame);
                        static function gameOver()
                                  scoreF();
                                  mainMenuButton.visible = true;
                                  healthMeter.visible = false;
                                  pauseButton.visible = false;
                                  gameOverMenu.visible = true;
                                  enemyShipTimer.stop();
                                  for (var i in EnemyShip.list)
                                            EnemyShip.list[i].kill();
                                  ship.takeDamage(-ship.maxHealth);
                        function newGame(e:Event)
                                  addEventListener(Event.DEACTIVATE, PauseGame);
                                  bestScore.visible = false;
                                  gameScore.visible = true;
                                  addChild(pauseButton);
                                  addChild(healthMeter);
                                  addChild(mainMenuButton);
                                  enemyShipTimer = new Timer(750);
                                  enemyShipTimer.addEventListener("timer", sendEnemy);
                                  addChild(ship);
                                  healthMeter.visible = true;
                                  startMenu.visible = false;
                                  mainMenuButton.visible = false;
                                  startButton.visible = false;
                                  healthMeter.visible = true;
                                  pauseButton.visible = true;
                                  playButton.visible = false;
                                  gameOverMenu.visible = false;
                                  helpButton.visible = false;
                                  ship.visible = true;
                                  ship.x = 367;
                                  ship.y = 542;
                                  enemyShipTimer.start();
                                  currentValue = 0;
                                  updateDisplay();
                        function mainMenu(e:Event)
                                  removeEventListener(Event.DEACTIVATE, PauseGame);
                                  bestScore.visible = true;
                                  gameScore.visible = false;
                                  removeChild(mainMenuButton);
                                  removeChild(ship);
                                  healthMeter.visible = false;
                                  startMenu.visible = true;
                                  mainMenuButton.visible = false;
                                  startButton.visible = true;
                                  healthMeter.visible = false;
                                  pauseButton.visible = false;
                                  playButton.visible = false;
                                  ship.takeDamage(ship.maxHealth);
                                  gameOverMenu.visible = false;
                                  helpButton.visible = true;
                                  returnButton.visible = false;
                        function mainMenu2(e:Event)
                                  bestScore.visible = true;
                                  gameScore.visible = false;
                                  healthMeter.visible = false;
                                  startMenu.visible = true;
                                  mainMenuButton.visible = false;
                                  startButton.visible = true;
                                  healthMeter.visible = false;
                                  pauseButton.visible = false;
                                  playButton.visible = false;
                                  gameOverMenu.visible = false;
                                  helpButton.visible = true;
                                  returnButton.visible = false;
                                  helpMenu.visible = false;
                        function PauseGame(e:Event)
                                  enemyShipTimer.removeEventListener("timer", sendEnemy);
                                  stage.frameRate = 0;//
                                  pauseButton.visible = false;
                                  playButton.visible = true;
                        function PlayGame(e:Event)
                                  enemyShipTimer.addEventListener("timer", sendEnemy);
                                  stage.frameRate = 30;//
                                  pauseButton.visible = true;
                                  playButton.visible = false;
                        function helpGame(e:Event)
                                  startMenu.visible = false;
                                  startButton.visible = false;
                                  helpButton.visible = false;
                                  helpMenu.visible = true;
                                  returnButton.visible = true;
                        function sendEnemy(e:Event)
                                  var enemy = new EnemyShip();
                                  stage.addChildAt(enemy, 0);
                                  addToValue(1);
                        static function scoreF():void
                                  if (so.data.score)
                                            if (getFinalScore()>so.data.score)
                                                      so.data.score = getFinalScore();
                                                      so.flush();
                                  else
                                            so.data.score = getFinalScore();
                                            so.flush();
                        function updateDisplay():void
                                  if (currentValue>Number(highScore.bestScore.text))
                                            scoreF();
                                            Game.highScore.bestScore.text = currentValue.toString();
                                  TextField(gameScore.getChildByName("scoreDisplay")).te xt = currentValue.toString();
                                  loadingProgress.percentDisplay.text = currentValue.toString();
                        static function getFinalScore()
                                  _stage;
                                  return;
                                  gameScore.currentValue;
                        public function addToValue( amountToAdd:Number ):void
                                  currentValue = currentValue + amountToAdd;
                                  updateDisplay();
                        public function onCompletelyDownloaded( event:Event ):void
                                  gotoAndStop(3);
                                  showMenuScreen();
                        public function onProgressMade( progressEvent:ProgressEvent ):void
                                  loadingProgress.setValue( Math.floor( 100 * loaderInfo.bytesLoaded / loaderInfo.bytesTotal ) );
    Counter Class (Counter.as)
    package
              import flash.display.MovieClip;
              public class Counter extends MovieClip
                        public var currentValue:Number;
                        public function Counter()
                                  reset();
                        public function addToValue( amountToAdd:Number ):void
                                  currentValue = currentValue + amountToAdd;
                                  updateDisplay();
                        public function setValue( amount:Number ):void
                                  currentValue = amount;
                                  updateDisplay();
                        public function reset():void
                                  currentValue = 0;
                                  updateDisplay();
                        public function updateDisplay():void
    LoadingProgress class (LoadingProgress.as)
    package
              import flash.text.TextField;
              public class LoadingProgress extends Counter
                        public function LoadingProgress()
                                  super();
                        override public function updateDisplay():void
                                  super.updateDisplay();
                                  percentDisplay.text = currentValue.toString();
    There not all my classes, but they are the classes where the errors are coming from.
    Please remember i am an actionscript noob
    Thanks again, Nacho

  • Record, calculate and save data periodically

    Hi,
    I am working on a labview project. I have a continuous input data which is updated every 100ms. I need to calculate the 15 minutes average value, one hour average value of this input data and save this average values into excel file continuously. I have problem about how to calculate the 15 minutes average input data value. I have look through some example for parallel while loop, but my main problem is how to calculate the 15 minutes average values periodically and save it to the file. Thanks for your help.
    Fred

    You do not need parallel loops to calculate a running average. Just keep two arrays of old data in a shift register inside the same loop. The first array is 9000 points (15 min) and the second is 36000 points (1 hr).
    Append new data to the top of the array and delete any excess points from the bottom. Calculate the average on the entire array every time you add a point and write these values to other Excel columns.
    Michael Munroe
    www.abcdef.biz
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Planning and Scoping- Data conversion and testing

    hello Gurus
    Good people i'm looking for your help in these areas.....
    1) Planning and scoping for data conversion....we will be in the process of acquiring information from the client soon. So, what sort of information or questions do i need to get from the client and also the plan needed?
    2) Test planning...... things i need to get from the client to prepare for this plan???
    thanks
    rasham

    Hi,
    the question which ou have asked is really very broad. so let me give some idea regarding the planning of data conversion. first of all you should identify which all objects you want to be transfered to SAP, obviously In MM material master, inforecord source list e.tc. then you need to decide which SAP tool you will be using to upload these data like LSMW, CATT e.t.c.
    once it is decided what and how you are going to transfer then comes the Functional spec for data conversion in which you will give the details of data mapping in SAP. these FS will be translated to Tech Spec by technical consultant.
    Test Planning,
    first of all you will decide what type of testing you want to cary out like String test, Unit test, and integration test but these are decided by the testing team not Func consultant but anyway once it is decide how many level of testing is carried out then as a func consultant you will have to create test scenario for integration testing,
    Regards
    Vikrama

  • IPhone 6 Plus Gold 64 bit on the Edge Plan and Delivery Date?

    After reading a ton of the posts, a lot of people are saying that they are receiving confirmations that their phones are shipping Friday.  I ordered mine 3am CST (that's how long it took the pages to load).  My screen said delivery by Friday the 19th but then my confirmation said Oct 7th.  Most people are saying they know it has been shipped to Fed Ex when they get charged for the phone in their bank/credit accounts.  But, I signed up for the Edge plan and there was not a charge, just what my monthly bill would be.  I just need to know what day I have to stay home from work to sign for the package.  My company likes at least a few days notice.  Can anyone from Verizon shed some light on my order, did it go through OK (status still says unknown), I did receive the original order confirmation email within an hour of ordering the phone at 3am.  I know you are being bombarded with the same question over and over but I am starting to get a little concerned with all the different answers to other people's posts.  If a Verizon Person can help me out I would be truly grateful!!! Thanks so much!
    Suezyg

        I understand your anticipation and concerns regarding your new phone and your order status Suezyg23451! Please visit this link http://vz.to/RWWFB and enter your order information for that latest status available.
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport

  • Original PC crashed. How do I sync my iPhone to the new PC and save data?

    The PC I had my iPhone synced to crashed. No access to backups. Is there a way to sync to the new PC without erasing everything? I have backed up the phone, but in looking at the User Manual, iTunes will erase the backup I have and create a new one the first time I try to sync. Being able to backup from a previous backup will keep me from losing some saved data on some apps I have.

    iTunes will not erase an existing iPhone backup. An existing iPhone backup can be deleted manually only. Even if an existing backup was deleted, a new backup would be created to include the existing data on your iPhone that is included with the backup as the first step during the iTunes sync process. Unless you have a backup of your iTunes named folder located in your Music folder that you can transfer from your computer's backup to your new computer, all iTunes content on your iPhone will be erased first the first time you sync your iPhone with iTunes on a new or different computer.
    Without having access to a recent backup for your iTunes library - the iTunes named folder located in your Music folder, iTunes includes an option to transfer iTunes content that was purchased/downloaded from the iTunes store from an iPod or iPhone, but this is for iTunes content that was purchased/downloaded from the iTunes store only including 3rd party apps.
    First you need to authorize your new computer with your iTunes account with iTunes if you haven't already done so. With your iPhone connected and without syncing, at the iTunes menu bar go to File and select Transfer Purchases From - the name of your iPhone.

  • Validate and Save data of the current page when tab changing

    Hi,
    Using APEX version 2.2
    We have a multi tab chain form, which each page / tab references a different table. Seperately, when each form is saved, the data is validated and committed to the database.
    The business requirement is to be able to enter data on a form, and then click on another tab, and the page is "validated" and saved, and then the tabbed page is then shown.
    From what I have seen on the forums, pressing a tab, will not validate and process the original form, only perform the page rendering processes.
    I have read the forum thread Re: Navigating to non-current pages for a tab - but have not seen how this works? Is there some dialog missing?
    What we would like to do is call the tab as per usual;
    javascipt:dosubmit('T_PAGE_6');
    But also add the save validation first;
    javascipt:dosubmit('SAVE'); javascipt:dosubmit('T_PAGE_6');
    This would allow the full form validation
    Is this part configurable? otherwise is there anothe solution we can use?
    Thanks
    Jon

    Jon, You essentially want your standard tabs to do nothing but act as buttons. If you can adjust the templates to make those "buttons" look like tabs, you'll have what you need.
    Others will have to advise on how to do that, though.
    Scott

Maybe you are looking for

  • Mail not working at all

    Ever since I installed Leopard, my Mail application has stopped working. I've had a friend walk me through my mail preferences, and they all seem fine, but when ever I go to Mail, it won't open up any window, it won't go to my me.com account, and it

  • Cost value for third party sales order scenario

    Greetings, I have a cost question involving the Third Party Sales Order (Item category TAS). At billing (VF01), the cost being picked up by the system are the value from the PO (PBXX condition type). I would like the system to pick up the entire  COG

  • Left shift key is a problem

    This is what I get on a page when the bottom row of keys are pressed in sequence from left to right: No shift keys used:         zxcvbnm,./ RIGHT SHIFT KEY USED:  ZXCVBNM<>? LEFT SHIFT KEY USED:   BN In other words, when I use the left shift key, the

  • IBooks is not on my iTunes

    I have had the iBooks app on my iPod forever. Unfortunately the books have never synced onto my iTunes on my computer ever. In fact there isn't even the iBooks tab in my iTunes on my PC. What do I do to fix this?

  • Want to export a .psd in .vpe with photoshop cc

    Hello, I don't have the possibility to export my image psd in vpe (for After effect) while I'm on photoshop cc, can you help me please??