Hi guys,
Is it possible to change the way Builder formats generated code? It doesn't
fit with the style I like and use, and I'm sick of changing it :)
-J
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
Guys,
what's the difference (if it exists) between:
public function foo() : * {}
and:
public var foo : Function = {};
Does it exist? I assume you can call Bar.foo() in both cases, and foo shows
up as a variable in describeType() in the second instance? Are there other
details I'm not aware of?
bject.
>
> I'm pretty certain you cant do,
> var foo:Function = {trace('foo')}
>
>
>
> On 29/04/2008, at 9:37 AM, Josh McDonald wrote:
>
> Guys,
>
> what's the difference (if it exists) between:
>
> public function foo() : * {}
>
> an
nction = ' case).
>
>
>
> And I don't think that the rules for what 'this' is, when the function
> executes, are the same.
>
>
>
> Gordon Smith
>
> Adobe Flex SDK Team
>
>
> ------
>
> *From:* flexcoders@ya
gt;
> function myfunction():void {trace('hi')};
>
>
> var foo:Foo = new Foo;
> foo.bar = myfunction;
>
> if you have
> class Foo
> {
> function bar():void {}
> }
>
> then you must override.
>
> But you have more flexibility if Foo is defined as a D
Guys, I'm looking for a good auto-complete control that works with an in
memory IList / Array. I've got and it's not sitting too
nicely with me. I can see a few pixels of the underlying combobox on the RHS
of the component, and I can't cajole it into defaulting to nothing selected.
Any suggestio
-
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Monday, April 28, 2008 8:06 PM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Advanced(?) Actionscript question
>
>
>
> Thanks for that info.
>
The whole point of MVC is that the model knows *nothing* about the view.
Which is one of the reasons UM is a great extension to Cairngorm.
-J
On Wed, Apr 30, 2008 at 8:46 AM, Bjorn Schultheiss <
[EMAIL PROTECTED]> wrote:
> I think the problem is that the current flex framework architecture
> d
to Cairngorm UM released, I'm still not
> sold on the benifits of all of them or the implementation.
>
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > The whole point of MVC is that the model knows *nothing*
Hey guys,
The best information I can get from Flex when I get a SOAP fault seems to be
"Error #2032: Stream Error" which seems to me to be rubbish - there's a SOAP
fault being sent back to the client which I have verified with Charles, but
the header response is a 500 - does Flex use this to decid
Gah! Never mind, I've managed to dig up the fact that no, Flex can't handle
500 codes becuase the Flash Player chucks the body :(
-J
On Wed, Apr 30, 2008 at 10:37 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> The best information I can get from Flex when
, etc
>loginForm.enabled = true;
> }
>
> private function handleLoginFault( event:FaultEvent ):void
> {
>// handle failure, etc
>loginForm.enabled = true;
> }
>
>
> HTH,
> Ben
>
>
> On Tue, Apr 29, 2008 at 8:01 PM, Josh McDonald <[EMAIL PROTECT
Cheers!
-J
On Wed, Apr 30, 2008 at 1:27 PM, Ben Clinkinbeard <
[EMAIL PROTECTED]> wrote:
> http://code.google.com/p/flexcairngorm/source/browse
>
>
>
> On Tue, Apr 29, 2008 at 11:15 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
>
> > Is the source browea
his allows the execeptions to make it through to
> flex. Perhaps there are times when the 500 shouldn't be changed, I'm
> not sure.
>
> The end result is that the exeptions make it back to the fault
> handler code in Flex, as I would expect.
>
>
> --- In flexcoders@yah
Hi guys,
Is anybody here using Oracle SOA suite? We're trying to come up with the
best solution to the problem of http/500 codes here, and while it's easy to
wrap an endpoint in a ServletFilter for XFire on Tomcat, we're not sure of
all our options or the best way to do the same on Oracle. How hav
This thread is surreal.
On Thu, May 1, 2008 at 2:46 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
>That is an ItemPendingError. You can read about it in the docs and see
> how we handle it in our source code.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[E
I'm fairly certain that there's no voodoo to automatically delete nodes from
your XML, you need to do that yourself in your drop handler.
-J
On Thu, May 1, 2008 at 4:36 PM, Rafael Faria <[EMAIL PROTECTED]>
wrote:
> If i'm dragging an element from one tree to another. How do i get the
> updated
ally?!
>
> Thanks
>
> --- In flexcoders@yahoogroups.com , "Rafael
> Faria"
>
> <[EMAIL PROTECTED]> wrote:
> >
> > I wouldn't say "voodoo" but if you drag an item from tree 1 to tree 2
> > the dataprovider should not contain the
scribe this. Are the XML
> structures the same?
>
>
>
> Tracy
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Thursday, May 01, 2008 2:46 AM
> *To:* flexcoders@yah
drop_8.html
>
> Tracy
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Thursday, May 01, 2008 5:05 PM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] D
Hey guys,
I googled this and can't seem to find where I'm going wrong. I've got a list
with an inline itemRenderer, with variableHeight turned on, but all
non-visible items are losing their height. What I mean is that when you
scroll down, all revealed items having standard list-item height, and w
don't know how to get an updated tree after i move the node...
>
> or there is any easy way to remove a node from an xml?!
>
> thanks
>
> rafael
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
>
always have to supply a custom measure() method that uses the
> explicitWidth of the renderer to measure the Text properly.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:*
The original question was about how to emulate that restriction, not get
around it. Although the motivation for such escapes me!
On Fri, May 2, 2008 at 4:09 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
>You can't instanitate Menu from MXML either.
>
>
>
> Instead of extending Alert, just use a T
Hi guys,
I've got something that should be going out like this:
ALLOC005is1
Noveaux
but what I'm getting in my message is this:
ALLOC005is1,Noveaux
Is this something you've come across before? Any ideas? Even any ideas what
I should be looking for?
--
"Theref
Hi guys,
I'm 99% sure I've located a bug in Flex's XML encoding for SOAP requests
that's mangling my into a single element,
and I'd like to know who I need to talk to to help me fix it, so I can get
on with my work and submit a patch so everybody else can use it too.
Please note that I'd really
Update: I filed a bug, and posted a fix. Shout out to Doug for his monkey
patching info :)
http://bugs.adobe.com/jira/browse/SDK-15484
-J
On Wed, May 7, 2008 at 11:37 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I'm 99% sure I've located a bug in Fle
for each(var value in object) {}
and
for (var key in object) {
var value = object[key];
}
-J
On Wed, May 7, 2008 at 3:27 PM, timgerr <[EMAIL PROTECTED]> wrote:
> I have this object and I am not sure what is in it. So I do this
> for each (var somthing:String in myObject){
> trace(somhting
Guys,
Is there some easy way to tell if an object is dynamic without wrapping it
in a try-catch and just messing with it?
Cheers,
-J
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
> flash.utils.describeType() returns XML describing the object.
> The root node has an attribute "isDynamic"..
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Guys,
> >
> > Is there some easy
The stream error is what you get when the server returns a 500 fault. Try
using a proxy like Charles to see what the actual data returned from the
server was, there's usually better information in the response, but the
browser doesn't let Flash see it.
-J
On Wed, May 7, 2008 at 9:45 PM, Deniz Dav
icated nothing wrong with the response, go figure.
>
> search the archives, its not a uncommon subject.
>
> DK
>
> On Wed, May 7, 2008 at 9:40 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
>
> > The stream error is what you get when the server returns a 500 fault.
Hey guys,
Is it possible to define (non visual) components in MXML that are protected
instead of public, but can still be referenced by the ID (or a name, or
something)?
Cheers,
-J
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 2
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys,
> >
> > Is it possible to define (non visual) components in MXML that are
> protected
> > instead of public, but can still be referenced by
adobe.com/2006/mxml"; xmlns="*"
> > width="400" height="300">
> >
> >
> >
> >
> >
> >
> >
> >
> > testcmp.mxml
> > http://www.adobe.com/2006/mxml"; width="400"
> > height="300">
>
I'd guess decoder.decode() - You might need to provide it with the
definitions built up from various XSDs though. I'd put some breakpoints on
it, use a real service, and look into what it's doing normally.
-J
On Thu, May 8, 2008 at 1:27 PM, securenetfreedom <[EMAIL PROTECTED]> wrote:
> Althoug
I'd go a step further and recommend disabling your UI with a modal
"Loading..." dialog until you receive LOAD or FAIL from the web service
initialisation (load() or whatever it is that kicks it off), unless there's
a time-consuming user task to be performed before anything can be sent to
the server
Just create a new actionscript class with the same variable names (as
publics), and have it extend EventDispatcher like so
class MyDTO extends EventDispatcher {
public var REQ_CW : Object;
//..etc..
}
Then when you get your result object, just do this:
bindableResult : MyDTO = new MyDTO();
I don't think ObjectProxy can be bound to with the dynamic properties?
-J
On Thu, May 8, 2008 at 3:23 PM, Anirudh Sasikumar <
[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm not sure if this will solve what you are trying to accomplish, but
> try using an ObjectProxy on the flex side instead of Object
There used to be a URL where you could point your browser and it'd tell you
off the bat whether or not you're using the debug player, is that still
available somewhere? It's something I could probably use from time to time
when dealing with giving people "work in progress" SWFs as well as to help
p
> wrote:
> In your example, would 'decoder' be of type SOAPDecoder?
> To what class does the method decode() belong?
>
> Jeff
>
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > I'd g
This would imply that courseCat is null, or perhaps if the exception is
actually being thrown inside the SDK code, it could have a null
dataProvider? I'm not sure about that second possibility though.
-J
On Thu, May 8, 2008 at 3:36 PM, hoytlee2000 <[EMAIL PROTECTED]> wrote:
> private function
When you're assigning to catList, it's no longer the dataprovider for
courseCat, courseCat's provider is whatever catList *used* to be.
-J
On Thu, May 8, 2008 at 4:03 PM, hoytlee2000 <[EMAIL PROTECTED]> wrote:
> To clarify
>
> catList is the dataprovider for a combobox whose id is courseCat. S
uld love to do this:
>
> import mx.rpc.soap.SOAPDecoder;
> decoder:SOAPDecoder = new SOAPDecoder();
> serializedConent:SOAPResult = decoder.decode('[xml
> stuff]');
>
> I appreciate your help thus far...really! I just need a kick in the
> right direction.
>
Using transparency causes some sort of "mode switch" inside Flash. It used
to be one of the tricks you could do in order to get around a bug that was
in the player for years where movement over the top of a bitmap would cause
parts of it to shift around by a few pixels. So my long-winded point is t
?
On another note, an entire viewstack inside a repeater seems like a recipe
for memory usage to me. Are you sure you couldn't at least use a list? It
instantiates less components and scrolls by changing renderer.data
-J
On Fri, May 9, 2008 at 12:25 PM, kalpkat9 <[EMAIL PROTECTED]> wrote:
>
Hey guys,
I've been reading a lot about explorer not being so nice with Flex / Flasg
apps that use up a bit of memory, and I'm wondering at what kind of
thresholds this starts to become a problem? Is it mainly about SWF size, or
how loose you are with your allocations and leaving dead references a
und
> (as in eat large quantities of) webservices/servlets/etc, and… well you get
> the point. Buy some books… lots of em. Take a (qualified) nerd/geek out to
> lunch. Ask to see cool things people 'talk' about and then ask to take a
> look at the source.
>
>
>
&
" if you want a G.I. Joe with kung-fooBAR grip. Don't settle for 10 Malibu
Ken dolls with pasted on peach-fuzz beards"
I love it!
On Fri, May 9, 2008 at 2:10 PM, Rick Winscot <[EMAIL PROTECTED]> wrote:
>Have you considered writing some of your libraries as ActionScript
> (only) libraries? Ju
Do yer' nuts hurt? Hmm… cause I just kicked em' There are more answers than
> questions these days – enough in this earth for every/any one to have more
> than a fair share of light and knowledge. The only real obstacle is not
> coming to the table hungry.
>
>
>
> Ric
Apologies to the list, I meant to address that off-list!
-J
On Fri, May 9, 2008 at 3:20 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Say what?
>
> The only point I was trying to make was that I already know about SQL and
> such. And the reason I can't just swit
I assume you're the Doug he's talking about? I didn't know you lived around
here, should I?
And is there intermediate - advanced training going on in Flex in Brisbane?
I could probably get the powers-that-be to spring for some in the new
Financial year when we're less rushed :)
-J
lking about, but if you're looking for
> training, local info, etc, ask on the flexaussie mailing list.
>
> http://groups.yahoo.com/group/flexaussie
>
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > I as
x data objects, you can really eat up tons of memory and be
> data-bound. How you optimize for each scenario is pretty straightforward,
> but you have to know which scenario you are in, and the Profiler is not
> going to fully measure the memory that goes to code and display objects.
>
>
Does the SDK open up developer access to the weak references?
-J
On Fri, May 9, 2008 at 5:33 PM, Gregor Kiddie <[EMAIL PROTECTED]> wrote:
>From the docs…
>
> "Unloads the module. Flash Player and AIR will not fully unload and
> garbage collect this module if there are any outstanding referen
Wouldn't it be easier to just draw a black rectangle, then draw the bitmap
on top?
On Sat, May 10, 2008 at 2:10 AM, toofah_gm <[EMAIL PROTECTED]> wrote:
> I figured out how to get what I wanted using BitmapData.threshold:
> image.bitmapData.threshold(image.bitmapData,
> image.getRect(image), ne
Is there any support in Flex at the moment for WSDLs with multiple
tags? We're having a problem with our ESB that it's adding a second
containing ESB-specific voodoo, and it's before the normal SOAP
binding in the WSDL, and Flex is trying to use this one, and *kablammo* it
can't build any request
Hey guys,
let's say I have a Label I'm creating programmatically, and I'd like to have
some default styles (like a big red font), but still allow them to be
overriden with the stylesheet - can it be easily done?
Cheers,
-J
--
"Therefore, send not to know For whom the bell tolls. It tolls for th
t; .labelStyle {
> color: #00ff00;
> }
>
>
>
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys,
> >
> > let's say I have a Label I'm creating programmatically, and I'd
> li
Hey guys,
Can anybody help me on this? I'm having the same thing. I don't want to turn
off all warnings, they're very useful sometimes (like "BAR won't be able to
detect updates to FOO" when you forget [Bindable], but I can't see these for
all the damned CSS warnings I get when editing a big proje
In case this bites me in the near future (everything else SOAP does), what's
MTOM?
-J
On Tue, May 13, 2008 at 8:41 AM, Robert Csiki <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Is MTOM still unsupported, in Flex3? I'm still getting the same type of
> error, looks like Flex can't decode SOAP resp
ias…
>
> -show-unused-type-selector-warnings
>
>
>
> Rick Winscot
>
>
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Monday, May 12, 2008 6:18 PM
> *To:* flexcoders@yahoogroups.com
> *Subjec
My guess is you'll have to keep a copy of the new text in your dataprovider,
as it's done that way in order to re-use the renderers for the rows and cut
down on memory usage.
On Tue, May 13, 2008 at 4:38 PM, gaurav1146 <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a datagrid to which I am adding a
will be filtered.
>
>
>
> -show-unused-type-selector-warnings=false
>
>
>
> Details at: http://www.quilix.com/node/8
>
>
>
> Rick Winscot
>
>
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
&
I was thinking if there could
> be any other way where I could read the current value from the textbox
> and set the new textbox to this value without storing the user entered
> values in an array.
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTE
Not tested, but should be what you want
var s : String = ",AA,BB,CC,DD";
var regex : RegExp = /^\s*,/;
s = s.replace(regex,"");
-J
On Wed, May 14, 2008 at 3:34 AM, Alex Harui <[EMAIL PROTECTED]> wrote:
>What code did you use? A regular string replace sho
Hey guys,
Since UIComponent.measure() is protected, does the container invoke it via a
round-about way, or is it simply called from a ResizeEvent.RESIZE handler
somewhere in UIComponent?
-J
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:
--
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13, 2008 4:33 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Quick question - who calls UIComponent.measure()?
>
>
>
> Hey guys,
&
Shlomic - Check the browser process size with taskman (or whatever it is in
Windows these days) rather than the profiler, while using the debug player.
See if it grows too much; if not, you've got nothing to worry about. If so,
file a bug, it's the only way these things will get fixed.
-J
On Wed,
- who calls
> UIComponent.measure()?
>
> It is called by LayoutManager via validateSize()
>
> ____
>
> From: flexcoders@yahoogroups.com [mailto:
> flexcoders@yahoogroups.com ] On
> Behalf Of Josh McDonald
> Sent: Tuesday, May 13, 2008 4:33 PM
> To: flexc
Like I'm an unpopular Digger, "Title says it all".
-J
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
m:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13, 2008 8:41 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Classes defined in MXML - are they dynamic? Can
> they be?
>
>
>
> Like I'm an
> dynamic nature was a real pain in the ass. It was a huge step forward to go
> back to working with stricter languages.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tu
uot;. It is
> possible to create invalidation loops where by the time we finish
> validating, something is invalidated again.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13
If it's not giving away any business secrets, why on earth would you want to
subclass Dictionary? Flex already has some sort of built in support for
singletons, I believe.
-J
On Wed, May 14, 2008 at 2:43 PM, Mayur Bais <[EMAIL PROTECTED]> wrote:
> Any specific reason why we should not extend d
addToMemberlist(obj:Object):void {
>for(var i:int=0;i var tempMember:MemberObject = new MemberObject()
> tempMember.fill(obj[i]);
> appendtomemelist(tempMember);
> }
> }
>
>
> /**
> *Set instance of
You'd have to have a javascript function that opens and resizes the window,
and then sets the href to your url, and hopefully the user has those
resizing functions disabled anyway, coz they're evil :)
What i mean is a URLRequest("javascript:doJavaScriptCode()") instead of the
url of the PDF itself
var tempMember:MemberObject = new MemberObject()
> tempMember.fill(obj[i]);
> appendtomemelist(tempMember);
> }
> }
>
>
> /**
> *Set instance of memberList null on logout
> */
> pub
-
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13, 2008 9:46 PM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Quick question - who calls
> UIComponent.measure()?
>
>
mark it final.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13, 2008 10:41 PM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] error while exten
at 3:58 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
>Sure. Thanks.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Tuesday, May 13, 2008 10:53 PM
>
> *To:* flexcoders@
I'd just bind those properties to (model.comparisons.length > 0) in the
MXML, or if the components are instantiated in actionscript, use the
BindingUtils.bindSetter() function.
-J
On Wed, May 14, 2008 at 8:13 PM, Rubeel <[EMAIL PROTECTED]> wrote:
> hi All,
> i am trying to do an action after t
Nuts to enums, typesafe metadata! :D
On Thu, May 15, 2008 at 5:16 PM, Marcus Engene <[EMAIL PROTECTED]> wrote:
> Gordon Smith wrote:
> >
> > http://labs.adobe.com/technologies/flashplayer10/
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> >
> Hurra! I see you have h/w support
Hi guys,
Disclaimer: this is probably a stupid question, but I've been trying to
figure this out for way too long!
I've got some code that does all sorts of things to this.foo, this.bar, and
this.baz etc etc. At the moment I'm dispatching several standard
PropertyChangeEvents as I change fields.
"populated"));
-J
On Fri, May 16, 2008 at 4:30 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Disclaimer: this is probably a stupid question, but I've been trying to
> figure this out for way too long!
>
> I've got some code that does all
same
> event. Just depends on exactly what the use case is, if your class is set up
> with the default Binding events you could use describeType in your updateAll
> method to dispatch a PropertyChangeEvent for each property in your class.
>
>
> On Fri, May 16, 2008 at 1:36 AM, Josh
e result of the describeType so that it will only happen
> once on each qualified class name as that method can be pretty heavy.
>
>
> On Sun, May 18, 2008 at 7:42 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
>
>> Does this mean I will no longer receive any automatic upda
Java 6 on mac is currently incompatible with SWT, which is what Eclipse uses
for its GUI, so It can't be done.\
-J
On Mon, May 19, 2008 at 9:15 AM, Rich Rodecker <[EMAIL PROTECTED]> wrote:
> Not sure if this is possible or not, but since apple released the Java 6
> update recently, is there a
By the way, is this Mac only, or is SWT just not J6 ready anywhere?
-J
On Mon, May 19, 2008 at 11:30 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Java 6 on mac is currently incompatible with SWT, which is what Eclipse
> uses for its GUI, so It can't be done.\
>
> -J
>
If you call addItem(), updateItem(), etc, the PropertyChangedEvent is
dispatched by the IList implementor (ie, ArrayCollection).
But, if you have an IList of objects, and you do this:
var company : Company = companyList.getItemAt(3) as Company;
company.name = "New name";
then you'll only get the
Hey guys, I'm getting this on MXML files referring to classes using
[ArrayElementType] rather than in the classes themselves:
[ArrayElementType](CompositeMapping)]: type CompositeMapping is unavailable.
The CompositeMapping class is definitely referenced from the MXML file
though:
Guys,
Say I have this:
function findMeAClassMagic() : Class { ... }
var foo : Class = findMeAClassMagic();
Can I determine whether or not the class represented by Foo is a Bar or a
subclass of Bar, without attempting to call a new foo() and hoping foo has a
zero-argument constructor inside a tr
quot; initialize="createCompanies()">
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ***Company.as****
> package
> {
> public class Company
> {
> public function Company()
>
ote:
>Try getQualifiedClassName/getQualifiedSuperClassName
>
> --
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Monday, May 19, 2008 12:57 AM
> *To:* flexcoders@yahoogroups.com
> *Subj
Alex, if you bind to a non-bindable property on an object that is itself a
bindable property (as in this case), despite the warning will the compiler
generate a binding that updates when the entire object is updated? Ie will
it update when range changes? Or will nothing be generated at all?
On a s
You'll just need a custom labelfunction on your DataGridColumn:
function myLabelFunction(item:Object, column:DataGridColumn):String {
return item[column.fieldName] == 0 ? "" : item[column.fieldName]];
}
Keep in mind that's typed in gmail, not Flex, so it may not work. Should be
close though.
-
(sorry if this is a dupe, Yahoo gave me one of its occasional "no rcpt from
gmail" messages. Yay!)
Hey guys,
Quick question: I'm fairly certain this is OK, but I want to double check so
as to not open my employers up to any troubles down the road -
If I make a modification to a source file inclu
It should be column.dataField
Like I said, it was from memory :)
-J
On Wed, May 21, 2008 at 12:56 PM, markgoldin_2000 <[EMAIL PROTECTED]>
wrote:
> column.fieldName gives me an error.
>
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROT
If your encryption can be broken just because somebody has the source to
your algorithm, then it's worthless already =) That's why we've got standard
algorithms that rely on keys in the first place.
-J
On Wed, May 21, 2008 at 2:25 PM, kenny14390 <[EMAIL PROTECTED]> wrote:
> So the bottom line
Binding to read-only accessors does work with custom events:
--- testbed.xml
http://www.adobe.com/2006/mxml"; layout="absolute"
xmlns:ns1="*" >
--- TestBed.as
package
{
import flash.events.Event;
import flash.events.EventDispatcher;
801 - 900 of 1227 matches
Mail list logo