如何在ASP.NET中放入Flash简介 [英] HOW TO PUT FLASH INTRO IN ASP.NET

查看:92
本文介绍了如何在ASP.NET中放入Flash简介的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿盖兹

我有一个Flash简介,现在我想将其放置在我的asp.net网站的开头,
当我的.aspx页面加载时,首先会播放简介

我该怎么办?
我正在使用Visual Studio 2008 3.5和c#

亲切的问候

hey guyz

i have a flash intro , and now i want to place it at the start of my asp.net site,
as when my .aspx page wil load , first it play the intro

how can i do this ??
i am using visual studio 2008 3.5 , and c#

kind regards

推荐答案

我想您应该将Flash对象代码加载到新的default.aspx中,以便它只是Flash简介,并创建一个新的页面作为您的主页,或者只是重命名当前的默认页面,然后创建新页面.

并在完成播放后更改flash swf源代码以重定向到新的主页,也许添加跳过按钮进行重定向.



不知道我不能帮你.我使用从头开始编写的Flash SWF文件,其中包括加载程序或Flashvars,我在其中调用了SWF程序,该程序会加载Flash Var中的所有内容.

这是我使用的Flash对象,用Flash CS3或代码库9编写的swf的基本框架.它使用名称来标识对象,因此您可以在Javascript中找到对象并将其销毁.

注释:
对于基本的SWF文件,删除flash vars元素.

要调整对象的大小,请将其调整为SWF文件的原始大小,

您可以将对象放置在容器div标签中,并使用CSS将对象水平和垂直对齐

该对象是针对IE的,而嵌入对象是针对Firefox的,因此,如果一个对象有效,而其他对象却不起作用,则IE的对象或为firefox嵌入的对象就会出错.
I guess you would load your flash object code in a new default.aspx, so that it''s just the flash intro, and create a new page that is your main page, or just rename the current default page, and create the new page.

And alter the flash swf source code to redirect to the new main page when done playing, perhaps add a skip button to do a redirect.



Didn''t know that. I can''t help you with that. I use flash swf files that I wrote from scratch, which include loaders, or flashvars, in which I call a swf program, that loads whatevers in the flash var.

This is the basic framework for a flash object that I use, for a swf written in Flash CS3, or codebase 9. It uses the names, to identify the objects, so you can find the objects in Javascript and destroy it.

Notes:
Remove the flash vars element, for basic SWF files.

To size the object, size it to the original size of the SWF file,

You can place the object in a container div tags, and use css to align the object horizontal and vertical

The object is for IE, and the embed is for firefox, so if one works but not the others, then there is a mistake in the object for IE or embed for firefox.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240" id="flv_Player1" name="flv_Player1">
       <param name="movie" value="/Movies/players/flv_stream_player.swf" />
       <param name="allowfullscreen" value="false" />
       <param name="allowscriptaccess" value="always" />
       <param name="autostart" value="true" />
       <param name="flashvars" value="moviefile=/Movies/MovieFiles/temp/03-440SB36CuttingGlass.flv&autoplay=1&playerskin=/Movies/players/SkinUnderAll.swf&videowidth=320&videoheight=240&playerwidth=240&playerheight=320" />
       <param name="wmode" value="transparent" />
           <embed id="flv_Player2"
               name="flv_Player2"
               src="/Movies/players/flv_stream_player.swf"
               width="320"
               height="240"
               allowscriptaccess="always"
               autostart="true"
               allowfullscreen="false"
               wmode="transparent"
               flashvars="moviefile=/Movies/MovieFiles/temp/03-440SB36CuttingGlass.flv&autoplay=1&playerskin=/Movies/players/SkinUnderAll.swf&videowidth=320&videoheight=240&playerwidth=240&playerheight=320"
           />
       </object>


请参阅此...
[ http://forums.aspfree.com/多媒体-29/a-swf-file-inside-an-asp-net-application-22835.html [
Refer this...
[^]


http://forums.aspfree.com/multimedia-29/a-swf-file-inside-an-asp-net-application-22835.html[^]

Well explained in this.


这篇关于如何在ASP.NET中放入Flash简介的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆