Activity Stream
93,432 MEMBERS
50 ONLINE
Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3
Results 1 to 3 of 3
  1.    Tweet this post   Share This Post On Facebook Share This Post On Google+
    #1
    Programmar
    Xcode's Avatar

    Default Upload Image To Facebook using GraphAPI_Web.swc in as3

    i assume that the Facebook api has been initialized and i have the "publish_stream permission" the picture can be taken of a particular area of the displayObject


    Source Code : 
    public function PostImageToAlbum(message String,image DisplayObject,clipRect Rectangle ) : void
            
    {
                var 
    bd:BitmapData = new BitmapData(clipRect.width,clipRect.height,true,00000000);
                var 
    AuxBData BitmapData = new BitmapData(image.width,image.height,true,0);
                
    AuxBData.draw(image,null,null,null,clipRect);
                
    bd.copyPixels(AuxBData,clipRect,new Point(0,0));
                var 
    result:Bitmap = new Bitmap(bd);
                var 
    paramsObject = new Object;
                var 
    encoder:JPGEncoder = new JPGEncoder(75);
                var 
    bytes:ByteArray encoder.encode(result.bitmapData);
                
    params.message message;

    [Login or Register to remove this advertisement]

                
    params.image bytes;
                
    params.fileName "image.jpg";
                
    Facebook.api("/me/photos",null,params,"POST");
            } 
    Xcode Reviewed by Xcode on . Upload Image To Facebook using GraphAPI_Web.swc in as3 i assume that the Facebook api has been initialized and i have the "publish_stream permission" the picture can be taken of a particular area of the displayObject public function PostImageToAlbum(message : String,image : DisplayObject,clipRect : Rectangle ) : void { var bd:BitmapData = new BitmapData(clipRect.width,clipRect.height,true,00000000); var AuxBData : BitmapData = new BitmapData(image.width,image.height,true,0); AuxBData.draw(image,null,null,null,clipRect); Rating: 5

  2.   Advertisements

  3.    Tweet this post   Share This Post On Facebook Share This Post On Google+
    #2

    Default Re: Upload Image To Facebook using GraphAPI_Web.swc in as3

    there are wonderful image codes here, great wprl

  4.    Tweet this post   Share This Post On Facebook Share This Post On Google+
    #3
    This image editing control enables users to upload various images from local file or stream. Supported image formats include but not limited to TIFF, JBIG, JPEG and PNG.

Thread Information

Users Browsing this Thread

There Are Currently 1 Users Browsing This Thread. (0 Members and 1 Guests)

Similar Threads

  1. Replies: 2
    Last Post: 16th August 2014, 05:28 AM
  2. 915 upload begin
    By Schwan in forum TomTom Archive
    Replies: 0
    Last Post: 15th August 2013, 01:36 AM
  3. upload php from http://link
    By Xcode in forum PHP
    Replies: 0
    Last Post: 24th March 2012, 09:18 PM

Tags for this Thread

BE SOCIAL
Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3 Upload Image To Facebook using GraphAPI_Web.swc in as3