This project is read-only.

help with <fb:swf>

Apr 15, 2009 at 9:55 AM
hi everyone.  im trying to post this question again, as no one responded to my last question.  im trying to run my app, which is a flash file.  here is the code i have:

<?php
require_once("php/facebook.php");
?>


<fb:swf swfbgcolor="000000" imgstyle="border-width:3px; border-color:red;" swfsrc='http://myapp.freehostia.com/xxx.swf' imgsrc='http://myapp.freehostia.com/images/default.jpg' width='340' height='270' wmode='opaque' />


the problem is that when i goto the web address where its being hosted, the flash program runs fine.  but when i try to view it in face book, its not displayed (its just a black square.  when i right click in it, the flash right click menu pops saying "file not loaded").  the flash file uses actionscript 3 and is connected to a MySql database.  its rendered as fbml.   if i change the address to a flash file saved on you-tube it works fine.

can anyone explain to me why this is happening?  if you dont understand the question or this isnt the right place for it, please let me know.  i really need to get this application up and running soon.
Apr 29, 2009 at 7:23 PM
Youtube targets flash player 9 and you are likely targeting 10, which this tag does not support as I understand it. If you can publish to 9, that should work for you.