`
sjkgxf7191
  • 浏览: 251818 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
1. Learn to use some Adobe Online Applications such as "Adobe BUZZWORD " and "Online Photoshop " 2. Learn to use Flash Build Beta 2 3. Learn to use Flash Catalyst Beta 2 4. Learn to know and how to use some Flash Player 10' s new features ...

xml 与 xmllist

    博客分类:
  • flex
<root>   <bag id='1'>         <bag id='11'/>         <bag id='12'/>         <bag id='13'/>   </bag>   <bag id='2'>         <bag id='21'/>         <bag id='22'/>         <bag id='23'/>   </bag> </root> xml.ro ...
在按钮中嵌入icon图标有两种方法。第一种是在Flex应用中创建一个变量,利用[Bindable]和[Embed] ,在代码中以参数形式传入制定图标(icon)的路径,然后利用类似icon="{Icon}"的代码嵌入到按钮中。第二种是利用@Embed()和参数中指定图标的路径。   <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" ...
Application.application .myTree.validateNow(); Application.application. myTree.selectedIndex = 0;Application.application. myTree.expandChildrenOf(Application.application.myTree.selectedItem, true);   尽量少用吧。。。不然模块间耦合的太紧密了
/*=========flex tree的展开,关闭,添加、删除子节点=========*/ /*=========因为用的静态数据,所以并没有真正的删除=========*/ <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="flexlib.controls.*" xmln ...
String queryString = "delete from UserFolder as model where model.userId = ?"; Query queryObject = getSession().createQuery (queryString); queryObject.setParameter(0, userId).executeUpdate() ;   必须在最后加executeUpdate(); 不然数据无法更新,select就不需要了
CSDN上下载的,该Tree是采用XMLList 绑定数据的   CheckTreeDemoRenderer.as package com.render { import flash.events.MouseEvent; import flash.xml.*; import mx.collections.*; import mx.controls.CheckBox; import mx.controls.Image; import mx.controls.Tree; import mx.controls.listClasses.*; import ...
大家都知道应该用expandChildrenOf(item,true),但是Flex2说明中很明确写道: "If you set dataProvider and then immediately call expandChildrenOf() you may not see the correct behavior. You should either wait for the component to validate or call the validateNow() method. "   treePlayList.dataProvider = r ...
从XP把Eclipse打包拷贝到WIN7里,却出现了经常自动关闭的问题,google后成功解决问题:   网上说: Eclipse快捷上点右键,选属性,在目标中文字后加入一串参数: -vmargs   -Xms128M   -Xmx256M   -XX:PermSize=64M   -XX:MaxPermSize=256M 可我没找到在哪里加,   我的solution如下:   打开Eclipse根目录下的eclipse.in i文件 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 2 ...
使用MySQL Administrator 登录,报错: Either the server service or the configuration file could not be found.Startup variable and service section are there for disabled. 使用Root 登录进去以后看到管理功能都是禁止掉的,提示: This section is only avaliable when connected to localhost   solution: 点开MySQL Administrator ...
   鼠标驱动安装不了,Photoshop CS4安装成功但运行不了   09.11.4: 找到微软鼠标win7驱动了,差点就有去中关村买无线鼠标的冲动了。。。ps还是不行,只有换个版本了,哎   09.11.10:搞定WIN7兼容性的问题
1.event意外报错 private function alertClickHandler(event :CloseEvent):void {       if (event .detail == Alert.YES)       {               //...        } } 如果报错说找不到属性detail,可以将event 改成e 就没问题了
点击按钮先进行验证,验证通过后,执行 editGroupHandler 函数 <mx:StringValidator id="editGroupValid" source="{groupEditName}" property="text"         trigger ="{editGroupBtn}" triggerEvent ="click" valid ="editGroupHandler (event)"/> <mx:Butto ...
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white" creationComplete="initApp()"> <mx:Style>  .er ...
我在$tomcat/webapps/下建了个myjsp目录作为我网站的默认目录,在myjsp中有一个a.jsp文件,该文件要作为我网站的默认主页。 修改配置文件: 首先,修改$tomcat/conf/server.xml 文件。 在server.xml文件中,有一段如下: …… <engine name="Catalina" defaultHost="localhost">    <host name="localhost" appBase="webapps"        unpa ...
Global site tag (gtag.js) - Google Analytics