ZEND+FLEX认证+收藏
http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/ ZEND+FLEX收藏
http://www.keithcraigo.com/archives/66ZEND+FLEX认证
http://www.keithcraigo.com/archives/181ZEND+FLEX认证
http://ressources.mediabox.fr/tutoriaux:flashplatform:dynamique:remoting:zendlogin:zendlogin1ZEND+FLEX认证
Flex and PHP: remoting with Zend AMF
The latest PHP library to add support for AMF and remoting is Zend Framework. The preview prelease version 1.7
offers a new component Zend_AMF that lets you create Flex applications
that talk to PHP backends using remoting. Since I am a big fan of
remoting as a way to get data to your Flex/AIR clients, I wanted to add
a short post explaining how to use it. Here
is another post I wrote on remoting with AMFPHP. Actually this post is a part of a larger article
I did for Adobe Developer Connection. I want to keep it more focused, so I wrote this one.
You can download a Flex Builder project that contains the code I explain in this article from here
. Inside of the archive you will find a readme.txt file explaining what to do with it.
Installing the Zend Framework
After downloading
the Zend Framework 1.7 archive, extract the files. Next, you have to
add the library folder to your PHP include path. Open the php.ini file
and add the path to the library folder to the include_path; on my
machine looks like:
include_path = “c:htdocszend_frameworklibrary”
Next, save the file and restart your web server. You can read more about installing Zend Framework here
. With this, you’ve completed the “installation” of Zend Framework.
What is AMF and remoting and why should you use it?
If you already know these answers, you may want to skip to the next
section. Let’s start by understanding remote procedure calls. Remote
procedure calls let Flex applications make direct calls on the methods
of your server side classes. Using BlazeDS or LiveCycle Data Services
you can expose your Java
相关文档:
一.通过js访问Flex组件
1.准备工作。先建立Flex工程 :fademo,并放置一个文本框:txtName。做完后代码应该类似于这个样子:
view plaincopy to clipboardprint?
·········10······· ......
1.复制内容到系统剪贴板
System.setClipboard(strContent);
2.复制一个ArrayCollection
//dummy solution( well, it works )
var bar:ArrayCollection = new ArrayCollection();
for each ( var i:Object in ac ){
bar.a ......
Flex Builder 快捷键
Adobe在开发Flex最有利的工具就是Flex Builder,快速键对一般开发者来说都非常有用,很多快速键与组合键是会与其他软体或系统都有雷同之处,譬如 Ctrl + C 就是复制,Ctrl + V 就是贴上。若你有注意到就会不难发现,其实Flex Builder有很多与Eclipse编辑工具也是有许多相似之处。 多加善以利用吧!
C ......
在mxml的application类可以通过geturl获取当前url。获取url可以提供一个很好的方式对swf穿参数。在公司的项目中就大量的应用相关的技术。就和大家分享一下相关的写法,如果写不好就不要笑话哦。
分析url参数类:
package com.sunshine.framework.control
{
import com.sunshin ......