大约有 68 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0112 秒)
...: 1、和AS3的SimpleButton类不同的是LayaFlash的SimpleButton继承自MovieClip类,不支持动态设置按钮的四个状态外观,包括按钮弹起(upState)、鼠标悬停(overState)、按下(downState)、点击热区(hitState)四个状态。 。也因此SimpleButton...
来源: Laya_社区 发布时间: 20170222
...”自动会添加 比如Laya.tiledMap需要勾选laya.tiledmap.js; Laya.MovieClip、Laya.Templet需要勾选laya.ani.js 还有个问题,引擎示例中的图集动画Animation,用loadAtlas加载了json文件,动画正常播放了。 但是中间getGraphicBounds()或者getBounds()获取不...
来源: Laya_社区 发布时间: 20181023
...回复 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
...: 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
...: 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
... 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
...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
...asses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Text, TileAniSprite, Video Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或...
来源: laya_api 发布时间: 20170929