-
1. Re: Flash in Richfaces??
daedlus Aug 24, 2011 1:34 PM (in response to joeskull)1 of 1 people found this helpfuldid u check out a4j:mediaoutput?
-
2. Re: Flash in Richfaces??
joeskull Aug 24, 2011 2:15 PM (in response to daedlus)no, but I will thx
-
3. Re: Flash in Richfaces??
joeskull Aug 24, 2011 2:48 PM (in response to joeskull)Hmm, its not working, this is what i have:
<a4j:outputPanel id="flashPanelDynamic">
<a4j:mediaOutput element="a" id="swfLink" style="display: none;" cacheable="false" session="true"
createContent="#{mediaBean.paintFlash}" value="#{mediaData}" mimeType="application/x-shockwave-flash"/>
<a4j:outputPanel layout="block" id="myFlashContent" style="width: 100px; height: 500px">
<img src="../img/ship.swf" alt="Get Adobe Flash player" />
</a4j:outputPanel>
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF(#{rich:element('swfLink')}.href, "#{rich:clientId('myFlashContent')}", "200", "200", "9.0.0", false, flashvars, params, attributes);
</script>
</a4j:outputPanel>
I made sure that the f:view thing had all the proper links but all i get is one of those img boxes with the little x in it.
-
-