A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Selecting a part of an images as you avatar !!!!

  1. #1
    Senior Member
    Join Date
    Aug 2000
    Posts
    473

    Selecting a part of an images as you avatar !!!!

    Ive seen this been done in a few sites and i was wondering if anyone could help me with it.

    Basically i have a registration form where people fill out their details and it gets sent to the database via PHP.

    In the form there is also a section for the user to upload a picture of themself.... basically, what i want to happen is when they select a picture to upload it will come up with a flash section or popup which will allow the user to select which part of the image they want to use as their avatar on the site.

    They can move the image about within square section with the rest of the image grey'd out.

    I hope someone can help me out

    thanks in advance



  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    so your question is? how to move a picture with the mouse? You could "copy" that picture in a movieclip, and drag that clip. I guess you're going to need to read on the BitmapData class, since you'll want to copy the pixels of a loaded image.

    gparis

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