How to change flash size with ac3?

I want to change flash size with xml. Sample config.xml
<genGenis>300</genGenis>
<genYuksek>100</genYuksek>
My flash read xml and change size to 300 * 100
After working in a flash I want to change the default values. Is this possible?

Have you worked with XML before? You're going to need to load that XML file and wait for it to complete. After you do that, are you using layout logic based on these values to create your content? Meaning do you have code in place to realize you have (as you said) 500x200 space so your code is able to use the space available effectively? Or do you just expect the content of the SWF to scale automagically?
As for the loader, you can use a simple URLLoader to load the external XML file. Here's a quick Adobe code snippit and explaination on how to load it:
http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e6a.html
Once you have the XML in an XML object you can just access the value via the XML variable name you make (e.g. myXML) with the name of the node while getting its text value. In your case you'll need to convert it to a Number because you may want the flexibility of using fractions (e.g. 1.5, 500.25, etc). So you'd need to case the value to a number. So to get the width it'd be like: var myWidth:Number = Number(myXML.genGenis.text()); and same for height just changing the variable and node name as needed.
Now that you have your values you can write layout code to use the numbers and handle the content creation yourself.
If you don't do that, as Andrei1 mentioned you'll need to affect the object embedded directly using ExternalInterface (Flash AS3 talking to the webpages JavaScript) requesting the object be resized to the new size.
You'll want to make sure your stage.scaleMode = StageScaleMode.EXACT_FIT; or stage.scaleMode = StageScaleMode.NO_BORDER; so your SWF content is "stretched" to the size you request. Exact fit will allow the content to distort if necessary to fill the width and height. No border will scale the content to the size specified but will maintain the aspect ratio. It's up to you whichever you want.
If you have any specific questions on any of this just ask.

Similar Messages

  • How to change font size on screen

    how to change font size on screen

    I'm not certain what font sizes you wish to change, when on a page you can use command and the += button to zoom in and make the fonts larger. On the finder desktop you can make what ever is on the desktop larger or smaller from the finder menu click view, custom view options, and adjust the icon size with the slider on the top, and the text using the text size box to select the size that your comfortable with.
    Forgot to add these.
    http://support.apple.com/kb/PH10876
    http://support.apple.com/kb/PH10877
    Hope this helps.

  • How to change font size in check printing program in AP Invoice

    I would like to know how to change font size in check printing program in Oracle Payables Module for Invoice printing. We are using Oracle standard
    report to print check.
    Concurrent program short name : APXPBFEL
    Prt file : APLASP.prt
    I modified prt file for code 199 like below
    code "199" esc "(8U" esc "(s0p12.00h10.00v0s0b3T" esc "&k11.75H"
    Font size changed for last page only which prints checks, for Void pages its printed with default font. For Page 1 printed with default font and page 2 has reduced font. This change is not intiallized for all pages.
    Please let me know if you any of you know how to change fonts.
    Thanks,
    Anand

    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • How to change font size in a table?

    How to change font size in a table without using the font style of another document?  Please show a sample script.  Thanks!

    Hi Dave,
    Thank you so much for the email.  I tried every object and method I can
    posibly think about such as
    myTable.Rows.Item(1).PointSize = 24
    myCell.Characters.Item(1).PointSize = 24
    I got error message all the time.  These objects don’t support PointSize.
    All I need is to change point size of the text in InDesign tables created
    using VBScript. Could you help me with this?  Thanks,
    Regards,
    Li

  • How to change font size

    Just purchased Deskjet 1010 & don't know how to change font size.

    hellinger
    Welcome to the HP Community Forum.
    In most cases you can adjust the scale of your documents before you print.
    Please take a look at the following:
    Manage Print Output with Print Preview
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. Nothing there about sizing.

    For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. I don't see anything about re-sizing when I click the adjust tab: only saturation and tint levels. Thank you.

    With respect to digital images, there really is no size in inches. The size is given as number of pixels horizontally and vertically. In iPhoto '09 you click the little "i" inthe lower right side of the window and it will display information related to the selected photo, including the pixel dimensions. I do not have iPhoto '11 installed so I don't know if it is the same there.
    In some applications, such as preview, it has something additional called Dots per Inch (DPI) which you would think would allow you to convert the pixel dimensions to inches. It is not a real thing, though. The DPI is determined by how large or small you have chosen to print your photo and the capabilities of your printer. 
    There is also something called Aspect Ratio, which is usually expressed in inches x inches such as 6x9 but that doesn't mean the size on the screen or when printed is 6x9.  It is the ratio of the pixel dimensions.  When cropping your photos, you will have several standard aspect ratios to choose from plus any custom ones you create.
    In iPhoto '09, after you choose Print, in the Print Setting window are the settings for the size you want the photo printed. You want to shoose a setting with the same aspect ratio of your photo. Otherwise, iPhoto will resize and/or crop your photo to fit the size you have chosen. 

  • How to change the size of cursor

    How to change the size of cursor  in flash,when we use dynamic text box or input text box the cursor is covering the whole height of the text box.is there any way to reduce the size of cursor

    In input text box while entering some value, the blinking of cursor is covering the whole text box,
    When i use the code
    Selection.setFocus(instance name of text)
    The cursor blinking is covering the whole text box height

  • How to change the size of a simple brush by tilt by more than 200%?

    Hi,
    how to change the size of a simple brush with tilt by more than 200%?
    Greetings!
    Daniel
    Ps: sorry for saying this, but your forum is surprisingly userunfriendy designed for a design oriented company.

    Hi,
    How is it going? Are the suggestions provided by the above replied helpful? If you need further help regarding this issue, please don’t hesitate to let us know.
    Besides, for scripts, in order to get better help, we can ask for suggestions in the following scripting forums.
    The Official Scripting Guys Forum
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Windows PowerShell
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
    Best regards,             
    Frank Shen

  • In SAP 4.6c In classical reports output how to change Font size and Font type

    Dear Experts,
    In SAP 4.6c, in classical and interactive reports  output how to change font size and font type.
    Regards,
    Zaker.

    These are HTML formatting questions. Nothing to do with the Oracle SQL and PL/SQL languages.
    With old-style HTML, the font size and family are set using the font tag.
    With modern style HTML, that is done using cascading style sheets (CSS).
    Your favourite search engine will turn up tons of information on both.

  • How to change window size dynamicalyy in scripts

    HI,
       how to change window size dynamicalyy in sap scripts.pls suggest me.

    You acnnot do that but what you can do is to have two layouts, having two windows with different sizes and calling one of them conditionally.
    using start_form end_form functions:
    open_form.
    if cond 1.
    call start_form. "pass form 1
    call end_form.
    endif.
    if cond 2.
    call start_form. "pass form 2
    call end_form.
    endif.
    close_form.
    Regards,
    ravi

  • How to change block size 32 at installation of oracle

    hey
    i'm going to install aoracle on 64bit windows server 2003. but the problem i'm facing is that i dont know how to change bolck size from 8k to 32k. i usually run setup dan install oracle but during this process it not prompt to change Bolck size. plz help what step i should take in order to successful installtion of oracle 64bit with 32K block size. i tried to find dcoumnet link but every body disscuse the db block size could be change but how i did find anywhere.

    yes you are right but what can i do as per my understanding about the below statement is that i should crerate DSS instead of gernal purpose database plz help what can i do now
    From Bug 5141453, development indicates that DB_BLOCK_SIZE cannot be changed for the General Purpose, Transaction Procession and DataWarehouse templates as the seed database is using 8k block size.
    You should create a custom database to get a different block size.
    References

  • How to change Font Size of Object Explorer in "SQL Server Management Studio"

    Dear Team,
    "SQL Server Management Studio" is a fantastic IDE for the database.
    There are so many customization options available but one thing many users missing is that " How to change Font Size of Object Explorer?"
    Can you please accumulate this feature in IDE ASAP?
    Many Thanks,
    Bhavesh

    Its there
    Go to Tools -> Options
    Then under Environment you've fonts and colors tab where you can specify a higher font size.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to change font size, maximum column size in the result screen ?

    hi All
    That's great when using SQL Dev.
    But I also have a trouble that how to change font size, maximum column size in the result screen ?
    My users think that font in result screen is shown very small, and whenever the data in each colum is long then it's not shown full data in column, they must double click for extend the size. Have the option to default the max size for showing full data in each column ? I try but still not to do that .
    Appreciate for anyone to help us.
    Thanks all.
    Sigmasvn

    You can't change the font for the results screen yet, however you will be able to select an auto-fit option for selected columns, so if some columns have slitghtly wider text you'll be able to set the column widths to handle these wider columns.
    Also, there s the option of switching the layout of a record in the grid.
    Sue

  • How to change font size and style in keynote for ios

    How to change font size and style in keynote for ios

    Same situation for report parameter input value font. What ever we do , it is still Arial and size 10.

  • How to change font size in a call-out tool box?

    Hi, the other day i inserted a call-out tool box in a PDF document, however i cannot find anything that can change the font size of the letters i input in that box. could anyone help? Thanks.
    Sherman

    This is a question for the Acrobat support forums – please post there.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 23 Nov 2011 10:55:07 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: how to change font size in a call-out tool box?
    Re: how to change font size in a call-out tool box?
    created by danmarch<http://forums.adobe.com/people/danmarch> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4043425#4043425

Maybe you are looking for

  • [Solved] Update gnome results to hang in gdm

    I guess this what happens when waiting a long time to update. This laptop has arch and linux mint dual booting. Arch is running on gnome and i think the last time I used it was 2 weeks ago (or more). It boots fine from grub but hangs upon reaching gd

  • New PC files are not updating on the LINK PC window

    When I loaded the Link soft ware on to my pc it uploaded all my music/pictures/document files- perfect. However later I saved a new music file on my PC but it does not show on the LINK soft ware window? The file was a new itunes music file which I ca

  • Changing a field based on another field

    hi one and all i am looking for a way to change a field based on another field. if i have item 2 and item 8 on the page and item 8 needs to be required based on item 2 based on a requirement, how would this be done. ex if item 2 has a PO inputed, whe

  • How to Extrude a path created with Pen Tool

    Hi All I have created a path with the pen tool (the brown part), and now I want to extrude it, but it extrudes the whole containing block (See image below) Now I have tried everything, from grouping to compound paths etc, but nothing works. How do I

  • Column header using OdiSqlUnload

    hi, I am using the ODISQLUNLOAD utility to create a a csv from a couple of tables in database. Though the file is generated properly, i am unable to append column headers in the file. Can u plz guide me as to how shud i add the column headings. My co