• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 68 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0112 秒)

61. SimpleButton不显示、Sprite的 buttonMode 无效 [ 54%]

...: 1、和AS3的SimpleButton类不同的是LayaFlash的SimpleButton继承自MovieClip类,不支持动态设置按钮的四个状态外观,包括按钮弹起(upState)、鼠标悬停(overState)、按下(downState)、点击热区(hitState)四个状态。   。也因此SimpleButton...

来源: Laya_社区 发布时间: 20170222

62. new Laya.Templet() 时,说这不是一个constructor [ 52%]

...”自动会添加 比如Laya.tiledMap需要勾选laya.tiledmap.js; Laya.MovieClipLaya.Templet需要勾选laya.ani.js 还有个问题,引擎示例中的图集动画Animation,用loadAtlas加载了json文件,动画正常播放了。 但是中间getGraphicBounds()或者getBounds()获取不...

来源: Laya_社区 发布时间: 20181023

63. 点击拖动图片,当鼠标移出再移回舞台中时如何保持点击状态 [ 52%]

...回复 cuixueying 赞同来自: 请参考:package { import laya.ani.swf.MovieClip; import laya.display.Sprite; import laya.events.Event; import laya.ui.Image; import laya.utils.Browser; public class TestDemo { private var sp:Sprite; public function TestDemo() { Laya.init(500,500); Laya.stage.bgCol...

来源: Laya_社区 发布时间: 20170106

64. TypeError: Cannot read property '_byteLength' of null [ 52%]

...: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.MovieClip is not a constructor Laya.Animation Play();后报错提示TypeError: clas is not a constructor 问题状态 最新活动: 2018-01-25 16:14 浏览: 1103 关注: 2 人 lgs88 • 2018-01-25 16:18 能发个地址给你...

来源: Laya_社区 发布时间: 20180125

65. TypeError: Cannot read property '_byteLength' of null [ 50%]

...: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.MovieClip is not a constructor Laya.Animation Play();后报错提示TypeError: clas is not a constructor 问题状态 最新活动: 2017-11-11 12:38 浏览: 1289 关注: 2 人

来源: Laya_社区 发布时间: 20171111

66. TypeError: Cannot read property 'length' of null [ 46%]

... not a function Cannot read property 'events' of undefined TypeError: Laya.MovieClip is not a constructor 问题状态 最新活动: 2020-03-10 09:40 浏览: 1595 关注: 2 人 Ame • 2020-03-10 15:54 我在第一个场景设置了autoDestroyAt=true,跳转到第二个场景的时候,这个预制体...

来源: Laya_社区 发布时间: 20200309

67. laya.display.Sprite_API3.0 [ 21%]

...Sprite Text Stage AnimationBase Scene Scene3D SoundNode VideoNode Skeleton MovieClip TileAniSprite MapLayer GridSprite Particle2D PhysicsDebugDraw SpineSkeleton UIComponent DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mous...

来源: Laya3.0_api 发布时间: 20231115

68. laya.display.Sprite [ 21%]

...asses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Text, TileAniSprite, Video Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或...

来源: laya_api 发布时间: 20170929