A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Help with using photos in Flash - Please!

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    2

    Help with using photos in Flash - Please!

    Hi there,

    I do a lot of concert photography and set about putting a website together. Its been a lot of work. However at the end of it I have found that on different platforms my photographs look far from what they look like when view normally i.e. not through flash.

    I have a gallery page which size's up the image. The idea being that i can quickly put the images in a folder and flash does the work. Not the case!

    I am finding that on different moniter sizes, whereby flash resizes the overall website, that my images look pixilated. Today i did a test and resized the jpg's to the exact size as viewed on my my screen via my web page - They looked so much better, but when i resize the browser, i.e. make it smaller the pixels are back which tells me that they look different on different sized monitors - AAAAArrrrggghh.

    Can any one advise me please? Should I start all over all and learn html ?

    Cheers

    www.hedgehodgephotography.com

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    When loading the images, apply forceSmoothing:

    Actionscript Code:
    image_mc.forceSmoothing = true;

    which is the same as Allow Smoothing
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    2
    Thanks for your help nig 13 but where should i place this script?

    Should it go with xml file which calls up the image ? Or should it go in the flash script?

    I tried placing it at the end of the action script for the photoloader in the flash action script (the loader that loads the large image not the thumbs) .

    When running it the prompt came up : Variable image_mc is not defined.

  4. #4
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    replace image_mc with the movieclip you are loading the photo into, lol
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  5. #5
    Place this code on the loader movieClip itself:

    onClipEvent (load) {

    this.forceSmoothing = true;
    _quality = “BEST”;

    }



    Scotty does know how to Fla-make cool ads.

    http://flamake.net - this Ads will Fla-make you crazy. Find your cheap flash banners and see the best commercials around the world.

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