Uisng Percenate Facillity to place attributes within the Flex Framework.

Hello

This question is used to place components and controls using the installation of percentage.

Adobe, it is mentioned that:

"You specify the size of the components as a percentage of its container size. To do this, you specify the properties percentHeight and percentWidth, or, in an MXML tag, set the height and width properties to the values of percentage as 100%. "

Can someone tell me what this different approach to the normal height and the width of a component? and

How can you deteremine the percenategheight and percentagewidth for a component. For example in example below, the author took as indicated:

" < mx:HBox id ="hBox1"xmlns:mx =" http://www.Adobe.com/2006/MXML "
height = "30%" width="90%"/ >

My question is how can we know that value of heights and widths should be 30 and 90 respectively?

Let me know, thanks in advance.

Hello

The idea of the percentages, it's that you dedicate this amount from the container to the component if the width of the container is 200 and you have a left hand of the width of 30% it will be 60 pixels wide.

You can also use a combination of percentage and fixed size to keep parts of the static display. For example, you have a menu on the left and a display on the right area, you assign the Panel left width = 100 and the width = 100% right panel, so the right panel still have a width equal to the width of the screen total-100;

Percentages are just another way to manage the component layout when there is no gaureantee of sizes of parent such as different screen resolutions.

David.

Tags: Flex

Similar Questions

  • What is the need for the Flex Framework providing bubble phase installation?

    Hello

    This question is about the bubble Phase in the Flex Framework.

    I have a question about the present, can someone let me know what could be the use of bubble Phase?

    In what conditions or scenarios would be a parent of the control on which the event occurred, would be interested in listening to an event?

    Sorry for my English, waiting for your responses, thanks in advance

    If you want to know if there is no activity of mouse or keyboard in your

    children.

  • Lack of the Flex Framework dependencies to 11.2

    Hello

    We have recently improved in short Oracle with managerial experience 11.2. And our custom Flex localization has stopped working.

    The editor throws an exception saying "RSL Failed to load". It seems that the Runtime Shared Libraries (RSL) lack to 11.2. According to the application assembler developer guide, the following resources should be available in the repository of Configuration of short to the IFRC/tools/xmgr. But these are missing.

      • frame - 4.5.1.21328.swz
      • textLayout - 4.5.1.21328.swz
      • Spark - 4.5.1.21328.swz
      • CPP - 4.5.1.21328.swz
      • OSMF - 4.5.1.21328.swz
      • MX - 4.5.1.21328.swz
      • advancedgrids - 4.5.1.21328.swz
      • ExperienceManagerAPI - 11.2.0.swf

    We checked that there was in the experience Manager 11.1 these RSL.

    All the world is facing a similar problem? And there at - it a known solution or work around this problem?

    Thank you.

    We were able to solve this problem. It seems that in the tools & frameworks 11.2, included it Runtime Shared Libraries (RSL) are present under IFRC/tools/xmgr/js/ext / instead of IFRC/tools/xmgr /.

    If you use the Maven project in reference to the SDK of the editor, please make the following change in the POM.xml and re - build.

    • Change the value under

    Of

    • / {contextRoot} / IFRC/tools/xmgr / {artifactId}-{version}. extension of {}

    TO

    • / {contextRoot} / IFRC/tools/xmgr /js/ext /{artifactId}-{version}. extension of {}

    Oracle must update their assembler App Dev guide and the project of the SDK Reference Editor to point to this location.

    ADI-

  • Understand the Flex Framework

    Hello world

    What is a flex framework? Is used with the FlashAuthoring tools?

    I read that a flex application has two frames and both runs a specific sequence. For example, one load the application and the RSL, the other and allows the application on the screen.

    Are there differences between the frames (recognized as a unit which contains the actionbscript code) and (generally understood as the time slot between two locations linked with time enterframe events)?

    Thanks in advance!

    When writing Flex applications, it is most preferable time to forget about the frameworks as seen in the Flash Authoring scenario, because in general they do not apply in the world of Flex.

    There may be some extremely rare cases when you need to take into account executives, and in this case of stuff loading prior to frame one, but as I said, in general, forget the frames.

    Here is more information about what happens when loading Flex applications:

    http://www.bit-101.com/blog/?p=946

    http://www.InsideRIA.com/2008/04/Flex-RIA-performance-considera.html

    If this post answers your question or assistance, please mark it as such.

  • Find and move text within the existing framework of anchored

    I have a great story that spans several pages text. It contains a number of paragraphs that have the following content:

    [empty anchor for an existing character, but the anchor text frame] [important book that contains NO tab] [TAB] [intermediate text containing NO tab] [TAB] [end text containing NO tab] [empty anchor for an another existing character, but the block of anchor text]

    I need a script (Javascript, preferably) that:

    1. find a paragraph that starts with a character of anchor;

    2. find and cut the main text between the character of the anchor and the first TAB after

    3. Paste the main text in text anchored at the beginning of the paragraph;

    4. in the same paragraph, find the final text between the second (and last) TAB and the character of the second (and last) anchor at the end of the paragraph;

    5. glue the final text under text anchored at the end of the paragraph;

    6. repeat 1. -5. for the paragraph all in the same article that starts with a character of the anchor.


    I'm a JS programmer advanced, but new scripts CreativeSuite. I just understood how to search for some text, and I know that the 'parent' of an anchored object is a 'character' - but now to I access the contents of an object anchored to its parent character?


    Even better:

    function movetoanchored(find) {
      var myText = find.characters.itemByRange(1, -1).texts[0];
      var myFrame = find.characters[0].textFrames[0];
      myText.move(LocationOptions.AT_BEGINNING, myFrame);
    };
    
    function main() {
      var myStory = app.selection[0].parentStory;
      app.findGrepPreferences = app.changeGrepPreferences = null;
      app.findGrepPreferences.findWhat = "^~a\\S+";
      var myFinds = myStory.findGrep(true);
      for (i = 0; i < myFinds.length; i++) movetoanchored(myFinds[i]);
      Window.alert(myFinds.length + " moves performed");
    };
    
    app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "MoveToAnchored");
    
  • Attributes at the level of

    Hello

    I want to create level attributes in AWM. I see the definition of the level and the attributes of dimension attributes in the link below:
    http://docs.Oracle.com/CD/A97630_01/OLAP.920/a95295/designd6.htm

    How to create a level attribute in AWM? pls help

    Select the dimension, right-click on "Attributes" within the dimension to create a new attribute.
    Now, choose the level or levels of the attribute applies to.
    If the attribute applies to all hierarchies and levels in the dimension, then this is a dimension of other attribute is an attribute of level (levels 1 or more).
    The same screen creates two types of attributes.

    Uncheck the default option on the check box "apply attributes to" expand and choose the level of hierarchy / the new attribute applies to.
    Reading aid on screen 'Create the attribute' AWM for more details.

    HTH.

  • The server {8BC3F05E-D86B-11D0-A075-00C04FB68820} is not registered with DCOM within the required time.

    This morning when I checked my system log, it was filled with errors, while saying:

    The server {8BC3F05E-D86B-11D0-A075-00C04FB68820} is not registered with DCOM within the required time.

    A quick search of the register revealed that it identifies Windows Management Instrumentation (WMI). I looked, and indeed, he was arrested. When I tried to start it, I got the error message:

    Could not start the Windows Management Instrumentation service on Local computer

    Error 193: 0xc1

    All the help I can find on the subject assumes that the application does not have the required permissions. Nothing has been deliberately changed. I tried to do a restore of the system of the last days at several checkpoints and received messages that it could be done. So, I checked all the required permissions were still in place.

    My operating system is XP Pro SP3 with all updates applied.

    So, I have to say that something broken, perhaps in the framework of an automatic update or another. Now, when I try to run Microsoft Update, it just hangs.

    Maybe there is not enough information here, but I'm looking for more help on troubleshooting. I have the system tools enough to report all the news of trial if necessary.

    Thank you

    Don

    Even if I had run a chkdsk/r on my system disk and he come clean, I have decided to launch a sfc/scannow and found 3 DLLs that were somehow not original. Once these have been restored, the errors have stopped (so far). While it was only 30 minutes, it is the longest, I went all day with no error message. I'm keeping my fingers crossed.

  • Recreate the attributes of the My Music folder

    Hi guys

    I tried to move the location of 'My music' in order to free up space on the c drive, but it was wrong and the file left in the user account is damaged. I created a new folder but it doesn't have the attributes of the my previous music folder. I thought of a restoration, but the only point is well before I did a lot of independent work on the system, so this isn't a realistic option.

    Can someone tell me how I can put in place a new folder my music with the correct attributes?

    Hi Graham,

    Sorry for the delay in my response.

    Restore music library to its default values and then try to redirect the music library to another location.

    a. open Windows Explorer. Under libraries.
    b. right-click on the corresponding library (Music), and then choose Remove.
    c. click Yes when asked for confirmation.
    Note: Deleting a library does not remove the content of the included files. However, you need to add or include your folders manually, if necessary.
    Include folders in a library:
    http://Windows.Microsoft.com/en-us/Windows7/include-folders-in-a-library
    d. then, in the Windows Explorer navigation pane, click libraries and click on restore default libraries.
    e. that recreates the library that you just removed.
    f. this option only restores the default libraries supplied with Windows 7.

    Also refer to this:

    Redirect a folder to a new location

    http://Windows.Microsoft.com/en-in/Windows/redirect-folder-new-location#1TC=Windows-7

  • Where to add the transitional attribute at the level of the entities or view level? And where to use {return getTransientAttribute()} in the entity or view?

    Mr President

    JDev 12.2.1.

    Where to add the transitional attribute at the level of the entities or view level?

    And where to use {return getTransientAttribute()} in the entity or view?

    public Number getAmount()  
      {  
        return getTransientAttribute();  
        //return (Number) getAttributeInternal(AMOUNT);  
      }  
    
    

    Concerning

    A difference I could think: place a transient attribute on EO level will make transaction dirty (DBTransaction.isDirty returns true) when the field is changed.

    From a design point of view, I tend to place the transient fields at the level VO, because most of the time they are for the presentation of the data in the user interface.

    Only when the transient fields are involved in DML operations (for example when you call a stored procedure EntityImpl.doDML) I place the transitional area on EO.

  • Change the assets of the library within the program without affecting cloud related files

    Hello

    I use creative cloud under Mac OS x, and all programs are up to date. I have a two part question.

    1. is there a way to edit a library asset in an Adobe program without affecting the linked file cloud? If so, how?

    2. If it is not possible to do it, what is the best practice to edit a library resource without affecting the linked file? Do I have to include the file in the document? Create a new asset with the adjusted attributes and use this asset?

    As an example of what I'm trying to do, I have a logo in a creative clouds library that I use in an Illustrator document. The asset is black, I want to make the Pantone color blue of the company within the Illustrator, however it won't let me change locally. It seems that I have to open the file in the library, adjust it, save it and use that asset. However, I do not want this asset related to change of color in all other documents I used it. So, what I did is to save an asset separate cloud with the logo like this color. This seems unnecessary and unsustainable. Whenever I have a variant of a cloud asset should not require save me a new version of it for this specific use. My library will get crowded, fast.

    If it is not part of the works the library assets, in my opinion, it should be. Be able to adjust an asset at the local level, even if it's a range a minimum of settings without changing the attributes of the linked file, seems to be obvious.

    Ah, that's useful. I had not tried. At least it's easier than opening assets and by copying and pasting from there. Thank you for your response.

    I wish that it was possible to change the appearance of a related assets without changing the assets in the cloud. This way if something has changed on the assets 'overall' it could be changed and reflected in each document, all keeping this attribute "local." This feature cannot currently? I just want to make sure I'm not missing something.

  • Model of ADF for use within the declarative component project

    Hello

    JDev 11.1.2.4

    I created a project for my declarative components. I want to create an element with an attribute of type oracle.jbo.Row, but this class is not recognized. What are the libraries I need to include if I want to use the object Row.

    Some basic information: my declarative component is bound to a managed bean.

    Import oracle.jbo.Row;

    @ManagedBean (name = "audit")

    @RequestScoped

    public class AuditBean {}

    Online Privacy;

    public AuditBean() {}

    Var UIXDeclarativeComponent = (UIXDeclarativeComponent) JSFUtils.resolveExpression("#{comp}");

    If (vars == null) {}

    again, throw PropertyNotFoundException ("could not find the name of the attribute [comp] component declarative Vars.");

    }

    line = vars.getAttributes () .get ("row");

    }

    }

    Most of our table have the same fields of audit, and we want to create a component that displays audit information. The component would take the line and check if the attributes are present, if so, display them.

    Thank you

    Hello

    Line belongs to the ADF runtime library. However, your declarative component seems to have another flaw, that is, it uses a bean managed within the scope of the request. She should better use backingBean range (a range of task flow) so it can be used multiple times on a page without the substitution of a previous rendering information. Maybe this isn't a problem if the component cannot forget his condition after rendering

    Frank

  • Differences between archiving and off of a qualitative research within the Admin Data Toolbox.


    Hello

    Can you please let me know what could be the difference between archiving and the deactivation of the Qualitative research in data Admin Tool Kit.

    Thank you

    Rohini M

    When you idle or archive anything it is no longer available for selection.   The difference between inactive and the archives, it's inactive items still appear available for the fine items while searching of archive will not be.

    Allows so that you have the following to say:

    List A

    -Article 1

    -Article 2

    List items

    If you were to inactivate the point 1, end-users is more would see can be selected when you use the extended qualitative attribute.  However when they are looking for specifications based on the extended attribute, they would still be able to select 1 point, whereas they could find objects that this value was used. If you archive Item 1, end users should display it no longer available for selection from anywhere - including research.

    Lists

    If you were to inactive or archive the whole list, you would see is no longer available for selection when the establishment of a qualitative research of extended attributes.   I don't think that there's nowhere you can search for extended attributes by the list of research currently out of the box so that they would act similar.  Is there a place to find attributes extended by the search list and then he would follow the same rules as above.

  • ID attribute in the attribute of the html form element of: p1_item

    Hello
    How can I place id = 'demo' in the attribute of the html form element of: p1_item. It does not. There error Throughing attributes, •size and ID do not have to be specified. (Go to the error)




    Thanks and greetings
    CORINE

    I just tried the thing above with dynamic Action and its works for me

    If possible for you, please try dynamic action "during the click on the button" with "execute Javascript Code.

    and write it in the code

     $(".demo").css("background-color","yellow"); 
    

    and it will work.

    Kind regards
    Tauceef

  • Html open within the application file

    I created an app (Android and IPad) using Flash (AS3) CS6. Want to open an html file online (http://www.delta-adv.com/roche/form.php) inside the application according to the specific size we will place inside the code. For example, my implementation size is 1024 x 768 and when I press the button, the html file should open within the provision of application with a size of 800 x 600

    Is it possible to do like this?

    It is copied from the adobe class files:

    package {}

    import flash.display.Sprite;

    import flash.html.HTMLLoader;

    import flash.net.URLRequest;

    SerializableAttribute public class HTMLLoaderExample extends Sprite

    {

    public void HTMLLoaderExample()

    {

    var html:HTMLLoader = new HTMLLoader();

    var urlReq:URLRequest = new URLRequest ("http://www.adobe.com/");

    HTML. Width = stage.stageWidth;

    HTML. Height = stage.stageHeight;

    HTML. Load (urlReq);

    addChild (html);

    }

    }

    }

  • Logic model - attribute of the entity?

    Hello

    Thanks for answering my ad.

    I use SQL DM 3.0.0.665. I need your next thoughs.

    (1) do we able to select multiple entities to the entity declaration? I find an option for all entities, then he ask us to choose only a single entity to the report.

    (2) are we able to build a report for all entities in a subview?

    (3) I see formula (the default), abbreviation favorite and synonyms for each attribute in the report information on the entity. I am not able to find a place to fill in the attribute definitions. Where we can provide this information, then it could print in the reports?

    Thank you for helping us.

    Hello

    Yes, the default value does not appear in the report, only formula (as applicable) entities.
    It is the same for the tables.
    I logged a bug.

    Thank you for noticing.

Maybe you are looking for

  • Giant PDF scans from Sierra update

    I like to use the 'digital images' app to scan documents and save them directly as a PDF. Ever since I updated my system to Mac OS Sierra pdf files created when scanning are about three times the size they were before and I can't find a place to chan

  • How to remove unwanted plugins (and no I don't want to read all the articles unrelated who never answer your question)?

    I want to erase the unwanted plugins in Fire Fox. A plugin has even a warning about its use does not (Java Deployment Toolkit). But every time I ask 'how to remove a plugin?', I get redirected to an article that does not answer the question. And then

  • Airport Extreme a different IP address than the NEST

    Hi all I have an Airport Extreme new set up a network of comments.  The guest network is configured for the IP addresses in the 172.16... range, compared to the 192.168 range (which is for the network no comments). I put my nest on the network of com

  • After the installation of Vista update, receive the error code 21 with printer software

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas Download update for 32-bit Vista because brother MFC3220C box to restart the printer says cannot start error box App Installer says error

  • Prism3dengine

    Hi, I play American Long Haul, a simulation of trucking game. The game plays well, but also sometimes slow especially when im in a heavy traffic or going through different cities. I was wondering how do I change that to go much faster. Another proble