Do you have a link to someplace that I can check out those other
scripts, or discussion of them? It'd be better to pool the effort rather
than working individually.
By the way, if I add an alert to take a look at what gets returned when
I access the outerHTML property, it shows a lot of params (a lot more
than I defined in the actual html). It looks like even though FlashVars
shows up, it looses it's value. I added that into my demo so you can
take a look.
Thanks,
Kevin N.
Geoff Stearns wrote:
there's been a couple other people sending scripts around that do the
exact same thing as yours, but IE handles inner/outerHTML very poorly,
so I think it drops the param tags inside the object tag... or
something like that.
On Apr 20, 2006, at 2:05 PM, Kevin Newman wrote:
You know, I actually didn't check it out that thoroughly. I'll take a
look some time.
Why would it break params, if you happen to know off hand?
Thanks. :-)
Kevin N.
Geoff Stearns wrote:
doesn't this method break flashvars and other params?
On Apr 20, 2006, at 1:23 PM, Kevin Newman wrote:
I didn't want to have to redefine all the stuff that has already
been defined in the html object. So I made this: :-)
http://www.unfocus.com/projects/PatentMagic/
A super tiny js file include and a stylesheet takes care of all
object activation. It's a bit brute force, but it should get the
job done if you are looking for a quick fix and are using static
embedded html. If anyone has any ideas on how to make this more
robust, please let me know. :-)
Kevin N.
Geoff Stearns wrote:
you could do this with flashobject really easily.
just call fo.write() whenever you want and it will replace the
object you target with your flash movie.
On Apr 20, 2006, at 11:04 AM, Kevin Newman wrote:
I prefer solutions that try to hide IE's lack of conformity, like
Dean Edwards's IE 7 script:
http://dean.edwards.name/IE7/
There are just too many installations to realistically ignore them.
Speaking of hacking on IE, is there a way to prevent an object
from loading? By that I mean, I want to use Object tags to embed
a Swf, but I don't want it to download or load in the background
until I tell it to via a script interaction (vbscript or
javascript). Will hiding it via css do the trick, or will I need
to take further steps to keep it from loading?
Thanks,
Kevin N.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com