Join our WikiEducator discussion group or Register now for free skills training

User:Kruhly/Flash

From WikiEducator

Jump to: navigation, search

Flash Simulations

<flash>file=Blackbody.swf|width=50%|height=300|quality=best</flash> embeds the following:


</br> <flash>file=Equation-grapher.swf|width=80%|height=500|flashvars=?coeffB=1|quality=best</flash> embeds the following: </br>

Magnifier.swf

Interesting! The path to the image to be loaded needs to be relative to the current page not the location of the flash .swf for it to load:


The following example Magnifier seems to indicate the same thing. Note: For the image to load underneath the magnifying glass, the height and width must be called as a "flashvars". The following creates the flash simulation above: <flash>file=Magnifier.swf|width=400|height=300|scale=noscale|salign=lt| flashvars=?glassSize=2&initialZoomSize=150&borderWidth=12&file=../../images/8/82/E_coli_sm.jpg&width=400&height=300</flash>
The easiest way to get the correct defaults would be to export the simulation from eXe and look at the source ...
Personal tools