A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Can't Reposition my movie!

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Posts
    1

    Can't Reposition my movie!

    So, my problem is that I have a movie clip placed in my frame, and inside that movie clip is some actionscript that loads another random movie clip into it and plays. That part is all working fine. But the problem is, is that the movie clip shows up in the top right, and not in the center like it should be. So what can I do to reposition it?

    My Code:

    i = Math.ceil(Math.random()*20);
    i++;
    _root.attachMovie("com_"+i, "clip"+i, 2);
    trace(i);

  2. #2
    Developing For Dunkets mneil's Avatar
    Join Date
    Mar 2007
    Location
    Lincoln City
    Posts
    2,156
    check the registration point inside of your movie clip that loads the clips, It is probably in the top right.
    http://code.mneilsworld.com/
    Text Effects | Bubbles | Dynamic Resize
    4 weeks , 20 papers ... thats 2 dollars .....Caassshhh!

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