开发者

.swf Adobe flex not loading on website

开发者 https://www.devze.com 2023-02-25 01:58 出处:网络
Pardon the technological terminology blunders. A long time ago I built and compiled a flex app into a .swf.

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

精彩评论

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