Re: [flexcoders] mxml components

2010-01-04 Thread David Pariente
Yes, i think from flex you can perfectly use them using only AS3. No secret about that. If you mean using them in flash, i thing it's also possible using the special packaged flex component kit for flash, available at flex website. -- David Pariente RIA consultor ---

RE: [flexcoders] MXML Components and measure()

2008-12-11 Thread Alex Harui
Normally you only need to implement measure if you didn't base the component on a container, but item renderers are a bit different. Their measure methods must take the explicitWIdth and calculate measuredHeight. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] mxml components

2008-07-29 Thread Scott
0:30 AM To: flexcoders@yahoogroups.com Subject: {Disarmed} Re: {Disarmed} RE: [flexcoders] mxml components > Are these the same instance or unique instances with in each of the > class instances themselves (mainclass/class3)? > > > > MainClass.mxml: > > > > > >

Re: {Disarmed} RE: [flexcoders] mxml components

2008-07-29 Thread Michael VanDaniker
> Are these the same instance or unique instances with in each of the > class instances themselves (mainclass/class3)? > > > > MainClass.mxml: > > > > > >

RE: [flexcoders] mxml components

2008-07-29 Thread Scott
orm? Thanks much! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Monday, July 28, 2008 3:34 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} RE: [flexcoders] mxml components > all classes are created when the application is star

RE: {Disarmed} RE: [flexcoders] mxml components

2008-07-29 Thread Scott
ger it doesn't look like in the above example that class4.mxml stays active if I leave the Class3.mxml code. I'm not clear on what you're seeing, but it sounds like you're misinterpreting it. Gordon Smith Adobe Flex SDK Team ____________ From: flexcoders@ya

RE: [flexcoders] mxml components

2008-07-28 Thread Gordon Smith
e example that class4.mxml stays active if I leave the Class3.mxml code. I'm not clear on what you're seeing, but it sounds like you're misinterpreting it. Gordon Smith Adobe Flex SDK Team ________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] mxml components

2008-07-28 Thread Scott
I was afraid of that... Ok, let's see if I can do it better. I understand that I'm not "calling" a class, but functions within the instance. So if I understand the other message from Gordon correctly then all classes are created when the application is started. However, it doesn't look

Re: [flexcoders] mxml components

2008-07-25 Thread yigit
it depends on references, not whether you use or not. so for example, if the code is like this: MainClass.mxml SubClass.mxml they will live forever. But if you load them dynamically, it depends on where you keep the reference. If the reference is lost, it 'may' g

RE: [flexcoders] mxml components

2008-07-25 Thread Tracy Spratt
First, there are "classes" and "instances". When it matters, use these terms correctly. Second, "call" does not apply to a "class", or even really an "instance". An instantiated class stays instantiated untill all references to it are removed, and "Garbage Collection" has run and removed

RE: [flexcoders] mxml components

2008-07-25 Thread Gordon Smith
Some terminology: Classes aren't calling classes. Classes don't call anything... methods inside classes call other methods. In your MXML, an instance of MainClass is creating instances of subclass1 and subclass2 and -- because they are Sprites, which can have parent/child relationships -- makin

Re: [flexcoders] MXML components in ActionScript

2006-08-22 Thread julien castelain
hi Rohan,   This should help you   http://aralbalkan.com/691 hf :)   On 8/22/06, tinywhistles <[EMAIL PROTECTED]> wrote: Hi I am trying to access MXML components inside AS files. Like I have an MXML file where I have defined a panel with an ID, say loginPanel. What's required is that in a

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread JesterXL
y Long" <[EMAIL PROTECTED]> To: Sent: Friday, January 20, 2006 3:50 PM Subject: Re: [flexcoders] MXML Components and Classes So you're saying just extend a standard MXML component with an mx:script include on line #2. And it should associate the AS file with the class of the MX

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread Trey Long
So you're saying just extend a standard MXML component with an mx:script include on line #2. And it should associate the AS file with the class of the MXML component? Well, that sounds hacky :) I hope this is addressed for the Beta. -Trey JesterXL wrote: > You can create ActionScript or MXML c

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread JesterXL
You can create ActionScript or MXML class; they are effectively the same thing. The only real "limitation" I've found is I've failed to create extensible containers via MXML; meaning, extending CheckBox, Label, Loader, with MXML works great, but extending Containers like VBox, Panel, etc. gave

Re: [flexcoders] MXML Components and instanceof

2005-09-02 Thread Reto M. Kiefer
Hi Dirk! Thanks a lot for your detailed answer. I will try and give you a feedback! Cheers Reto Yahoo! Groups Sponsor ~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwF

RE: [flexcoders] MXML Components and instanceof

2005-09-02 Thread Dirk Eismann
Are you still passing in the "this" reference? I suspect that may be the reason why you getting the error. > Would you be so kind and provide me with a link for this > solution. I have my Flex book @ home and I am on tour till > tuesday... Well, I don't know if this will work for you because t

Re: [flexcoders] MXML Components and instanceof

2005-09-02 Thread Reto M. Kiefer
Hi Dirk! Thanks a lot for your answer. Unfortunatly the parentDocument doesn't work, I still got the error "Two MXML Files cannot reference each other as child tags." > Another idea: why not dispatching an event object from your > basicSearchCompany? The embedding component could register for thi

RE: [flexcoders] MXML Components and instanceof

2005-09-02 Thread Dirk Eismann
If you just nned to check the type of the component your basicSearchCompany currently sits in during runtime try: if (parentDocument instanceof marketingMain) { parentDocument.marketingDetails.selectedIndex = 2; parentDocument.gridContacts.dragable = true; } parentDocument points

RE: [flexcoders] MXML Components and using mx:Effect

2005-04-13 Thread Gordon Smith
10:54 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] MXML Components and using mx:Effect hmm thanks for that gordon, I wonder if MM will ever allow us to do new MovieClip instead of createEmptyMovieClip etc.. i've seen some MovieClip.prototype workarounds for this but *sigh*

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Scott Barnes
ssage- > From: Scott Barnes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 12, 2005 6:44 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] MXML Components and using mx:Effect > > Yup, sorry I knew all that anyway (I'm a vetran Flash MX 2004 monkey > hehe) i

RE: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Gordon Smith
ect is simply garbage-collected. 6. MovieClip is a Flash-specific class, while Object is a class of the standard EcmaScript language. - Gordon -Original Message- From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 6:44 PM To: flexcoders@yahoogroups.com Subject: R

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Scott Barnes
Yup, sorry I knew all that anyway (I'm a vetran Flash MX 2004 monkey hehe) i was more looking for info on MovieClip vs Object under the hood. Haven't you all wondered or pondered as to what the significant difference between the two are? A MovieClip extends Object but what changes or difference d

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Manish Jethani
On 4/12/05, Scott Barnes <[EMAIL PROTECTED]> wrote: > Also, probably outside the scope of this thread but whats the > difference between a MovieClip and an Object (ie technically, i know > MovieClip adds "timeline" to the equation etc.. but how is a MovieClip > Constructed vs a plain object) An

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-11 Thread Scott Barnes
Ooops index.mxml (ie var tmp = this.createObjectClass(yourpath.to.yourmxmlfile,"name"); tmp["testItem"].getTestMethod(); // will invoke the RemoteObject within the mxml movieclip. - should be inside its own mx:Script tag etc. On Apr 12, 2005 4:29 PM, Scott Barnes <[EM

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-11 Thread Scott Barnes
Ok Mr Matt, Got another one for you (or anyone else) Say I have the need to create a MXML component for the sake of making life easier by allowing access to mx:Tag based approach (aswell as script). if i do something like this: http://www.macromedia.com/2003/mxml"; initialize="doSomething()">

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-11 Thread Scott Barnes
aye thanks matt. On Apr 12, 2005 2:00 PM, Matt Chotin <[EMAIL PROTECTED]> wrote: > > > > Nope, in 1.x the tag has special compiler logic that makes it > impossible for it to live on its own. AS is the only way to get it > standalone. > > > > Matt > > > > ___

RE: [flexcoders] MXML Components and using mx:Effect

2005-04-11 Thread Matt Chotin
Nope, in 1.x the tag has special compiler logic that makes it impossible for it to live on its own.  AS is the only way to get it standalone.   Matt   From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 8:58 PM To: flexcoders@yahoogroups.com Subject: [f

RE: [flexcoders] mxml components not honoring external css styles ?

2004-05-05 Thread Matt Chotin
Could you post some sample code so see exactly what you're trying?  It'll make it easier for us to identify our bug or limitation or simply put you on the right path.   Matt   -Original Message- From: bobpardoe1959 [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 12:58 AM