A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Targetting movies

  1. #1
    Junior Member
    Join Date
    Aug 2002
    Posts
    17

    Targetting movies

    I am currently trying to target an external movie in to a parent movie.

    The problem that I am having is that the external movie is displaying further down the page than I expected.

    Having played around with the alignment of the text in the external movie and also the size of the external movie to constrain it to the size of the target area I cannot seem to solve the problem

    Does anyone have any ideas, how I can overcome this?

    I am using Flash 5, the code I am using is:

    on (release) {
    loadMovie ("http://www.furious5.co.uk/ext/about.swf", "container");
    }

    Thanks in advance

  2. #2
    Senior Member
    Join Date
    Apr 2000
    Location
    Northern Ireland
    Posts
    2,146
    Doesn't work that way, I'm afraid. The loaded movie comes in at 100% of its original size, expanding the boundries of the MC you load it into. Also, loaded movies load from the top left of a movieClip, not the centre. So position your empty MC at the top left position of where you want the loaded movie to appear.
    ----------
    "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." TERRY PRATCHETT

  3. #3
    Junior Member
    Join Date
    Aug 2002
    Posts
    17
    Cheers for the reply

    I had a quick play around after posting the question and have sorted it out.

    I just resized the child movie to the size of the parent target area and then re-positioned it in the top left had corner - hey presto!

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