A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: _x & _y Positioning

  1. #1
    Hi.

    Im using a movie as the base with navagation, and want to load a new movie over it to level 2,3,4 when the buttons are pressed.

    how do i use the _x & _y to place the movie in a layer?

    lets say that X=342.0 & Y=200.0.

    So far the code made by Flash 5 is:

    on (release) {
    loadMovieNum ("ldtiw.swf", 2);
    }

  2. #2
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    Whilst using the code that you already have, you direct the level to the new possitions:

    Code:
    on(release){
      loadMovieNum("ldtiw.swf", 2);
      _level2._y = 200
      _level2._x = 342
    }
    XFM

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