How to change the width...

how can i change the width of the stage (Dimensions) with
action script?
i want to allow to surfers to change the width & height..
_root.width and Stage.width does not work..
thanks.

you can accomplish this by calculating the ratio of the
current width to the desired width and setting _root._x scale and
_yscale. for instance, lets say your current stage is 800x600, and
you want 1000x500:
_root._xscale = 1000/Stage.width
_root._yscale = 500/Stage.height

Similar Messages

  • How to change the width of a field?

    Hi all,
    I would like to decrease the width of a field on my report.
    But I can't do it in the Property palette. I am not able to change the width property. The width of the database column is varchar2(255). I do not want to decrease the length of the database column, but only the width property of the field.
    Any ideas?
    Regards

    As far as I knows, you can only increase the width of a
    character column. If you wish to decrease it, I would think
    you'd have to drop/delete the whole column and recreate it,
    loosing all your data in the process (unless you create a
    temporary table into which you copy the data first, and then
    copy it back into the "new" column - the oracle db will truncate
    the data automatically).
    SQL Plus is very well suited for the task, but requires you to
    write the appropriate SQL statements yourself. Other tools may
    simplify this for you (I use SQL Plus myself).
    Hope this helps.
    Eric (guest) wrote:
    : Hai, How to change the width of the field in a particular
    table.
    : I try to do so by using 'Schema Builder ver 6.0', but the
    result
    : come with a message like below :-
    : OBE-15472: Cannot decrease length of existing column
    : 1. where should I be to modify the column width ?
    : 2. is SQL Plus 8.0 can do so? if yes, what's the syntax ?
    null

  • How to change the width of PDF report

    When i download an interactive report to a PDF. All the columns will have the same width, how to change the width of the column?
    Thanks,
    Jen

    I don't think its possible for downloading from interactive report but let's see if anyone else has got a work around.
    The other way to have absolute control over report layout is to create reports using 'Report Query' & 'Report Layout' under 'Shared Components'.
    Regards,
    Ashish Agarwal
    http://www.dbcon.com

  • How to change the width of a switch control?

    If I set long on&off texts, they can't be fully displayed. How to change the width of this sap.m.switch control?
    P.S., "width" attribute doesn't work here.

    Hi Jocy,
    A switch is just a simple boolean control : true/false, yes/no, on/off. Other possibilities are not possible.
    If you to need to choose between, say, black/white, then a switch is *not* a good choice; nothing stops you from adding yellow/red/blue to the mix as well.
    If you *do* have a strict boolean choice (again, only rue/false, yes/no, on/off) then I would suggest adding a descriptive label with the simple, short switch control.
    Otherwise, I would strongly advice using a different type of control (RadioButtonGroup, DropdownBox)

  • How to change the width of a column in the web templete

    hai
       can anyone pl help me to solve the issue
    here is the issue
        " how to change the width of the column in web templete?" is there any chance  to change
    thanx in advance
    syam

    First use the Active Cell property and set the row value to -2 to change an entire column. The attached image shows how to set the background color of column 3 to green. I don't understand your comment about column size. It doesn't matter how wide or narrow a column is. Using the Cell Background Color property, the entire cell is colored. If you are having difficulty keeping track of the number of columns, thats a different issue.
    Attachments:
    Background_Color_of_Table.jpg ‏5 KB

  • How to change the width of dropdown parameter's in BI Publisher

    Hi,
    Can you please tell me how to change the width of dropdown parameter's in BI Publisher

    Kirk,
    In the <rw:graph> tag, just add the standard HTML properties of width="xxx" and height="xxx" to control the width and height of the image. BTW, the graph tag is in the on-line help, although not in the index. You can find it by doing a search for "rw:graph".
    regards,
    Stewart

  • How to change the width of the scrollbar

    how to change the width of the scrollbar,
    I wanted to have a large scrollbar in all controls (for a touch screen app lets say) then is that possible?
    Either through CSS, code,
    skins anything really... Any ideas?
    Thanks in advance.

    Hi,
    horizonatal(vertical)ScrollBar.width - in AS/MXML code
    horizontal(vertical)ScrollBarStyleName - for style. But I'm not sure that width getted from css.

  • How to change the width of the database-scalar data type

    I have a new problem. I have a parameter F_Organization in my report(version 6i) of type Database-scalar. now that the width is fixed in property pallete. Is there any way to change the width of this parameter,if so how. will some one let me know

    I did the same, opened the data model typed some dummy character and then deleted them, if u give the alias for the source it does not change the width, instead if u give the original name as the source it changes the width. I do not know why is this happening?
    Message was edited by:
    user552442

  • How to change the width of the whole portlet layout?

    Dear all,
    As we know, now the width of portlet layout has set to 100%. But there is a new requirment from my customer that the width of the whole portlet layout view must be set to 750px.
    So I tried to edit the css file and I found a block:
    #pt-portal-content-view
         margin-top: 0px;
         width: 100%;
    I tried to change the width to 750px, but nothing happened.
    I want to know the way to change the width, thank you all!
    Regards,
    finall
    OK,I have found the place to do it:
    .portalContent          {
         display: block;
         width: 750px;
    I set to 750px,then it works.:-)
    But another question, how to make the content align to the center? I tried a stupid method, add margin-left:
    .portalContent          {
         display: block;
         width: 750px;
         margin-left: 120px;
    In 1024 X 768, it's ok, but it don't work well in 800 X 600.
    When I set the all content width to 750px, I tried the three columns view, the portlet still run over the border.If there is any way to control this? thank u in advance!
    Regards,
    finall
    Edited by finall1980 at 02/01/2007 10:09 PM

    Try this:
    .portalContent {
    display: block;
    width: 750px;
    margin: auto; /* for properly-implemented browsers */
    text-align: center; /* for IE 6 */
    As for running over the 750px, there's nothing you can do about that other than actually narrowing the columns AND making sure that your portlet authors don't produce content that's too wide.
    Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com

  • How to change the width for adf shuttle without modify the skin file

    Dear Professionals
    I haven an ADF Shuttle component in my jsp screen , How can i change the width for the two boxes without modify the skin files.(I know i can do that by skin but what i want to change one shuttle just in one screen not change all shuttles on other screens).
    Regards
    Wish79

    Okay, I didnt try with the trinidad selectmanyshuttle, but this worked for me on the af:selectmanyshuttle..
            <af:selectManyShuttle label="Label 1" styleClass="mycustcss">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>
            <af:selectManyShuttle label="Label 1">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>        And in my css file, I have
    af|selectManyShuttle.mycustcss::content { width: 800.0px;}
    The first selectManyShuttle came up very wide and the second one came up in the default width..
    Julian.

  • How to change the width for af:selectManyShuttle by skins

    i need to change the width for selectManyShuttle by skin i can do that by change the width for .AFFieldText but this method change the all select* and textfiled width,so i just want to change the width for selectManyShuttle component.
    and i hope to know how to change the header color for selectManyShuttle ,the default color for it is green.

    Thanks ,It is working
    Could you please tell me how to change the header text color for af:selectManyShuttle
    Regards
    Wish79

  • How to change the width of bar ?

    i want to plot the bar graph, that we can change the width of bar.
    exp: I got y1,y2,y3 : the length of each bars. x2-x1 , x4-x3,x6-x5 :  is the width of each bars.
    How can i plot like the picture? I saw in help index the formular node : bar(x,y, width) , maybe it's possible. Any better ways to do it? Thanks
    Attachments:
    naamloos.PNG ‏10 KB

    see how you can change the widths
    Message Edited by JoeLabView on 11-23-2007 09:01 AM
    Attachments:
    2ndExampleBarGraph.PNG ‏18 KB

  • How to change the width of the variable screen?

    Hi
    like in the subject mentioned i need to know how i can change the width of the variable screen....
    right now i have to scroll if i want to see the right part auf the variable screen...
    maybe i can change the width with css?

    Hi,
    Using CSS specify the table width for the variable screen and include the Css in the header section of the table.

  • How to change the width of the EditForm.aspx and NewForm.aspx for both new and edited list entries?

    How to change the form widths for the EditForm.aspx and NewForm.aspx files that display both new and edited list entries?

    Hi  ,
    According to your description, my understanding is that you want to modify the width of the New Form and Edit Form of a list in SharePoint 2010 .
    1.Go to your SharePoint site -> your list.
    2.In top ribbon click  List tab(List Tools).
    3.Towards right you will see option as Form Web Parts, click on it, the three forms will be listed there [New Form, Display Form, Edit Form].
    4.Select the one on which you want to increase the width/height.
    5.It will open in edit mode, click on Add a Web Part.
    6. Click on Forms [Categories] => HTML Form Web Part.
    7.After adding the HTML Form Web Part, click on Edit WebPart.
    8.Click on Source Editor, Remove all code from it and put an empty HTML table with width and height as per your requirement ex. to increase width
    <TABLE WIDTH="800px">
    <TR><TD></TD></TR>
    </TABLE>
    9.Save the form and check out your respective modal by clicking on the same in your list view.
    Reference:
    http://sharepoint.stackexchange.com/questions/40580/how-to-modify-width-of-standard-dialog-form-sharepoint-2010
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to change the width of the bar of bar charts?

    Hi,
    I am using Crystal Reports 11.
    I created some stacked bar charts. Now, I want to change the width of the bar. Some one told me that I can't do that because it's totally controlled internally by Crystal Reports.
    Really?
    If could, how could I do?
    Thank you in advance.

    Hi,
    The only way you can set the width of the bar is by going to Chart Options (Right-click Chart in Preview Mode > Chart Options > Appearance tab > Decrease the Gap Width).
    Hope this helps!
    -Abhilash

Maybe you are looking for

  • Is there a way to enable/disable a tabular form item based on the value of a second item?

    Hi Everyone, I have a tabular form based on a collection.   The column c050(maps to f30) will be either Y/N.  If it is Y, then I would like to enable column c024( maps to f24) (which happens to be a radio button based on lov).  If the value of c050 =

  • Adjust jpanel to jframe

    panel 1 panel 2 panel 3 panel 4 When I use action performed I want to remove panel 3 and after I don't to have a space beetween panel 2 and panel 4. Thanks for your help.

  • "Wirless Client List" button on WRT160NV3

    Has anyone had any joy getting the Wireless -> Wireless Mac Filter -> Wireless Client List  button to work? I've tried several browsers, and several versions of the firmware (v3.0.02 and v3.0.03) but no joy. In each case my browser pops open a new em

  • Skip Logic--with required answers

    Hello, I am creating a survey for the moderators of educational sessions. Each moderator is required to complete (8) session surveys as a condition of their registration fee reimbursement. I want moderators to only need to add their contact informati

  • Cant recieve call from person in my contacts

    Hi! I have encountered a problem with a friend trying to call me that cant reach unless I delete him from my contacts. Anyone have a sollution on this?