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

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

2008-07-29 Thread Scott
like you're misinterpreting it. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Saturday, July 26, 2008 4:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mxml components I

RE: [flexcoders] mxml components

2008-07-29 Thread Scott
! 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 started AS3 classes get

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: mx:script ![CDATA{ Import com.myapp.models.LoginClass; ... .. And Class3.mxml mx:script ![CDATA{

RE: [flexcoders] mxml components

2008-07-29 Thread Scott
: Tue 7/29/2008 10: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: mx:script ![CDATA

RE: [flexcoders] mxml components

2008-07-28 Thread Scott
To: flexcoders@yahoogroups.com Subject: {Disarmed} RE: [flexcoders] mxml components 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

RE: [flexcoders] mxml components

2008-07-28 Thread Gordon Smith
it. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Saturday, July 26, 2008 4:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mxml components I was afraid of that... Ok

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 --

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 it. If

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 foo:MainClass foo:SubClass id=bl/ /foo:MainClass SubClass.mxml foo:SubClass foo:SubClass2a id='bla'/ /foo:SubClass they will live forever. But if you load

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 insideAS files. Like I have an MXML file where I have defined a panel with an ID, say loginPanel. What's required is that in an AS

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 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

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread JesterXL
mx.containers.VBox; class MyVBox extends VBox { public function method():Void { trace(yo); } } - Original Message - From: Trey Long [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 20, 2006 3:50 PM Subject: Re: [flexcoders] MXML Components

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 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 this

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!

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

2005-04-14 Thread Gordon Smith
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* ... anyway

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

2005-04-12 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: ?xml version=1.0 encoding=utf-8? mxCore:View xmlns=mx.core.*

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

2005-04-12 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 [EMAIL

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 object

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

2005-04-12 Thread Gordon Smith
. 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: Re: [flexcoders] MXML Components

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

2005-04-12 Thread Scott Barnes
. 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: Re: [flexcoders] MXML

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

2005-04-11 Thread Matt Chotin
Nope, in 1.x the mx:Effect 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

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 mx:Effect 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 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