How can I get my movie clip to resize according to screen size?

I have a movie clip (startMenu); inside it there are buttons, text, and graphics. This is a game I am making, and it will be played on different screen sizes of Android. This is the code I have so far:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT
startMenu.addEventListener(Event.RESIZE, resizeLayout);
function resizeLayout(e:Event):void
    setPosition();
function setPosition():void
     startMenu.x = (stage.stageWidth - startMenu.width) / 2;
        startMenu.y = (stage.stageHeight - startMenu.height) /2;
When I run it on different phones using debugging, it locks on the left hand corner, but does stretch out to fit the whole screen. What should I do?

try changing
stage.scaleMode = StageScaleMode.NO_SCALE;
to
stage.scaleMode = StageScaleMode.EXACT_FIT;
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScal eMode.html

Similar Messages

  • How can I get a movie that I created in IDVD to load in ITunes and stream to Apple TV?

    How can I get a movie that I created in IDVD to load in ITunes and stream to Apple TV?

    Welcome to the Apple Community.
    You can't, but you have a few alternatives.
    Best option: If you made the movie on the DVD in iMovie (or even another editing application) and still have the project, go back to the project and export it for Apple TV (using the Apple TV preset)
    Next best option: If you still have the original movie that you put on the DVD, open it in QuickTime and export it for Apple TV (using the Apple TV preset)
    Worst option: Use something like Mpegstreamclip (Quicktime Mpeg2 playback component required) to convert the DVD to h264.

  • How can i get my movies back on a new computer

    how can i get my movies back on a new computer

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    How is it not working?  And how are you doing it?  Drag the movie onto the iTunes icon on the Dock...  what happens?

  • I created an iMovie using pictures from my camera roll, I exported the movie to the camera roll and then deleted all of the pictures. Now I can't get the movie to play. Did deleting the pictures cause my IMovie to disappear? How can I get my movie back?

    I created an iMovie using pictures from my camera roll, I exported the movie to the camera roll and then deleted all of the pictures. Now I can't get the movie to play. Did deleting the pictures cause my IMovie to disappear? How can I get my movie back?

    Download and open this program, lets you look around your I phone as if it was a disc drive, might find em in the iphones drive.
    http://www.macroplant.com/iexplorer/

  • How can i get a movie downloading on my iphone to download onto my mac

    how can i get a movie downloading on my iphone to download onto my computer

    Not sure what you are asking.
    You have downloaded the movie on your iphone?  If so, then transfer it to your computer: File>Transfer Purchases
    The movie will not download on your iphone? Click Store>Check for Available Downloads on your computer in itunes.

  • How do I get a movie clip to play fully in an iphoto slide show.

    How do I get a movie clip to play fully in an iphoto slideshow.  Right now it only plays for a few seconds, while the complete clip is 22 seconds.

    Bring up the Settings pane for the slideshow and click on the movie clip in the tray at the top.  Then in the Settings pane click on This Slide button and set the play time to the actual length of the movie clip. 
    OT

  • How can i let a move clip complete his motion tween movement after dragging and dropping it

    hi how can i let a move clip complete his motion tween movement after dragging and dropping it
    i am using this code and there is a motion tween applies to the movie clip r_mc
    r_mc.addEventListener(MouseEvent.MOUSE_DOWN,fun); r_mc.addEventListener(MouseEvent.MOUSE_UP,fun2); function fun(event:MouseEvent):void { stop(); r_mc.startDrag();
    function fun2(event:MouseEvent):void {
    play(); r_mc.stopDrag();

    i have a simple .fla file wich contains MC that has
    a motion tween(its moving from the left to the right of the stage)
    this motion tween covers the whole time line (  there is only 50 frames in the time line)
    i mean in the frame 1 the MC appears in the left of the stage
    and in the frame 50 the MC appears in the right of the stage and there is a motion tween between them
    every thing till now working well
    i want to make that MC dragabble
    so when i drag the MC i will use stop()
    and when i drop it i will use play()
    but the problem is that the mc doesnt move and complete
    his motion tween movement when i drop it
    for example the MC will be in the middle of the stage in frame 25
    in this frame (25) i am draging the MC ,stoping the timeline,dropping the MC and resum playing the timeline again
    but the MC freezes in the middle of the stage and doesnt go to the right of the stageo until the flash loops and start from the frame 1 again
    here is the example wich i am worikng on
    http://www.mediafire.com/?ia47r4owha7sz8v
    thank u very much and sorry for my bad English

  • If I purchased a movie, from a computer a LONG time ago like 3 years but recently I changed computers how can I get that movie back? p.s. I bought the movie from iTunes

    If I purchased a movie, from a computer a LONG time ago like 3 years but recently I changed computers how can I get that movie back? p.s. I bought the movie from iTunes

    If you don't have the movie on the old computer and you don't have the movie backed up on a disc somewhere, your only choice is to purchase the movie again. Currently, movie downloads are a one time deal andit is your responsibility to have a backup copy.
    If you have the movie on the other computer still, you can burn it to a DVD and then copy it over to the new computer.
    Personally, I have two computers and when I make a purchase on one, iTunes automatically copies it to the other and I have never lost videos or music in this manner.

  • I down loaded a rental movie and stopped part way through . i turned the computer on and off and when i went back on itunes it didnt show up on the rental playlist and movie playlist.how can i get the movie back?

    i down loaded a rental movie and stopped part way through . i turned the computer on and off and when i went back on itunes it didnt show up on the rental playlist and movie playlist.how can i get the movie back?

    Unless it has recently changed you can only watch rentals on the device or mac you rent them on.

  • How can I get just the text to resize, rather than the entire web page?

    I used to be able to re-size just text on a webpage by typing Ctrl + +. Today, the entire webpage re-sizes, and when I move to another page it reverts. (I see this mostly in Facebook.). Why did this change, and can I go back to having just the text re-size?

    ''How can I get just the text to resize -- zoom text only''
    steps
    #"Alt" if no menu bar, then
    # View > Zoom > Zoom Text Only
    Zoom text of web pages - MozillaZine Knowledge Base
    :http://kb.mozillazine.org/Zoom_text_of_web_pages
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?

    adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?
    I want the capability of adobe reader to just run on one screen.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • How can I get the edited pictures from the thumbnails to full size?

    I upgraded to iPhoto 11, the thumbnail photos show my previous edits, but when I click on the photo to make it bigger, it reverts back to the unedited, original picture.  How can I get the edited pictures from the thumbnails to full size?

    Verify you are using iPhoto11 ver 9.5
    if not run the >Software update or check your apps folder and make sure the correct iPhoto is launched,  not an older ver.

  • HT204370 My computer says "the disk Im trying to save to is full", which Im assuming is my computer.  So, I tried to redeem a movie on my ipad, however, the movie code has already been redeemed so I cant redeem it again.  How can I get the movie saved to

    I just redeemed a movie through iTunes, however, my computer says "the disk I'm trying to save to is full", which I'm assuming means my computer is full.  I tried to go on my iPad and just redeem the movie through that, but now it says the code has been redeemed, so I cant redeem it again.  How can I put this movie on my iPad or iCloud?

    Hello johnciti123,
    Thank you for ordering a PlayStation Network currency card from Best Buy's eBay store.  I am sorry to hear of the trouble you have had with it when you recently attempted to use it.
    While I recognize this may not be what you were hoping to hear, I regret to inform you that Best Buy is unable to support currency cards after they have been sold.  After we activate the cards for use we have no way to verify if or when they ever are, as this information is only available to the company for which the currency card is sold.  In this case that is Sony and PSN.  If there was anything that could be done, it would need to be from Sony.  In this case it sounds like they are likewise taking the stance that they cannot verify who was authorized to use the code so they do not provide support either.
    I am sorry there is not something else we can do.  Please let us know if you have any additional questions in the future.
    Sincerely,
    Mike|Social Media Specialist | Best Buy® Corporate
     Private Message

  • HT1766 how can i get pictures of my iphone with a smashed screen when i cant unlock it help me please

    partner smashed her screen trying to get stuff of it but she ahs a screen lock so it wont connect to itunes how can i get around this please help

    You can't unforunately; if iTunes won't detect the device the /BEST/ thing you can do on a windows computer is go to the Start Menu > Computers > and check to see if the windows computer had detected the device as a camera, if yes; Lucky you, If no; you're outta luck

Maybe you are looking for

  • Spry Alignment and Positioning Problem in Internet Explorer 6 and 7

    I am designing a website at http://atoment.007gb.com, and neither me, nor my partner can figure out why the Spry Horizontal Menu Bar is loading the way it is in Internet Explorer.  We are doing this for a school project, and eye appeal and workabilit

  • Oracle Apps EUL Scheduling Trouble

    Hi All, Here is my problem: I can go through all of the steps of setting-up scheduling in an Oracle Apps Disco environment, but here is the result: -No new table is created when the scheduled workbook has finished (if it has) -No visible sign that th

  • How to generate a circle of a fixed size

    I want to generate a circle of a specific size. What is the best way to do that? Also is there a good way to locate the center of an image? Thanks for any help!

  • Transfer of Share of Profit to Partner Capital Account

    Dear All Our client is  a Partnership Firm, after the year end closing Share of Profit /Loss has to be transferred to its Partners Capital Acoount . But how the same can be transferred as the profit/Loss is automatically calculated & posted internall

  • BeanUtils populate

    Hi, I am populating a bean in a servlet from request parameters using the BeanUtils.populate method. This works fine mostly. The problem i am having is getting it to populate nested beans? Example. public User setUser(User u){ user = u; the way i am