Thanks for the advice. I did just that. The container has the scalable
dimensions and the flash is set at 100%. Have to love overlooking
simple solutions.


On Mar 20, 12:50 am, Philip Hutchison <[email protected]> wrote:
> as you've sort of alluded to, using ems to size a SWF makes little sense for
> most people, as an em unit is relative to the size of the page's text, and
> SWF sizing is generally unrelated to text size (unless you're using
> something like sIFR).
>
> if i were in your shoes, i'd take a slightly different approach: set the SWF
> to be 100% width/height in a div, then use CSS to control the size of the
> div.  sizing a div using ems is pretty straightforward (esp. if your div has
> no padding).
>
> - philip
>
> On Thu, Mar 12, 2009 at 6:15 AM, rc.griff <[email protected]> wrote:
>
> > Not sure if anyone else has attempted this or not.
>
> > Our site uses em's and has a simple "text resize" feature that
> > basically increases/decreases the font-size of the <body> tag by a
> > certain percentage each time a designated link is clicked.
>
> > The problem I have encountered is that the required width and height
> > variables are set in pixels, therefore our text resize feature does
> > not resize the flash. I've hacked the swfobject code up once to take
> > the supplied width and height variables, convert them to em, and put
> > some inline styling on the object and embed elements, but I'd prefer
> > not to do this.
>
> > Are there any other attributes or parameters I am over looking? Is
> > this something that is more of a lost cause?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to