面试问题为ActionScript 3 / Flex的程序员程序员、ActionScript、Flex

2023-09-08 11:22:52 作者:敬往事一杯酒再爱也不回头

什么能很好的问题,以决定是否候选人具有较强的或至少公平的知识与Flex和ActionScript工作。

解决方案 有什么区别[装订],[装订(eventName的)] 是问X之间的区别:XClass = XClass(Y)和x:为XClass XClass = Y 如何设置的动作脚本样式值 什么是返回ChangeWatcher,假设返回ChangeWatcher不存在,你可以创建一个? 如何访问HTML的查询字符串参数承载您的Flex应用程序 什么是的labelFunction的名单,一个DataGridColumn等,如何使用它 如何使用内联匿名函数,以及何时使用 在显示你将如何使用函数作为参数传递给方法的一个例子 这是什么运营商>>>,===,!==办? 之间是什么EN codeURI和连接codeURIComponent差异 如何做条件编译像的#ifdef和#定义中的C / C ++ / C# 是什么的for..in之间和的for each..in 的区别 在用什么关键字确实做了 在柔性有龙的数据类型(NO) 如何设置特定元素名称的XML如#text元素下面...

如何增加孩子的#text在

 <母体GT;<儿童/>< /父>
 

 <母体GT;<孩子>儿童文字< /儿童>< /父>
 

孩子给定的名称将在运行时确定。

 变种X:XML =<母体GT;<儿童/>< /父取代;
变种N:字符串=孩子;
 
flex ActionScript 3.0 语言和组件参考中怎么没有soundAsset这个类

答案是

  X * [N] =子文本。
 

What could be good question to decide if candidate has strong or atleast fair knowledge working with Flex and ActionScript.

解决方案

What is difference between [Binding] , [Binding("eventName")] What is difference between x:XClass = XClass(y) and x:XClass = y as XClass How to set style values in action script What is ChangeWatcher, suppose ChangeWatcher does not exist, can you create one? How to access query string parameter of html hosting your flex app What is of labelFunction in List,DataGridColumn etc, how to use it How to use inline anonymous functions, and when to use Show an example of how will you use Function as arguments to methods What does operator >>>, ===, !== do? What is difference between encodeURI and encodeURIComponent How to do conditional compiling like #ifdef and #define in "C/C++/C#" What is difference between for..in and for each..in What does with keyword do Is there "Long" data type in flex (NO) How to set "#text" element of given element name in XML e.g. below...

how to add #text of child in

<parent><child/></parent> 

as

<parent><child>child text</child></parent>

given name of child will be determined at runtime..

var x:XML = <parent><child/></parent>;
var n:String = "child";

Answer is

x.*[n] = "child text";