A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: dynamicaly crop a movieclip

  1. #1

    dynamicaly crop a movieclip

    Hey guys!

    Situation. I have a jpg in my movie. I need to create a movieclip from part of this jpg. In other, and maybe even more clumsy words: coordinates are loaded into my movie from the db and dynamicly creates a new movieclip from the jpg image.. this new mc shows a smaller part of the jpg.

    (or sort of like the 'crop' function in image applications..)

    Please let me know if the question was badly formulated.

    Any help is appreciated.
    André
    andremyr[-at-]gmail dot com

  2. #2
    Junior Member
    Join Date
    Oct 2002
    Location
    denver,co
    Posts
    14
    create a dynamic mask over the image mc, you can then change the size of the mask to be the size you want and then delete it when you don't need it anymore
    marc
    robertMarcWren.com

  3. #3

    example

    That doesn't seem to do it for me

    Look here to see what I'm trying to do:
    http://www.inbusiness.no/tananger/

    Click on 'Cape' and then Zoom. The zoom effect has to be created from a movieclip (also created dynamicaly) that is initially created from some coordinates and then enlarged.

    Hope that makes my problem easier to understand.

    Thanks

    .. and keep on flashing!
    André
    andremyr[-at-]gmail dot com

  4. #4
    Junior Member
    Join Date
    Oct 2002
    Location
    denver,co
    Posts
    14
    i think that the way to do this would be to duplicate your background image into a new movie clip and then make a mask of a certain size over the coordinates that you are using. I don't think that it is possible to crop the image itself in flash. You can then enlarge your mask and the duplicate picture to get the zoom affect...

    i don't know if this answers your question, probably not, but I'm not the most versed flash person in the world either.

    marcus
    marc
    robertMarcWren.com

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