dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: position of external swf

  1. #1
    : :.::: .. skrewd .. :.::: :
    Join Date
    Jan 2001
    Location
    South Africa
    Posts
    39
    Hi

    I need help with loading external movies to a certain y value.
    Action on first frame of movie one loads external .swf
    The size of the movie is 780 x 480.
    The position of the loaded movie needs to be at approx y value of 400 and not 0,0 like it does by default.

    How can i do this ? Is this difficult ?

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    load the movie to a blank MC with an instance name of "targetMC" (for example). you can then specify the y value of the target MC, which will be nothing but your external .swf.

    targetMC._y=400;

  3. #3
    Slinky skitten78's Avatar
    Join Date
    May 2001
    Location
    Here I am.
    Posts
    411
    Use an empty movie clip- create it and place it on your stage.

    on it, use onClipEvent(load){
    loadMovieNum ("name of your swf", level)
    }

    (I think this is the right syntax?)

    Then you can play around and move the empty MC until it loads where you want it.

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