利用VC2008的插件去开发Flex和Ruby
tofino http://www.ensemble.com/products/tofino.html
Ensemble Tofino for Visual Studio is a plugin that enables .NET
developers to create Flex front ends for their applications in the same
IDE that they normally use. Instead of using a separate text or XML
editor and manually invoking the compiler, they can move smoothly
between MXML and .NET file types within Visual Studio, and invoke Flex
build and run commands from Visual Studio menus.
Amethyst (Adobe Flex IDE) http://www.sapphiresteel.com/Download-Amethyst-Adobe-Flex-IDE
Amethyst
is SapphireSteel’s IDE for programming rich web-based and desktop applications using Adobe Flex and AIR [1
].
This page includes a link to download Amethyst (beta), plus information
on its installation and use. Please be sure to read the installation
advice before
installing Amethyst
老外的想法不得不佩服!
相关文档:
Flex 加深学习笔记(-)
本文系我进一步加深Flex相关的学习而做的学习笔记,其中不乏有参考转载的相关书的文章,也不乏有自己写的些东西.这当然也避免不了可能会出现的错误(本人的理解错误或描述错误).望朋友们仅以我的Blog作为您学习路上的参考,一切皆自己尝试后是正确的才是正确的.
欢迎大家一起交流学习;
欢迎大家拍砖;
......
1、自定义组件
2、自定义事件
3、结合使用
一、自定义组件(使用的是Flex组件,ActionScript组件相对麻烦点,可视化差点)
该组件由一个TextArea和两个Button组成,如图:
代码:
MyComponent.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width=" ......
ArrayCollection转成xml类型示例
下面模拟一组数据exams,将其转化为xml形式.详细代码见下:
Xml代码
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" fontSize="12" creationComplet ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal">
<mx:Panel width="382" height="277" layout="absolute">
......
今天在做项目的时候遇到了一个问题,访问xml文件就是成功不了。看了看以前写过的代码都可以,而这个项目中为什么就不行了呢?仔细查看了目录,是百思不得其解啊。
错误信息:*** Security Sandbox Violation ***
Connection to file:///C|/loading.swf halted - not permitted from xxxx/data.xml。这个xml是在工程里面sr ......