开发者

.swf Adobe flex not loading on website

Pardon the technological terminology blunders.

A long time ago I built and compiled a flex app into a .swf.

I decided to start testing how to load this onto a website.

<object width="550" height="400">
    <param name="movie" value="main.swf">
    <embed src="/flash/main.swf" width="550" height="400" autoplay="true"
        loop="true" autostart="true">
    </embed>
</o开发者_StackOverflow中文版bject>

However upon visiting my website, I am greeted with... nothing.

If I inpect the page source, however, and click on the src link, it works. It works meaning... well the forms and everything show up as expected.

I've a feeling I am missing something basic, or that embedding different technologies may become complicated.

This is all done on a .php page, served by fatcow, if that helps.

Thanks for the help.


Try this:

<object width="550" height="400">
    <param name="movie" value="/flash/main.swf">
    <embed src="/flash/main.swf" width="550" height="400" autoplay="true"
        loop="true" autostart="true">
    </embed>
</object>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜