jmcommand

Resize like a swfobject

Recommended Posts

working with 'swfobject' component is possible to resize dynamically

 

a flash, with the following code:

 

 

 

var flash = swfobject.getObjectById( "myFlashId" );

 

flash.style.width = w;

 

flash.style.height = h;

 

 

 

does fusionWidgets have a similar way to do it ?

Share this post


Link to post
Share on other sites

Isn't the javascript library for adding the FusionChart based on SWFObject? I've seen comments that this is using it, just that's its modified.

 

 

 

If its not hidden somewhere in the library, take a look at SWFObject for the resize code, and dump(edit) it into your FusionCharts js :)

 

 

 

 

 


* Morphed from SWFObject (http://blog.deconcept.com/swfobject/) under MIT License:

* http://www.opensource.org/licenses/mit-license.php

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now