--- In flexcoders@yahoogroups.com, Rafael Faria
[EMAIL PROTECTED] wrote:
Amy,
and how would you add elements to the canvas?! or to the itemrender
itself? because the myRenderer wont have addChild so i can add new
elements. And how do you change the properties of the Canvas? You
adding the
--- In flexcoders@yahoogroups.com, Rafael Faria
[EMAIL PROTECTED] wrote:
Amy,
and how would you add elements to the canvas?! or to the itemrender
itself? because the myRenderer wont have addChild so i can add new
elements. And how do you change the properties of the Canvas? You
adding the
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Friday, July 25, 2008 6:08 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: new Component() ?
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Rafael Faria
[EMAIL PROTECTED] wrote:
Amy
instances of them.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rafael Faria
Sent: Thursday, July 24, 2008 5:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: new Component() ?
I found
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:
i'm able to add a new class on the fly
No, you're not adding a new class on the fly. You're creating a new
instance of a ClassFactory subclass on the fly. A class is something
that is defined at compile time by a
mx:Canvas
..
From AS:
myList.itemRenderer.newInstance()
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *rafaelrfc00
*Sent:* Wednesday, July 23, 2008 9:53 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: new
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
If you've defined a component via mx:Component, the name is
auto-generated as Josh says, but it generates an IFactory, so you
can
use the factory to get new instances
mx:List id=myList
] On
Behalf Of Amy
Sent: Thursday, July 24, 2008 7:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: new Component() ?
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Alex Harui [EMAIL PROTECTED] wrote:
If you've defined a component via mx:Component
23, 2008 11:52 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: new Component() ?
If you have:
mx:Component id=inlineEditor className=MyClass
mx:Canvas/
/mx:Component
You get a subclass of Canvas named MyClass, and a local public scoped
instance of an IFactory called
.
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Josh McDonald
*Sent:* Wednesday, July 23, 2008 11:52 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Re: new Component() ?
If you have:
mx:Component id=inlineEditor className=MyClass
Amy,
and how would you add elements to the canvas?! or to the itemrender
itself? because the myRenderer wont have addChild so i can add new
elements. And how do you change the properties of the Canvas? You
adding the Class but you aint adding the whole component i was talking
about.
Suppose that
] On
Behalf Of Amy
Sent: Thursday, July 24, 2008 7:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: new Component() ?
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Alex Harui aharui@ wrote:
If you've defined a component via mx:Component, the name
See my comments inline
--- In flexcoders@yahoogroups.com, Rafael Faria
[EMAIL PROTECTED] wrote:
I found this class
package modules.renderers
{
import mx.core.ClassFactory;
import org.osflash.thunderbolt.Logger;
public class InitFactory extends ClassFactory
@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Thursday, July 24, 2008 7:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: new Component() ?
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.comflexcoders%2540yahoogroups.com
, Alex Harui aharui
McDonald
Sent: Thursday, July 24, 2008 7:37 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: new Component() ?
You can't really do what you want, without creating custom item renderer
components or custom IFactories. You could possibly create one base
component, and pass
Hi Johannes,
Thanks for your reply but my question isn't really about how to put
the columns into the datagrid. It's actually how to create dynamically
components to put inside the columns.
See i don't want to create 4,5,6,7 different itemrenderes files so i
can insert into the columns i would
I don't see why you don't just use mx:component like in your first
example? You don't need to make any extra files. Or are you building your
entire datagrid programatically?
-Josh
On Thu, Jul 24, 2008 at 9:16 AM, Rafael Faria [EMAIL PROTECTED]
wrote:
Hi Johannes,
Thanks for your reply but my
Hi Rafael,
What do u think of put some getters in your object instead of create various
item renderers that just have little funcionality ?
Just my 2 cents
On Wed, Jul 23, 2008 at 8:54 PM, Josh McDonald [EMAIL PROTECTED] wrote:
I don't see why you don't just use mx:component like in your
I would but i wan't to do it FROM actionscript and not from the mxml.
Like i said i want it being created on the fly.
How would you do that from actionscript?
Rafael
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
I don't see why you don't just use mx:component like
Hi Pedro,
How do you mean about putting some getters? Can you give me an example?
Thanks
Raf
--- In flexcoders@yahoogroups.com, Pedro Sena [EMAIL PROTECTED] wrote:
Hi Rafael,
What do u think of put some getters in your object instead of create
various
item renderers that just have little
Well no, you can't do what you're asking :)
When you use:
mx:component
canvas
...
/canvas
/mx:component
It's creating a new subclass of Canvas with a generated name, and you can't
create new classes at run-time without bytecode manipulation (which isn't
really an option in Flex yet
Text was just an example.
It can be date, text, textarea, some other customcomponents. I was
just curious how i would create item renderes without creating a file.
I thought if you are able to use mx:component you would be able to
create it from actionscript as well.
guess i was wrong. Flex
mx:Canvas
..
From AS:
myList.itemRenderer.newInstance()
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rafaelrfc00
Sent: Wednesday, July 23, 2008 9:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: new Component
LOL... thanks Doug... I've just assured myself of the fact that at some
point in the future, I'm gonna need to incorporate an animated GIF in a Flex
App... guaranteed...
Brendan
On 1/19/07, dougmccune [EMAIL PROTECTED] wrote:
Brendan- The example at the end of this post is for you :)
Brendan- The example at the end of this post is for you :)
http://dougmccune.com/blog/2007/01/19/how-to-load-animated-gifs-using-adobe-flex-20/
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
Sorry, but I've gotta ask but what the heck are people still using
Very cool Jeremy! Thanks.
-TH
--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote:
hi flexcoders,
Just revised this component and open sourced it, please take a
look here :-)
*samplehttp://ria.richtechmedia.com/go.php?
26 matches
Mail list logo