`
a3mao
  • 浏览: 559362 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Flex中的document

    博客分类:
  • Flex
阅读更多
每个mxml文件本身就是一个对象,且内置了一个名为“document”的与此 UIComponent 相关联的文档对象。可以直接使用document。如果我们使用了<mx:Component> and </mx:Component>标签,那么就是创建了一个新的组件对象,在<mx:Component> and </mx:Component>标签之外的对象是没办法直接给<mx:Component> and </mx:Component>标签内的对象使用。如果我们在component标签内使用外部的对象要使用 outerDocument ,或者parentDocument来指向外部的对象。如果我们想在component对象外面直接使用标签内部对象则要使用obj。这种情况只限于renderer跟其父类只在一个mxml文件之中。如果renderder是单独的mxml文件则要这样使用:var ren:GridColumnRenderer =GridColumnRenderer( ClassFactory(adaGridColCataGoryId.itemRenderer).newInstance());

分享到:
评论
1 楼 crocodile 2011-07-16  
不错,了解了

相关推荐

    FLEX4 DOCUMENT

    FLEX4 DOCUMENT flex4 文档哦,够20字了吧

    flex_document

    OReilly.Apollo.for.Adobe.Flex.Developers.Pocket[Flex2.org].chm

    Document flex

    Document flex 4.6

    Flex4-in-a-day

    While it is impossible to cover all the aspects of any framework or language in only 40 pages, we are pretty sure that if you read this document you’ll manage to find your way when dealing with Flex ...

    C#版ActiveX + JS +Flex通讯 完整实现

    C#版ActiveX + JS +Flex通訊 全實現 因項目部署需要,特把之前寫的與讀卡器通訊的模塊改為ActiveX插件,給Flash調用,由於Flash不能直接調用ActiveX,所以,用JS作為中間層,作為Flash和ActiveX通訊的橋梁。 ...

    Flex.less:一套用于CSS3 Flex布局的Less mixins

    22中,您需要将以下代码段添加到您设置的display: flex每个元素中display: flex 。 /* * Legacy Firefox implementation treats all flex containers * as inline-block elements. */ @-moz-document url-...

    Flex关于样式专题.pdf

    在Flex 中,一些样式从父容器传承给它们的子控件,并跨越了 样式类型和类。这意味着,样式能一次性定义,然后将其应用给一个类型的所有控件,或者应 用于一系列的控件,而且,也在允许在local,document,global 三个...

    Advanced Flex 3 2008

    the file system and the document management technologies. It also makes it possible to include HTML technologies and Flash platform technologies under one umbrella. In this chapter, you learn all ...

    Flex Documents

    Flex 初级教程及一些小例子。帮助初学者迅速上手,制作自己喜欢的Flash 效果。

    flex文档

    ajax 的替代技术

    taller_flex:flexdashboard车间

    讲习班:flexdashboard轻松闪闪发光 如何使用R制作动态Web应用程序。请参见研讨会演示。 车间描述 是RMarkdown的扩展,使Web报表通常称为仪表盘或仪表盘。 在讲习班中,我们将首先探索该库,发现其使用并了解其巨大...

    QTP Flex API

    This document describes the operations and properties of objects available when testing Flex applications with Mercury Quick Test Professional.

    (FLEX)Advanced ActionScript 3 with Design Patterns - 2006 (Adobe)

    This is a document about (FLEX)Advanced ActionScript 3 with Design Patterns - 2006 (Adobe). It teaches us how to write AS code with design pattern. It's good for the flex developer.

    amfphp.zip_flex

    An AMF and PHP interactive document,about the AMF is how to connect with php

    使用flex布局轻松实现页面布局的示例代码

    1、上中下布局: &lt;!DOCTYPE html&gt; &lt;html lang=en&gt; &lt;head&gt; &lt;meta charset=UTF-8&gt; &lt;meta name=viewport content=width=device-width, initial-scale=1.0&gt; &lt;title&gt;Document&lt;...

    Flex-text:flex-text 插件使您的字体大小与块大小灵活

    flex-text 插件使您的字体大小与块大小灵活。 用法 new FlexText(document.querySelector('.your-text-block', { //params }); 文档 选项 resize : [bool, default: false] – 使用窗口调整大小事件更新字体大小;...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - ADD Added checkbox "Keep connector's link" in flex-document property form. - FIX Remaks panel focusing on main form (via PostMessage), since TreeInspector in FlexEditSE captures focus on self. - ...

    Flexslider左右按钮的jQuery图片切换插件 v2.1.rar

    [removed] 3、在body标签中加入以下格式的html代码 &lt;div class="flexslider"&gt; &lt;ul class="slides"&gt; &lt;li&gt; &lt;img /&gt; &lt;p class="flex-caption"&gt;Caption, legend...&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;img /&gt; &lt;p class="flex-caption"&gt;...

    vue中rem的配置的方法示例

    开发移动端,我们常常要用到rem+flex,那么vue中如何配置呢,我的做法是这样: 1、在js中统一计算配置 代码如下: export default function() { // var devicePixelRatio = 1; // var scale = 1 / devicePixel...

    普联架构设计技术方案.pptx

    能 菜 单 流程任务 系统消息 工作日历 应用门户 定制工具 设计工具 Menu Designer Form Designer Service Designer Flow Designer Report Designer Query Designer Print Designer Analyze Designer Document ...

Global site tag (gtag.js) - Google Analytics