Re: [flexcoders] Equality and strict equality

2006-12-17 Thread Ralf Bokelberg
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.

Re: [flexcoders] Equality and strict equality

2006-12-17 Thread Lachlan Cotter
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

Re: [flexcoders] Equality and strict equality

2006-12-17 Thread Ralf Bokelberg
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

[flexcoders] Re: Weird Binding Problem when using ModelLocator

2006-12-17 Thread bernardini.paolo
I'm the only one having this problem?

Re: [flexcoders] Re: Weird Binding Problem when using ModelLocator

2006-12-17 Thread Ralf Bokelberg
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

[flexcoders] Re: Flex DataService example

2006-12-17 Thread devisbalsemin
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

Re: Re: [flexcoders] Re: SEO Compatibility

2006-12-17 Thread Rich Rodecker
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

[flexcoders] dynamic xpath

2006-12-17 Thread Robert_Kuzelj
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 =

[flexcoders] Internationalization of the validators and other

2006-12-17 Thread rramires10
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

Re: [flexcoders] Re: Merge two XML documents

2006-12-17 Thread Collin Peters
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

[flexcoders] Pls can you help with DispatchEvent

2006-12-17 Thread devisbalsemin
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{

[flexcoders] Re: Weird Binding Problem when using ModelLocator

2006-12-17 Thread peterbfein
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

[flexcoders] Moving an Alert box

2006-12-17 Thread Shannon Hicks
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

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-12-17 Thread Alex Uhlmann
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

RE: [flexcoders] Question regarding Alex Uhlmann's DistortionEffects library

2006-12-17 Thread Alex Uhlmann
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

Re: [flexcoders] Equality and strict equality

2006-12-17 Thread Lachlan Cotter
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

[flexcoders] How to create a new FDS2 web application in Jrun4 server?

2006-12-17 Thread Steven Xu

[flexcoders] Making objects vs extending objects and their properties

2006-12-17 Thread David Harris
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

[flexcoders] progressbar problem when filereference upload

2006-12-17 Thread Philippe
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

Re: RE: [flexcoders] Question regarding Alex Uhlmann's DistortionEffects library

2006-12-17 Thread Brian Dunphy
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

[flexcoders] Call Document Style WebService in Flex 2

2006-12-17 Thread rd_grimes
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,

Re: [flexcoders] Re: Connect to FB2 Debugger from SDK compiled swf

2006-12-17 Thread Bjorn Schultheiss
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'

RES: [flexcoders] Creating Events

2006-12-17 Thread Marlos Carmo | 5clicks.com.br
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

RE: [flexcoders] Creating Events

2006-12-17 Thread Stephen Gilson
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

[flexcoders] utilizing twain driver to import images captured by the scanner?

2006-12-17 Thread hwy4191
is this at all possible? how could this be done?

Re: [flexcoders] Re: SEO Compatibility

2006-12-17 Thread Mike Weiland
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:

[flexcoders] Re: ASP.Net web service access problem

2006-12-17 Thread sdavisbscs
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

[flexcoders] Flex Developers Needed in Bayarea, CA

2006-12-17 Thread anand_cetas
Hi, I have a urgent need for Flex 1.5 , 2.0 Developers in Bayarea, CA. Please respond to [EMAIL PROTECTED] Thanks, Anand

[flexcoders] flash.system.Capabilities (AS3) / screen resolution / multiple monitors BUG ?

2006-12-17 Thread t_levieux
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

[flexcoders] Re: Call Document Style WebService in Flex 2

2006-12-17 Thread ben.clinkinbeard
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

[flexcoders] Re: Nothing runs when usePreloader is false

2006-12-17 Thread Derek Vadneau
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

Re: [flexcoders] FlexPrintJob PrintJob

2006-12-17 Thread Samuel Reuben
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

Re: [flexcoders] Flex project with apache server setup?

2006-12-17 Thread Steve Hagenlock
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

Re: [flexcoders] Making objects vs extending objects and their properties

2006-12-17 Thread Lachlan Cotter
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

Re: [flexcoders] Flex and Maven2 managed project

2006-12-17 Thread Aldo Bucchi
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

[flexcoders] why AMFPHP , i still can not get the point :(

2006-12-17 Thread Yiðit Boyar
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

[flexcoders] How to align text in middle in a row ?

2006-12-17 Thread arpan srivastava
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