POLALA.COM
welcome to my space
X
Welcome to:polala.com
Web Design | Video Games | RVs | Religion | Management | Supplements and Vitamins | Software | Basketball | Related articles
Search:  
 HOME   attachMovie question...Stuck need help!
attachMovie question...Stuck need help!
Published by: anonym 2009-01-09

  • ok so i made a post yesterday reguarding an issue with an item centering. How would i center this?

    this.attachMovie('Nav', 'menu_mc', 1, NavTemplate);

    right now i have....

    this.menu_mc._x = Stage.width/2;

    but its not staying centered when i PUBLISH the page. It's all fine and good when i just test movie...I'm stuck please help


  • this.menu_mc._x = (Stage.width/2)-(this.menu_mc._width/2);


  • this is what i mean...i can't get BOTH to center

    EDIT

    I may not have explained it fully. The dock is being loaded into a main swf. This is what i get


  • "so just use that for everything else."

    i wish it were that easy

    oh trust me I have made sites where the first 100-200 lines of code were dedicated solely to positioning


  • nevermind...

    Stage.align = "TL";

    :)
    I need a drink

  • Flash Actionscript - attachmovie zurps my preload script to 512K ::
    18 posts - Last post: Jul 27, 2005Ask your questions on the forums, that will not only help you but also other but I need to deal with the attachmovie/preloader issue,
    http://www.flashdevils.com/showthread.php?postid=181758
    HOME

  • ok i gotcha....i didn't know you had other things goin' on there. Now the positions of everything is relative to 0,0 or the Top left. So all the elements that need to be centered must be inside movie clips and told to align center..which is what joshua's code was for...so just use that for everything else.
    hwg-graphics archive: Re: Flash ActionScript problem by Valerie L ::
    Sep 26, 2001 this is for a class assignment for an advanced Flash 5 class i'm taking, and i'm really stuck. the .fla file in question is at
    http://archives.hwg.org/hwg-graphics/l0313030cb7d7dedc9da0@[63.197.15.187]
    HOME
    Go-Ped General Talk! [Archive] - Page 22 - GopedNation Community::
    ADA Bigfoot front SUSPENSION Fork · need help looking for a california motorized scooter law · Gas tank lines questionplease help · peek proformance
    http://www.gopednation.com/forum/archive/index.php/f-3-p-22.html
    HOME

    any_mc._x = (Stage.width/2)-(any_mc._width/2);


  • ok here is the file...you'll see in there that it works fine when testing movie, but when you publish it for FBF (100%/noscale) it offsets...

    http://www.mww-media.com/center.zip


  • that looks fine, doesn't work for some reason even in test movie. What a pain. I've been plugging different code in for days now. the code posted works fine when movie is tested(that actual swf) but when put into a browser its jacked.


  • lol you need a bottle of whiskey if you missed that .. i only said it like 50 times haha well glad u got it solved it was starting to freak me out too...now i need a drink ;)


  • try placing

    Stage.scaleMode = "noScale";
    Stage.align = "TL";

    at the top of your code in the timeline (and use joshua's code too because it's correct...but i don't think it works unless you do this)


  • "so just use that for everything else."

    i wish it were that easy


  • ok new issue. now the dock lines up great, but that Stage.align = "TL"; is telling the main swf that the dock is loaded into to align left. So now i have a centered dock, but left aligned page!:puzzle:

    BRB...gone to the liquor store


  • doesn't work for me! WTF! Man this is frustrating...Here's what i get

    Firefox 2
    1680x1050

    resolution shouldn't matter in this case...


  • well for one u didn't put what I said at the top...with the Stage.align = "TL";
    I published it and it came out perfectly centered. make sure in your publish settings the flash version is 8 and the alignment is set to center/center for vertical and horizontal.


  • mines messed up. here's my settings


  • thats all correct...under the 'flash' tab make sure its set to version 8...i had it on 7 and it wasn't centered


  • i dont understand what u mean by "left aligned page". it's fullscreen





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market

    PRINT Add to favorites
  • finding obituary
  • uk team building activity instructions
  • distances urgent
  • oil refinery products
  • quick trademark question
  • find another email address for personal creations
  • s
  • bankruptcy
  • recommend an auction house to sell 15 000 sapphire
  • yahoo analyst estimates
  • suspended driver 39 s license
  • parse a text file into an excel database
  • naming of mcelmo canyon
  • paypal contact information
  • history of nyse rule 465
  • gas prices
  • large manufacturing plants in the us based on volume of water consumed
  • how can i get my money back
  • tucows
  • cable company coverage areas
  • u s demographic data
  • luna park melbourne australia
  • list of pharmaceutical companies in puerto rico
  • manufacturer in china
  • complete list of credit unions in the us
  • energy use in starbucks
  • burning ears
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about attachMovie question...Stuck need help! , Please add it free.
    About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008polala.com All Rights Reserved