as3.0加载图片xml图片太多 15
flashmo_photo_gallery.load_gallery("niutuku.xml");//RightClickMenuimportflash.net.URL...
flashmo_photo_gallery.load_gallery("niutuku.xml");
// Right Click Menu
import flash.net.URLRequest;
import flash.ui.ContextMenu;
var fm_menu:ContextMenu = new ContextMenu();
var copyright:ContextMenuItem = new ContextMenuItem( "Created by www.niutuku.com" );
var credit:ContextMenuItem = new ContextMenuItem( "Flash Photo Gallery" );
copyright.addEventListener( ContextMenuEvent.MENU_ITEM_SELECT, visit_flashmo );
credit.addEventListener( ContextMenuEvent.MENU_ITEM_SELECT, visit_flashmo );
credit.separatorBefore = false;
fm_menu.hideBuiltInItems();
fm_menu.customItems.push(copyright, credit);
this.contextMenu = fm_menu;
function visit_flashmo(e:Event)
{
var flashmo_link:URLRequest = new URLRequest( "http://www.niutuku.com" );
navigateToURL( flashmo_link, "_parent" );
}
我使用上面的代码,但是只能加载20张图片,求解决办法,详细! 展开
// Right Click Menu
import flash.net.URLRequest;
import flash.ui.ContextMenu;
var fm_menu:ContextMenu = new ContextMenu();
var copyright:ContextMenuItem = new ContextMenuItem( "Created by www.niutuku.com" );
var credit:ContextMenuItem = new ContextMenuItem( "Flash Photo Gallery" );
copyright.addEventListener( ContextMenuEvent.MENU_ITEM_SELECT, visit_flashmo );
credit.addEventListener( ContextMenuEvent.MENU_ITEM_SELECT, visit_flashmo );
credit.separatorBefore = false;
fm_menu.hideBuiltInItems();
fm_menu.customItems.push(copyright, credit);
this.contextMenu = fm_menu;
function visit_flashmo(e:Event)
{
var flashmo_link:URLRequest = new URLRequest( "http://www.niutuku.com" );
navigateToURL( flashmo_link, "_parent" );
}
我使用上面的代码,但是只能加载20张图片,求解决办法,详细! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询