|
You want to use Flex stuff, you have to be in an
application tag, period.
----- Original Message -----
From: Sreenivas R
Sent: Wednesday, November 30, 2005 1:03 AM
Subject: Re: [flexcoders] button Hi Jeremy,
I understood what you are trying to do. Here is a conversation snippet
discussing the same issue.
-----
It turns out that if you want add components to the stage, you
have to set up our infrastructure first. On the other hand, if you just want to
add Sprites and other non-framework DisplayObjects, it is pretty simple.
Basically, you need to start with a SystemManager, specify an Application, then set up styles used by the components before adding components. This is the "basic" button example. -----Original Message----- Subject: Example of Adding a component via ActionScript? Anyone have an example of adding a Component (say a button) to the stage via ActionScript? I am specifically looking for an example in an ActionScript only project. Lots of people seem to be trying to do this, and are getting tripped up on it. ---- If you are interested I can send you the AS file. (It has nearly 600
lines as it has not been trimmed down )
-Sreenivas On 11/30/05, Jeremy
Tooley <[EMAIL PROTECTED]> wrote:
Hi Sreenivas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS
|
- Re: [flexcoders] button JesterXL
- [flexcoders] Flex&Hibernate lazy fetching Valy Sivec

