transparent for fiji:swf

  • dejela
Posted: Thu, 04/01/2010 - 04:20

Hi!

I tried to add:

to my fiji:swf.

however, it doesn't make any influence!!

i saw in some examples of swf , that i need to add to the embed header like the bgcolor option in fiji:swf tag.

but currently i can't add it to the tag accroding to the TLD.

is there a way?

Please post page code portion

  • maxkatz
  • 02/17/10
  • Thu, 04/01/2010 - 08:22

Please post page code portion where you use fiji:swf tag. Thanks.

here is the code

  • dejela
  • 04/01/10
  • Sat, 04/03/2010 - 21:57

<fiji:swf src="../../swf/amcolumn.swf" width="400" height="300">
    <f:param name="path" value="/swf" />
    <f:param name="settings_file" value="../../swf/main_place_settings.xml" />
     <f:param name="chart_data" value="#{loadedJobsBean.numberPlacedSpotsBar}" />
     <f:param name="wmode" value="transparent"/>
</fiji:swf>
 

The code looks fine. Is the

  • maxkatz
  • 02/17/10
  • Sun, 04/04/2010 - 09:34

The code looks fine. Is the path to .swf file correct (../../swf/amcolumn.swf)? Here is an example using fiji:swf tag: http://livedemo.exadel.com/fiji-demo/pages/SWFWrapping.jsf?c=SWFWrapping...

reply

  • dejela
  • 04/01/10
  • Tue, 04/06/2010 - 02:22

Hello

thanks for the reply.
it works - i mean - it shows the chart and everything is fine except for the wmode transparent background.
did you try it and it works for you?

Does transparent background

  • maxkatz
  • 02/17/10
  • Tue, 04/06/2010 - 04:52

Does transparent background work when you run the Flash component stand alone (not as JSF component)?

yes

  • dejela
  • 04/01/10
  • Sat, 04/17/2010 - 23:36

yes - it does show it in a regular flash object

It should work the same. Fiji

  • maxkatz
  • 02/17/10
  • Sun, 04/18/2010 - 14:10

It should work the same. Fiji only wraps the Flash component, it doesn't do anything to it. Are you passing all the params from JSF page to Flash? I would look at the generated HTML source and see if there are any differences. Lastly, if you can, please post screen shots of how it supposed to be and how it renders with Fiji. Use some free image hosting and insert the link here.

same issue as OP

  • howardw
  • 04/19/10
  • Mon, 04/19/2010 - 09:33

I have a drop down menu that gets hidden behind the graph below. The wmode parameter doesn't look like it is working. However if i use Google Chrome's browser built in dev-tool and explicitly add wmode=transparent into the emded tag the drop down menu will appear on top of my flash app. Is there a workaround for this? below is the jsf i used

< fiji:swf src="/flex/consumption/consumption.swf" bgcolor="#FFFFFF"
width="760" height="420" rendered="#{!empty consData and cBean.isGraph}" >
< f:param name="wmode" value="transparent" / >
< / fiji:swf >

Thanks.

Jira issue created:

  • maxkatz
  • 02/17/10
  • Mon, 04/19/2010 - 09:47

Thanks for the quick reply.

  • howardw
  • 04/19/10
  • Mon, 04/19/2010 - 09:59

Thanks for the quick reply. I noticed that the fix version is for 2.1. I forgot to mention that i'm using FIJI 1.0.0. Is there a 2.0 (or a beta version) because i can't find it anywhere on the site.

Thanks

As we open source Fiji in

  • maxkatz
  • 02/17/10
  • Mon, 04/19/2010 - 10:11

As we open source Fiji in version 2.0, we are only migrating fiji:swf tag and also adding fiji:javafx tag. No charting components are being migrated for now. It will happen in version 2.1. Another thing to keep in mind that Fiji 2.0 will be JSF 2 based.