A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Why is my swf not center in MC

  1. #1
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049

    Why is my swf not center in MC

    loadMovie("pic0.swf","pics1");

    this works fine, but when the swf is loaded in to the blank mc its not centered.

    The MC is just a border with no fill. What am I doing wrong???

  2. #2
    Senior Member
    Join Date
    Mar 2001
    Posts
    141
    that's because when you load an external swf or jepg into a movieclip, it anchors from the top left corner. you're not actually doing anything wrong; this is the way flash does it.
    tired of you // http://www.indextwo.net

  3. #3
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    okay so how would I fix this problem?

  4. #4
    Rusty Flasher
    Join Date
    Jul 2002
    Location
    Utahr
    Posts
    51

    The Movie Clip that is loading the swf ...

    The Movie Clip that is loading the swf needs to have the "center crosshair" in the upper left hand corner. edit the movie clip and move it and it should work just fine.

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