BLOB display in flash

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default BLOB display in flash

    First, please do not post about using a file system for images rather than
    storing them in mysql as I know how to do this and I want to store the images
    in a database. If you can explain more of the security of a file system then I
    will listen as that is the only issue I'm having with the file system. However,
    all I want to know is how to take an image in a blob field in a mysql database
    and display it in a flash movieclip. I can use php to echo the image straight
    to a browser no problem. I've read I may have to create a temporary image on
    the server and display that, but there is little documentation, actually none,
    aside from using a file system on how to handle images in mysql and display
    them in flash. Please advise as I can't believe it's this difficult to display
    an image in flash from a mysql database.

    rezzkilla Guest

  2. Similar Questions and Discussions

    1. flash won't display
      when i click on my flash i get a red x it was working till i cleaned out my tempory internet pages and i also cleaned out the cookies thing i have...
    2. Display PHP variables in Flash
      Hi, PLEASE, can anyone help me with what seems relatively simple, but which seems to be causing me an absolute nightmare! All i wiish to do is...
    3. Flash 4 won't display 6
      Forgive my ignorance. I received some static files created in M.Flash 6 to display on my intranet which has Flash Player 4 installed. Most of the...
    4. How to Display A Stored TIF Blob field in SQL Server
      Does anybody know how to display a TIF blob field in SQL Server? :confused;
    5. Flash progressive download - BLOB - ColdFusion
      So I've built this content managed "multimedia library" in ColdFusion that stores it's files as BLOBs in an Oracle DB. I've got the UL/DL sorted...
  3. #2

    Default Re: BLOB display in flash

    You simply need to load the image into a loader component, loader components
    can dynamically display imagexs using the contentPath and load property/method.
    Just direct the contentPath property to the php that writes the image into the
    page.

    Cheers,
    Gorka
    [url]www.AquiGorka.com[/url]

    Gorka Ludlow Guest

  4. #3

    Default Re: BLOB display in flash

    Thanks for the reply. It answered my question, but left me wondering how to
    load multiple images. Do i have to call the same php file and string a
    different variable for multiple instances of the component? Such as:

    loader1.contentPath = "pics.php?&picid="+picnumber+"";
    loader2.contentPath = "pics.php?&picid="+picnumber2+"";

    It seems like hell for the php file on the server with all the request. Is
    there a way to get all the pictures I need with one call to one php file?
    Please advise.

    rezzkilla Guest

  5. #4

    Default Re: BLOB display in flash

    I have never tried it before, but you could write all the images to the php
    (&var1=a&&var2=b&&var3=...&) and read them inone single loadvars (or xml) and
    then store them in an array for further use.

    Cheers,
    Gorka
    [url]www.AquiGorka.com[/url]

    Gorka Ludlow Guest

  6. #5

    Default Re: BLOB display in flash

    Thanks again for the reply. I'm going to mark your first reply as the answer as you've given me enough to mess around with.
    rezzkilla Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139