Can't make text the right size

HI , I'm having a frustrating problem. I'm trying to get the text announcing the levels in my game to be the right size when it's online. It works fine offline, but when I put the swf up online the text looks like it's about 2.4 instead of 24 like I am trying to get it. Here's the code in the start game method:
public function startGame():void
canFire = true;
paperHeadlineIsAdded = false;
NumOfDrops = 0;
pastLevelTwenty = false;
gameIsOver = false;
speedVar = 90;
textRemoved = true;
origNumOfPlanes = 25;
waitForNewLife = false;
newLevel = false;
bombDropSpeed = 3;
NumOfPlanes = origNumOfPlanes;
airplanes = [];
bullets = [];
bombs = [];
// init score
lives = 3;
shotsLeft = 10;
shotsHit = 0;
showGameScore();
levelNum = 1;
iconArray = [];
// create gun
aagun = new AAGun();
aagun.gotoAndStop(57);
addChild(aagun);
// create object arrays
airplanes = new Array();
bullets = new Array();
bombs = new Array();
//text formatting
textFormat = new TextFormat();
textFormat.font=font.fontName;
textFormat.font = "Guadalupe";
textFormat.size = 24;
textFormat.align = "center";
textFormat.color = 0xffffff;
trace(getChildAt(numChildren-1).name);
livesIcons();
// listen for keyboard
stage.addEventListener(KeyboardEvent.KEY_DOWN,keyDownFunction);
stage.addEventListener(KeyboardEvent.KEY_UP,keyUpFunction);
//setup your fireTimer and attach a listener to it.
fireTimer = new Timer(300, 1);
fireTimer.addEventListener(TimerEvent.TIMER, fireTimerHandler, false, 0, true);
// look for collisions
addEventListener(Event.ENTER_FRAME,onEnterFrame);
var siren:Sound = new Siren();
chanD = siren.play(0,800);
// start planes flying
setNextPlane();
and here's the rest of the code that puts the text up in this method:
public function wait():void {
if(levelNum>19){
thisIsTheEnd();
pastLevelTwenty = true;
gameIsOver = true;
newLevel = false;
if(newLevel == true){
if(aagun.aagunGone == false){
textFormat = new TextFormat();
textFormat.font=font.fontName;
textFormat.font = "Guadalupe";
textFormat.size = 24;
textFormat.align = "center";
textFormat.color = 0xffffff;
levelNum ++;
speedVar+= 25;
newLevelText = new TextField();
newLevelText.width = 550;
newLevelText.y = 110;
newLevelText.selectable = false;
newLevelText.defaultTextFormat = textFormat;
newLevelText.embedFonts=true
newLevelText.defaultTextFormat.size = 24;
newLevelText.text = "Level "+ String(levelNum);
waitForNewLife = true;
addChild(newLevelText);
textRemoved = false;
if (gameIsOver != true){
waitTimer = new Timer(5000,1);
waitTimer.addEventListener(TimerEvent.TIMER_COMPLETE, startNewLife);
waitTimer.start();
anyone have an idea why this is happening? Please let me know. Thank you.

I can't upload the html file with the swf because the place I have my game uploaded only asks for an swf file. Do you know why it doesn't work? when I load the html in my browser it works but not just the swf online.

Similar Messages

  • Iphoto 8.1.2 My source list has disappeared or is so diminished that I can not read it. How can I make it the normal size, please? l

    iphoto 8.1.2  My source list has disappeared or is so diminished that I cannot read it. How can I make it a normal size, please?

    Move your cursor to the extreme left of the iPhoto Window until it becomes a '+', then click and drag right.
    Regards
    TD

  • Using the Motorola Atrix w/ the laptop dock, when I open a web page with Firefox I have to hit "Ctl +" three times to make the page fill the screen. Is there any way to set up so pages open the right size?

    I'm using the Motorola Atrix smart phone with the Laptop Dock. When I open a web page with Firefox I have to hit "Ctl +" three times to make the page fill the screen. Is there any way to set up the Firefox browser to open the web pages the right size in the first place?

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Hi there, having trouble dropping in still images, they appear huge, how can i drop in a batch the right size?

    Hi there, having trouble dropping in still images, they appear huge, how can i drop in a batch the right size?

    Match the photos to the size of the Sequence is one way.
    Scale to Fit is another (Right Click Option)
    Efects > Motion>Scale... is another

  • How can I print in the right hand corner of the paper (no borders)?

    How can I print in the right hand corner of the paper (no borders). I have Adobe 7.

    Is that elements 7 or photoshop 7? It can make a difference.
    What you can do is create a new document that is the size of the paper, then place your document in the new document. You can now align your document to the right side of the page.
    Now print.
    Borders can have two meanings here. You can add a border to an image such as a stroke for example. The other meaning is the printer has a non-printing area called a border.
    In the former there is nothing to do as long as you did not add one. In the latter some printers do have a print to edge option, but it has to be a feature of that printer. It would be located in the print options. If the printer does not have such a feature, there is nothing you can do, short of manually cutting the paper with a paper cutter, scissors, or x-acto knife.

  • How can I find out the screen size of the users moniter using the Acrobat SDK?

    How can I find out the screen size of the users moniter using the Acrobat SDK? I need to know how much sreen real estate that is available on the users moniter. Is there some call that I can make from the SDK to discover the maximun X and Y coordinates?
    Thanks,
    Gregory

    Currently, I am testing on multiple moniters and it is defaulting to the moniter designated as the #1 moniter. For our purposes, this is acceptable. Once the two documents have loaded, the user can move and re-size at will.
    Gregory

  • How can I/Can I make Firefox the default .PDF viewer in Windows 7?

    For the basic PDF viewing I do, Adobe Reader is just slow and annoying. I love using Firefox, but unfortunately I cannot set it as the default program to open PDF files. Even when I select Firefox after right clicking and select open with, Windows does not comply. Is there a config option I can change that will allow me to set Firefox as the default PDF reader.
    Thank you for your help.

    You can not make Firefox the default for viewing PDF files for the entire Windows Operating System, only the default viewer from within Firefox. Like when PDF files that are downloaded from websites and displayed in Firefox; you can try using '''File > Open File''' from within Firefox to view PDF file that are already saved on that PC, but I'm not sure that will work - I haven't tried doing that.

  • How do I get my Mac Book Pro desk top back to the right size?

    My son was using my Mac Book Pro this morning and managed to enlarge both the desk top and any browser I use - Safari, Firefox etc.  I am unable to get them back to the right size and have to keep shifting across to see what files I have etc.  Can anyone give me advice on how to put it back to normal.  I have tried looking at 'view options' and also in trackpad, mouse and keyboard in preferences but to no avail.  Note that the files on the desk top are not smaller or bigger - it is the actual desktop which has increased in size and is no longer contained within the frame of the screen.  Would be grateful for any help and thank you.

    Did you try CONTROL and two finger drag on the trackpad?
    Ciao.

  • Why can't I increase the cache size in FF 4?

    OK, first of all, to be honest I really don't like FF 4. I see absolutely no advantages over the previous versions and I can't find anything to like about FF 4..
    One big and annoying factor (besides the how UI and layout) is why can't I increase the cache size?
    If I choose to manage it myself and override what the developers did, I can go to 1024 and that's it. If I want 5GB of cache, I'm out of luck because some coded decides how I want to manage my disk space? They're kidding, right?
    What the heck is the matter with these guys?
    This thing is so bad that I've resisted upgrading, I didn't have a choice when I upgraded to Ubuntu 11.04, it came with the package.. Yuk... I've been a FF user since late 2003 or early 2004... I'm about to part ways with this thing if they don't fix it...Even IE sucks less than this thing....
    None of my Windows machines are going to get 4 loaded if I can help it.. About 1 million people agree with me...

    correction.. It's not a million.. it's legion at this point..
    Google "I hate FF 4" and you'll get 40,900,000 results... I don't trust Google further than I can throw them, but 41 million people complaining about this thing? What a freakin travesty...

  • Please assist. How can I make all the photos on my Iphone visible? and not only the recently added ones? I'm using IOS 8

    Please assist. How can I make all the photos on my Iphone visible? and not only the recently added ones? I'm using IOS 8

    Did you move to iOS 8 via iTunes?  Your photos should all be on your iPhone 5s without any issues even if you updated via WiFi.  The update should have no impact on your photos other than to have moved any photos in your former Camera Roll to your Photos.  When opening the Photo App you should see Photos and Albums available at the bottom of the screen.  You can also look at Settings>General>About and looking down the list your should see the word Photos and a Count at the right.  This count should represent all of the photos in your iPhone.

  • How can i make text in 4 colors??

    Hello
    i'm making a short film in "premiere" and i want to add some text effect
    so i using "after effect" for the text effect...
    my question is how can i make text in 4 colors (which each letter get 1 diffrent colors from each corner)
    i know how to do it in the premiere  but i couldnt find this option in after effect
    Thanks

    Select the text you wish to adjust with the Text Selection tool. 
    Click on the text colour box in the Text Pallete and select a colour.
    Repeat with each new section of text.

  • How can I make that the cursor of a table ...

    Hello,
    how can I make that the cursor of a table (on the frontpanel) go to the starting position? I have placed a table that give back the number of the row if I doubleclick a row on the frontpanel, but when I restart the vi the cursor of the table is on this position. If I have many informations in the table and after restarting there are just one or two, I can`t see this information without scrolling to the top of the table. I want that the cursor (that I see) is at the first row. How can I make it?
    thankyou
    Schwede

    Hello,
    Sorry, I forgot to attach it in the previous post.
    Regards,
    Paulo
    Attachments:
    EditPos.vi ‏16 KB

  • How can i find out the file size of a Keynote on an iPad please?

    How can i find out the file size of a Keynote on an iPad please?

    I think a rule of thumb is what you're looking for.
    Full bandwidth CD audio (AIFF): about 10 MB/min
    Apple Lossless: about 5 MB/min
    MP3 @ 256k: about 2 MB/min
    MP3 @ 128k: about 1 MB/min
    Of course the MP3 file size is exactly linear with bit rate.
    As for sound quality:
    Apple Lossless is, as the name says, lossless.
    MP3 @128k: fine for listening in the car or the kitchen etc. If you have an audiophile sound system, this will remind you why you spent all that money.
    MP3 @256K: barely distinguishable from CD on very good equipment.
    MP3 @320K: probably not distinguishable from CD.
    I presume that since you're talking about importing classical CDs these are ones you own. Remember you can always do it again if you need higher fidelity or if better technology comes out. I import most CDs at 128k, since most of my MP3 listening is in the car, or walking, or as background. And I can always play the CD if I want to sit and listen.
    The logic for purchased music is totally different -- you probably won't get to upgrade that without buying it some different way. So buying 128k MP3s (or AACs) is something you'll probably regret later. Buying 256k MP3s is a lot less problematic.

  • I just upgraded from Express to Pro.  When I open a project in Finder and neither Express nor Pro are running, it always opens in Express.  "Open With ..." says Express is the default.  How can I make Pro the default instead?

    I just upgraded from Logic Express to Pro.  When I open a project in Finder and neither Express nor Pro are running, it always opens in Express. I now want projects to open in Pro.  "Open With ..." says Express is the default.  How can I make Pro the default instead?

    Well, when I've done things like that it always sems like a good idea to keep an application that you know the file will definitely open in...

  • Hi, my macbook screen goes black at random points when I am using it. I know it is still running as music continues to play and I can vaguely make out the content of what is on the screen. Sometimes the screen will flicker between black and normal. Can I

    Hi,
    my macbook screen goes black at random points when I am using it. I know it is still running as music continues to play and I can vaguely make out the content of what is on the screen. Sometimes the screen will flicker between black and normal. Can I fix this?

    Emily..
    Could be the graphics card, run the Apple Hardware Test
    If the hardware test doesn't reveal any problems, use Lion Recovery.

Maybe you are looking for

  • I want to connect my headset to my iphone 4

    i saw a video on youtube for camera connection kit but it is only for iPad. where can i find a USB connector for iPhone?

  • "A connection could not be established at this time."  Book Ordering Issue

    Since upgrading to Snow Leopard I have not been able to Buy a Book via Aperture. Whenever I click on the Buy Book Button I get the following error message: "A connection could not be established at this time. Please ensure your network connection is

  • Is Tiger to Leopard a free upgrade?

    Do you upgrade to Leopard from Tiger or buy it. Are their two versions upgrade and full install?

  • BH-503 + Mac OS X 10.6 Snow Leopard (re)connection...

    I have recently purchased a Nokia BH-503 and I am having issues when using it with my mac ( Mac OS X 10.6 Snow Leopard [10.6.2]). The device pairs successfully, but when trying to connect, usually the first attempt either fails, or I get sound with a

  • Taxes in Exchange Invoice

    In the invoice receipt I want to see the seperate line item for the taxes that I have included in the exchanges purchase order. Currently I can see the single line item while posting invoice which includes the tax amount as well Can anybody tell me h