daogr / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

How can set width and height of embeded swf on facebook wall ? #377

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Usinf the following way i am embeding a swf based video player on facebook 
wall, can anyone let me know how can i set the width and height of this embeded 
swf video player ?

    var data2:Object = {
                           name: 'Fiery Grilled',
                           display: 'iframe',
                           link: "http://flexflashforum.com/flash-ria/kfc/",
                           picture: 'http://flexflashforum.com/flash-ria/kfc/wallplayer/playerImage.jpg',
                           caption: caption,

                           source: 'http://flexflashforum.com/flash-ria/kfc/wallplayer/wallPlayer.swf?videoName='+flvName, 
                           description: 'I burned Fiery Grilled',
                           message: 'Hi friends i am in fire.'
            };
    Facebook.ui('stream.publish',  data2, onPostComplete, null); 

}

///////

function onPostComplete(response){

    outputTxt.appendText('response called')
    if (response && response.post_id) {
       outputTxt.appendText('Post was published.');
     } else {
       outputTxt.appendText('Post was not published.');
     }
}

Original issue reported on code.google.com by ashishku...@gmail.com on 16 Nov 2011 at 3:48