Need help understanding about materials, batch, mat. group, etc.

Hello Experts,
Please englighten on materials, material batch, material group, restricted stock,
unrestricted stock, etc. How do we create materials? what is a material batch?group? Any help would be appreciated. Thanks a lot guys and take care!

viraylab,
Here r the links for MM
http://www.sapgenie.com/abap/tables_mm.htm
http://www.sap-img.com/sap-download/sap-tables.zip
http://www.allsaplinks.com/material_management.html
http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
http://www.sapfriends.com/sapstuff.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
http://www.erpgenie.com/sap/sapfunc/mm.htm
Don't forget to reward if useful....

Similar Messages

  • I need help understanding how the Apple components integrate to create a system across all my devices?

    I need help understanding how the Apple components connect to create a whole system across all my devices?
    Is there a resource that describes current system and associated functionality?
    For example:
    Buy A, B, C to achieve "X" 
    You will need:
    an internet provider which supports <specs>
    add D to achieve "Y"
    You will need:
    an internet provider which supports <specs>
    add "E" to achieve "Z"
    You will need:
    an internet provider which supports <specs>
    For example, I am looking at the Gen 6 Airport extreme.  For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice?  Do I need the internet provider's modem or does the Airport extreme replace that?  And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why?  Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel  or sit on the couch in my PJs?
    If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
    I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy. 
    A "System Configuration App" would be a really great sales tool--Just saying.

    I have no idea what "fully optimized" means.
    No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
    Any Mac computer or iPad will allow you to surf the web.
    What business software?
    Time Capsule is a good option for back ups.
    Update what across all devices?
    For accessing documents from all devices, a service like Dropbox is your best bet.
    I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
    Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
    Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
    The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
    Best of luck.

  • Need Help Understanding How To Use iMessage Between Two iPhones

    I have an iPhone 4 and my wife an iPhone 3GS.  We both have iOS 5, but I have discovered something about iMessage I need to make sure I understand correctly.  As I understand it iMessage can send text even if our voice carrier service is unavailable.  I tend to loose signal inside the building I work in.  I usually can get texts in and out, but sometimes not.  But in testing the two phones sending iMessages, I've noticed is that if I have one of the phones with iMessage turned on and the other with iMessage turned off, the two phones will not be able to exchange text.  Is that how it's supposed to work?  Even though one of these phones can receive an iMessage doesn't mean the other one send one back.  Can't the system detect when one phone is connected and another one not, and the one that is not gets sent SMS messages instead?  I don't want to try to send my wife an iMessage because I can't get a voice signal in my building, but her have iMessages turned off and not able to get any messages from me, iMessage or SMS.  I guess I need help better understanding how this actually works between the two phones so I can always get texts back and forth between my wife and I.  My other misgiving is that this iMessage thing consumes my data limit.  My wife gets unlimited because she had her phone before the limits were imposed, but I got on board after, so I am hesitant to use iMessage all the time because of it.  I have no intention to send picture mail through iMessage, but the thing is if I wanted to switch to SMS to send picture mail to save data, but my wife's phone is set to iMessage, she won't get it.  If this is how this thing is supposed to work, I'm not really impressed.  Some insight would be appreciated

    I think you are making this way too complicated. Why are you turning iMessage off? If you are at your office connect to the WiFi there and send your wife messages that way (unless your office is blocking the port iMessage uses). When possible the two phones will use iMessage but will revert to SMS is iMessage is not available if that option is set that way.
    I would not worry about using up your data plan if you have the 2GB, text iMessages are going to be very small and MMS (picture) ones are not very large either. Unless you are sending hundreds of picture iMessages a day you will have a hard time using up your data.
    If you are near an Apple Store you should explore signing up for an intro iPhone course and have them run through iMessage options.

  • Need help understanding syntax

    Hi,
    I need some help to understand the following syntax .
    PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean); What is this PPARAMImpl?
    I know "am " is a variable . And with pageContext.getApplicationModule(webBean) we are trying to get the AM name for that page, then why do we need to add (PPARAMImpl) before pageContext.getApplicationModule(webBean) ?
    For example in plsql , apps.testpkg.mainproc(param1,param2)
    means
    schema.packagename.procedurename(parameter1,parameter2).
    So can you explain "PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean)" in that manner?
    pageContext.getParameter(EVENT_PARAM))
    What is this ?
    What are the possible values for EVENT_PARAM ? And by the way , I need help on setting a default value for one of my search parameters in a search region .
    Correct me If I am wrong, this is what I thought
    1. EOImpl has setters and getters for that attribute. So call the setter method in controller and set the value , if this is right then I don't know how to right the code ,can you give me some sample code ?
    or
    2. get the view object name and then set the value for that . like viewobject.setattribute('att name',att value'),if this is right then I don't know how to right the code ,can you give me some sample code ?
    Thanks
    Sri.

    Hi,
    No. These are not equal.
    pageContext.getApplicationModule(webBean) return AM of type OAApplicationModule.
    It would be fine if your variable am, is of type OAApplicationModule:
    OAApplicationModule am = pageContext.getApplicationModule(webBean) // this would be fine.
    But as you are using of type PPRAMImpl, you must have to type-cast that externally using:
    PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean);
    If you are still not clear, then refer any java book or google for internal & external type-casting in java.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Need help - Hide row of a recursive grouping if textbox value is empty

    Hard to explain, but I will do my best.
    I have a simple report that has a resource (accounting) recursive grouping.  The group and the recursion is working correctly.  The only dollar values I have to display are at the lowest level of the hierarchy so instead of having a simple SUM("POSTED_TOTAL_AMT")
    field to show the rollup totals I did the following =Sum(Fields!POSTED_TOTAL_AMT.Value, "TREE_NODE", Recursive).
    TREE   NODE
    POSTED   TOTAL AMT
    ALL_RESOURCES
    24163945.66
    BANK
    BENALL
    7027062.56
    BENWL
    3490587.96
    BENFT
    279969.6
    BENLD
    3210618.36
    COMAB
    1357934.08
    INCWL
    2178540.52
    CASH_FLOW
    CHRTY
    COGS-ENS
    Everything I have read shows you how to hide a row based on a dataset field but I need to hide the row based on the textbox expression.  For reference here is the expression for the values showing on the report: =Sum(Fields!POSTED_TOTAL_AMT.Value, "TREE_NODE",
    Recursive)
    I added this into the row visibility: =iif(IsNothing(Fields!POSTED_TOTAL_AMT2.Value),True,False)
    But when I run the report I get the following error:
    System.Web.Services.Protocols.SoapException: The Hidden expression for the grouping ‘TREE_NODE’ refers to the field ‘POSTED_TOTAL_AMT2’.  Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the
    specified dataset scope. Letters in the names of fields must use the correct case.

    Hi BlackHills_SD,
    According to your description, when you use the iif expression to set visibility of the row, you got the error message.
    When we write expressions, we will find that the term scope is used in multiple contexts. Scope can specify the data to use for evaluating an expression, the set of text boxes on a rendered page, the set of report items that can be shown or hidden based
    on a toggle. It seems that POSTED_TOTAL_AMT2 is not in the same dataset as TREE_NODE. We can refer to the following steps to troubleshoot the problem:
    Right-click the report and click Insert to add a text box.
    Right-click inside of the text box, then click Expression.
    Click Datasets, click First(POSTED_TOTAL_AMT2), scope of POSTED_TOTAL_AMT2 will be listed.
    For more information about Understanding Expression Scope, please refer to the following document:
    https://technet.microsoft.com/en-us/library/dd255256%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Need help understanding an example in Flex 4 Language Reference: flash.data.sqlstatement

    I don't understand how to use the example in Flash Builder. I read the link concerning this, but it's still unclear.
    1) Is this example a single file, or should the class definition be separate? I ask because I don't see any import statements at all, which makes me wonder how it would work.
    2) does init() act as the automatic entry point for this code, or is this function called from some unseen event?
    3) does dbStatement.itemClass = Employee represent the link between the main app and the class file?
    I've been looking all over for a solution to my problem in that I have 8 or 10 querries to a sqlite db in my main application and I would really like to move each to their own file, but I don't understand how to reference them from the main app, or how to share the results with the main app. I was hoping this was what I'm looking for.
    // Employee class definition
    package
        public class Employee
            public var name:String;
            public var ssn:String;
            public var id:uint;
            public override function toString():String
                return "id: "+ id.toString() + " name: " + name + " ssn: " + ssn;
    // using the Employee class as SQLStatement.itemClass
    var conn:SQLConnection;
    var dbStatement:SQLStatement;
    function init():void
        conn = new SQLConnection();
        conn.addEventListener(SQLEvent.OPEN, connOpenHandler);
        dbStatement = new SQLStatement();
        dbStatement.sqlConnection = conn;
        dbStatement.text = "SELECT id, name, ssn FROM employees";
        dbStatement.itemClass = Employee;
        var dbFile:File = new File(File.separator + "employee.db");
        conn.open(dbFile);
    function connOpenHandler(event:SQLEvent):void
        dbStatement.addEventListener(SQLEvent.RESULT, resultHandler);
        dbStatement.execute();
    function resultHandler(event:SQLEvent):void
        var result:SQLResult = dbStatement.getResult();
        if (result != null)
            var emp:Employee;
            var numRows:int = result.data.length;
            for (var i:int = 0; i < numRows; i++)
                emp = result.data[i];
                trace(emp.toString());
    Thanks
    Kristin

    Hi Kristin,
    1020: Method marked override must override another method.
    -overridesObject.toString
    There is popular misconception among ActionScripters about toString() method - if one want to provide custom implementation method of super class "override" keyword is needed.
    But in case of Object "toString" is dynamic and it is attached at runtime negating the need of overriding - instead implementation is to be provided by developer so one is not created at runtime. So one needs to just write her own: toString():String method.
    Methods of the Object class are dynamically created on Object's prototype. To redefine this method in a subclass of Object, do not use the override keyword. For example, a subclass of Object implements function toString():String instead of using an override of the base class.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html#toString()
    hth,
    kind regards,
    Peter

  • Need help understanding OID basic’s regarding portal

    Hi I am new to v2 portal and OID and need some help.
    Because all portal users are oid users, currently default settings are in place. My issues are follows:-
    Q1     Portal user passwords are expiring after a few weeks, how do I reset the expiration time for portal user passwords.
    Is using the OID Manager (Java – client app) the only way and how do you do it?
    Q2.     My understanding is that the OID contains all policy details regarding user access.
    How does OID map to portal so that portal uses use a particular OID, as portal v2 is install out of the box this is already done for me, an explanation would be very helpful.
    Thanks in anticipation
    SD.

    I'm no expert, but a command that weeds out some the local stuff would have beennetstat -af inet
    Most of those listings are local system sockets, and look fairly normal (with that command, my machine has about the same number of entries). Any given browsing session will open all kinds of temporary connections that eventually time out, and by closing Safari most of them should eventually close.
    Netstat will show a bunch of stuff, not necessarily limited to the internet. You can also use the *Activity Monitor* application, and another useful tool is MenuMeters - I still use it to keep track of network and disk activity. Are there other machines on your network (or cable node)? With a 25mbit connection, you would need to be running a lot of stuff to slow it down.

  • Need help understanding communicating with a thread

    I am trying to write a library of a MUD engine that runs in its separate thread, but I am new to Java and not sure I have the concepts right. The heart of it is a class called Game, that implements the Runnable Interface and has 2 key methods - void DoCommand(String command) and String GetUpdates(String lastUpdate).
    * The Run() method runs an infinite loop that processes queued commands when they are due, and pauses (wait() or sleep()) in between. The results are queued in an update list.
    * The DoCommand() method queues commands to be processed in Run().
    * The GetUpdates() method pulls updates from the update list one at a time.
    Will there be a problem if DoCommand() or GetUpdates() are called while Run() is paused or running?
    How do I get DoCommand() to wake Run() when a new command is received?
    BTW: I am new to Java so please make the answers simple enough for me to understand.
    My theoretical code skeleton is below, but I am not confident in it given these questions I have.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package me.org.prototype;
    import java.util.ArrayList;
    /** Definition of the game engine. The engine runs in its own threat, updating
    * and maintaining its state, objects, etc. IO is handled through a separate
    * interface (GUI or something else) that communicates with this object. NOTE:
    * this interface is the game interface and not a Java interface.
    * <P> Usage create a Game instance and a place it in a thread. Once started you
    * can pass in input via the DoCommand(...) method, and get updates from its
    * GetUpdates(...) method. To exit interrupt the thread or call
    * DoCommand("quit");
    * @author atbudd
    public class Game implements Runnable {
        /** Next time (computer time) that a game action is to be run. Use 0 to
         * indicate no action pending.
        int nextRunTime = 0;
        /** Boolean indicating running state of game. */
        boolean gameRunning = true;
        /** List of game updates. */
        ArrayList<String> updateList = new ArrayList<String>();
        /** Perform's game's main loop. */
        public void run() {
            // Main loop code.
            while (gameRunning) {
                // Process game objects and pending actions.
                try {
                    // Pause until next action due.
                    if (nextRunTime > 0) {
                        wait(nextRunTime - System.nanoTime());
                    } // Otherwise wait until action specified. NOTE: action specified elsewhere.
                    else {
                        wait();
                } catch (InterruptedException exception) {
                    // If quit command received...
                    if (exception.getMessage().equalsIgnoreCase("quit")) {
                        gameRunning = false;
                    /* Otherwise new command received. wait(...)interrupted and loop
                     * resumed so that nextRunTime can be updated to when new
                     * command due.
        /** Peforms specified command.
         * @param command Command to be processed.
        public void DoCommand(String command) throws InterruptedException {
            // Process command.
            if (command.equalsIgnoreCase("quit")) {
                // Interrupt game with exit interrupt.
                throw new InterruptedException(command);
            else if ((nextRunTime == 0) /* || command due before nextRunTime */) {
                // Add command to a processing queue.
                // Interrupt game to schedule / process command.
                throw new InterruptedException("new command");
        /** Returns updates since update specified.
         * @param lastUpdate Last update received from game. Use "" if not updates
         * received yet.
        public String GetUpdates(String lastUpdate) {
            // Update string
            String updateString = null;
            /* (TODO) Get updates from update list that come after last update and
             * place in update string.
            // Return update string.
            return updateString;
    }

    Furrage wrote:
    OK cotton.m. I will try that and see what happens.
    What about my question about which thread DoCommand() will run in (my second post in this message thread)? Any answers? I think that's key to me understanding what is needed to get my code to work the way I want, but I don't know how to test which thread it is running in.Possibly by interrupt.
    Or possibly by adding the command to a command queue which in turn would notify a thread waiting on the queue for the next command.

  • Need help understanding Time Capsule file structure and how to get it back

    I have the original Time Capsule on which I backup both my Mac Pro and my wife’s Macbook. When Snow Leopard came out, I successfully used the ‘Restore from Time Machine’ feature on my Mac Pro so I know it has worked. However, my wife’s MacBook harddrive died the other day and I was trying to do the ‘Restore from Time Machine’ and all it would find was a backup from April (when I put her in a new larger drive). Time Machine would not find any backup files newer that April. She stated that she had seen the the Time Machine backup notices regularly and as recent as the day the haddrive died (Nov. 23) so I figured that I should have no problem. Here is what I have found in my trouble shooting and what leads to my questions below.
    This is the file structure I found: (note that our ID’s are ‘Denise’ and ‘John’)
    *Time Capsule* (the drive as listed in my Finder window sidebar under ‘shared’)
    >Folder called ‘Time Capsule’ (when logged in as either ‘Denise’ or ‘John’)
    >>Denise Sparsebundle
    >>>Backup of Denise’s iBook (mounted image)
    >>>>Folder called ‘Backups.backupdb’
    >>>>>Folder called ‘Denise’s iBook
    >>>>>>Single folder with old April backup (not the right files)
    >>John Sparsebundle
    >>>Backup of John’s Mac Pro (mounted image)
    >>>>Folder called ‘Backups.backupdb’
    >>>>>Folder called ‘John’s Mac Pro’
    >>>>>>Folders containing all my backup files
    >Folder Called ‘Denise’ (if logged as ‘Denise’)
    >>Denise’s Sparsebundle (a disk image)
    >>>Backup of Denise iBook (the mounted image. Name from old machine)
    >>>>Backups.Backupdb
    >>>>>Denise’s iBook (Contains the backup I need)
    >Folder Called ‘John’ (if logged in as ‘John’)
    >> (empty)
    For some reason, my wife’s backup files are stored within a folder located at the top level of the Time Capsule drive called ‘Denise’, however, mine are within a folder called ‘Time Capsule’ which is at the same level as the ‘Denise’ folder.
    For some reason, when trying to use Time Machine to recover, it bypasses the top level ‘Denise’ folder which contains the correct files and goes into the ‘Time Capsule’ folder and finds the outdated backup files.
    I would assume that both my backup files and my wife’s should be at the same level of the Time Capsule.
    I was eventually able to use Migration Assistant to recover the files after installing a fresh OS and mounting the correct Sparsebundle image.
    So, my question, how do I get this fixed so that if I have to recover a drive with Time Capsule, it will find the correct files.
    Sorry for the long post and thanks in advance for any help.

    John Ormsby wrote:
    What I was trying to determine is why different backups for one particular machine are located at different file structure levels on my Time Capsule and why the most resent one for that machine is at a different level that for my other machine. Also, what is the correct level that both machines backups should be at.
    well John, first can you clarify if you are on 10.4.8 as your profile suggests ? if so, i'm wondering how you can use TM at all because TM was introduced with Leo. if you're not on 10.4.8, please update your profile. if you could, please also indicate details of your machine such as available RAM, processor, etc.
    second, what OS is your wife's machine running ?
    third, i frankly don't know too much about TM's file structure or if there indeed is such a thing as the correct one. however, i do know that it is best to leave TM to do its thing (as long as it's working). FWIW, though off-topic, you may want to have a look at this read for further information.
    last but not least, i see TM backups to my TC only as a part of my backup strategy. the backbone of my strategy is to create bootable clone of my startup disk(s) using e.g. Carbon Copy Cloner on a regular basis. while TM is capable of doing a full system restore, i don't trust it as much as a working clone. i use TM to retrieve a file i accidentally trashed a week ago but you cannot boot from a TM backup if your startup disk goes belly up.
    If I have missed this information in either the FAQs or the Troubleshooting article, I would greatly appreciate being pointed to it .
    i expect you didn't miss anything and i'm sorry you didn't find any help there. perhaps if Pondini (author of the FAQ and troubleshooting user tips) reads this thread, you will get the necessary advice on the file structure and more besides.
    good luck to you !

  • Need help understanding PC vid card options in MP

    Hi all,
    I have a 2008 MP with the 2600 XT video card, but I just installed Windows 7 via Boot Camp and decided I'd like to get a second video card just to play games in Windows.
    I do know that a PC video card won't work in OSX unless flashed, but I'm just not entirely sure about buying and installing a PC video card for Windows. Can someone help me with answers to a few questions?
    1. If I install a PC video card in the 8x PCIe slot of the Mac Pro, does it have to be a particular type (i.e. have a particular type of DDR onboard, have a particular mHz GPU processor speed, etc)?
    2. I've read many vague references to power requirements, but I've yet to read something that clearly states whether I will need to rig up some kind of additional power to the second card. If I do, what exactly would I need in terms of power adapters/cables? (my 2008 Mac Pro is completely stock right now).
    3. I would be buying a DVI KVM switch in addition to the video card. With the switch and the 2nd card installed, would I be able to see the "hold down the Option key" boot loader screen as long as the KVM switch is set to the OSX video card, choose Windows, and then use the KVM to switch to the PC card so that I can use it in Windows?
    4. Does anyone have any recommendations of a good PC video card for gaming, in the $50-$100 range, which are also potentially flashable for use in OSX? I'm not ready to take that flashing step yet, but I figure as long as I'm buying a PC video card, I might as well get one that can be flashed if I decide to do that down the road.
    Thanks folks....I've done a lot of searching on this issue over the past two days, but just can't seem to find any clear, straight answers.

    Good and $100 or less don't compute!
    Suggestion: get the Apple ATI 5770 ($249), if you like it, get a 2nd for Crossfire.
    http://store.apple.com/us/product/MC742ZM/A
    The 2600XT has trouble enough, and now seems like the 5770/5870 don't get along with it.
    Each card would say what it needs as far as using aux pcie power cables.
    Apple's write-up on requirements are just off the farm in regards to
    Requires Mac Pro (Mid 2010) with PCI Express 2.0 slot
    Works in all Mac Pro models.
    Your 2008 MP 3,1 has two 16x slots.
    The ATI Radeon HD 5770 graphics card requires one auxiliary power connection and the ATI Radeon HD 5870 requires two. The Mac Pro provides two auxiliary power ports.
    More about hooking up displays and adapters:
    http://support.apple.com/kb/HT4279
    http://www.barefeats.com/wst10g7.html
    http://www.barefeats.com/wst10g6.html

  • Need Help Reconnecting P2 Media- Batch Capture not working

    Hey guys,
    I used log and transfer and got all my P2 media into FCP 6. I did my edit and then when I opened FCP next time it said that a file had moved. Well, I went and watched Shane's P2 workflow video on creativecow and saw that he just right clicked on the media that needed to be reconnected and went down to batch capture and it all worked like a charm. Well, I could not get it to work. Then to worsen the matter, I deleted another file like Shane does in the demo and tried to reconnect that one using Batch Capture and once again- nothing. Now I have various clips that all need to be reconnected. When I right click and try and use Batch Capture it is giving me a dialog box that discusses a lack of deck, and I am not sure why I am getting a "deck" warning with P2 associated files. Please help- anyone!!!

    Just so people don't think I am ignoring someone where my name is mentioned, I answered this on another forum.
    Shane

  • I need help understanding how this works. AS 2.0

    Its my first time here and i only started learning flash today. I aint too great with maths and i was showed this piece of code that makes a triangles point follow the cursor. It involved mathimatical things ( which i aint so great at) and the guy said "You dont need to know how it works, just how to use it." well i copied his code and it worked, but i have no idea how to use it in other rotation apart from the one he taught us. I dont even understand how to redo his code i saved it to a word document and anytime i wanted to make something rotate something in that fashion i would refer to that. But i dont want to have to do that, i want to know how to use it, dont have to understand it, but use it for other rotation matters. If you are going to help, please try to be a bit simmple i explaining it, cause im new. Dont get me wrong i aint thick but i can find it a bit hard to follow some things, that is i my current problem.
    here is the rotation code:
    onEnterFrame = function()
    hero._rotation = getmouse(hero);
    getmouse = function(mc:MovieClip):Number
    dy = _ymouse-mc._y;
    dx = _xmouse-mc._x;
    rad = Math.atan2(dy,dx);
    rotate = rad*180/Math.PI
    return rotate+90
    also if it helps, here is the video i was watching: http://www.youtube.com/watch?v=w3OfrpbNhHs
    please if you can, explain how the entire thing works.
    thanks for any help given in advance.

    Hi,
    Here's a short primer.  It may not be sufficient but here goes.
    1st, move the closing bracket at the end and put it on the third line.  This makes the code more efficient
    onEnterFrame = function(){                               // this causes Flash to repeatedly
                                                                              execute the next line at the
                                                                              frame rate you selected
                                                                              for your document
           hero._rotation = getmouse(hero);               // this tells Flash to rotate a
                                                                              movie clip (named hero) based
                                                                              on the function getmouse()
    };                                                                     // putting the }; here makes the
                                                                              code more efficient and readable
    getmouse = function(mc:MovieClip):Number{   // This is the function called with
                                                                             mc referring to hero that was
                                                                             passed from the second line.
         dy = _ymouse-mc._y;                                // dy means delta y which subtracts
                                                                            the y position of the movieclip
                                                                            from the mouses y position
         dx = _xmouse-mc._x;                               // dx = delta x (same as above line
                                                                            but on the x axis)
                                                                         // once you have the x and y sides
                                                                            you male a triangle.
                                                                            Now use trig to find the angle
         rad = Math.atan2(dy,dx);                           // the computer works in radians
                                                                            the arc tangent atan2 will give the
                                                                            angle in radians
         rotate = rad*180/Math.PI                            // you want to convert the radians to
                                                                            degrees, that's what this line does
         return rotate+90                                         // this returns the value of rotate back
                                                                            to the calling function in line 2.
                                                                            the +90 determines which part
                                                                        // of the hero movie clip is facing the
                                                                           mouse.
    If you put the mouse cursor over any of the green reserved words above in the Actions panel you will get a desctription of what these do.
    hope that helps.

  • I need help understanding export options and optimizing for web

    I have been using FCP X for a short while now and have a pretty good grasp on the editing capabilities. What I'm having a horrible time figuring out is the export/share options. The videos I create are typically approximately 1 minute in length and get posted to a web site (we have our own CMS and video player so I'm not using YouTube or Vimeo or anything like that). In order to post them I need them to be MP4s and then I have to create .webm and .ogv files. The source material I work with is generally great, high quality stuff, so I end up with very large output files from the initial FCP share master file options.
    When I use MPEG Streamclip to make my MP4s I end up with files that are still quite large and I can't seem to ever get the file size manageable without losing tons of quality. I do not have Compressor, though if that will solve my problem I will put in for the expense of it. What I'm trying to understand is what sorts of settings I should be trying out to get my file sizes to be manageable without completely compromising my quality. And I know this can be done, because the company I work for pays for a great quantity of video work each year (from an outside production firm) and the clips provided are beautiful in quality and small in file size -- for example, I recently worked on a video and got it into the 40MB range before quality went to crap, working off the same material the production company we do work with had theirs down into the teens and looking beautiful!
    To throw an even greater wrench in the works, I am working off a mac. But when my boss, on a pc, saves the mp4s I create (raw files -- not what is posted to the web) locally on his machine and views them from there the sound is always off a tad and the people in the videos look like they're lip synching.
    Any advice on either of these is MUCH appreciated. I've been trying to figure this out properly for months, and only today decided to stop seeing if someone else had the same question and just post my own.
    Bronwyn

    Thank you Karsten, this was helpful I have utilized the Quality slider and the frame size options before though with limited results. I've never messed with the Limit Date Rate option as I don't know what I'm doing with it, I see you put 5Mbps. Is that a typical setting that I could use?
    Using stream info, here's info on my original source file:
    Stream: Charles_0023_2.mov
    Duration: 0:00:51
    Data Size: 96.51 MB
    Bit Rate: 15.77 Mbps
    Video Tracks:
    H.264, 1920 × 1080, 29.97 fps, 15.64 Mbps
    Audio Tracks:
    MPEG-4 Audio stereo, 48 kHz, 127 kbps
    Stream Files:
    Charles_0023_2.mov (96.51 MB)
    As a comparison, here's the info on a similar clip that the company we sometimes use created:
    Stream: Charles_0019_4.mp4
    Duration: 0:00:49
    Data Size: 4.66 MB
    Bit Rate: 0.80 Mbps
    Video Tracks:
    JVT/AVC Coding, 710 × 400, 29.97 fps, 635 kbps
    Audio Tracks:
    MPEG-4 Audio stereo, 48 kHz, 162 kbps
    Stream Files:
    Charles_0019_4.mp4 (4.66 MB)
    I'm fine with bringing the frame size down some and modifying the limit data rate, but sometimes I feel like I'm forcing my video into something it's not and the quality suffers -- this is where my understanding of video work breaks down LOL. Any suggestions of how I can get my .mov into something like the the .mp4 above?
    Also have you had any experience with mp4s not playing back properly on pcs?
    Again, thank you!
    Bronwyn

  • Need help understanding profiles and color management

    I made the big leap from inexpensive inkjets to:
    1 Epson 3800 Standard
    2 Spyder3Studio
    I have a Mac Pro Quad, Aperture, PS3, etc.
    I have a steep learning curve ahead, here's what I've done:
    1 Read a lot of books, watched tutorials, etc.
    2 Calibrated the monitor
    3 Calibrated the printer several times and created .icc profiles
    What I've found:
    1 The sample print produced by Spyder3Print, using the profile I created with color management turned off in the print dialog, looks very good.
    2 When I get into Aperture, and apply the .icc profile I created in the proofing profile with onscreen proofing, the onscreen image does not change appreciably compared with the no proof setting. It gets slightly darker
    3 When I select File>Print image, select the profile I created, turn off color management and look a the resulting preview image it looks much lighter and washed out than the onscreen image with onscreen proofing turned on.
    4 When I print the image, it looks the same as was shown in the print preview...light and washed out, which is much different than what is shown in edit mode.
    5 When I open PS3 with onscreen soft-proofing, the onscreen image is light and washed out...just like displayed in PS3 preview. If I re-edit the image to look OK onscreen, and print with the profile and color management turned off, the printed image looks OK.
    So, why am I confused?
    1 In the back of my simplistic and naive mind, I anticipated that in creating a custom printer profile I would only need to edit a photo once, so it looks good on the calibrated screen, and then a custom printer profile will handle the work to print a good looking photo. Different profiles do different translations for different printers/papers. However, judging by the PS work, it appears I need to re-edit a photo for each printer/paper I encounter...just doesn't seem right.
    2 In Aperture, I'm confused by the onscreen proofing does not present the same image as what I see in the print preview. I'm selecting the same .icc profile in both locations.
    I tried visiting with Spyder support, but am not able to explain myself well enough to help them understand what I'm doing wrong.
    Any help is greatly appreciated.

    Calibrated the printer several times and created .icc profiles
    You have understand that maintaining the colour is done by morphing the colourants, and you have understood that matching the digital graphic display (which is emissive) to the print from the digital graphic printer (which is reflective) presupposes a studio lighting situation that simulates the conditions presupposed in the mathematical illuminant model for media independent matching. Basically, for a display-to-print match you need to calibrate and characterise the display to something like 5000-55000 kelvin. There are all sorts of arguments surrounding this, and you will find your way through them in time, but you now have the gist of the thing.
    So far so good, but what of the problem posed by the digital graphic printer? If you are a professional photographer, you are dependent on your printer for contract proofing. Your prints you can pass to clients and to printers, but your display you cannot. So this is critical.
    The ICC Specification was published at DRUPA Druck und Papier in Düsseldorf in May 1995 and ColorSync 2 Golden Master is on the WWDC CD for May 1995. Between 1995 and 2000 die reine Lehre said to render your colour patch chart in the raw condition of the colour device.
    The problem with this is that in a separation the reflectance of the paper (which is how you get to see the colours of the colourants laid down on top of the paper) and the amount of colourant (solid and combinations of tints) gives you the gamut.
    By this argument, you would want to render the colour patch chart with the most colourant, but what if the most colourant produces artifacts? A safer solution is to have primary ink limiting as part of the calibration process prior to rendering of the colour patch chart.
    You can see the progression e.g. in the BEST RIP which since 2002 has been owned by EFI Electronics for Imaging. BEST started by allowing access to the raw colour device, with pooling problems and whatnot, but then introduced a primary ink limiting and linearisation.
    The next thing you need to know is what colour test chart to send to the colour device, depending on whether the colour device is considered an RGB device or a CMYK device. By convention, if the device is not driven by a PostScript RIP it is considered an RGB device.
    The colour patch chart is not tagged, meaning that it is deviceColor and neither CIEBased colour or ICCBased colour. You need to keep your colour patch chart deviceColor or you will have a colour characterisation of a colour managed conversion. Which is not what you want.
    If the operating system is colour managed through and through, how do you render a colour test chart without automatically assigning a source ICC profile for the colourant model (Generic RGB Profile for three component, Generic CMYK Profile for four component)?
    The convention is that no colour conversion occurs if the source ICC device profile and the destination ICC device profile are identical. So if you are targetting your inkjet in RGB mode, you open an RGB colourant patch chart, set the source ICC profile for the working space to the same as the destination ICC profile for the device, and render as deviceColor.
    You then leave the rendered colourant test chart to dry for one hour. If you measure a colourant test chart every ten minutes through the first hour, you may find that the soluble inkjet inks in drying change colour. If you wait, you avoid this cause of error in your characterisation.
    As you will mainly want to work with loose photographs, and not with photographs placed in pages, when you produce a contract proof using Absolute Colorimetric rendering from the ICC profile for the printing condition to the ICC profile for your studio printer, here's a tip.
    Your eyes, the eyes of your client, and the eyes of the prepress production manager will see the white white of the surrounding unprinted margins of the paper, and will judge the printed area of the paper relative to that.
    If, therefore, your untrimmed contract proof and the contract proof from Adobe InDesign or QuarkPress, or a EFI or other proofing RIP, are placed side by side in the viewing box your untrimmed contract proof will work as the visual reference for the media white.
    The measured reference for the media white is in the ICC profile for the printing condition, to be precise in the WTPT White Point tag that you can see by doubleclicking the ICC profile in the Apple ColorSync Utility. This is the lightness and tint laid down on proof prints.
    You, your client and your chosen printer will get on well if you remember to set up your studio lighting, and trim the blank borders of your proof prints. (Another tip: set your Finder to neutral gray and avoid a clutter of white windows, icons and so forth in the Finder when viewing.)
    So far, so good. This leaves the nittygritty of specific ICC profiling packages and specific ICC-enabled applications. As for Aperture, do not apply a gamma correction to your colourant patch chart, or to colour managed printing.
    As for Adobe applications, which you say you will be comparing with, you should probably be aware that Adobe InDesign CS3 has problems. When targetting an RGB printing device, the prints are not correctly colour managed, but basically bypass colour management.
    There's been a discussion on the Apple ColorSync Users List and on Adobe's fora, see the two threads below.
    Hope this helps,
    Henrik Holmegaard
    technical writer
    References:
    http://www.adobeforums.com/webx?14@@.59b52c9b/0
    http://lists.apple.com/archives/colorsync-users/2007/Nov/msg00143.html

  • Need Help Understanding GoldenGate DR (Standby) Switchover/Fail-over with DBFS and Fuser

    Hi, Gurus. We are about to embark on GoldenGate DR failover / switchover configuration and testing using DBFS and Fuser. The details are described in Doc ID 1436913.1 and 1322547.1.
    I know the basics of GoldenGate and Oracle DataGuard. But DBFS and Fuser are new concepts to me. I need some help.
    1) Is GoldenGate installed in a DBFS partition on the primary? SO, DBFS has to be configured before it is installed?
    2) Are these GoldenGate files and directories (ggsci, /dirdat, /dirrpt, etc) visible from UNIX level? Will I be able to navigate in the GG mount or is it a closed file system like ASM?
    3) DBFS has to be a part of database. So, what happens if primary database crashes and cannot be mounted? My guess DBFS will not start because the database is down. Or does it run outside of database?
    4) Does DBFS store just links to large files in the Oracle database, but the actual GoldenGate binaries files still reside on OS level? Ot they are INSIDE of the database - both GG binaries and trails?
    5) How does GoldenGate replicates itself to standby? Because it is a part of database and primary archivelogs and redo logs send the changes to the standby? Or it ONLY runs until switchover/failover on the primary, but afterward it is simply unmounted from primary and mounted to standby by the oracle OS user and the scripts? Or is there a datapump and extract that send trails to standby and after the failure those trails are simply being used?
    I guess that is my main question. Why do we bother with DBFS at all? We can simply add a standby extract/datapump to the primary. It will send trails to the standby, that will have only manager running. The manager will accept the trails, periodically deleting all older than lets say one week. At the time of failover/switchover we simply use the same queries as in the docs above to find out if standby became the new primary (the failover had occured). If it did, we can use the same script to get SCN from which this new incarnation started , use a shell script to use an obey file to add the replicat starting from that sequence and voila! Why do we need to bother with fuser and cumbersome DBFS at all? Please let me know what I am missing. If there are alternative to this DBFS DR GoldenGate switchover I would like to use which ever one is the simplest. Thanks.

    Looking at the information provided by you. You have created a flashback restore point and then activated your standby database. As you have flashback restore you can flashback your current primary database(old standby) to standby mode but all your changes made on your database will be lost. And you have not done a switchover. you have activated your standby.

Maybe you are looking for

  • Looking for a specific app...

    I'm pretty sure I've been through the entire list of iTouch apps at least three or four times. I'm looking for an app that is basically a journal that would be protected with a passcode. I find to-do lists out the wazzoo, don't want those. If anyone

  • Can't Print to Epson Printers from Photoshop

    Hey everyone - for some reason I am unable to print from Photoshop CS6 to two different Epson printers - an Epson 9800 and an Epson 7880. I have tried to print from three different computers (OS 10.6 and OS 10.8) and have also tried three different U

  • How do i Drag and Drop print in black and white?

    I really like the drag and drop printing feature where i just drag several files to the printer icon in the doc and they print with out opening the file. My only problem is that i can't get them to print in black and white, or choose any other featur

  • Lack of search sidebar in Pages 5.0 is a major drag

    I used the search sidebar as a handy list of shortcuts to jump around within a large document. For example I used to have important locations marked with "##" which then showed up as a clean list on the left. Now the search sidebar is gone in Pages 5

  • Connect hdtv to mac mini

    Hi Is there any way of connecting an hdtv to a g4 mac mini? And is there any difference beteween a lcd tv with a resolutioin of 1366 x 768 and an hdtv with the same resolution?