dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Stage.align a Movie Instance

  1. #1
    Junior Member
    Join Date
    Jul 2002
    Posts
    10

    Stage.align a Movie Instance

    Stage.align a Movie Instance

    Basically is this possible...

    I would imagine the code would be as follows:
    myMovie.Stage.align("BR"); or perhaps
    myMovie.align("BR");

    However neither the following work.

    To outline the problem, I am loading a .swf into an enpty Movie bodyHolder...
    loadMovie("calender.swf", "_root.bodyHolder");

    I then want to align the bodyHolder movie within the _root movie.

    Any feedback, much appreciated.

    Justin

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Simply set your "bodyHolder" on coordinates 0,0 (top-left corner), and the movie loaded into it will appear at those specs.

  3. #3
    Junior Member
    Join Date
    Jul 2002
    Posts
    10

    fla attached

    It doesn't...

    Link to the .fla
    http://www.psychospacemonkey.com/alignProblem.zip

    Appreciate any advise,

    Kind Regards,

    Justin

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Never used this yet! But my understanding of it, is that it's to set aligment of the main movie within the browser window, not to position a movie clip within the main movie.

  5. #5
    Junior Member
    Join Date
    Jul 2002
    Posts
    10
    Yeah, your right! Cheers for responding oldnewbie.

    <I try and figure out an alternative way & if successful I'll be sure to post it!>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center