List Info

Thread: MochiKit to create a Flash object, Browsers




MochiKit to create a Flash object, Browsers
user name
2006-10-06 14:19:48
This might be the wrong place to ask, but as usual a number
topics are
mingled.

I use mochikit to control stuff on a page (no surprise). In
some
situations I want to place  a flash object on the page, to
handle some
user input. I use createDOM to build the various PARAM,
OBJECT and
EMBED objects. The object shows up in Safari (Version 2.0.4
(419.3),
but it doesn't in FireFox (1.5.0.7).

For reference I included "pure html" definitions
of the flash object
and that does show up nicely in both browsers.

FF appears to draws the background of the DOM-created flash
object, but
not any of the rest of it. A good chance the code which
creates the
object isn't doing it right, but at least that would mean it
is
possible.

Is there a fundamental reason why creating Flash objects
with DOM /
mochikit is not advisable?
If this rings any bells I'd be glad with pointers where to
look.

Cheers,
Erik


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "MochiKit" group.
To post to this group, send email to mochikitgooglegroups.com
To unsubscribe from this group, send email to
mochikit-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

MochiKit to create a Flash object, Browsers
user name
2006-10-06 17:27:10
On 10/6/06, letterror <erikletterror.com> wrote:
>
> This might be the wrong place to ask, but as usual a
number topics are
> mingled.
>
> I use mochikit to control stuff on a page (no
surprise). In some
> situations I want to place  a flash object on the page,
to handle some
> user input. I use createDOM to build the various PARAM,
OBJECT and
> EMBED objects. The object shows up in Safari (Version
2.0.4 (419.3),
> but it doesn't in FireFox (1.5.0.7).
>
> For reference I included "pure html"
definitions of the flash object
> and that does show up nicely in both browsers.
>
> FF appears to draws the background of the DOM-created
flash object, but
> not any of the rest of it. A good chance the code which
creates the
> object isn't doing it right, but at least that would
mean it is
> possible.
>
> Is there a fundamental reason why creating Flash
objects with DOM /
> mochikit is not advisable?
> If this rings any bells I'd be glad with pointers where
to look.

I'm not sure exactly what the problem could be, but I would
definitely
look into using swfobject to create Flash tags instead.
There's some
quirks that you might run into if you don't, and swfobject
also has
nice features like being able to use the version upgrade
stuff.

http://blog.deco
ncept.com/swfobject/

-bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "MochiKit" group.
To post to this group, send email to mochikitgooglegroups.com
To unsubscribe from this group, send email to
mochikit-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )