Skip to main content
Known Participant
December 14, 2010
Answered

Loading a swf into a movie clip AS2

  • December 14, 2010
  • 1 reply
  • 985 views

I've been having some issues with loading an swf into a movie clip.  The code I'm using is this

on(release){
    contentbox.loadMovie("contact.swf",0);
}

It works fine in terms of loading, but it loads the swf so that the top left corner is in the center of the content box, pushing the bottom and right part of the content way off screen.

This topic has been closed for replies.
Correct answer Ned Murphy

It sounds like the registration mark of contentbox is centered.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
December 14, 2010

It sounds like the registration mark of contentbox is centered.

mldb88Author
Known Participant
December 14, 2010

yep, that would do it >.< Thanks

Ned Murphy
Legend
December 14, 2010

You're welcome