English 中文(简体)
• 如何在AS3号带宽的代码中添加反对。 页: 1
原标题:How to add an Object to the stage with nested code in AS3.0

我忙于利用AS3.0语言开发我的第一份申请。

我在“闪电”专业中建立了完整的应用,但工作不好。

现在,我正在闪电建筑中重建,这样它就更能选择,而且它会起很大的作用。

尽管我点击了一枚 s。

在“闪电灯”中,我非常容易地在舞台上添加电影剪辑,在电影版上加固,因此,当我添加标语时,所有法典都像一个药店一样工作。

在闪电探测器中,我有关于如何实现同样效果的诺言。 我很接近尾声,但不知道如何做到这一点。

我尝试了外部课程,但没有方案背景,在我不知道何时开始的时候,很难找到解决办法。

简言之:

HOw to you add objects to your stage using pure AS3 code, I need to add a graphic object to my stage And add simple mouse interactivity to it.

任何反应、联系和我身上的ch,都将受到高度赞赏。

Shane

问题回答

下面的法典将添加一个电影片段,从0到10时段。 规定你在主年级撰写这一法典。

var mc:MovieClip = 新的电影剪辑;

加入:

mc.moveTo(0,0) mc.lineTo(100,100) ;





相关问题
Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Sorting twodimensional Array in AS3

So, i have a two-dimensional Array of ID s and vote count - voteArray[i][0] = ID, voteArray[i][1] = vote count I want the top 3 voted items to be displayed in different colors, so i have a 2nd Array -...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签