tags:

views:

32

answers:

1

Hello. I'm trying to create a facebook application that is flash (actually flex 4.1) based.

I load the flash application using the following command:

<object width="100%" height="100%" align="middle" type="application/x-shockwave-flash" id="XpoDemo" name="XpoDemo" data="file.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff"><param name="allowscriptaccess" value="sameDomain"><param name="allowfullscreen" value="true"><param name="flashvars" value=""></object>

The problem is that in the facebook page I cannot see the full height of my application, it's missing like 150px.

any ideas why ?

+1  A: 

You have to use FB.Canvas.setSize or FB.Canvas.setAutoResize (if the height changes during use)

Peter Bailey

related questions