Orientation strategy for mobile. Best practice?

Hi all.
What's the best way to handle orientation changes on a mobile device when you have several child movies loaded in the background?
I'm thinking:
1. Each child movie have it's own listener for an orientation change. (calls function to adjust graphics as needed so they are ready when the movie is added to stage)
or
2. One primary listener on the main stage which the child movies respond to.
Thoughts? Am I way off-base on this?
Thanks!
JP
PS. Don't think this matters, but just in case, the app is for iOS only.

It's not difficult to make your own event, which you can use custom information in it. I prefer this method.
Here's a full example of a custom event I use all the time called AppEvent:
package
     import flash.events.Event;
     public class AppEvent extends Event
          public static const APP_EVENT:String = "appevent";
          public var params:Object;  // where you stick your custom goodies
          public function AppEvent(type:String, params:Object, bubbles:Boolean = false, cancelable:Boolean = false)
               super(type, bubbles, cancelable);
               this.params = params;
          public override function clone():Event
               return new AppEvent(type, this.params, bubbles, cancelable);
          public override function toString():String
               return formatToString("AppEvent", "params", "type", "bubbles", "cancelable");
To dispatch this event with a piece of data, you'd do this:
this.dispatchEvent(new AppEvent(AppEvent.APP_EVENT, {customVarA:"something",customVarB:"something"}));
In that example I sent "customVarA" and "customVarB" both set to the string "something". I'd read it like this:
function someHandler(e:AppEvent):void
     trace("A: " + e.params.customVarA + ", B: " + e.params.customVarB);
It sends an object through called e.params. You set whatever objects you want inside it.
To add a listener from a child clip just use the .parent property.
e.g.
this.parent.addEventListener(AppEvent.APP_EVENT, someHandler, false, 0, true);
Any time the parent dispatches the event the child will get it, with whatever custom parameters you need.

Similar Messages

  • Looking for some best practice regarding Content Administrator access

    Hi. I am looking for some best practice or rule of thumb from SAP or from different companies how they address Portal Content Administrator access in Production environment. Basically, our company is implementing portal to work with SAP BW.  We are on SP 9. Basically, I am trying to determine if we should have 1-2 Portal Content Administrator in Production with 24/7 access or we should limit them from NOT having this.  Can you share with me some ideas of what is right? and what is not?
    Should we have access in Production? Or Should we have this access but limited? By the way, our users are allow to Publish BI reports/queries into Production.

    Hello Michael,
    Refer to this guide about managing initial content in portal.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00bfbf7c-7aa1-2910-6b9e-94f4b1d320e1
    Regards
    Deb
    [Reward Points for helpful answers]

  • Business Package for SAP Best Practices for Enterprise Portal

    Hi,
    We are implementing EP for ECC 5.0 and we have to web enable some FI transactions like FB50/fb60 etc. We want to use standard business package for this. The only business package that caters this requirement is "Business Package for SAP Best Practices for Enterprise Portal 60.1". When i checked the data source for this business package, the specification is for "SAP R/3 4.6B and above". Does this work for ECC 5.0 as well? In general does the R/3 specific business packages work for ECC versions? Please let me know. Thanks for the help.  I promise rewards.
    Regards
    Hari

    Hari,
    When you download the BPO via Portal Content Portfolio,
    each bpo has additional information on the release.
    For example for the one you are inquiring about - Business Package for SAP Best Practices for Enterprise Portal, the additional release information is provided on the following links;
    https://www2.iviewstudio.com/sdn/info/index.cfm?action=faqs&part=#QSR03
    https://www2.iviewstudio.com/sdn/detail_view/index.cfm?action=package_information&CatalogSet=SAP%20Content&ItemID=17212&CFID=7544845&CFTOKEN=99283970
    Regards,
    James

  • QoS Beta(643-642), information for "QoS best practices"

    I'm preparing the "IP telephony operational specialist" exam and now for QoS beta(643-642).
    Can I get an URL for "QoS Best Practices" from CCO ? And any comments for the exam.
    Thanks,

    Best practices differ according to the type of service your are running, here are some examples
    http://www.cisco.com/en/US/tech/tk543/tk759/technologies_white_paper09186a00801348bc.shtml
    http://www.cisco.com/en/US/tech/tk543/tk544/technologies_white_paper09186a008011fde2.shtml

  • Trouble: Crsytal reports for SAP Best practices

    Hello Friends,
    I have downloaded crystal reports for SAP Best practices. There are bunch of Crystal reports whose data source is a infoset query.
    Below are the reports
    Cost Analysis: Planned vs. Actual Cost Variance for Cost Centers     Table: CSKT, CSLT                                                                               
    Query: CO_OM_CA_20_Q1
                                                                                             InfoSet: ZBPBI131_INFO_ODVR
    Cost Analysis: Planned vs. Actual Order Costs                             Query:  CO_OM_OP_20_Q1
                                                                                  InfoSet: ZBPBI131_INFO_ODVR, ZBPBI131_INFO_COAS
    Controlling Dashboard                                                     Table: CSLT
                                                                  Query: CO_OM_CA_20_Q1, CO_OM_OP_20_Q1
                                                                  InfoSet: ZBPBI131_INFO_CSKT
    I have created the above Infosets using the document which comes with the installation. However I couldn't find any documents to create these queries. I also searched the SAP system if these were predefined but I still couldn't find.
    Note: I am ECC 6 and Enhancement pack 3
    Question: Where are these queries?? How do i create them?
    Any inputs would be really appreciated?

    Hightlight the G entry and invoke the context menu.Select Options and in the Table name field enter the following
    CO%
    Close the options window and press F5. Navigate again to SAP Infosets and to the opened connection to your system. Under Q->G you should be able to see the CO* Infosets.
    Regards,
    Stratos
    BTW % is a wildcard (same as * in Windows/Unix )

  • Looking for a best-practices guide for developing in TestStand

    I am looking for a best-practices guide for developing in TestStand. LabVIEW has its style guides and books, but there is very little published about TestStand.
    Also, and I mention this since NI checks these entries as well, how about adding TestStand to the NI Developer Zone?
    Thanks in advance for any leads or documents you can provide!

    Thanks! I was stuck on entering "TestStand best practices" into NI's search engine, and never thought of entering "TestStand style guide."
    If anyone knows of additional pertinent content, I would appreciate hearing about it.

  • Crsytal reports for SAP Best practices

    Hello Friends,
    I have downloaded crystal reports for SAP Best practices. There are bunch of Crystal reports whose data source is a infoset query.
    Below are the reports
    Cost Analysis: Planned vs. Actual Cost Variance for Cost Centers     Table: CSKT, CSLT                                                                               
    Query: CO_OM_CA_20_Q1
                                                                                             InfoSet: ZBPBI131_INFO_ODVR
    Cost Analysis: Planned vs. Actual Order Costs                             Query:  CO_OM_OP_20_Q1
                                                                                  InfoSet: ZBPBI131_INFO_ODVR, ZBPBI131_INFO_COAS
    Controlling Dashboard                                                     Table: CSLT
                                                                  Query: CO_OM_CA_20_Q1, CO_OM_OP_20_Q1
                                                                  InfoSet: ZBPBI131_INFO_CSKT
    I have created the above Infosets using the document which comes with the installation. However I couldn't find any documents to create these queries. I also searched the SAP system if these were predefined but I still couldn't find.
    Note: I am ECC 6 and Enhancement pack 3
    Question: Where are these queries?? How do i create them?
    Any inputs would be really appreciated!!
    Thanks,
    Shiv

    Hi Shiv, this forum is to support Crystal Reports. I suggest you post your question to one of the SAP forums for how to use that tool to create the queries.

  • Look For Transport Best Practices

    Hi,
    I am looking for transport best practices, so please answer the following questions on how your place of business handles :
    1. If an object is modified in development and you decide that you you do not wish to move the modifications forward - Do you;
        a. delete the transport and release the locks
        b. create a corrective transport and move the transport through production
        c. release the transport and never import it into the next system
        d. something different : (Please explain)
    2. If a transport is imported into QA and then you decide never to move it to production, do you:
        a. delete the transport and release the locks
        b. create a corrective transport and move the transport through production
        c. release the transport and never import it into the next system
        d. something different : (Please explain)
    Thanks Rob
    [email protected]

    I was always taught never to delete a transport. The changes should be reversed in the same transport and moved forward or released and the corrective transport moved forward in the same import queue.
    If the transport goes to QAS then it needs to move to production. A corrective transport should be imported into production in the same queue.
    I am sure you can get 20 different answers on this, but this is my policy.

  • Placing Images (Screen Caps) for Callouts - Best Practice?

    Illustrator CS6, Windows 7
    I'm placing screen captures (screen images from software) in my artwork files to add callouts and create illustrations for a user manual.
    The machine I'm capturing on has a screen resolution set at 1920 x 1080 (required for software). I'm using Snagit and capturing the screens, saving files, then placing in Illustrator. I've been using images minimum 300 dpi and never upsizing in Illustrator. Still I think my results could be better.
    In the past I've used .jpg as my export filetype for placing into Illustrator. But, recent reads of postings in this community lead me to believe my practice might be flawed.
    Question: What is considered best practice for placing images from screen capture (or any source) in Illustrator? What file type from capture will get me the clearest and most adaptable results?
    My Illustrator file color mode is CMYK and my other art and callouts supporting the screen cap are working great.
    I'm creating the artwork for import to Framemaker and creating a PDF for online and print.

    What I mean is; what is the user looking at, and what are you training on?
    For example, if the application involves medical imaging, and part of your documentation covers something like evaluating medical images in the application, that would probably be a far more color-critical scenario than an application in which the user just views and manipulates data.
    Generally, you don't need anything like 300 PPI for screen captures in software documentation. The whole intent is for the image to look like the screen you are documenting, which is something like 72 or 96 PPI at actual size. You might downscale a screen capture as much as 50%, but at that size, the reader is viewing the application's text (including menus,  etc.) at half the size as viewed in the application, which is assumed to be sized for comfortable reading. Sharpness is good. You don't want the images to become blurred in pursuit of completely needless "resolution."
    Also generally speaking, software screenshots are not usually color-critical. Placing (even pasting from SnagIt) directly into the page layout app is usually just fine. PostScript knows how to separate RGB images. Such things have been done since long before anyone sweated blood over "color management." Assuming your application interface is not using garish color (which would be poor interface design; it's tiring), I dare say the conversion of RGB screenshots to CMYK at the imagesetter or press would be fine.
    How is the manual going to be printed? Unless you're talking about a large press runs, nowadays software documentation (subject to frequent updates) is often printed on on-demand presses (think glorified digital color copiers), not sheetfed presses. With software documentation, you're not usually talking coffee-table collector's books. (The exception would be something like a book on color-correction in Photoshop; thus my first question.)
    I routinely paste screenshots from SnagIt directly into InDesign pages to document software applications, and add the callouts in InDesign. Only when I need some special graphics (swooping arrows, etc.) do I assemble the callouts to the screenshots in Illustrator; and even when I do that, I also typically paste the SnagIt captures directly in to AI.
    Keeping your callouts native to the page layout program also better facilitates language translation, when you have to outsource that.
    JET

  • Looking for BODS Best Practice document

    Hi,
    Can anyone pls. share BODS best practice document in case you have any. I tried to find out from net and i couldn't.
    Thanks and Regards,
    Gannu.N

    Ok you need some spoon feeding it seems. You should have checked the correct answer from the post and searched the key word "SAP Best Practices for Data Migration and Data Quality" in google.
    Here's the link SAP Best Practices for Data Migration and Data Quality – SAP Help Portal Page
    Also as a heads up, there won't be any single document which gives all the details you need. You need to narrow down your search and focus on the required material only.

  • Request for any Best Practice document for configuring Service Parameters on CUCM 9.1.1

    Hi Team,
    Could you please send if you have any  Best Practice document for configuring Service Parameters on CUCM 9.1.1. That would really help.
    Thanks,
    Guru

    Hi
    There's no 'best practice' as such, but there are a few that I think should be default:
    Enabling CDR, On-Hook Pickup, CFwdAll Override... but really the settings are specific to the requirements of the deployment.
    Aaron

  • Looking for Security Best Practices documentation for Sybase ASE 15.x

    Hello, I'm looking for SAP/Sybase best practice documentation speaking to security configurations for Sybase ASE 15.x. Something similar to this:
    Sybase ASE 15 Best Practices: Query Processing & Optimization White Paper-Technical: Database Management - Syba…
    Thanks!

    Hi David,
    This is something I found on the Sybase site:
    Database Encryption Design Considerations and Best Practices for ASE 15
    http://www.sybase.com/files/White_Papers/ASE-Database-Encryption-3pSS-011209-wp.pdf
    ASE Encryption Best Pracites:
    http://www.sybase.com/files/Product_Overviews/ASE-Encryption-Best-Practices-11042008.pdf
    If these do not help, you can search for others at:
    www.sybase.com > serach box on the top right.
    I searched "best pracitces security"
    Can also run advanced search > I typed in "ssl" into exact phrase.
    Hope this helps,
    Ryan

  • Looking For Guidance: Best Practices for Source Control of Database Assets

    Database Version: 11.2.0.3
    OS: RHEL 6.2
    Source Control: subversion
    This is a general question aimed at database professionals, however, it is not specific to any oracle version, etc.  Its a leadership question for other Oracle shops regarding source control.
    The current trunk, in my client's source control, is the implementation of a previous employee who used ER Studio.  After walking the batch scripts and subordinate files , it was determined that there would be no formal or elegant way to recreate the current version of the database from our source control - the engineers who have contributed to these assets are no longer employed or available for consulting.  The batch scripts are stale, if you will.
    To clean this up and to leverage best practices, I need some guidance on whether or not to baseline the current repository and how to move forward with additions of assets; tables, procs, pkgs, etc.  I'm really interested in how larger oracle shops organize their repository - what directories do you use, how are they labeled...are they labeled with respect to version?
    Assumptions:
    1. repository (database assets only) needs to be baselined (?)
    2. I have approval to change this database directory under the trunk to support best practices and get the client steered straight in terms of recovery and
    Knowns:
    1. the current application version in the database is 5.11.0 (that's my client's application version)
    2. this is for one schema/user of a database (other schemas under the database belong to different trunks)
    This is the layout that we currently have and for the privacy of the
    client I've made this rather generic.  I'd love to have a fresh
    start...how do I go about doing that...initially, I like using
    SqlDeveloper's ability to create sql scripts from a connected target. 
    product_name
      |_trunk
         |_database
           |_config
           |_data
           |_database
           |_integration
           |_patch
           |   |_5.2A.2
           |   |_5.2A.4
           |   |_5.3.0
           |   |_5.3.1
           |
           |_scripts
           |   |_config
           |   |_logs
           |
           |_server
    Thank you in advance.

    HiWe are using Data ONTAP 8.2.3p3 on our FAS8020 in 7-mode and we have 2 aggregates, a SATA and SAS aggregate. I want to decommission the SATA aggregate as I want to move that tray to another site. If I have a flexvol containing 3 qtrees CIFS shares can I use data motion (vol copy) to move the flex vol on the same controller but to a different aggregate without major downtime? I know this article is old and it says here that CIFS are not supported however I am reading mix message that on the version of data ONTAP we are now on does support CIFS and data motion however there will be a small downtime with the CIFS share terminating. Is this correct? Thanks

  • Imaging solution for EBS: Best practice guide for server setup

    Hi,
    We have to implement Imaging solution for EBS using AXF adapter. For this, customer is going to procure and implement SOA and WebCenter Content from scratch.
    We are now faced with the challenge whether to recommend SOA and WCC on the same Weblogic server or on separate Weblogic servers. Is there any best practice guide available for setting up Application Adapters for WCC?
    Thanks
    Arijit

    Hi ,
    I think this documentation would atleast help you in starting with planning :http://docs.oracle.com/cd/E23943_01/doc.1111/e15483/toc.htm
    Thanks,
    Srinath

  • BI BPC server strategy and the best practice

    Hi  Everyone
    I would like to know couple of questions:
    1) Is any white paper or documentation on pros and cons of having BPC NW installed as a add-on to BW system wherein Planning and Reporting are taking place on the same BW system versus BPC as a separate system wherein is used primarily for Planning and Consolidation system only
    2) is there a Best Practice document and performance considerations for BPC development from SAP.
    appreciated for any answers.
    Regards
    AK

    Hi AK,
    both scenarios works well but for first scenario having BPC on top of exisiting BW reporting, you need to take special attention on sizing. As BPC requires additional capacity, you need to take care of it.
    Also if you have SEM component on your BW system, you need to check this Sap note: 1326576 u2013 SAP NW system with SAP ERP software components.
    And before you install BPC, it is recommended to have a quick test process once you upgraded to NW EhP1 (it is a prerequisites for BPC), to check the existing BW reporting process.
    regards,
    Sreedhar

Maybe you are looking for