Align a swf within the fla document

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Re: Align a swf within the fla document

    if you load into a target movieclip you can position your target to control the
    location of your loaded movie. if you load into a _level then you must wait
    your loaded movie has completed loading and then use the _x and _y properties
    of that _level

    kglad Guest

  2. Similar Questions and Discussions

    1. Align
      How to align two or more object relative to the center axe of the last chosen one AND keep the position of the reference object (last picked)intact...
    2. Align a swf within the fla document
      I have created a document within Flash MX 2004. I have used actionscripting to load a swf file into a new layer within this document. The swf...
    3. Align text
      Hi again, Thanks for you help with my data structure problem, a hash of hashes problem did the job :-) I would like to know how to align text...
    4. how to Align text left & vertical align middle
      Hello, I have a asp lable control, which I use to display text in, I would like to have the text display aligned in the center and vertical...
    5. Text Align
      When I install my accesss 2000 application on some machines the application ignores the "Text Align" Property Setting in some Activex Controls(List...
  3. #2

    Default Re: Align a swf within the fla document

    Sounds good. Forgive me, I'm just a baby with Flash..... What type of syntax can I use with the actionscript

    loadMovie() to do the x and y points?
    AJayL Guest

  4. #3

    Default Re: Align a swf within the fla document

    you could use
    _root.createEmptyMovieClip("targetMC",1); //this creates an targetM
    _root.targetMC._x=100; //set the targets _x and _y propertie
    _root.targetMC._y=22
    _root.targetMC.loadMovie("yourswf.swf"); //yourswf wil align with its upper
    left at 100,22

    kglad Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139