dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: webService & base64Binary ? How to?!

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    23

    webService & base64Binary ? How to?!

    I´m consuming a webService using the WebServiceConnector. The service gives me a name, and a photo of someone. The problem is that the name comes as a String but the photo is not an URL, it´s a base64Binary. How can i view this image with Flash?

    Should i link the foto (base64Binary) result to which object? I have tries the Loader component, a empty MovieClip and nothing...

    If i link that result to a textField it will show a huge code!!!I guess that´s the binary of the file....

    Any help please?

  2. #2
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    Flash can't decode image binaries (Actionscript 3 will eventually support this) -instead you would need to retrieve a path to the image, which you would then load with loadMovie, rather than getting the actual binary data itself...

    K.

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    23
    Ok, thks for the answer...

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