wonderfl - build flash online

Trying to create Flex button via pure AS

/*
The code doesn't actually produce the sWF on the right.
That SWF was generated when I originally forked from the original.
This code doesn't compile at all.

Tastypuppies Tastypuppies..

    • forked:0
    • favorite:0
    • lines:21
    • license : All rights reserved
    • modified : 2009-09-18 00:57:08

add to favorites

Embed

Code Fullscreen

Talk

I haven't found a single code on this site that has succeeded in creating a button via pure AS. Anybody know how to do it? Is it possible?

So far, all I've seen is the creation of controls via MXML. But if MXML is just turned into intermediate AS3 code and then compiled into SWF bytecode, that must mean that there's correct, pure AS3 code for creating Flex controls on the stage. But what is it? How?

sectKeywords

ページの先頭へ戻る