strict equality not just compares the value but the type also. I guess this
is more important when you rely on untyped variables, object.toString and
object.valueOf, as we did in AS1 and AS2. One situation, where strict
equality is used implicitely, is switch. At least this was the case in AS2.
Thanks Greg,
Okay so the distinction is to do with types rather than with identity.
In that case, how does one compare two objects by value?
For example if, I have two separate instances of a class which happen
to have the same value, as in
var foo:MyObject = new MyObject;
var bar:MyObject
I'm afraid, you have to write your own comparison methods.
Cheers,
Ralf.
On 12/17/06, Lachlan Cotter [EMAIL PROTECTED] wrote:
Thanks Greg,
Okay so the distinction is to do with types rather than with identity.
In that case, how does one compare two objects by value?
For example if, I have
I'm the only one having this problem?
I've never seen this happen. Maybe you can provide a more complete example?
Cheers,
Ralf.
On 12/17/06, bernardini.paolo [EMAIL PROTECTED] wrote:
I'm the only one having this problem?
--
Ralf Bokelberg [EMAIL PROTECTED]
Flex Flash Consultant based in Cologne/Germany
Thanks everyone... good i'm very i have lost some day on the net
when i have this good material on the harddisk
Devis
--- In flexcoders@yahoogroups.com, greg h [EMAIL PROTECTED] wrote:
fyi ...
Flexcab is a sample application in the samples.war. Look in
\samples\dataservice\flexcab
AND, re: the potential problem that Google punishes websites which in
whatever way tweak the display of the indexed data (for example by
adding a Flex UI layer on top), it would be TREMENDOUSLY helpful if
Adobe would approach Google and once and for all clarifies what's
allowed and what's
hi,
i would like to dynamically create a xpath expression.
(see my example)
var user =
User
Accounts type=LOAD
Account id=007 name=james bond/
/Accounts
Accounts type=OTHER
Account id=008 name=Goldfinger/
/Accounts
/User;
var type_selector = LOAD;
var result =
I am trying had translated messages (internationalization of the
validators) Flex builder to pt_BR
I tried to follow all of the steps posted in the list but it didn't work:
http://tech.groups.yahoo.com/group/flexcoders/message/31857
Will it be that changed some thing of the beta2 for the
Yes, it is as simple as the example above. Only one level under the root,
one attribute called id and there can only be one of each id in the
resulting structure. I guess it doesn't get anymore straightforward than
what I have so far.
On 12/16/06, Lachlan Cotter [EMAIL PROTECTED] wrote:
Hi
Hi to all,
i wish to build this scenario:
1)I have a simple Customer class (bindable with java pojo)
2)I wish to implement a CustomerEvent
3)ActionScript class for all CRUD operation
Then in my simple app i wish
private function doCusomterAdd():void{
I have found that you cannot bind through a singleton (using a static)
where the the binding gets created before the singleton. There is no
object to listen to in order to tell when the value of 'getInstance()'
changes.
-Peter
--- In flexcoders@yahoogroups.com, Paolo Bernardini
[EMAIL
I'm having problems moving an alert box. I've created a custom class that is
my remote error handler:
mx:method name=getSomething result=getSomethingResult(event)
fault=ErrorManager.remoteError(event)/
The ErrorManager.remoteError() method looks more or less like this:
public static
I'd suggest to invoke the popup from a view. IMHO, creating a popup or Alert is
something only views should be concerned about. Part 4 of my Cairngorm series
talks about this:
http://weblogs.macromedia.com/auhlmann/archives/2006/09/cairngorm_sampl_3.cfm#more
Basically, your command changes a
Hi Brian,
have you checked out the supplied SimpleFlipTransition.mxml? This
example shows usuage of States and Transitions with the distortion
effects. Generally, the idea is to first apply the effect and afterwards
the state change of the view (i.e. via currentState, ViewStack, manually
Thanks Ralf,
Is there a standard interface that one should implement to do this?
For instance,
class MyObject implements IComparable
{
public function compareWith (b:Object):Number;
}
something of that nature? Nothing obvious came up in the
Hi Guys,
Anyone know how I loop over properties of a Class that extends Obejct
Here is an example of what I mean...
if I go:
var oThisObject:Object = {one:one,two:two,three:Three};
I can do this:
for(var s:String in oThisObject){
trace(s);
}
and will trace out one,two,three
If I create a
Hi,
I try 2 upload scripts and I have a problem with my progressbar. It
completes before my file uploading is finished (a lot before, in 2
seconds max). So I write my own script from scratch, and monitor the
bytesLoaded and bytesTotal of the progress event of my filereference.
Same problems, the
Hey Alex,
Awesome to have the actual creator of the library reply to this post!
Great work by the way, it's a great starting point to advanced
graphical effects in Flex.
My particular problem is, is that my Widgets are based on one Panel
with the children changing (to configure them), as opposed
I am trying to call a Web Service that uses a document style WSDL. I
know the web service works because I am currently consuming it through
ActionScript 2.0 within Flash 8. But, now, I'm trying to convert over to
using Flex 2, and this is the one area that is stumping me.
In ActionScript 2.0,
wicked, works like a charm
On 13/12/2006, at 1:14 AM, Brian Dunphy wrote:
It is possible to do a remote debug -- this may not be the right way
but it seems to work for me:
- Compile your app using Ant, command-line debugger, or through Flex
Data Services so that it is a 'debug enabled'
Can you do a use example?
Thanks.
_
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome
de John C. Bland II
Enviada em: sexta-feira, 15 de dezembro de 2006 02:02
Para: flexcoders@yahoogroups.com
Assunto: Re: [flexcoders] Creating Events
Here is a custom event
There is a chapter in the Creating Components book on this topic:
http://livedocs.macromedia.com/flex/2/docs/1640.html
Stephen
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John C. Bland II
Sent: Thursday, December 14, 2006 11:02
is this at all possible? how could this be done?
I was told this same information a couple months ago by a Google VP and
engineer. Just keep the user experience in mind, that¹s not to say there are
those out there google bombing and trying to beat the system.
Mike Weiland
-
Mike Weiland
Aspen Tree Media
(877)659-1652 | FAX:
try this instead of what you posted, see if it works (I just ran it
and it looks like it loads properly now.:
?xml version=1.0?
!-- Simple example to demonstrate the WebService tag. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
!-- Make sure the Flex Data Services proxy-config.xml
Hi,
I have a urgent need for Flex 1.5 , 2.0 Developers in Bayarea, CA.
Please respond to [EMAIL PROTECTED]
Thanks,
Anand
My context is the following:
Windows 2000
Firefox 2.0
Flash Player 9.0.28
Two monitors with different resolutions.
When I display my application on my second monitor,
Capabilities.screenResolutionX and Capabilities.screenResolutionY
reflect the first monitor resolution (main screen) !!!
Note
Only have a quick second to throw this out there, but I usually use
the following syntax:
var op:Operation = ws.getOperation(AdminLoginOperation);
var loginObj:Object = new Object();
loginObj.username = Foo;
loginObj.pwd = Bar;
op.arguments = loginObj;
op.send();
You'll also want to make sure
So, is it really just me (my installation)?
Setting usePreloader to false works for everyone else?
On 12/11/06, Derek Vadneau [EMAIL PROTECTED] wrote:
I have a very simple MXML file that doesn't do anything if
usePreloader is set to false:
?xml version=1.0 encoding=utf-8?
mx:Application
Hi Uday,
FlexPrintJob cannot set the orientation. That can be done in the Print
control box when it pops up.
-sam
On 12/16/06, Uday M. Shankar [EMAIL PROTECTED] wrote:
Hi,
How do I set orientation with FlexPrintJob? FlexPrintJob is a wrapper
on PrintJob. But, all properties of PrintJob are
I'm not so sure this is true. If you are using the Flex Data Services
then yes, you need a JE container, however if you are not, ANY webserver
can serve up a Flex project. I've never used a JE container with Flex,
just been using Apache.
-Steve
Dimitrios Gianninas wrote:
You cant do it with
Hi David,
As I was recently reminded, you can only loop over properties this
was when they are dynamically created, as in your first example. To
enumerate the declared properties of your custom class, I believe you
need to use the describeType() or getClassInfo() methods. See
'performing
Yeah Maven!,
I'm a little surprised on the apparent low interest in the flex-maven front.
I am also flirting with the idea of building a plugin, but not yet...
not yet... tomorrow perhaps
I would really like to hear about Adobe's plans with respect to Maven.
It would be a very good way to make
hi,
i've been developing web RIA's using PHPmysql support for data for about 3-4
months. writing diffrent php files for every fetch type was sucking so i've
starting developing a new class communicating with my own php file to fetch
data. my class is so pre now but you may find some info about
Hi,
How can i center the text horizontally inside a row in a datagrid. I have
also created an itemrenderer which extends Label, but you can only align the
text vertically. I want it to be in center of the row.
__
Do You Yahoo!?
Tired of
37 matches
Mail list logo