flash

积少成多 Flash(ActionScript 3.0 & Flex 3.0) 系列文章索引

主宰稳场 提交于 2020-01-02 03:08:40
[源码下载] 积少成多 Flash(ActionScript 3.0 & Flex 3.0) 系列文章索引 作者: webabcd Flash 之 ActionScript 3.0 1、 积少成多Flash(1) - ActionScript 3.0 基础之数据类型、操作符和流程控制语句 介绍 Flash ActionScript 3.0 中所有的数据类型都是对象,操作符和流程控制语句的语法与C#类似 2、 积少成多Flash(2) - ActionScript 3.0 基础之包、类、包外类、命名空间、属性、方法、接口和继承 介绍 Flash ActionScript 3.0 是一种面向对象的语言,包、类、包外类、命名空间、属性、方法、接口和继承 3、 积少成多Flash(3) - ActionScript 3.0 基础之以文本形式、XML形式和JSON形式与ASP.NET通信 介绍 Flash ActionScript 3.0 以文本形式与ASP.NET通信、以XML形式与ASP.NET通信和以JSON形式与ASP.NET通信 4、 积少成多Flash(4) - ActionScript 3.0 实例之Hello World, 时钟, 计时器 介绍 通过3个简单的示例,对使用 Flash ActionScript 3.0 开发程序有个感性的认识 Hello World -

Flex和Flash的关系

旧街凉风 提交于 2020-01-02 03:08:07
最近看时学习Flex应用,开始对Flex和Flash的关系有些模糊,读了Oreilly的Programming Flex 2才算是明白些,现记下。 1、Flex应用程序的生命周期 Flex应用就其根本上讲就是Flash应用,只不过其是基于Flex Framework(由ActionScript写就)开发的。Flex应用程序的根对象的是SystemManager(不是我们在flex应用上看到的Application根元素),继承自flash.dispaly.MovieClip—flash player display type,MovieClip是一种支持timeline基本元素帧frame的对象,在Flex Framework中SystemManager是特殊的,含有两帧(其他component都是一帧的),分别是preloader和真正的Application,preloader帧可以迅速下载下来并用于显示应用下载进度,一旦Flex应用的SystemManager实例进入第二帧,将创建Flex主应用application实例并赋予本身的属性application(在进入第二帧之前是null),自此application(flex主应用)的内部生命周期、事件开始运作: preinitialize:application已经实例化但尚未创建任何child component

Actionscript,AS3,MXML,Flex,Flex Builder,Flash Builder,Flash,AIR,Flash Player之关系

↘锁芯ラ 提交于 2020-01-02 03:07:37
  转自 zrong's blog :http://zengrong.net/post/1295.htm ActionScript   ActionScript通常简称为AS,它是Flash平台的语言。AS编写的程序,最终可以编译成SWF、SWC。SWF就是我们常说的Flash动画。但是现在SWF已经不仅仅是动画,而是 RIA 的载体。   ActionScript有3个版本,分别是1.0版(AS1),2.0版(AS2)和3.0版(AS3)。只有Flash Player 9及以上播放器才支持AS3编译的SWF。这三个版本的差别非常大,现在最流行的版本是AS3。 Flex与MXML   因为在开发RIA的时候,需要很多常用的功能,例如控件(Button,ComboBox,List……)、布局(VGroup、VBox……)等等…… Adobe就开发了一套官方的框架集来实现这些功能,这套框架集就叫做Flex。   为了方便程序员快速编写RIA程序界面,Adobe又实现了一种基于XML语法的语言MXML,这套语言很像HTML,可以与AS混用,MXML最终也是编译成SWF或SWC。 Flex框架就是使用AS3与MXML两种语言写成的。但说白了,MXML 外加实现了MXML语法,如果你有兴趣,也可以自己实现这些。 Flash和Flex,都是用AS编写,使用swf体现。 Flash  

Is there a “Browser Control” to host a website inside Flash/Silverlight?

我的未来我决定 提交于 2020-01-01 20:54:09
问题 I'm looking for something similar to the VB6 / .Net Winforms "Browser Control", that let's you show a browser inside your application. I don't want to just render a page, I want it to be a fully-functional browser, in which people can click links, will run Javascript, etc. In essence, what I want is an IFrame, only that it runs inside a Flash app, or a Silverlight app. The ultimate reason for this is that I want to defeat IFrame busters. I'm making a web app that lets you see other sites

Is there a “Browser Control” to host a website inside Flash/Silverlight?

梦想的初衷 提交于 2020-01-01 20:52:22
问题 I'm looking for something similar to the VB6 / .Net Winforms "Browser Control", that let's you show a browser inside your application. I don't want to just render a page, I want it to be a fully-functional browser, in which people can click links, will run Javascript, etc. In essence, what I want is an IFrame, only that it runs inside a Flash app, or a Silverlight app. The ultimate reason for this is that I want to defeat IFrame busters. I'm making a web app that lets you see other sites

combinations with varying length and without repetition

吃可爱长大的小学妹 提交于 2020-01-01 19:46:12
问题 Can anyone suggest an easy way of getting all combinations without repeats, and with a varying length ? [0,1,2,3,4] (2's) : [0,1],[0,2],[0,3] ... [3,4] (3's) : [0,1,2],[0,1,3] ... [2,3,4] (4's) : [0,1,2,3],[0,1,2,4] ... [1,2,3,4] 回答1: took me a while but I think I've got it here... this has all the combinations without repeats var arr:Array = [0, 1, 2, 3, 4]; var $allcombos:Array = []; findCombos($allcombos,[],arr); function findCombos($root:Array, $base:Array, $rem:Array):void { for (var i

How does the preloader work in as3?

会有一股神秘感。 提交于 2020-01-01 19:41:48
问题 I've read multiple examples on this, but I just don't get how it works. How does the class know it's THE pre-loader? How does flash know to load one class but not another? How much can I do in a preloader? :-p I'm using FlashDevelop atm and it's generating the project for me - however, from all the examples I checked they didn't explain how it worked either. 回答1: Are you familiar with the Flash timeline? By default, your SWF would have one frame. This frame contains your Preloader.as class.

How does the preloader work in as3?

萝らか妹 提交于 2020-01-01 19:41:13
问题 I've read multiple examples on this, but I just don't get how it works. How does the class know it's THE pre-loader? How does flash know to load one class but not another? How much can I do in a preloader? :-p I'm using FlashDevelop atm and it's generating the project for me - however, from all the examples I checked they didn't explain how it worked either. 回答1: Are you familiar with the Flash timeline? By default, your SWF would have one frame. This frame contains your Preloader.as class.

Flash Sockets, Peer-to-Peer Capabilities

◇◆丶佛笑我妖孽 提交于 2020-01-01 19:39:47
问题 Quick Intro: We have a flash tetris game finished and we are looking to add multiplayer functionality to the game. After a few days of research on the capabilities of flash and sockets, I've gotten even more confused. A quick disclaimer, I am new to sockets/networking in general. From what I gathered online, general flash tcp sockets cannot handle peer to peer connections due to the policy system in place. In order for flash to do p2p, one must use a RTMFP-capable server (such as flash media

Getting started with stage3d in Flash CS5, and which framework to choose?

匆匆过客 提交于 2020-01-01 19:31:10
问题 I have been off the stage 3d bandwagon and flash programming altogether this year, but I want to catch up on things and I need some tips. Here's what I know: FP11 features the low level GPU stage3d API, codenamed Molehill. There are a few frameworks out there which help you access all the stage3d features more easily. (I know of Flare3D and Alternativa3D). Which framework is best to start out with? (not just out of the mentioned 2) The rather few tutorials from Flare3D and Alternativa3D say