You need to sign in to do that
Don't have an account?
Leonard
full width & height for static resource
I have a flex based static resource that I'd like to take the full width and height of the visualforce page. Setting 100% values in apex doesn't do the trick.
I think if you do that, the flex wont "stretch" to fit the page, the flex should have its own height and width. Post some of the code to se if i can give more details
Here's my height and width specified on the Flex side:
and then in my Visualforce page
The 100% values in Visualforce don't render the .swf at all. I need to hardcode values to render it. I'd prefer an elastic 100% fill of the available space.
Try embedding it as ussual in html
And see if that works
Even with html, I'd still need to embed the Static Resource with a <apex:flash> tag and I'd have to specify a height and width.
According to the documentation when you use percentage it takes the size retalivley to the parent. Check the size of the parent where it is, which i think its the pageblock.