A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: Movie within a movie.. want to resize inner movie

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    7

    Movie within a movie.. want to resize inner movie

    Hey.. I have a .swf within a .swf. I want to resize the inside .swf because it is too large for the area of the finished movie.

    I ask you this because I don't have the .fla file..

    thank you
    -10fx-

  2. #2
    Glorioso SLB
    Join Date
    Jan 2005
    Location
    Portugal
    Posts
    79
    you are using flashMX!?

    try

    Code:
    loadMovie("my_swf.swf", my_target);
    my_target._xscale = 50;
    my_target._yscale = 50;
    Se a vida te virar as costa, aproveita e apalpa-lhe o rabo


  3. #3
    Junior Member
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    7
    yes i am using MX

    I tried that... and the my_target wouldn't work because I need to have the inner .swf on the z field of 1.. so that parameter goes where my_target goes.
    Last edited by 10fx; 03-11-2005 at 10:09 PM.

  4. #4
    Glorioso SLB
    Join Date
    Jan 2005
    Location
    Portugal
    Posts
    79
    Originally posted by 10fx
    yes i am using MX

    I tried that... and the my_target wouldn't work because I need to have the inner .swf on the z field of 1.. so that parameter goes where my_target goes.
    how do you load the swf into the swf?
    Se a vida te virar as costa, aproveita e apalpa-lhe o rabo


  5. #5
    Junior Member
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    7
    I have this on its own layer

    loadMovieNum("relog.swf", 1);

  6. #6
    Senior Member
    Join Date
    Sep 2003
    Posts
    974
    i think at this point, it would be better if you attach your .FLA in FLASH MX ONLY FORMAT.

    also, why don't u use loadMovie instead? still, if we could have a look at ur .FLA(again, in flash mx only format) then perhaps we'd get a bigger chance of solving the problem directly.
    Flash MX + ASP + WinXP Pro
    Now Learning PHP & MySQL

  7. #7
    Junior Member
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    7
    Here are screen shots of what the files are... the clock is the inner .swf file that I want to resize and move to the end on the right.

    Two key things I want to do:
    1. Resize clock .swf
    2. Align to the right side of the image



    Thanks again
    -10fx-

  8. #8
    Glorioso SLB
    Join Date
    Jan 2005
    Location
    Portugal
    Posts
    79
    take a look on this:
    Attached Files Attached Files
    Se a vida te virar as costa, aproveita e apalpa-lhe o rabo


  9. #9
    Junior Member
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    7
    couldnt open barra.fla

    did you make that in MX or 5?

    But I saw the .SWF's... and I was intrigued... could you maybe explain it to me?

  10. #10
    Glorioso SLB
    Join Date
    Jan 2005
    Location
    Portugal
    Posts
    79
    Originally posted by 10fx
    couldnt open barra.fla

    did you make that in MX or 5?

    But I saw the .SWF's... and I was intrigued... could you maybe explain it to me?
    i use flashMX2004 but "save as" flashMX!

    i use:
    Code:
    loadMovie("relogio.swf", my_target);
    my_target._xscale = 25;
    my_target._yscale = 25;
    where my_target is the instancename of a empty movieclip ([Ctrl][F8])

    i put the emptymovieclip where a what the "relogio.swf" begins (top left corner)

    (try the file again!)
    Attached Files Attached Files
    Se a vida te virar as costa, aproveita e apalpa-lhe o rabo


  11. #11
    Junior Member
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    7
    Still didn't work.. but my friend told me to put that in.. so I did... but it resize the picture but had nothing to do with placement..

  12. #12
    Junior Member
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    7
    AHH!!! my friend got it to work for me.!! sweeeeeet

    Thanks for all the help guys!!!

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