tags:

views:

309

answers:

3

Hi all, of all three choices (AIR+AJAX, +Flash, and +FLEX) I went on the AJAX route. But it seems that it can't show Flash embedded in HTML (using the traditional OBJECT tag).

Is it by design? or my fault?

+1  A: 

i think it's your fault. there are a number of air "web browsers" and they all can display flash just fine.

google for some. i found one here and it gives the source code as well

TheBrain
Those are made with Flex, e.g. the <initalWindow><content> is something.swf, mine is just plain HTML, e.g. the initialWindow is something.html that contains (among other things) a flash banner embedded using <object> tag, but it doesn't show.
A: 

I don't know much about Ajax but i do know the preferred method to embed flash into html is to use swfobject. have you tried that yet?

James Hay
Yes, I've tried swfobject. It doesn't work.
A: 

I've found the culprit: my window is transparent. According to adobe, SWF and PDF won't be displayed if transparency is used.