如何使用图像进行菜单控制以及如何对其应用闪光效果? [英] how to use image for menu control and how to apply flash effect on it?
本文介绍了如何使用图像进行菜单控制以及如何对其应用闪光效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是flash的新手。我正在建立一个社交网站,我想在其中使用图像作为菜单,如上传照片等。我想使用as3使该图像可移动。我必须使图像移动鼠标事件,如鼠标悬停和鼠标单击。请帮我。在此先感谢。
Hi, I am new to flash as3. I am making a social networking site in which I want to use an image as a menu like upload photos and etc. I want to make that image movable, using as3. I have to make the image move on mouse event like mouse hover and mouse click. Please help me. Thanks in advance.
推荐答案
使用asp.net菜单控件,您可以指定菜单控件的图像
EX:
Using asp.net menu control you can specify the images for menu controls
EX:
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false"
IncludeStyleBlock="false" Orientation="Horizontal">
<Items>
<asp:MenuItem NavigateUrl="#" Text="Home" ImageUrl="~/Images/NewStyle/home.png" />
</items>
</asp:Menu>
这篇关于如何使用图像进行菜单控制以及如何对其应用闪光效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文