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
---
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
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:
>
>
>
>
>
>
> Are these the same instance or unique instances with in each of the
> class instances themselves (mainclass/class3)?
>
>
>
> MainClass.mxml:
>
>
>
>
>
>
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
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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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*
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
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
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
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
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
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()">
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
>
>
>
> ___
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
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
29 matches
Mail list logo