fairygui / fairygui-as3 Goto Github PK
View Code? Open in Web Editor NEWA flexible UI framework for Flash AS3
Home Page: http://www.fairygui.com
License: MIT License
A flexible UI framework for Flash AS3
Home Page: http://www.fairygui.com
License: MIT License
Hello,
I am using generated code to integrate components i made with fairy editor into my AS3 project.
Is there ressources on how to use generated code with AS3 project?
Actually i have this component "Scene":
package com.imvu.valr.easydj.ui
{
import fairygui.*;
public class Scene extends GComponent
{
public var klklkl:Label;
public static const URL:String = "ui://pnvy8odpe2k50";
public static function createInstance():Scene
{
return Scene(UIPackage.createObject("ui","Scene"));
}
public function Scene()
{
}
protected override function constructFromXML(xml:XML):void
{
super.constructFromXML(xml);
klklkl = Label(this.getChild("klklkl"));
}
}
}
And i want to use this class with this piece of code :
var ui:Scene = Scene.createInstance();
context.addChild(ui.displayObject);
But actually, ui is always NULL.
How can i do this?
Thanks
在做项目得时候需要 对 GMovieClip的动画 进行 帧频的控制或者说 控制 动画的播放速度,然后查相关资料发现并没有对应的API可以使用。
好不容易找到了interval 发现改变数值之后 并不生效?
(movieClip.displayObject as MovieClip).interval = 24;
我这么使用它 修改之后发现并不生效,是我的使用方法有问题么?实在查不到资料,只能在这里提问了.
莫名其妙地关了 上一个帖子~~
AS3 GMovileClip 没有 interval 这个API 这是BUG 么?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.