A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: mcLoader get url image in flash gallery & print

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Location
    WI
    Posts
    6

    mcLoader get url image in flash gallery & print

    I am making somewhat like a photo collage type site, with my family photos. In flash 8. I have the thumbnails ready with the picture loader that loads a larger picture but still a 72 res only. I want my relatives and friend to be able to print a 300 res 6×4.5 jpg stored in my image folder by clicking the print button that I made. External images. External links, but from the picture in the loader at the time. The loader is a mc. Also to save on the save button I made. I also have a close button. I am using flash 8. The only thing I can think of is to write code to print or save the picture currently in the movie clip Loader. Not real sure how to go about that. This is sort of what I would like to accomplish. http://www.edytajordan.com/galleries/ltcomfort/

    I want the code to print an external .jpg from my pic folder that is currently displayed in the mcLoader (a movie clip Loader). I already know how to print from just a mc_thumbnail. That is not what I want. The loader is already a MC so if another MC was on top of it, I would need that to be fixed. I know that I could make a separate page for all the thumbnails to make them into a MC but, it would look cool the other way. I have a fade action going on over the thumbnails already. A cool effect that I want to keep.

    An applet type that will load 300 dpi image from a folder and print it when the print button is pressed. and save the image when to the user’s hard drive when “save” is pressed?

    Can anyone help? I am quite new to the forums. Thanks, me

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Im not sure Flash alone can print something that has been loaded to the stage.. maybe PHP or something can?

    as far as saving an image to the users computer.. you can use the BitMapExporter class by Mario Klingman (sp?) his site is www.quasimondo.com I believe..

    Im from WI as well..

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Location
    WI
    Posts
    6
    Hi,
    Not on the stage but an external file. An image.
    I am having a hard time trying to find this code.
    Thanks for your suggestions.

    Milwaukee suburbs.......how about you?

  4. #4
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    sorry.. typo.. I mean to say Im not sure if Flash can print something that is NOT on the stage...

    what code are you trying to find? not the BitMapExporter code/class to save an object on the flash stage to the users desktop?

    Milwaukee Suburbs as well... (small world)

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Location
    WI
    Posts
    6
    I have checked the site and to tell you the truth it is way to confusing for me.
    Did you look at the site. I see a doodle page.
    I am lost.

  6. #6
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    yes.. I have looked at his site...

    I think the 'doodle' (sketch pad) thing you saw was just an demo he created using his bitmap exporter class..you can draw what you like..and then save that image to your desktop..

    maybe this link will be better? (same class)

    http://www.quasimondo.com/archives/000645.php

    I tore apart his demos to see how he used it.. also the class is commented..etc

    basically you have some functions you can use..and you set a movieClip that you want to 'save'.. when you call the save function.. it goes line by line..grabbing the pixel data.. and sending it to a PHP script (also included) hosted on your sever...

    the php takes this data and creates the image for you to 'download' (save).. by giving you a SAVE AS dialog box..

  7. #7
    Junior Member
    Join Date
    Nov 2003
    Location
    WI
    Posts
    6
    I just stayed up too late checking tutorial sites again.
    Here is my test site so you may know what I mean.
    http://www.lynettesdesigns.com
    Thanks a bunch for your suggestions.

    Hey now that I looked at my swf file on line the blue buttons are different.
    The family button stays black where the others turn gray. ?????????
    I tried to figure it out but I am exhausted trying. Any suggestions there?
    Have a happy 4th.

    glassygirl
    Last edited by glassygirl; 07-03-2009 at 09:48 AM.

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