Crossdomain restrictions

I'm trying to make an app that will call out to two websites that I don't own, using HTTPService (and one of the websites I want to communicate via SSL). I read that Flash has some crossdomain restrictions on this, and that I'd have to have a crossdomain XML policy file on those domains to have my app be able to fetch information from them, but as stated I don't own the domains. I can't use a proxy either, because the site needs the actual user's IP logged and won't work otherwise. Is there a way I could have it connect? Even if it has to display a warning dialog for the user to click Agree on, that's ok.
Sorry if I sound like a retard, I'm fairly new to this and this is probably the second thing I've made and first thing made from scratch.
Regards

The websites my application have to access is:
My own, via HTTPS
reCAPTCHA to fetch a challenge string, via HTTPS
A separate website, via HTTP
My own, I can host any type of required policy file. I'd of course need help with what the policy file needs to include, though.
reCAPTCHA, I need to fetch a challenge string, which then is used to fetch the CAPTCHA (https://api.recaptcha.com/image?k=<challenge string> i think) and later I need to submit the answer there to check it.
A separate website, after I check the answer with reCAPTCHA it will give me a token which my application then needs to submit to that website.
All requests are currently through HTTP, I don't know how to communicate through HTTPS yet and need help with that.
With the separate website, it's a type of ranking website that needs all of the requests to it to be through unique IP addresses, and so I need the applet to send/receive data to/from that website directly from the user's computer.
reCAPTCHA checking involves submitting the value of $_SERVER['REMOTE_ADDR'] which reCAPTCHA checks to make sure is the IP address that requested the CAPTCHA, so I need the applet to send/receive data to/from that from the user's computer as well.
My own website, I can add any workaround on that as I want.
You may know, there's no hope of me getting Google to add a policy file or whatever onto reCAPTCHA without it going at least a few months of approval process and also there's no way I can use a proxy because then the IP logged is the proxy's IP rather than the user's IP.
Not sure what you mean by sandbox. I'm currently using HTTPService if that helps at all, it works fine locally but if I try HTTPS it won't work, and if I try loading it onto my website it will never load the CAPTCHA.
Regards.

Similar Messages

  • Interactive Statement unable to access Web Service

    I have a working Flash Builder project from which I generate a nav file which I use to generate an Interactive Statement using a process in Workbench.
    The Interactive Statement works fine with all the Flash content and data merged from xml.
    When I incorporate using a Web Service in the Flash Builder project code to populate a data grid, and regenerate the nav file to generate the interactive statement, the interactive statement gives the following security error when opened:
    Security error accessing url
    Destination: DefaultHTTP
    It seemed that this issue is related to cross domain policy or something like that, BUT I do not get this error when:
    1. I run the Flash Builder project directly from Flash Builder that fires up IE and my flash content works perfectly fine in the HTML wrapper, including the web service call that works fine. This works fine both from the bin-debug and the bin-release folders of my Flash Builder project.
    2. I created an AIR application from scratch, and consumed the same webservice as used in the earlier Flash Builder project being used to generate nav file for Interactive Statement. The AIR application also works perfectly fine in invoking the web service and does not give any errors.
    Question: Why is my Interactive Statement unable to access the web service and gives the error as mentioned above when the same web service is being accessed and consumed successfully by the same flash content in an html wrapper and in an AIR application. How to make my flash content embedded in the PDF container to access and consume the web service?

    Hi Muhammad,
    Acrobat has different crossdomain restrictions.  Try a crossdomain file that looks like to test the connection:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="*" to-ports="*" />
    <allow-http-request-headers-from domain="*" headers="*"/>
    </cross-domain-policy>
    Following there are a couple of good articles dealing with web services calls:
    http://forums.adobe.com/message/3784114#3784114
    http://tv.adobe.com/watch/flex-in-a-week-day-2/retrieving-and-handling-data-using-webservi ce/
    http://blogs.4point.com/brad.white/2008/12/4-ways-to-invoke-a-webservice-in-flex-with-mxml -and-actionscript.html
    http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-w ebservice-class/
    Regards,
    Oana

  • Multiple plugtmp-1 plugtmp-2 etc. in local\temp folder stay , crossdomain.xml and other files containing visited websitenames created while private browsing

    OS = Windows 7
    When I visit a site like youtube whith private browsing enabled and with the add-on named "shockwave flash" in firefox add-on list installed and activate the flashplayer by going to a video the following files are created in the folder C:\Users\MyUserName\AppData\Local\Temp\plugtmp-1
    plugin-crossdomain.xml
    plugin-strings-nl_NL-vflLqJ7vu.xlb
    The contents of plugin-crossdomain contain both the "youtube.com" adress as "s.ytimg.com" and is as follows:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    -<cross-domain-policy> <allow-access-from domain="s.ytimg.com"/> <allow-access-from domain="*.youtube.com"/> </cross-domain-policy>
    The contents of the other file I will spare you cause I think those are less common when I visit other sites but I certainly don't trust the file. The crossdomain.xml I see when I visit most other flashpayer sites as well.
    I've also noticed multiple plugin-crossdomain-1.xml and onwards in numbers, I just clicked a youtube video to test, got 6 of them in my temp plus a file named "plugin-read2" (no more NL file cause I changed my country, don't know how youtube knows where I'm from, but that's another subject, don't like that either). I just noticed one with a different code:
    <?xml version="1.0"?>
    -<cross-domain-policy> <allow-access-from domain="*"/> </cross-domain-policy>
    So I guess this one comprimises my browsing history a bit less since it doesn't contain a webadress. If these files are even meant to be deposited in my local\temp folder. The bigger problem occurs when they stay there even after using private browsing, after clearing history, after clearing internet temporary files, cache, whatever you can think of. Which they do in my case, got more than 50 plugtmp-# folders in the previous mentioned local\temp folder containing all website names I visited in the last months. There are a variety of files in them, mostly ASP and XML, some just say file. I have yet to witness such a duplicate folder creation since I started checking my temp (perhaps when firefox crashes? I'd say I've had about 50 crashes in recent months).
    I started checking my temp because of the following Microsoft Security Essential warnings I received on 23-4-12:
    Exploit:Java/CVE-2010-0840.HE
    containerfile:C:\Users\Username\AppData\Local\Temp\jar_cache2196625541034777730.tmp
    file:C:\Users\Username\AppData\Local\Temp\jar_cache2196625541034777730.tmp->pong/reversi.class
    and...
    Exploit:Java/CVE-2008-5353.ZT
    containerfile:C:\Users\Noname\AppData\Local\Temp\jar_cache1028270176376464057.tmp
    file:C:\Users\Noname\AppData\Local\Temp\jar_cache1028270176376464057.tmp->Testability.class
    Microsoft Security Essentials informed me that these files were quarantained and deleted but when going to my temp file they were still there, I deleted them manually and began the great quest of finding out what the multiple gigabytes of other files and folders were doing in that temp folder and not being deleted with the usual clearing options within firefox (and IE).
    Note that I have set my adobe flasplayer settings to the most private intense I could think of while doing these tests (don't allow data storage for all websites, disable peer-to peer stuff, don't remember exactly anymore, etc.). I found it highly suspicious that i needed to change these settings online on an adobe website, is that correct? When right-clicking a video only limited privacy options are available which is why I tried the website thing.
    After the inital discovery of the java exploit (which was discovered by MSE shortly after I installed and started my first scan with Malwarebytes, which in turn made me suspicious whether I had even downloaded the right malwarebytes, but no indication in the filename if I google it). Malwarebytes found nothing, MSE found nothing after it said it removed the files, yet it didn't remove them, manually scanning these jar_cache files with both malwarevytes and MSE resulted in nothing. Just to be sure, I deleted them anyways like I said earlier. No new jar_cache files have been created, no exploits detected since then. CCleaner has cleaned most of my temp folder, I did the rest, am blocking all cookies (except for now shortly), noscript add-on has been running a while on my firefox (V 3.6.26) to block most javascripts except from sites like youtube. I've had almost the same problem using similar manual solutions a couple of months ago, and a couple of months before that (clearing all the multiple tmp folders, removing or renaming jar_cache manually, running various antmalware software, full scan not finding a thing afterwards, installing extra add-ons to increase my security, this time it's BetterPrivacy which I found through a mozilla firefox https connection, I hope, which showed me nicely how adobe flash was still storing LSO's even after setting all storage settings to 0 kb and such on the adobe website, enabling private browsing in firefox crushed those little trolls, but still plugtmp trolls are being created, help me crush them please, they confuse me when I'm looking for a real threat but I still want to use flash, IE doesn't need those folders and files, or does it store them somewhere else?).
    I'm sorry for the long story and many questions, hope it doesn't scare you away from helping me fight this. I suspect it's people wanting to belong to the hackergroup Anonymous who are doing this to my system and repeating their tricks (or the virus is still there, but I've done many antivirus scans with different programs so no need to suggest that option to me, they don't find it or I run into it after a while again, so far, have not seen jar_cache show up). Obviously, you may focus on the questions pertaining firefox and plugtmp folders, but if you can help me with any information regarding those exploits I would be extremely grateful, I've read alot but there isn't much specific information for checking where it comes from when all the anti-virus scanners don't detect anything anymore and don't block it incoming. I also have downloaded and installed process monitor but it crashes when I try to run it. The first time I tried to run it it lasted the longest, now it crashes after a few seconds, I just saw the number of events run up to almost a million and lots of cpu usage. When it crashed everything returned back to normal, or at least that's what I'm supposed to think I guess. I'll follow up on that one on their forum, but you can tell me if the program is ligit or not (it has a microsoft digital signature, or the name micosoft is used in that signature).

    update:
    I haven't upgraded my firefox yet because of a "TVU Web Player" plugin that isn't supported in the new firefox and I'm using it occasionally, couldn't find an upgrade for it. Most of my other plugins are upgraded in the green (according to mozilla websitechecker):
    Java(TM) Platform SE 6 U31 (green)
    Shockwave for Director (green - from Adobe I think)
    Shockwave Flash (green - why do I even need 2 of these adobe add-ons? can I remove one? I removed everything else i could find except the reader i think, I found AdobeARM and Adobe Acrobat several versions, very confusing with names constantly switching around)
    Java Deployment Toolkit 6.0.310.5 (green, grrr, again a second java, why do they do this stuff, to annoy people who are plagued with java and flash exploits? make it more complicating?)
    Adobe Acrobat (green, great, it's still there, well I guess this is the reader then)
    TVU Web Player for FireFox (grey - mentioned it already)
    Silverlight Plug-In (yellow - hardly use it, I think, unless it's automatic without my knowing, perhaps I watched one stream with it once, I'd like to remove it, but just in case I need it, don't remember why I didn't update, perhaps a conflict, perhaps because I don't use it, or it didn't report a threat like java and doesn't create unwantend and history compromising temp files)
    Google Update (grey - can I remove? what will i lose? don't remember installing it, and if I didn't, why didn't firefox block it?)
    Veetle TV Core (grey)
    Veetle TV Player (grey - using this for watching streams on veetle.com, probably needs the Core, deleted the broadcaster that was there earlier, never chose to install that, can't firefox regulate that when installing different components? or did i just miss that option and assumed I needed when I was installing veetle add-on?)
    Well, that's the list i get when checking on your site, when i use my own browseroptions to check add-ons I get a slightly different and longer list including a few I have already turned off (which also doesn't seem very secure to me, what's the point in using your site then for anything other than updates?), here are the differences in MY list:
    I can see 2 versions of Java(TM) Platform SE 6 U31, (thanks firefox for not being able to copy-paste this)
    one "Classic Java plug-in for Netscape and Mozilla"
    the other is "next generation plug-in for Mozilla browsers".
    I think I'll just turn off the Netscape and Mozilla one, don't trust it, why would I need 2? There I did it, no crashes, screw java :P
    There's also a Mozilla Default plugin listed there, why does firefox list it there without any further information whether I need it or not or whether it really originates from Mozilla firefox? It doesn't even show up when I use your website plugin checker, so is there no easy way by watching this list for me to determin I can skip worrying about it?
    There's also some old ones that I recently deactivated still listed like windows live photo gallery, never remember adding that one either or needing it for anything and as usual, right-clicking and "visit homepage" is greyed out, just as it is for the many java crap add-ons I encountered so far.
    Doing a quick check, the only homepage I can visit is the veetle one. The rest are greyed out. I also have several "Java Console" in my extentions tab, I deactivated all but the one with the highest number. Still no Java Console visible though, even after going to start/search "java", clicking java file and changing the settings there to "show" console instead of "hide" (can't remember exact details).
    There's some other extentions from noscript, TVU webplayer again, ADblock Plus and now also BetterPrivacy (sidenote, a default.LSO remains after cleanup correct? How do I know that one isn't doing anything nasty if it's code has been changed or is being changed? To prevent other LSO's I need to use both private browsing and change all kinds of restrictions online for adobe flashplayer, can anyone say absurd!!! if you think you're infected and want to improve your security? Sorry that rant was against Adobe, but it's really against Anonymous, no offense).

  • Globals in crossdomain swf's (AS2)

    Hi,
    I have two domains (on the same server) each of the domains
    contains a crossdomain xml and swf's. The swf's have
    System.security.allowDomain("*") set.
    From 'domainOne' I start the main swf. This main swf loads
    (with a loader component) a swf from 'domainTwo'. So var so good.
    In the main swf on 'domainOne' I have some _global functions.
    When I call these global functions from the second swf (from
    'domainTwo') nothing happens.
    My question: Is it possible to call global functions between
    crossdomain swf's? If so, what's the trick?
    Thanks

    I have found something that could be the problem:
    http://www.adobe.com/devnet/flash/articles/fplayer_security_04.html
    It says:
    quote:
    When two movies are from different domains, Macromedia Flash
    Player ensures that the two movies have different copies of the
    ActionScript global object. The global object is usually implicitly
    referenced. For example, all objects in the Macromedia Flash Player
    standard library, such as MovieClip, Array, and so forth, are part
    of the global object. The global object also holds global variables
    created by assigning properties to _global. Separating global
    objects between movies from different domains has occurred since
    Macromedia Flash Player 6. However, Macromedia Flash Player 7
    introduces a new restriction: movies made for Macromedia Flash
    Player 6 or earlier can never share a global object with movies
    made for Macromedia Flash Player 7 or later, even when the movies
    are from the same exact domain and protocol. This may have subtle
    repercussions for sites that mix movies made for Macromedia Flash
    Player 6 and 7.
    But I find this very stange, especially if you use
    System.security.allowDomain(); this should grant the swf access. Or
    am I wrong here? (I only use player 8 files, thus no mixed ones)
    Any ideas?

  • Crossdomain Image and smoothing security...

    Hi there,
    I have once again the big problem of loading images from all around the www (my users just type urls to their images, not I do). Everything works fine if I just use an <mx:Image> element to load those images into my flex app. The problem is, that I cannot read the Bitmap content and so even build in functions like smoothBitmapContent (from SDK 3.5+) do not work when no "crossdomain.xml" exists on the foreign server.Took me some hours to finally understand why this stuff does not work.
    I have now either really crappy pictures (if scaled in any way you can read almost nothing on them anymore) or no pictures because of sandbox restrictions. As far as I understood the reason is that your app should not trust the foreign data that is delivered and executed inside your Flash context. Because somebody could deliver an evil swf that could ready data that it should not read and so on. But why does the other host require a crossdomain.xml? Does the other sever need to tell me that I can trust his images? This doesn’t make much sense does it?
    I found some examples of a image proxy for my server, but this is not how it should work and I don’t want to bundle all bandwidth on my “small” server if image hosters have hundreds of servers to load images in proper time.
    Any HTML page can load the same images and manipulate them without such restrictions. If there no workaround to that problem? Shall I start over and turn to HTML5 instead?

    Flex harUI wrote:
    Remember, you are the person invited into someone else's home.  The server's
    crossdomain.xml is the allowing you to actually touch their stuff instead of
    just look at it.  There is no way the security model would allow a stranger
    to make that kind of decision, only the homeowner can.  However, as the
    stranger, you have to decide whether to touch their stuff.  It could in fact
    be dangerous to you as well.
    See, this is where Flash's security model makes no sense.  If I'm using PHP or .NET or any other language in the world, I can get all the bytes from an HTTP GET request and do whatever the hell I want with them, server be damned.  It's only Flash that is specifically preventing me from accessing them, it's not the policy of the server that's serving the object.  If the server didn't want me to be able to look at the bytes in a response, it would not satisfy the request in the first place.  Once the data have been transmitted over the network, there should be no restriction on what I can do with them.
    I have a similar objection to Flash's restriction on reading response headers.  If the server returns a 302 redirect, why can't I get at the contents of the redirection header?  I know it's not supported by the browser plugin API but WHY NOT?  It makes working with YouTube, for example, needlessly difficult.  What possible security issue could there be?  The server is returning an important piece of information, they certainly don't mean for it to be kept a secret.
    Sorry, rant over...

  • How can I setup a mail-specific passcode/restriction on iPad used by multiple family members?

    How can I setup a mail-specific passcode/restriction on iPad used by multiple family members?
    Have an Exchange mail account setup and accessible in my mail on iPad... however my kids use it and i would like to restrict them from accessing this specific portion of the device.  I tried viewing restriction options and do not see that i can apply a restriction specifically to Mail.  Thanks for your help.

    Not a feature of iOS. Check the AppStore to see if there are other
    mail apps that allow passcode protection.
    Or use Safari to log onto your email via a web-based interface and
    enter your credentials each time. A bit slower, but the kids will
    not know the details to login.

  • How to restrict manual changing of free goods in sales order

    Hi ,
    Goodmorning ,
    We have some requirement : In sales order free goods quantity determination by system  should not be allowed to change manually , where can we do this ?
    Looking for your inputs
    Thanks and regards
    Venkat

    As per SAP Standard, when the main Item quantity is changed, the Free Goods are redetermined. In this case any manual changes to Free Goods Quantities are lost.
    But your requirement is for restricting the Chages of the Quantity of Free Goods Correct?
    I believe there is no SAP standard solution for this. You will have to apply a User Exit, which will check the Item category of each LIne item & if it is free goods (TANN) then changes are not permitted.
    Hope this helps.
    Thanks,
    Jignesh Mehta

  • Retrieving ALL values from a single restricted user property

    How can I retrieve ALL values of a single restricted user property from within
    a .jpf file?
    I want to display a dropdown list within a form in a JSP which should contain
    all the locations listed in the property 'locations'. I ever get just the default
    value when I access the property via
    ProfileWrapper pw = userprofile.getProfileForUser(user);
    Object prop = pw.getProperty("ClockSetup", "Locations");

    Well, the code you've got will retrieve the single value of the property
    for the current user. You're getting the default value because the
    current user doesn't have Locations property set, so the ProfileWrapper
    returns the default value from the property set.
    I assume you want to get the list of available values that you entered
    into the .usr file in Workshop. If so, I've attached a
    SetColorController.jpf, index.jsp, and GeneralInfo.usr (put in
    META-INF/data/userprofiles) I wrote for an example that does just this.
    It uses the PropertySetManagerControl to retrieve the restricted values
    for a property, and the jsp uses data-binding to create a list from that
    pageflow method.
    For a just-jsps solution, you can also use the
    <ps:getRestrictedPropertyValues/> tag. I've attached a setcolor-tags.jsp
    that does the same thing.
    Greg
    Dirk wrote:
    How can I retrieve ALL values of a single restricted user property from within
    a .jpf file?
    I want to display a dropdown list within a form in a JSP which should contain
    all the locations listed in the property 'locations'. I ever get just the default
    value when I access the property via
    ProfileWrapper pw = userprofile.getProfileForUser(user);
    Object prop = pw.getProperty("ClockSetup", "Locations");
    [att1.html]
    package users.setcolor;
    import com.bea.p13n.controls.exceptions.P13nControlException;
    import com.bea.p13n.property.PropertyDefinition;
    import com.bea.p13n.property.PropertySet;
    import com.bea.p13n.usermgmt.profile.ProfileWrapper;
    import com.bea.wlw.netui.pageflow.FormData;
    import com.bea.wlw.netui.pageflow.Forward;
    import com.bea.wlw.netui.pageflow.PageFlowController;
    import java.util.Collection;
    import java.util.Iterator;
    * @jpf:controller
    * @jpf:view-properties view-properties::
    * <!-- This data is auto-generated. Hand-editing this section is not recommended. -->
    * <view-properties>
    * <pageflow-object id="pageflow:/users/setcolor/SetColorController.jpf"/>
    * <pageflow-object id="action:begin.do">
    * <property value="80" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action:setColor.do#users.setcolor.SetColorController.ColorFormBean">
    * <property value="240" name="x"/>
    * <property value="220" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action-call:@page:index.jsp@#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
    * <property value="240,240,240,240" name="elbowsX"/>
    * <property value="144,160,160,176" name="elbowsY"/>
    * <property value="South_1" name="fromPort"/>
    * <property value="North_1" name="toPort"/>
    * </pageflow-object>
    * <pageflow-object id="page:index.jsp">
    * <property value="240" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#index.jsp#@action:begin.do@">
    * <property value="116,160,160,204" name="elbowsX"/>
    * <property value="92,92,92,92" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#begin.do#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
    * <property value="204,160,160,116" name="elbowsX"/>
    * <property value="201,201,103,103" name="elbowsY"/>
    * <property value="West_0" name="fromPort"/>
    * <property value="East_2" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.ejb.property.PropertySetManager#propSetMgr">
    * <property value="31" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.profile.UserProfileControl#profileControl">
    * <property value="37" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="formbeanprop:users.setcolor.SetColorController.ColorFormBean#color#java.lang.String"/>
    * <pageflow-object id="formbean:users.setcolor.SetColorController.ColorFormBean"/>
    * </view-properties>
    public class SetColorController extends PageFlowController
    * @common:control
    private com.bea.p13n.controls.ejb.property.PropertySetManager propSetMgr;
    * @common:control
    private com.bea.p13n.controls.profile.UserProfileControl profileControl;
    /** Cached possible colors from the User Profile Property Set definition.
    private String[] possibleColors = null;
    /** Get the possible colors, based upon the User Profile Property Set.
    public String[] getPossibleColors()
    if (possibleColors != null)
    return possibleColors;
    try
    PropertySet ps = propSetMgr.getPropertySet("USER", "GeneralInfo");
    PropertyDefinition pd = ps.getPropertyDefinition("FavoriteColor");
    Collection l = pd.getRestrictedValues();
    String[] s = new String[l.size()];
    Iterator it = l.iterator();
    for (int i = 0; it.hasNext(); i++)
    s[i] = it.next().toString();
    possibleColors = s;
    catch (P13nControlException ex)
    ex.printStackTrace();
    possibleColors = new String[0];
    return possibleColors;
    /** Get the user's favorite color from their profile.
    public String getUsersColor()
    try
    ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
    return profileControl.getProperty(profile, "GeneralInfo", "FavoriteColor").toString();
    catch (P13nControlException ex)
    ex.printStackTrace();
    return null;
    // Uncomment this declaration to access Global.app.
    // protected global.Global globalApp;
    // For an example of page flow exception handling see the example "catch" and "exception-handler"
    // annotations in {project}/WEB-INF/src/global/Global.app
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward begin()
    return new Forward("success");
    * @jpf:action
    * @jpf:forward name="success" path="begin.do"
    protected Forward setColor(ColorFormBean form)
    // set the color in the user's profile
    try
    ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
    profileControl.setProperty(profile, "GeneralInfo", "FavoriteColor", form.getColor());
    catch (P13nControlException ex)
    ex.printStackTrace();
    return new Forward("success");
    * FormData get and set methods may be overwritten by the Form Bean editor.
    public static class ColorFormBean extends FormData
    private String color;
    public void setColor(String color)
    this.color = color;
    public String getColor()
    return this.color;
    [GeneralInfo.usr]
    [att1.html]

  • Restriction of addition of Schedule lines to a sales order/scheduling agrmt

    Dear Gurus,
    I need to restrict addition of new schedule lines to a scheduling agreement till all the goods in the previous schedule line have been delivered.
    I tried applying a delivery block at the SL line level ( in the SL category). But to my surprise, the system allows the user to add SL lines to the scheduling agreement. after this the user is free to create deliveries even though the delivery block is still active on the SL line.
    I'll try explaining this on numbers:
    0n 30.01.2010 i created a SL line for say 100 qtys. The system automatically applies the SL block to this. This Delivery block is removed by the concerned authority.
    Now I create a delivery of say 99 QTY for this SL line. The scheduling agreemnt status is as follows:
    order qty is 100, *** rel qty is 100, open qty is 1 and confirmed qty is 100.
    Now suppose the user enters another Sl line for 100 qty's for which the delivery block is till active and not released.
    In this case the user can create delivery for upto 101 qty's. Ideally I want the system should allow the user to create a delivery for only 1 more Qty ( Delievery block for the new SL line is still not removed).
    How can we do this? Please help!
    Warm Regards
    Prashant Joshi.

    Hi,
    If u adding 100 more quantity in same schedule line then system will create delivery for 101 not for the 1
    becauze u adding qty in existing SL,
    If u want to deliver first 1 qty,then
    Add another schedule line of 100 & block it.
    Create delivery, now system will create delivery onely for qty 1, Not for 100 becauze it is blocked.
    If your Block is not working properly
    Then on initial screen of delivery creation put from to item Number as 10 in both and deliver it
    Kapil
    Edited by: Kapildev Farakte on Feb 3, 2010 5:11 PM
    Edited by: Kapildev Farakte on Feb 3, 2010 5:13 PM

  • How To Restrict Number Of Rows For Multiple Group In Report Output

    Hi ,
    I have a requirement to restrict number of rows in report output.I have three different group , if i use same no of rows to restrict then output is as expected but if i want Deduction group should have 7 rows , earning should have 5 rows and Tax group have 3 rows in report output then XML tag is not working.
    Below is the XML tag i am using -
    First i have declare the variable to restrict the rows -
    <xsl:variable name="lpp" select="number(7)"/>
    <xsl:variable name="lpp1" select="number(5)"/>
    <xsl:variable name="lpp2" select="number(3)"/>
    For Each -
    <?for-each:PAYSLIP?>
    <xsl:variable xdofo:ctx="incontext" name="DedLines" select=".//AC_DEDUCTIONS"/>
    <xsl:variable xdofo:ctx="incontext" name="EarLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION!='Taxable Benefits']"/>
    <xsl:variable xdofo:ctx="incontext" name="EarTaxLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION='Taxable Benefits']>
    <?for-each:$DedLines?><?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    <?if:(position()-1) mod $lpp1=0?><xsl:variable name="start1" xdofo:ctx="incontext" select="position()"/
    <?if:(position()-1) mod $lpp2=0?><xsl:variable name="start2" xdofo:ctx="incontext" select="position()"/>
    Report output is tabular form (one page has two column - Earning and Deduction ) . Tax group comes below earning group.
    Deduction Group -
    <?for-each-group:$DedLines;./REPORTING_NAME?><?if:position()>=$start and position()<$start+$lpp?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Earning Group -
    <?for-each-group:$EarLines;./REPORTING_NAME?><?if:position()>=$start1 and position()<$start1+$lpp1?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Tax Group -
    <?for-each-group:$EarTaxLines;./REPORTING_NAME?><?if:position()>=$start2 and position()<$start2+$lpp2?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Please let me know in case additional detail is require.
    Thanks in Advance.
    Thanks,
    Harsh
    Edited by: Harsh.rkg on Jan 14, 2013 9:43 PM

    variable lpp2 is declare to restrict EarTaxLines -
    <xsl:variable name="lpp2" select="number(2)"/>
    This will help to restrict the no of rows on one page , if we have more then two tax benefits line then layout will roll over to continuation page.
    As part of report output my expectation is if i restrict Earning , Deduction and Tax benefits to same no of line for example - variable lpp ,lpp1 and lpp2 have same value "number(2)" , we can see the layout is continue on next page (restrict every group can have max two lines) .This is the reason we have 4 header grid , deduction and Tax Benefit lines are rolled over to continuation page .But if we restrict different value for each variable then continuation page layout is missing .
    When we tried for <xsl:variable name="lpp2" select="number(3)"/> value continuation page layout is not getting generate for both employee number .

  • How can I restrict maintaining the same customer for different CC Areas?

    Hi All,
    I have a problem about maintaining customer credit limits via tcode FD32.
    User can maintain a customer in different credit control areas (CCA) and these CCAs are belong to different company codes.
    How can i restrict the user not to update another countries' credit limit?
    Your fast reply will be highly appreciated.
    Regards,
    Bilal

    Hi,
    I donu2019t think so there is any configuration for this kind of purpose.
    You can only do by the authorisation.
    Just give the user authorisation that only this person can change the value of the credit control area.
    And I think so that will be usefull also because if every body has authority then any body can change the limit which is not good.
    First they have to take permission from the authorised person and if he approved then only he should change limits.
    So just try out the user authorisation for your purpose.
    Regards
    Raj.

  • How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?

    How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?  To explain further... I have a young son who is on my iCloud family sharing program... I am excited to be able to share SOME of my music in my iTunes library, but there are some songs and music videos that are not age appropriate for him and currently there is no way to restrict him from viewing and downloading anything off of my iTunes library.  Yes, I suppose I can delete the songs he shouldn't have access to, but I don't think I should have to do that... I paid for them and still like them and listen to them while I work out or am without my kids.  Is there a way for me to personally select which songs/videos I would like to "hide" from my children in an effort to shield them from inappropriate content?

    Hello ggg39,
    Welcome to the Apple Support Communities!
    I understand that you have some content in your iTunes library that you would like to restrict access for the child set up on Family Sharing with you. To do this, you can set restrictions on the child’s device as described in the attached article. 
    Family Sharing - Apple Support
    Now kids under 13 can have their own Apple IDs. As a parent or legal guardian, the family organizer can create an Apple ID for a child and add the child to the family group automatically. Ask to Buy is turned on by default, and the organizer can also limit the content kids have access to on their devices through Restrictions on an iOS device or parental controls in OS X and iTunes.
    For more information on restrictions and how to set them up, please reference the next attached article. 
    About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
    Have a great day,
    Joe

  • Is it possible to restrict the ability to e-mail a pdf outside a specific domain name?

    Hello,
    I am trying to find a solution to a friends problem.  She has a quarterly publication that she sends out to big banks and financial institutions.  Recently she has had some problems with press leaks.  I am trying to find some security options for her however the task is difficult. Because these institutions have firewalls I am not sure encrypting or tracking is the right answer because the publication might not make it through. She wants users to be able to print the publication because many of the readers are older and prefer to read during their commute and at home.  Essentially I am looking for any ways to make readers think twice about sharing the information. I thought if I could restrict e-mail to a specific domain name that would help this way users can only e-mail within their specific company.  If any one has any suggestions please feel free to share. 

    Thank you Todd, I was able to get it to work but I do have a few more questions...
    1) When I tested this, at the top of the message, before any of the text I created, this showed up: This is a multi-part message in MIME format. --------------040406040801080102080500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
    2) After the signature line, this showed up: --------------040406040801080102080500 Content-Type: image/jpeg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAA AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0K CgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwM DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAC5ApUDASIAAhEBAxEB/8QA HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQID AAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6 Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/
    (It was actually much longer than that)
    Is there anyway that I can get that to go away? I obviously would prefer a nice, cleanly formatted e-mail to be sent just like I would send if I were creating it on the spot.
    Thanks,
    Evan

  • How do I restrict my pdf form to print legal only

    I have a form (in Acrobat 9 Pro) that should only be printed on legal. I am unable to locate information. Have tried setting the Adobe PDF Document Properties (Page Size) to legal. Is there a way to limit to printing legal only?? Would appreciate any help on this topic. Thanks much.

    Yes, tried that. But unfortunately that option doesn't allow me to restrict users to only print their forms on legal paper. But thank you for your help.
    Barbara A. Smith
    Communications Coordinator
    Marketing and Communications Group
    Supply & Services Division
    MB Infrastructure and Transportation
    p. (204) 945-8892
    f. (204) 948-3414
     Please consider the environment before printing this email.

  • Is this a PrintDataGrid bug / restriction / my lack of understanding?

    Hi!
    I'm trying to implement PrintDataGrid in my application  and I'm encountering a peculiar problem. The printout is skipping last several  rows in the printout of each page.
    I have narrowed down to what's causing this issue. My  application-level custom skin provides Flex scrolling capability to the entire  application. Presence of this scrollbar in the custom skin is causing  PrintDataGrid to skip last rows. In fact, number of rows skipped depends on the  height of the browser. If you reduce the browser height, you skip more  rows!
    Is this a bug PrintDataGrid or a restriction (cannot  have PrintDataGrid within Scroller) or I'm missing something?
    Please help as I'm struggling with this for several  days!
    Here is simple code to reproduce the issue:
    Main Application:
    ============
    <?xml version="1.0"?>
    <!-- printing\MultiPagePrint.mxml -->
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        initialize="initData();"
        skinClass="ApplicationSkinCustom"
        >
        <s:states>
            <s:State name="displayState" />
            <s:State name="printState" />
        </s:states>
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.printing.*;
                [Bindable]
                public var dgProvider:ArrayCollection;
                public var prodIndex:Number;
                // Data initialization, called when the application initializes.
                public function initData():void {
                    // Create the data provider for the DataGrid control.
                    dgProvider = new ArrayCollection;
                // Fill the dgProvider ArrayCollection with the specified items.
                public function setdgProvider(items:int):void {
                    // First initialize the index and clear any existing data.
                    prodIndex=1;
                    dgProvider.removeAll();
                    // Fill the ArrayCollection, and calculate a product total.
                    // For simplicity, it increases the Index field value by
                    // 1, and the Qty field by 7 for each item.
                    for (var z:int=0; z<items; z++) {
                        var prod1:Object = {};
                        prod1.Qty = prodIndex * 7;
                        prod1.Index = prodIndex++;
                        dgProvider.addItem(prod1);
                // The function to print the output.
                public function doPrint():void {
                    currentState = "printState";
                    // Create a FlexPrintJob instance.
                    var printJob:FlexPrintJob = new FlexPrintJob();
                    // Start the print job.
                    if (printJob.start()) {
                        // Set the print view properties.
                        vGroup.width=printJob.pageWidth;
                        vGroup.height=printJob.pageHeight;
                        // Set the data provider of the FormPrintView
                        // component's DataGrid to be the data provider of
                        // the displayed DataGrid.
                        printDataGrid.dataProvider = dgProvider;
                        printJob.addObject(vGroup);
                    // Send the job to the printer.
                    printJob.send();
            ]]>
        </fx:Script>
        <s:VGroup
            excludeFrom="printState"
            width="100%"
            horizontalAlign="center"
            paddingTop="10"
            paddingBottom="10"
            paddingLeft="10"
            paddingRight="10"
            gap="10"
            >
            <!-- The form that appears on the user's system.-->
            <mx:Form id="myForm" width="80%">
                <mx:FormHeading label="Product Information"/>
                <mx:DataGrid id="myDataGrid" dataProvider="{dgProvider}">
                    <mx:columns>
                        <mx:DataGridColumn dataField="Index"/>
                        <mx:DataGridColumn dataField="Qty"/>
                    </mx:columns>
                </mx:DataGrid>
                <mx:Text width="100%"
                         text="Specify the number of lines and click Fill Grid first.
                         Then you can click Print."/>
                <mx:TextInput id="dataItems" text="35"/>
                <mx:HBox>
                    <mx:Button id="setDP"
                               label="Fill Grid"
                               click="setdgProvider(int(dataItems.text));"/>
                    <mx:Button id="printDG"
                               label="Print"
                               click="doPrint();"/>
                </mx:HBox>
            </mx:Form>
        </s:VGroup>
        <s:VGroup
            id="vGroup"
            includeIn="printState"
            width="100%"
            horizontalAlign="center"
            paddingTop="10"
            paddingBottom="10"
            paddingLeft="10"
            paddingRight="10"
            gap="10"
            >
            <mx:PrintDataGrid id="printDataGrid" width="60%" height="100%">
                <!-- Specify the columns to ensure that their order is correct. -->
                <mx:columns>
                    <mx:DataGridColumn dataField="Index" />
                    <mx:DataGridColumn dataField="Qty" />
                </mx:columns>
            </mx:PrintDataGrid>
        </s:VGroup>
    </s:Application>
    Application custom skin class:ApplicationSkinCustom.mxml
    ============================================
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    ADOBE SYSTEMS INCORPORATED
    Copyright 2008 Adobe Systems Incorporated
    All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the license agreement accompanying it.
    --> <!--- The default skin class for the Spark Application component. @see spark.components.Application @langversion 3.0
    @playerversion Flash 10
    @playerversion AIR 1.5
    @productversion Flex 4
    -->
    <s:Skin
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
        alpha.disabled="0.5" alpha.disabledWithControlBar="0.5"
        >
        <fx:Metadata>
            <![CDATA[
            * A strongly typed property that references the component to which this skin is applied.
            [HostComponent("spark.components.Application")]
            ]]>
        </fx:Metadata>
        <fx:Script fb:purpose="styling">
            <![CDATA[
                 *  @private
                override protected function updateDisplayList(unscaledWidth:Number,
                                                              unscaledHeight:Number) : void
                    bgRectFill.color = getStyle('backgroundColor');
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="normal" />
            <s:State name="disabled" />
            <s:State name="normalWithControlBar" />
            <s:State name="disabledWithControlBar" />
        </s:states>
        <!-- fill -->
        <!---
        A rectangle with a solid color fill that forms the background of the application.
        The color of the fill is set to the Application's backgroundColor property.
        -->
        <s:Rect id="backgroundRect" left="0" right="0" top="0" bottom="0"  >
            <s:fill>
                <s:SolidColor id="bgRectFill" color="#FFFFFF"/>
            </s:fill>
        </s:Rect>
        <s:Scroller left="1" top="1" right="1" bottom="1" id="scroller">
            <s:Group left="0" right="0" top="0" bottom="0">
                <s:layout>
                    <s:VerticalLayout gap="0" horizontalAlign="justify" />
                </s:layout>
                <!---
                @private
                Application Control Bar
                -->
                <s:Group
                    id="topGroup"
                    minWidth="0"
                    minHeight="0"
                    includeIn="normalWithControlBar, disabledWithControlBar"
                    >
                    <!-- layer 0: control bar highlight -->
                    <s:Rect left="0" right="0" top="0" bottom="1" >
                        <s:stroke>
                            <s:LinearGradientStroke rotation="90" weight="1">
                                <s:GradientEntry color="0xFFFFFF" />
                                <s:GradientEntry color="0xD8D8D8" />
                            </s:LinearGradientStroke>
                        </s:stroke>
                    </s:Rect>
                    <!-- layer 1: control bar fill -->
                    <s:Rect left="1" right="1" top="1" bottom="2" >
                        <s:fill>
                            <s:LinearGradient rotation="90">
                                <s:GradientEntry color="0xEDEDED" />
                                <s:GradientEntry color="0xCDCDCD" />
                            </s:LinearGradient>
                        </s:fill>
                    </s:Rect>
                    <!-- layer 2: control bar divider line -->
                    <s:Rect left="0" right="0" bottom="0" height="1" alpha="0.55">
                        <s:fill>
                            <s:SolidColor color="0x000000" />
                        </s:fill>
                    </s:Rect>
                    <!-- layer 3: control bar -->
                    <!--- @copy spark.components.Application#controlBarGroup -->
                    <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
                        <s:layout>
                            <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
                        </s:layout>
                    </s:Group>
                </s:Group>
                <!--- @copy spark.components.SkinnableContainer#contentGroup -->
                <!--<s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0" />-->
                <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" />
            </s:Group>
        </s:Scroller>
    </s:Skin> 

    Steps to reproduce the issue:
    1. create a new Flex application with the code provided after the last step
    (PrintTest.mxml is the test application's main file and
    ApplicationSkinCustom.mxml is the application's custom skin class). Both the
    files go in the default package
    2. run the application
    3. click on 'Fill Grid' button
    4. click on 'Print' button
    5. depending on your browser height, it'll print up to 25 rows in a table
    6. reduce the height of the browser to about 400 pixels
    7. run the application
    8. click on 'Fill Grid' button
    9. click on 'Print' button
    10. Depending on your browser height, it'll print a few rows but will skip
    last 10-12 rows from the table
    PrintTest.mxml
    ============
    <?xml version="1.0"?>
    <s:Application
    xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    initialize="initData();"
    skinClass="ApplicationSkinCustom"
    >
    <s:states>
      <s:State name="displayState" />
      <s:State name="printState" />
    </s:states>
    <s:VGroup
      excludeFrom="printState"
      width="100%"
      horizontalAlign="center"
      paddingTop="10"
      paddingBottom="10"
      paddingLeft="10"
      paddingRight="10"
      gap="10"
      >
      <!-- The form that appears on the user's system.-->
      <mx:Form id="myForm" width="80%">
       <mx:FormHeading label="Product Information"/>
       <mx:DataGrid id="myDataGrid" dataProvider="">
        <mx:columns>
         <mx:DataGridColumn dataField="Index"/>
         <mx:DataGridColumn dataField="Qty"/>
        </mx:columns>
       </mx:DataGrid>
       <mx:Text width="100%"
          text="Specify the number of lines and click Fill Grid first.
          Then you can click Print."/>
       <mx:TextInput id="dataItems" text="25"/>
       <mx:HBox>
        <mx:Button id="setDP"
             label="Fill Grid"
             click="setdgProvider(int(dataItems.text));"/>
        <mx:Button id="printDG"
             label="Print"
             click="doPrint();"/>
       </mx:HBox>
      </mx:Form>
    </s:VGroup>
    <s:VGroup
      id="vGroup"
      includeIn="printState"
      width="100%"
      horizontalAlign="center"
      paddingTop="10"
      paddingBottom="10"
      paddingLeft="10"
      paddingRight="10"
      gap="10"
      >
      <mx:PrintDataGrid id="printDataGrid" width="60%" height="100%">
       <!-- Specify the columns to ensure that their order is correct. -->
       <mx:columns>
        <mx:DataGridColumn dataField="Index" />
        <mx:DataGridColumn dataField="Qty" />
       </mx:columns>
      </mx:PrintDataGrid>
    </s:VGroup>
    <fx:Script>
      <![CDATA[
       import mx.collections.ArrayCollection;
       import mx.printing.*;
       public var dgProvider:ArrayCollection;
       public var prodIndex:Number;
       // Data initialization, called when the application initializes.
       public function initData():void {
        // Create the data provider for the DataGrid control.
        dgProvider = new ArrayCollection;
       // Fill the dgProvider ArrayCollection with the specified items.
       public function setdgProvider(items:int):void {
        // First initialize the index and clear any existing data.
        prodIndex=1;
        dgProvider.removeAll();
        // Fill the ArrayCollection, and calculate a product total.
        // For simplicity, it increases the Index field value by
        // 1, and the Qty field by 7 for each item.
        for (var z:int=0; z<items; z++) {
         var prod1:Object = {};
         prod1.Qty = prodIndex * 7;
         prod1.Index = prodIndex++;
         dgProvider.addItem(prod1);
       // The function to print the output.
       public function doPrint():void {
        currentState = "printState";
        // Create a FlexPrintJob instance.
        var printJob:FlexPrintJob = new FlexPrintJob();
        // Start the print job.
        if (printJob.start()) {
         // Set the print view properties.
         vGroup.width=printJob.pageWidth;
         vGroup.height=printJob.pageHeight;
         // Set the data provider of the FormPrintView
         // component's DataGrid to be the data provider of
         // the displayed DataGrid.
         printDataGrid.dataProvider = dgProvider;
         printJob.addObject(vGroup);
        // Send the job to the printer.
        printJob.send();
      ]]>
    </fx:Script>
    </s:Application>
    ApplicationSkinCustom.mxml
    =======================
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    ADOBE SYSTEMS INCORPORATED
    Copyright 2008 Adobe Systems Incorporated
    All Rights Reserved.
    NOTICE: Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the license agreement accompanying it.
    -->
    <!--- The default skin class for the Spark Application component.
    @see spark.components.Application
    @langversion 3.0
    @playerversion Flash 10
    @playerversion AIR 1.5
    @productversion Flex 4
    -->
    <s:Skin
    xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
    alpha.disabled="0.5" alpha.disabledWithControlBar="0.5"
    >
    <fx:Metadata>
      <![CDATA[
    A strongly typed property that references the component to which this
    skin is applied.
      [HostComponent("spark.components.Application")]
      ]]>
    </fx:Metadata>
    <fx:Script fb:purpose="styling">
      <![CDATA[
    @private
       override protected function updateDisplayList(unscaledWidth:Number,
                    unscaledHeight:Number) : void
        bgRectFill.color = getStyle('backgroundColor');
        super.updateDisplayList(unscaledWidth, unscaledHeight);
      ]]>
    </fx:Script>
    <s:states>
      <s:State name="normal" />
      <s:State name="disabled" />
      <s:State name="normalWithControlBar" />
      <s:State name="disabledWithControlBar" />
    </s:states>
    <!-- fill -->
    <!---
    A rectangle with a solid color fill that forms the background of the
    application.
    The color of the fill is set to the Application's backgroundColor property.
    -->
    <s:Rect id="backgroundRect" left="0" right="0" top="0" bottom="0"  >
      <s:fill>
       <s:SolidColor id="bgRectFill" color="#FFFFFF"/>
      </s:fill>
    </s:Rect>
    <s:Scroller left="1" top="1" right="1" bottom="1" id="scroller">
      <s:Group left="0" right="0" top="0" bottom="0">
       <s:layout>
        <s:VerticalLayout gap="0" horizontalAlign="justify" />
       </s:layout>
       <!---
       @private
       Application Control Bar
       -->
       <s:Group
        id="topGroup"
        minWidth="0"
        minHeight="0"
        includeIn="normalWithControlBar, disabledWithControlBar"
        >
        <!-- layer 0: control bar highlight -->
        <s:Rect left="0" right="0" top="0" bottom="1" >
         <s:stroke>
          <s:LinearGradientStroke rotation="90" weight="1">
           <s:GradientEntry color="0xFFFFFF" />
           <s:GradientEntry color="0xD8D8D8" />
          </s:LinearGradientStroke>
         </s:stroke>
        </s:Rect>
        <!-- layer 1: control bar fill -->
        <s:Rect left="1" right="1" top="1" bottom="2" >
         <s:fill>
          <s:LinearGradient rotation="90">
           <s:GradientEntry color="0xEDEDED" />
           <s:GradientEntry color="0xCDCDCD" />
          </s:LinearGradient>
         </s:fill>
        </s:Rect>
        <!-- layer 2: control bar divider line -->
        <s:Rect left="0" right="0" bottom="0" height="1" alpha="0.55">
         <s:fill>
          <s:SolidColor color="0x000000" />
         </s:fill>
        </s:Rect>
        <!-- layer 3: control bar -->
        <!--- @copy spark.components.Application#controlBarGroup -->
        <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1"
    minWidth="0" minHeight="0">
         <s:layout>
          <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7"
    paddingBottom="7" gap="10" />
         </s:layout>
        </s:Group>
       </s:Group>
       <!--- @copy spark.components.SkinnableContainer#contentGroup -->
       <!--<s:Group id="contentGroup" width="100%" height="100%" minWidth="0"
    minHeight="0" />-->
       <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" />
      </s:Group>
    </s:Scroller>
    </s:Skin

Maybe you are looking for

  • Found WindowShade X 4.3 in System Preferences ?

    I just noticed this application in my system preferences. I had a recent crash/hang with Safari, and looking over the report to send to Apple: I noticed in the report in several lines the words related to WindowShade X 4.3, Application Enhancer, and

  • Size of select-list

    Hi, I was told that a select list cannot be bigger than 32K - is this still true or has this bug been fixed for version 3? If this is still true, then how do I avoid getting problems if the select-list becomes bigger than 32K? Thanks.

  • Web proxy 3.6 SP5 installation steps

    Hi there, During iWPS installation, there is a step where we specify the LDAP server. This should be entered as ldap://<hostname>:<port>/<base dinstinguished name> 1. How can i know the base dinstinguished name. Is it the root dn (dc=acme,dc=com)? 2.

  • Transfer all functions, favorites, e-mail, etc from AOL to Firefox

    Not a problem just looking to transfer functions from AOL to Firefox. I have years of info in favorites, bill notices coming to the AOL address, etc. Is there a good way to make this transition?

  • Can't open GarageBand after latest Quicktime Update

    Not sure, but I think after downloading latest Quicktime update, GarageBand won't open. It bounces in the dock, then a bar that says "initializing" appears, but never gets past that. Any advice. TIA