background preloader

Flex 3 Component Life Cycle

Flex 3 Component Life Cycle
Related:  Flash AS3

Flex formater João Saleiro - Google+ - After 6 years doing Flex, am I moving to HTML5? Short… After 6 years doing Flex, am I moving to HTML5? Short answer: no. But I'm investing in HTML5. (really) Long answer: see below. After returning from the Flex Summit, many people have contacted me asking what was going to happen with Flex and if I was going to "migrate" our projects (like ) and services to HTML5. After plenty of exchanged emails and dozens of long talks, I decided to write down and share some notes of my first steps in the HTML5 world regarding the development of Enterprise RIAs (or not). Background I founded Webfuel in 2004 and since then we've specialized in building long-term (> 6 months) enterprise-grade RIAs that had to scale well and be prepared for constantly changing requirements with a low cost in maintainability, while simultaneously providing a top-notch user experience. Worse PR ever in November 2011 In December '11 Adobe has donated Flex to Apache. Did Adobe kill Flex? We are desktop-developers-working-on-the-web Is "HTML5" ready? Knockout.js

Changing the browser zoom level HTML filter By default, Flash only supports a small subset of HTML in htmlText fields Reference: Anchor tag (<a>) Bold tag (<b>) Break tag (<br>) Font tag (<font>) Image tag (<img>) Italic tag (<i>) List item tag (<li>) Paragraph tag (<p>) Text format tag (<textformat>) Underline tag (<u>) Flex-htmlFilter can be utilised to extend the HTML support of htmlText fields by enabling the use of: Unordered list tag (<ul>) Ordered list tag (<ol>) Table tag (<table>) Table row tag (<tr>) Table column tag (<td>) Table header column (<th>) Table caption tag (<caption>) Heading tags (<h1-6>) As well as this, it allows the use of some "custom" tags and some custom attributes of the above tags. See for a full list of the supported tags and attributes. Since April 16 2009, trunk contains a new version of flex-htmlfilter. However, one major change is the use of preprocessing in the code.

com - Security Domains, Application Domains, and More in ActionScript 3.0 Pages: 1 | 2 Application Domains As seen with security domains, class definitions can be isolated from one another when SWFs are in different security sandboxes, each having their own complete set of definitions to work with. This separation of class definitions (and similar definitions like functions, interfaces, and namespaces) is managed by a subdomain of security domains known as application domains. Application domains exist inside security domains While security domains sandbox for security, application domains sandbox for definition separation. Application domains work together in a linked hierarchy making them more complex than security domains which are each isolated and individualized. At the root of this hierarchy is the system domain , the application domain that contains the native definitions of the Flash Player API. New SWF domain loaded into and inherits from system domain More on inheritance is covered in the Application Domain Inheritance section. trainingapplication.swf:

Detect-zoom by tombigel As of January 2013 stopped maintaining his source, and transferred the repository to me. If you are looking to update previous versions note that there were some breaking changes. Major Changes form the last yonran version: DetectZoom object name changed to detectZoom. DetectZoom.ratio() is no longer publicly accesible. Supports: IE8+, FF4+, modern Webkit, mobile Webkit, Opera 11.1+ IE6, IE7, FF3.6 and Opera 10.x are no longer supported. READ THIS: Detect-zoom is currently unusable for desktop Last update: Aug 7 2013 In the past few months both Mozilla and Google made some changes to their browsers that make it almost impossible to do what detect-zoom is here to do: Firefox On Firefox 18 Mozilla changes the devicePixelRatio value on manual zoom (cmd/ctrl +/-), making it impossible to know whether the browser is in zoom mode or is it a retina device, ignoring what the word DEVICE represents. Chrome Other Known Issues What is this for? Live Example Usage AMD Usage License

Flash Professional Help | Graphic filters Enhanced in Flash Professional CC Each time you add a new filter to an object, it is added to the list of applied filters for that object in the Property inspector. You can apply multiple filters to an object, as well as remove filters that were previously applied. You can apply filters only to text, button, movie clip, components, and compiled clips objects. You can create a filter settings library that lets you easily apply the same filter or sets of filters to an object. With Flash Professional CS6 and earlier versions, applying filters was restricted to movie clip and button symbols only. Create or add a component on stage.Right click on the component, and select Convert to Symbol. With Flash Professional CS6 (and earlier versions), you could add filters or various other kinds of effects after wrapping the component inside a symbol. Adding Bevel filter to a Button component

yonran/detect-zoom Download file with FileReference ExternalInterface The following example shows an easy way to get JavaScript variables into your Flex applications without having to write a single line of JavaScript or edit your HTML template using the Flash Player ExternalInterface API. Full code after the jump. Continue reading In a previous example, “Calling JavaScript functions from your Flex applications using the ExternalInterface API”, we saw how we could call JavaScript functions from our Flex application. The following example shows us how we can return a value from a JavaScript function call and use the data in our Flex application. Continue reading In a previous example, “Calling JavaScript functions from your Flex applications using the ExternalInterface API”, we saw how you could call JavaScript methods from our Flex applications using the static method. Continue reading The following example shows how you can check to see whether your Flex application is in a container that supports the ExternalInterface API.

Branding Here is a branded version of Flowplayer. Almost all of the following features are available only in commercial versions of Flowplayer such as a custom logo, a custom play button and a configurable “right-click” context menu. The above player has all of the commercial features enabled. Remember to click the player with your right mouse button. Logo Customization of the logo plugin is the main reason for buying the commercial versions of Flowplayer (which gives us the ability to work on this project full- time). You can also specify all display properties for the logo as with any other plugin. Logo example Here we have a customized logo. The right-click menu is the menu that is shown when a user right-clicks the player with the mouse. Here is the default configuration in the free version. As you can see from the example above, the contents of the menu are defined by means of a JavaScript array. 1 Objects with a single property. 2 Menu separators. 3 Labels. Play button Example