[svn] 3520: Add ability to use the FP10 unloadAndStop() method in SWFLoader .

Revision: 3520
Author: [email protected]
Date: 2008-10-08 10:26:39 -0700 (Wed, 08 Oct 2008)
Log Message:
Add ability to use the FP10 unloadAndStop() method in SWFLoader.
An application needs to be compiled with the "-target-player=10" argument to allow SWFLoader's unloadAndStop() function to use the Flash Player's unloadAndStop() function. If the argument is not provided then the Flash Player unload() function will be called instead.
QE: YES
Doc: YES
Checkintests: YES
Reviewer: Ely, Deepa
Bugs: SDK-16764
SWFLoader.as
Added new public method unloadAndStop().
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-16764
Modified Paths:
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as

Thank you for your replies.
I have been looking into it as well and seem to have found quite a simple solution...
First you need to create an instance of a UIScrollView in the .h file:
IBOutlet UIScrollView *scrollView;
Then in the .m file, add the following line of code in the viewDidLoad method:
scrollView.contentSize = CGSizeMake(320, 700);
Then in IB all you need to do is set the files owner to the controller file we have set up above, drag a new instance of UIScrollView to the window. Then set two of its referencing objects to the File's Owner (view and the scrollView we have defined).
You can then add as many labels etc to the scroll view by dragging in IB. Load it all up and the view scrolls perfectly and displays all labels!
Thanks for helping me look into this.

Similar Messages

  • Is it possible to add a user using the RESTful Web Services SDK

    Others have asked before about user management features in the RESTful Web Services SDK.  However I can find no answers or links which provide an answer to the question 'Is it possible to add a user using the BI 4.1 SP2 RESTful Web Services SDK'?
    Any help would be appreciated.
    Regards,
    Steve

    Hi Steve
    Unfortunately, not possible. The BI RESTful can only get "stuff" that is already there. I suppose this would fall under some sort of "Object Creation" API and that is not there. Yet. Rumors abound, but nothing firm. Just as a BTW.; the Business Intelligence platform RESTful Web Service Developer Guide 4.1 is here:
    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_bip_rest_ws_en.pdf
    SAP Web Intelligence RESTful web service SDK User Guide, SAP BusinessObjects Business Intelligence platform 4.1
    SAP Crystal Reports RESTful web services - SAP Crystal Reports RESTful web services
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Why have I lost the ability to use the Background Brush in Low Key in my Photoshop Elements 11 Program??? Need this fixed!!!

    Why have I lost the ability to use the Background Brush in Low Key in my Photoshop Elements 11 Program?????  I need this fixed, can anyone help me???

    I'd try resetting the pse 11 preferences.
    In the pse 11 editor Adobe Photoshop Elements Editor (Edit)>Preferences>General, click on Reset Preferences on Next launch
    and then restart the pse 11 editor.

  • I keep losing the ability to use the microphone to input notes how can I turn the microphone back on

    I keep losing the ability to use the microphone When creating or adding to existing NOTES App that came with my iPhone five how can I turn the microphone back on? It reactivated for a while after the new iOS 6.1 update but only for a couple days.

    I'm very sad about that. 
    Will Apple provide the ability to protect our children from inappropriate behavior sometime soon? 

  • I can't seem to add my hotmail using the advanced set up on my new Z10

    When I go to add an account using the advanced setup (selecting the hotmail icon), the phone keeps telling me my login information is incorrect.  I can login to hotmail without any difficulties on my playbook and laptop.  What am I doing wrong?

    I found this problem was caused by the Microsoft Live Account "2-step verification process" (which is optional). I only discovered this after I had to log back into my Live account on the PC, and (silly me) decided I should opt for the 2-step verification process. 
    Using your computer:
    1. log into your Microsoft Live Services Account
    2. select Security Info
    3. switch off the two-step verification process
    Now go back to your Blackberry, set up your Live account with your email address and password by selecting Accounts /  Add Account / Email, Calendar and Contacts / <youremail_address> 
    Once it has connected, select Accounts / Edit Account / Advanced / check "Push" (or go for Sync), and note that you can select or deselect the option "Download Messages While Roaming"
    Worked for me on BBZ10. Hope that helps somebody else. 

  • Add new characteristic in the currency translation method

    Hi All,
    I would like to know if it's possible to add a characteristic in the currency translation method in order to use it in the exchange rate determination.
    Currently the available characteristic are: Country, Segment, Cons. Group, Profit Center, Company, Trading Partner, Investees, Document Type, Posting Level, Translation Indicator and Local Currency.
    Thanks in advance.
    Best Regards
    João Anastácio

    One way to accomplish this is to change the method layout to explicitly include the desired characteristic. Another is to make the characteristic in the breakdown category for the items where it is to be included.

  • I would like to download a production desciption into my website like I have before, but it says I can't use the copy/paster method anymore. Why?

    I have a website - www.pawsitivepamperings.com, and I have been adding products for the last 6 months. I have been using the copy/paste method from my drop shipper. Since the end of last week, it hasn't been working. It has totally stopped my progress! I need help in using this function again - as soon as possible. Can you help me?

    I right click, and Copy from an HTML description from my drop shipper. Then I go to my website and right click to Paste.
    One of two things happens. (1) if it does copy, the text prints over the image; OR (2) I get a message that Firefox does not apply a Cut/Copy/Paste.
    The wording at the bottom of the description box says: Path: table> tbody> tr> td> p> font.
    I was told by my webmaster to eliminate the following but I don't see it on my products page: <table align="center" border="0" cellpadding="1" cellspacing="1" width="100%>.
    When I have been on a 'live chat' with my support team, a couple of them have overridden the issue and I could precede, but I go to the next product to add, the whole process starts again and I cannot proceed.
    Does this make sense?

  • I found my old ipod and i forgot the passcode. It doesnt have an home button so i dont know how to put it in recovery mode so i can restore it. Ive been using the assisted touch method. But what should i do to put it in recovery mode

    i found my old ipod and i forgot the passcode. It doesnt have an home button so i dont know how to put it in recovery mode so i can restore it. Ive been using the assisted touch method. But what should i do to put it in recovery mode so i can restore it.

    Use this program to place the iPod in recovery mode
    RecBoot: Easy Way to Put iPhone into Recovery Mode

  • Using the Process.getOutputStream() method

    Hi all,
    i have written a java program that executes System commands and returns output...
    this program works fine if you want to only execute the command and returns output...
    but suppose that the program that you executed waits for you to input something before returning ouput?!!
    i suppose i have to use the Process.getOutputStraem() method in my prog!
    but i don't know how to do that :-(
    can any one help me to refine the prog to handle this case !
    thanks a lot
    here is the code:
    import java.util.*;
    import java.io.*;
    class StreamGobbler extends Thread
        InputStream is;
        String type;
        OutputStream os;
        StreamGobbler(InputStream is, String type)
            this(is, type, null);
        StreamGobbler(InputStream is, String type, OutputStream redirect)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    System.out.println(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
    public class GoodWinRedirect
        public static void main(String args[])
            if (args.length < 1)
                System.out.println("USAGE java GoodWinRedirect <outputfile>");
                System.exit(1);
            try
                FileOutputStream fos = new FileOutputStream(args[0]);
                Runtime rt = Runtime.getRuntime();
                Process proc = rt.exec("java jecho 'Hello World'");
                // any error message?
                StreamGobbler errorGobbler = new
                    StreamGobbler(proc.getErrorStream(), "ERROR");           
                // any output?
                StreamGobbler outputGobbler = new
                    StreamGobbler(proc.getInputStream(), "OUTPUT", fos);
                // kick them off
                errorGobbler.start();
                outputGobbler.start();
                // any error???
                int exitVal = proc.waitFor();
                System.out.println("ExitValue: " + exitVal);
                fos.flush();
                fos.close();       
            } catch (Throwable t)
                t.printStackTrace();
    }

    it's true that i've copied it and pasted it...
    but i do understand how it works (really)
    the article mentioned at last that we could send input
    to the Program by invoking getoutputStream
    i guess that we should write a construtor for the
    streamGobbler class but this time using a
    OutputStreamReader and may be doing sth elseThe "Gobbler" is there to eat up whatever bytes become available on an InputStream (from the program's output). I don't think ou just want to try to use the same class to handle the program's input.
    The Gobbler can be used for eating up whatever comes out of any program--it' general, and doesn't rely on any particular output from the program (input to the Gobler). This is not the case for whatever writes to the program's input. You'll need to write what the program expects in the proper order.

  • Lightswitch html use the 'any' query method

    Hi
    Can someone please tell me how i can use the "any" query method for entity collections in lightswitch html?
    Thanks

    Hi Xpert360
    It's for a type of EntityCollection this is the code from the msls-2.5.2.vsdoc.js line 2220
    any: function any(predicate) {
    /// <summary>
    /// Determines whether this sequence contains any
    /// items that optionally satisfy a condition.
    /// </summary>
    /// <param name="predicate" type="Function" optional="true">
    /// A function to test each item for a condition.
    /// <br/>Signature: Boolean item.predicate(item)
    /// </param>
    /// <returns type="Boolean">
    /// True if this sequence contains any items that
    /// satisfy the condition, if any; otherwise, false.
    /// </returns>
    var result = false;
    this.each(function (item) {
    if (!predicate || predicate.call(item, item)) {
    result = true;
    return false;
    return true;
    return result;
    Check it out and let me know if you know how to use it, my problem is how to use the call back function.
    Thanks

  • How to get the tag of the User Defined Variables using the Get Tag method%3F

    For the cRIO modules under a cRIO Chasis, a tag value can be obtained using the Get Tag method with crio.Type to the TagName input of the method. When it comes to the User Defined Variables, what should be fed to the TagName input?

    For the cRIO modules under a cRIO Chasis, a tag value can be obtained using the Get Tag method with crio.Type to the TagName input of the method. When it comes to the User Defined Variables, what should be fed to the TagName input?

  • Add ability to use raw data in the Histogram and clipping indicators

    I have posted this as an ACR and Lightroom Feature Request at the Photoshop Family site.
    http://feedback.photoshop.com/photoshop_family/topics/raw_data_histogram_display_lightroom _and_adobe_camera_raw?rfm=1
    It was suggested I also post it here to for more visibility.
    "The current Histogram display in Lightroom and Adobe Camera Raw accurately display the file image data for JPEG, PNG, PSD, TIFF file types, but not for raw files.
    When a raw file is demosaiced and a camera profile applied it is no longer possible to determine the actual R-G-B-G2 raw data clipping levels. This is useful for determining best exposure settings (ETTR) when shooting tethered, evaluating exposure bracketed images, or for simply determining your camera's exposure metering accuracy.
    This can be added as a user-selectable option button in the current Histogram to allow viewing of the camera file's R-G-B-G2 raw data values."
    This has been requested in the past, but there appears to be mixed feelings and some confusion as to its benefits:
    http://forums.adobe.com/message/3967184#3967184
    The sole objective of  using the raw image file data in the Histogram is to determine if the image file contains clipped pixels. The actual raw data preview image is of no value other than to "accurately" display those pixels using the Highlight and Shadow clipping indicators. A good example of this implementation is the RawDigger application available for download here:
    http://www.rawdigger.com/

    Yes but it can be problematic in so far as some users find it can slow down their system. When you first switch it on it can take a while for all your files to be updated. If you're in the habit of making edits and adjustments to multiple selected images this too can slow things down. Anyway, to activate the it you'll, need to open
    Catalog Settings from the
    File menu, then set the
    Metadata: Automatically write changes into XMP to On - see attached screenshot.

  • Can't open a new tab in version 30.0 on my mac. I have no add-ons and use the default settings.

    I tried removing any extensions (only had one), and am already using the default page settings. This occurred RIGHT after I upgraded to the newest version- 30.0. I don't have any add-ons either. So since this happened with your newest version and seems like a ton of people are having the same problem, it says to me that FIREFOX needs to find the cause, not lay it on us to figure a round-a-bout.
    Also , I've had a problem that the tabs keeping reloading a ton of OLD tabs every time I restart or open a new window. The same ones, like 30 of them! Tried deleting cache, didn't work. ?

    Hello,
    This happens in safe mode?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    <hr>
    # First show the hidden files and folders:
    #*[http://windows.microsoft.com/en-us/windows/show-hidden-files Show hidden files (Windows Vista/7)]
    #*[http://kb.mozillazine.org/Show_hidden_files_and_folders Show hidden files]
    # Go to your profile folder:
    #*[http://mzl.la/NYhKHH How do I find my profile?]
    #*[http://kb.mozillazine.org/Profile_folder_-_Firefox]
    # Close completely Firefox.
    #*[http://kb.mozillazine.org/Kill_application]
    # Delete or rename the '''localstore.rdf''' file.
    # Restart Firefox.
    *[http://kb.mozillazine.org/Localstore.rdf]
    *[http://kb.mozillazine.org/Corrupt_localstore.rdf]
    <hr>
    Also:
    *[http://mzl.la/MnSTZB Reset Firefox]
    *[http://mzl.la/LL5Dxl Manage profiles]

  • How can I add an appoggiatura using the score editor?

    I'm using Logic Pro X to write an ensemble piece and I need to add an appoggiatura, how do I do it?

    Hi
    I'm not sure what your issue is: add extra notes, convert them to Independent Grace notes, and adjust the positions using the Layout tool as needed.
    CCT

  • I have an original iPad and downloaded the new operating system.  Now' I cannot write on my Contacts or Calendar apps, and my Pages app (purchased) has lost the ability to use the bold, underline, and italics functions.  Does anyone know how to fix these

    I have an original iPad and downloaded the new operating system.  Now, I cannot add to my contacts or calendar apps, and Pages ( which I purchased) is not allowing me to use the bold, underline, and italics functions.  Does anyone know how to solve this problem?

    No, it stays with the current OS (iOS5 in this case) - Apple doesn't allow downgrading iOS
    If you are syncing to a desktop, you shoudln't lose anything. If you aren't syncing, then that's the first thing you should do, to protect contacts etc.
    the other thing is, when the iPad is connected to iTunes, right-click its name in the Devices list and choose Back Up.
    That way, when yoiu do the restore, everything should come back as was.

Maybe you are looking for

  • Problem with Mail receiver adapter

    Hi, I have the following scenario, Proxy ABAP-XI -Mail. I have configured my scenario, and the payload is correctly sent to the email address that i have configured in the mail adapter, but in xml format, the point is that I have to send the attached

  • Japanese Characters working as URL parameters, turning to question marks when in URL string itself

    I'm having some trouble getting coldfusion to see japanese characters in the URL string. To clarify, if I have something like this: http://my.domain.com/index.cfm?categorylevel0=Search&categorylevel1=%E3%82%A2%E3%82%B8%E3% 82%A2%E3%83%BB%E3%83%93%E3%

  • How can I acces Secure Notes from Keychain on my other Macs?

    I have build up many Secure Notes in Keychain with important stuff and I'd like to be able to access these notes on my four Macs and other Apple devices. Is this possible? If not, maybe a poor alternative would be to create a secure .txt file and sto

  • Maximum number of Lock Entries

    Hi Guys, I'm doing some WBS Settlements through CJ88/CJB1 . It might happen that this Txn may process thousands of WBS Elements at a time which means all those WBS Elements will be locked . How to find out the maximum Lock entries in SAP ? I want to

  • FileSystemTree problems

    FileSystemTree.expandChildrenOf and expandItem dont work very well. expandChildrenOf opens only first child level, then first and second after having closed it in between and so on. And expandItem dont open anything, if(bExpandAll){      if (fst.sele