Re: [flexcoders] Flex Mac

2006-03-27 Thread John
Hi,Thanks so much for your help:)I had to transfer the file to the frameworks directory.Your solution worked for the mxml file, but not for the actionscript version.It did compile in the frameworks directory, but no swf was created:(I will keep trying, but thanks so much for your hep. I am

Re: [flexcoders] Flex Mac

2006-03-27 Thread John
Hi I got it to work, I am so happy`-`The problem was my sloopy actionscript, I am really new!I was wondering the standalone flashplayer(came with Studio 8), could not display the swf file, so I put it on the web(http://www.johnbarrett.net/HelloWorld.swf) and I can see that it does say "Hello

Re: [flexcoders] Flex Mac

2006-03-27 Thread Alisdair Mills
glad you got it working john. the standalone player for 8.5 mac can be found somewhere in the windows flex builder 2 exe installation. would make sense for this to be available for download from labs - but i don't think it is currently.cheers, AlOn 27 Mar 2006, at 10:01, John wrote: Hi I got it

RE: [flexcoders] [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-27 Thread Steven Webster
Just to back up Alex's excellent email here. When Cairngorm used to be used for Flash-based RIA we would use Flash Remoting, Open AMF, etc with success. If you do a search on www.richinternetapps.com (or search my previous emails on Flexcoders) you'll find a reference to the

RE: [flexcoders] Re: Flex Messaging or J2EE Messaging

2006-03-27 Thread Steven Webster
Im currently crying on the plane back from Europe. Guess Matt didn't get that upgrade... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

Re: [flexcoders] Flex Mac

2006-03-27 Thread John
Hi Alisdair,Yeah I am stoked!I think that when I compiled the actionscript file is how I got the swf. I will have lots of reading to do, and to look at the samples(now that I can compile them). I did look all over labs, but I could not find the standalone flash player 8.5 for mac. Tomorrow, I

[flexcoders] why is trace(1+0.9+0.7+0.3) = 2.8999999999999995

2006-03-27 Thread Dima Ulich
Hi All, I was working with number recently and noticed this weird behaviour trace(1+0.9+0.7+0.3) returns 2.8995; Did anyone else ever seen such thing? Is it a bug? Dima Ulich __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

Re: [flexcoders] [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-27 Thread Oriol Gual
Just to make thinks easier to others: PDF chapter: http://www.richinternetapps.com/archives/AS2_DesignPatterns_for_RIA.pdf Code: http://aspatterns.iterationtwo.com/downloads/as2patterns.zipI hope you meant that pdf Steven.Oriol. 2006/3/27, Steven Webster [EMAIL PROTECTED]: Just to back

[flexcoders] ExternalInterface and IFrame

2006-03-27 Thread Tony Pujals
I wanted to create an dialog as an html form in an iframe rather than opening a separate browser window for uploading image files. I also wanted to create an html page preview using an iframe as well. I spent an entire Sunday working at this and none of my efforts have succeeded satisfactorily. I

[flexcoders] Beta 2 CF connectivity problems

2006-03-27 Thread Doug Hughes
Hello, Im just getting started with flex 2 and Ive run into a problem I cant get past. Im trying to create a project that will let me use AMF3. I dont want to use web services and Im not doing anything related to the enterprise services. Ive installed the mystic update over CF

[flexcoders] RE: ExternalInterface and IFrame

2006-03-27 Thread Tony Pujals
I want to follow up and mention that I'm aware FileRerence before I get a lot of suggestions to use it ;-), but I had other reasons why I wanted to create a form within an iframe. In any case, I'm particularly intrigued by the idea of displaying content in an iframe managed by an mxml component,

[flexcoders] Flex 2 Beta 2

2006-03-27 Thread Harald Dehn
Hello, are there any predefined Cursors I can use with Cursormanager, for example a four-way arraow? I would like to change the cursor during resize and move operations. Harry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] FlexUnit error

2006-03-27 Thread Sönke Rohde
Hi, I am just trying FlexUnit (http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:lib raries#FlexUnit) like in the example by Darron Schall (http://www.darronschall.com/weblog/archives/000216.cfm) and I get the following error: ReferenceError: Error #1065: Variable

RE: [flexcoders] Flexbuilder 2.0 missing mx:link ?

2006-03-27 Thread Alex Uhlmann
Thanks Paolo, I'll make sure this gets to the right people. BTW. you could report this bug here as well. www.macromedia.com/support/email/wishform/ Best, Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ,

RE: [flexcoders] Beta 2 CF connectivity problems

2006-03-27 Thread Benoit Hediard
What do you give as the root folder and the root url? It should be the root of your coldfusion instance. Ex. : C:\CFusionMX7\wwwroot and http://localhost:8500 (if you're using the integrated http server) FB2 will then create a folder "flex" in WEB-INF and create the appropriate

[flexcoders] flex2 accessibility

2006-03-27 Thread Alisdair Mills
Hi, I am hoping someone could point me to any documentation on flex 2 accessibility. I notice there is an accessibility option for the compiler - but this is off by default. Is this off because it is currently a developer beta? What difference does it make to the swf if you compile with

Re: [flexcoders] why is trace(1+0.9+0.7+0.3) = 2.8999999999999995

2006-03-27 Thread Michael Schmalle
I could swear there was a thread on this precision issue that Gordon Smith answered and it did have to do with the trace function. Search the archives, I bet you will find it. Peace, MikeOn 3/27/06, Dima Ulich [EMAIL PROTECTED] wrote: Hi All, I was working with number recently and

Re: [flexcoders] [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-27 Thread Scott Langeberg
Alex,Do you think this approach would apply to socket connections as well. E.g. XMLSocket, or Binary Sockets?My issue is that these socket connections would need to broadcast dataReceived() events. These should be caught by the FrontController, correct? Does it make sense for the ServiceLocator

RE: [flexcoders] [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-27 Thread Steven Webster
Remember that not everything needs to be shoe-horned into a Cairngorm provided class. I'm going to discuss around a few issues here, and hopefully coalesce a point by the end. First of all, the front controller will tyipcally listen for *user* gestures; button clicks, drag and drops, menu

RE: [flexcoders] Re: Weird Gradient Fill error

2006-03-27 Thread SCOTT FANETTI
Roger - I posted a few days ago about the continued gradient fill funk in Beta 2. Do you have any more information about why these gradient fills continue to fail to transcode?this is the link to the archived message:http://groups.yahoo.com/group/flexcoders/message/32258Roger Gonzalez [EMAIL

[flexcoders] [Flex 2 beta 2] Location Problem ? Duplicate Problem ?

2006-03-27 Thread William Lambé
Hello everybody, I have a little question how is this error possible?: «Can not resolve a multiname reference unambiguously. flash.net:Responder (from C:\Program Files\Adobe\Flex Builder 2 Beta 2\Flex Framework 2\frameworks\libs\playerglobal.swc(Responder)) and

[flexcoders] flex2 : IMenuDataProvider replacement

2006-03-27 Thread bhaq1972
Hi Whats the replacement for IMenuDataProvider. Specifically, what do i replace the methods addMenuItem(), removeMenuItemAt() with. thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Re: Flex Beta 2 - Loader not loading SWF 100%

2006-03-27 Thread Bruno Martins
Yes I extend the loader to create this new component. I had the same problem you have. The document is undefinedon complete event, but a fill seconds after they appear so a put a interval to manipulate the content. I don't like this solution but I'll try a better one. If you have some idea,

[flexcoders] error : multiname reference : FORGET

2006-03-27 Thread William Lambé
Sorry guys, I dont have the reflex to go in the archive Sorry to disturb you with basic problem I found it in the archive. When I will find a good solution to use amfphp to Cairngorm, I will tell to you;-) Bye, William. -- Flexcoders Mailing List FAQ:

Re: [flexcoders] [Flex 2 beta 2] Location Problem ? Duplicate Problem ?

2006-03-27 Thread Oriol Gual
I had the same problem, you should import either flash.net.responder or org.nevis.cairngorm.business.Responder. If you want to import both of them, change new Responder(.. to new flash.net.Responder(.. or new org.nevis.cairngorm.business.Responder(.. to let Flex know what Responder are you

[flexcoders] Re: Flex2 - More Scroll Bar problems (DataGrid)

2006-03-27 Thread thunderstumpgesatwork
I guess I'll repost once I've upgraded to Beta2... just haven't because of time critical demos... maybe I should just bite the bullet and stay up late tonight... Thanks. Thunder --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/25/06, thunderstumpgesatwork [EMAIL

RE: [flexcoders] Inter - component communication

2006-03-27 Thread Tracy Spratt
But do not use _root. It will probably not be supported forever, and the best Flex practice is to use mx.core.Application.application. Assign that to a variable if it is too long. Do not bind to this kind of reference, it is not reliable, but direct calls are fine. You can also pass

[flexcoders] Re: Flex2 - Bug with chart Legend and ScrollPolicy

2006-03-27 Thread thunderstumpgesatwork
I did Anchor both the left and right sides of the HBox. Maybe the appearance of the scrollbars for the HBox caused the outer canvas scrollbars to appear too? I'll check this out again when I upgrade to Beta2. thanks for the info. Thunder --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL

[flexcoders] Flex 2: WebServervice call sometimes swaps parameters

2006-03-27 Thread Tobias Patton
Hello list; My application invokes a .NET web service that takes two string parameters (SessionID and Query). On occasion, I get an error. When I look at the RPC debug information, the SOAP envelope shows that the values for two parameters have been swapped (ie. SessionID gets the

Re: [flexcoders] Flex 2: WebServervice call sometimes swaps parameters

2006-03-27 Thread Tim Sawyer
Yep, we have that too. We were told that doc/lit support was a bit flaky in Flex 2. We solved it by changing our webservice (we use jibx-soap to a Java back end) to be unordered. Search for the mail below for full details of the problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
I'd like to POST some XML requests via HTTPService from my Flex app (which is served from e.g. http://xyz.com) to a .cgi server running on my localhost. The cgi server is part of an interface to an existing Java application. It takes XML requests via HTTP POST and returns XML response via

RE: [flexcoders] Flex 2: WebServervice call sometimes swaps parameters

2006-03-27 Thread Tobias Patton
Hi Tim; Thanks for your reply. I'm not sure that we're experiencing exactly the same problem. As far as I know, our web server (ASP .NET) does not rely on the order of parameters in the SOAP envelope. The problem for us is that the values passed to the server are being placed in the wrong SOAP

[flexcoders] How to have only first series of phones in Flex 2 Flexstore sample display?

2006-03-27 Thread porsche_911_1978
I'm new to flex so I have been playing with the Flexstore sample in Flex 2 Beta 1. What I'm trying to figure out is how have the first series of phones (series 3000) to be displayed instead of all of them when the store first opens. Everything that I have tried has not worked and was hoping

[flexcoders] SOLVED: Flex2 - More Scroll Bar problems (DataGrid)

2006-03-27 Thread thunderstumpgesatwork
OK, fixed this one... I was setting the scrollPolicy in the constructor of my cell renderer; moving it to an override of commitProperties fixed it. Is this an appropriate place to put something like this? If not, where should this be? A similar question, I'm setting some visual properties

[flexcoders] Re: Flex 2: WebServervice call sometimes swaps parameters

2006-03-27 Thread thunderstumpgesatwork
We also had this problem. Our initial work-around was to use a single complex object to hold all parameters for an operation. Then once Beta1 came out, we've gone to using RemoteObjects and this has worked for us. best of luck, Thunder --- In flexcoders@yahoogroups.com, Tobias Patton [EMAIL

[flexcoders] DataService mapping resolution problem.

2006-03-27 Thread João Fernandes
Hi there, Using the de Contactmanager as example, I added to my CF dataService destination a relationship one-to-many mapping to the employee destination setting it to the employees variable properties metadata identity property=Companyid/ one-to-many property=employees

[flexcoders] Unable to iterate over results of a call to DataService.fill()

2006-03-27 Thread jeffrey_lage
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* creationComplete=init() mx:Script ![CDATA[ import mx.collections.ListCollectionView; import mx.collections.ICollectionView;

Re: [flexcoders] Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
Relating to the potential timeout issue, I think most likely HTTPService doesn't timeout on its ownHowever, my Java application could crash and reboot so I would have to make sure HTTPService would time out if it's loses connection with the server... No idea how to do that yet ...Any

[flexcoders] Flex 2 Beta 2 and Tomcat woes

2006-03-27 Thread Chris Scott
Flex 2 Beta 2 does not like me! I have a few Java services defined in flex-remote-service.cml, and I'm deploying to Tomcat 5. If I deploy my mxml files, they compile on the server no problem and run fine. However, no matter what I try I can not get Flex builder to compile them and deploy

[flexcoders] Re: ExternalInterface and IFrame

2006-03-27 Thread Doug Lowder
It's up to the loaded site itself to decide whether it supports being loaded in an IFrame in this way. For example, http://www.cnn.com makes a script call to top.cnnUpdateCSI (sendRawHtml, docId), which may or may not have been related to the weird behavior you described but sure resulted in

RE: [flexcoders] flex2 : IMenuDataProvider replacement

2006-03-27 Thread Joan Tan
You should add a menu or remove a menu through the dataProvider collection. You would do something like this: var newItem:XMLList = node label=new branch 1node label=new leaf 1 data="" leaf data 1 //node/; IList(myMenu.dataProvider).addItem(newItem); Or

[flexcoders] Re: CairngormLogin sample on Flex 2.0 beta 2

2006-03-27 Thread sof4real03
After reading through Oriol's thread, I'm assuming the change required would be the following: public function getView(workflowState:Number):Container instead of UIComponent. It will then compile and adhere to the strict type checking. Regards, Sof --- In flexcoders@yahoogroups.com, William

[flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread Dave Wolf
The player is simply piggy backing on the HTTP stack of the browser. I think you will find in most cases the browser will detect the half dead socket when data is moving on the socket and generate an error HTTP status back. Things get a little harrier when you have an idle yet persistent

RE: [flexcoders] Cairngorm problem

2006-03-27 Thread Jonathan Miranda
So.I stump everyone here yet? J _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c

[flexcoders] Flex 1.5 :: Webservice Fault and useProxy setting

2006-03-27 Thread Pablo Apanasionek
Hi all. I'm having some trouble getting the fault detail from a Webservice call, using Flex 1.5, Axis-compiled service and the useProxy=false setting. With the proxy setting "on", the exception raises in the fault event and the detail of it can be found on the faultstring property.

RE: [flexcoders] Flex 1.5 :: Webservice Fault and useProxy setting

2006-03-27 Thread Carson Hager
You can't get the fault without the proxy. This is a limitation of the flash player 8.0 and earlier. A web service fault returns an http 500 and this http status code causes the player to stop receiving data. The proxy gets around this by changing the status code to 200. As a note, this

[flexcoders] Referencing checkboxes click events created with Repeater

2006-03-27 Thread dave7273
I am trying to capture a click event from a checkbox that is created using a Repeater. I want to be able to pass info regarding the checkbox to a function (either via index of checkbox array that is created or the label of the corresponding checkbox) Any idea of the best way of doing this?

Re: [flexcoders] Flex 2 Beta 2 and Tomcat woes

2006-03-27 Thread Anatole Tartakovsky
One of the side notes - you need to restart eclipse every time you modify the xml files - it seems to cache xml files for us. We usually turn -kepp-generated-actionscript=true in compiler options and check *FlexInit* generated in /generated folder to see if the changes in XML are compiled

[flexcoders] Re: Referencing checkboxes click events created with Repeater

2006-03-27 Thread Doug Lowder
Hi Dave, Just set the same handler for all click events to something like click=myHandler(event) and you will be able to access the checkbox component as event.target. Doug --- In flexcoders@yahoogroups.com, dave7273 [EMAIL PROTECTED] wrote: I am trying to capture a click event from a

[flexcoders] Sticky Dragging Problem

2006-03-27 Thread sufibaba
Fellow Flexors,I have the following situation: public function newLine(){var sprite:Sprite = new Sprite();sprite.graphics.lineStyle(1,0x00,1,false,"NONE");sprite.graphics.moveTo(pt.x,pt.y);sprite.graphics.lineTo(cx,cy); this.addChild(sprite);

[flexcoders] List Component Bug!!

2006-03-27 Thread Lance Linder
Hello, I was just converting a project from Beta1 to Beta2 and noticed a problem with all my List components that were bound to data providers which are collections of custom objects. The problem is that the List selection highlight is stuck on the last item in the list. Changing

RE: [flexcoders] Re: Weird Gradient Fill error

2006-03-27 Thread Roger Gonzalez
I've fixed everything I have testcases for! If you have one that is broken, please email both the original Flash 8 SWF and the resulting Flex SWF. DO NOT ZIP THE FILES, OR OUR SPAM FILTER WILL THROW IT AWAY! Thanks, -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Large App Architecture

2006-03-27 Thread Roger Gonzalez
Yes, it can. Multiple SWFs. Tradeoffs are increased potential for errors, a bit more architecture work needed up front, and the potential that the Flex frameworks isn't fully designed for this case, so you might run into some tricky (but not unsolvable) issues. (It works pretty well for pure-AS

[flexcoders] Re: Referencing checkboxes click events created with Repeater

2006-03-27 Thread dave7273
Doug, Thanks for the quick response, I did find something that appears to work ok (event.target.getRepeaterItem()) in which I can retrieve the information for the specific. Just have to make sure that I pass a data element as well as a label element for my checkboxes so I can get either one.

RE: [flexcoders] List Component Bug!!

2006-03-27 Thread Tobias Patton
I think that the objects in your dataProvider must implement the IUID interface for selection to work. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Lance Linder Sent: Monday, March 27, 2006 1:08 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
Thanks for this clarifiaction on the timeout. I think I'll have to implement timeout to end the HTTPService request if there is no data being exchanged for xx number of seconds.With respect to the potential security issue, I'd like to POST XML via HTTPService to a .cgi server running on a

RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread Carson Hager
You will need a crossdomain file. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] What upload servlet at server side to use along with FileReference class?

2006-03-27 Thread Andriy Panas
Hello flexcoders, We are trying to use http://servlets.com/cos/ O'Reily's file upload package MultipartRequest along with FileReference class. --- My question to community is: what it your preferred choice at the server side to

RE: [flexcoders] What upload servlet at server side to use along with FileReference class?

2006-03-27 Thread Carson Hager
We've found that the O'Reilly classes work pretty well. The error you're seeing is likely due to a problem with the Flash Player where it actually sends the request twice. Normally the second request has incorrect data. We simply catch the IOException and ignore it. Carson

RE: [flexcoders] List Component Bug!!

2006-03-27 Thread Lance Linder
That seemed to do the trick. Wonder how many others will get stumped on that? Seems there should have been some kind of error if your objects dont implement IUID. Maybe this will be addressed through better docs in the final release or better yet a run time error. I would have just

RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
thanks! bwt, does anyone know what is the security scenario that promoted the introduction of the crossdomain requirement? it would be educating to know Carson Hager [EMAIL PROTECTED] wrote: You will need a crossdomain file. Carson Carson

[flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread Doug Lowder
There are some really good responses to This Postthat explain the reasons behind crossdomain.xml. --- In flexcoders@yahoogroups.com, dos dedos [EMAIL PROTECTED] wrote: thanks! bwt, does anyone know what is the security scenario that promoted the introduction of the crossdomain requirement? it

RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread Ted Patrick
1. Delegate security to the server side on a domain/subdomain basis. 2. Enable high and low ports access. 3. Prevent Flash Player from being used as denial of service toolset. Crossdomain.xml has really improved things, it was a great addition to the player at the release of Flash Player 7. I

[flexcoders] How to get the XML of a SOAP fault

2006-03-27 Thread Tobias Patton
Hello list; Im trying to extract SOAP exception information in the fault handler of my web service call. Using tcpflow on my Mac, I can see the that the raw SOAP response looks like this: ?xml version=1.0 encoding=utf-8?soap:Envelope

Re: [flexcoders] Large App Architecture

2006-03-27 Thread Anatole Tartakovsky
Tom, Partitioning of the application is the must, and thanks to the advise from Roger, it is not hard. However, I would advocate to not to use interfaces, but rather use small applications and shared frameworkAND loosely bounded resources for UI/server interaction code approach. I should

RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-27 Thread Carson Hager
You simply can't get it unless you use the proxy. There is no way around this without using FP8.5 and Flex 2. We've been through this issue thoroughly with support and engineering. Carson Carson Hager Cynergy Systems, Inc.

Re: [flexcoders] Flex 2 Beta 2 and Tomcat woes

2006-03-27 Thread Chris Scott
Really nobody has any answers for me? Does anybody successfully build swfs locally and deploy to tomcat, connecting to java services through RemoteObject? As I noted i can deploy the mxml and let it compile at runtime, but that won't help with debugging, as I can't even run my mxml files in Flex

[flexcoders] 3rd April Sydney Developers study group

2006-03-27 Thread Chris Velevitch
Monday 3rd April is the next meeting of the study group. We will be studying the Flex application framework Caringorm. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The

RE: [flexcoders] Large App Architecture

2006-03-27 Thread Roger Gonzalez
May I ask your rationale for avoiding interfaces? If you use concrete implementations, you'll generally need to do a lot more recompilation.. -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anatole TartakovskySent: Monday, March 27, 2006 4:51

[flexcoders] How to setup flash debug player

2006-03-27 Thread Larry Liang
Hi All, I was wondering that according to the documentation, if you install flexbuilder 2 beta 2, it will install a debug version of flash player 8.5. My question is if there is anything needs to be done before I can use the debugging functionalities. After I install the debug player, the

Re: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
Well, I understand the general risk scenario now, but Java solved this problem with the concept of signed applets! why doesn't Flash support signing of applets?If you click OK to accept the certificate then you're allowing it to do whatever it wants. I believe ActievX also works this way

RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
(I'm still in complaining mode)ActiveX and Java used applet signing to solve this ...Wouldn't it be better to "respect" the end user's right to choose whether or not to trust a given Flash app to do what it's suppose to do rather than to force the user to install crossdomain on their machine or

RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread Roger Gonzalez
You have the purpose backwards. (There's an entirely different mechanism for what trust you want to grant to a particular SWF.) The point is fora server owner to prevent you from distributing a SWF that canact as a distributeddenial-of-service attack on a server. Consider the case of

RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
In your example the SWF should not be allowed to connect to any server other than the server it was served from! That's by default.That is unless it is a SIGNED SWF where the end user may allow or deny it's request to execute with full permissions.If it works for Java and ActiveX it would work

RE: [flexcoders] Flex 1.5 :: Webservice Fault and useProxy setting

2006-03-27 Thread Matt Chotin
Its fixed for many cases in 2.0/8.5 but youll need to experiment to be sure. Some of the older browser plugin APIs will not give us the right information. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Monday, March 27,

RE: [flexcoders] Flex 2 Beta 2 and Tomcat woes

2006-03-27 Thread Matt Chotin
As Anatole suggests, turn on your keep-generated, check to see if the config information that you think youve specified is getting passed into the MXML. If you have it working with the web tier you could also just create a debug option in FlexBuilder to launch the url to your MXML file

RE: [flexcoders] Opinions sought: Flex and small developers

2006-03-27 Thread Matt Chotin
Yes and yes From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedos Sent: Tuesday, March 21, 2006 8:36 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Opinions sought: Flex and small developers David Will the 'limited' free

RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread dos dedos
That is the reverse of the common philosophy on this issue. Usually, the end user is "trusted" with the decision because the assumption is that end user is A) not stupid and B) not evil.Defending all servers out there against the threat of an attack by all Flash clients (irrespective of their

RE: [flexcoders] Opinions sought: Flex and small developers

2006-03-27 Thread dos dedos
Yay and Yay!!!High fives to your product management team! you're strategy overall got some killer moves... dos likesMatt Chotin [EMAIL PROTECTED] wrote:Yes and yesFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dos dedos Sent:

[flexcoders] Re: Cairngorm problem

2006-03-27 Thread Renaun Erickson
I create an example called ComplexObjectBinding that illustrates using simple binding and Cairngorm method of a static ModelLocator. You can find it here: http://www.renaun.com/flex2/ Not sure whats up with your code, I pretty much did you what you outlined, only thing I can guess is if the

Re: [flexcoders] Large App Architecture

2006-03-27 Thread Anatole Tartakovsky
Roger, That is almost always true - unless you are treating most of UI as resource bundle. I was merely suggesting bypass most of recompilation/linkage. We are going to publisha chapter on building class libraries from the upcoming book some time next week. One of the topics is breaking

RE: [flexcoders] List Component Bug!!

2006-03-27 Thread Gordon Smith
My understanding is that you have to implement IUID if your dataProvider items are a custom class. If they're a plain Object, I don't think you have to. What's the story, Alex? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Lance

RE: [flexcoders] why is trace(1+0.9+0.7+0.3) = 2.8999999999999995

2006-03-27 Thread Gordon Smith
The short answer is that the Number type can't store most decimal fractions exactly. It stores floating point numbers as binary fractions, so there is usually some roundoff error. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

RE: [flexcoders] Format of UIDUtils.createUid() string is incorrect

2006-03-27 Thread Gordon Smith
I've entered this bug into our bugbase. We'll probably fix it for Beta 3. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tobias Patton Sent: Friday, March 24, 2006 4:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] I don't want a binding!

2006-03-27 Thread Matt Chotin
I assume you solved this by now but it sounds like you need a copy of the array itself, not a copy of all that data. You can get an array copy by calling concat() on the array. Then in one place you can use the service result, and in the place where you do the drag and drop to assign you would

RE: [flexcoders] cellRenderer refresh on drag and drop datagrid columns

2006-03-27 Thread Matt Chotin
Maybe you need to invalidate the DG? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of feuille76 Sent: Wednesday, March 22, 2006 3:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cellRenderer refresh on drag and drop datagrid columns

RE: [flexcoders] Beta 2: ListEvent.itemRenderer is always null?

2006-03-27 Thread Matt Chotin
itemRenderer is what you want, it shouldnt be null. Can you provide a brief example that demonstrates? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tobias Patton Sent: Tuesday, March 21, 2006 3:56 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Problems loading dynamic images and swf's

2006-03-27 Thread Matt Chotin
See if you can ensure that your web server is sending the right content-length along with the images. We've seen the Player have trouble loading content of unknown length (it never thinks it got it all). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Flex2: whats a TreeNode convert to

2006-03-27 Thread Matt Chotin
In Flex 2 the idea is to not convert your node into anything. Instead the ITreeDataDescriptor is used by the Tree to create an internal collection that it can use for displaying the nodes. This way you don't need to have a 1-to-1 match of your data structure to the Tree. Matt -Original

RE: [flexcoders] Dummy e4x XML question - assign string to XML with simple content?

2006-03-27 Thread Matt Chotin
oNode.setChildren(newValue); -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Wednesday, March 22, 2006 8:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dummy e4x XML question - assign string to XML with

RE: [flexcoders] Unable to iterate over results of a call to DataService.fill()

2006-03-27 Thread Matt Chotin
So is there an error? What's the problem? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeffrey_lage Sent: Monday, March 27, 2006 10:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Unable to iterate over results of a call to

RE: [flexcoders] Flex 1.5 - Looking for an example of using ValidationFailedEvent class

2006-03-27 Thread Matt Chotin
Assign your class as the listener for the Validator and make sure it has a validationFailed method. When the validator fails you should be able to get the validator and retrieve its errors through the errors property. I don't think you can get all the errors at once with isStructureValid because

RE: [flexcoders] Global functions

2006-03-27 Thread Matt Chotin
There are certainly ways to do global functions and variables, but OO languages like AS3 generally avoid them. You can describe your functions as static in a class and make them globally accessible that way, but you'd still need to import the package. If you have a bunch of imports that you'll

RE: [flexcoders] DataGrid Sort Direction

2006-03-27 Thread Matt Chotin
You shouldnt need the direction, you should always return as if it is ascending. The Sort class will take care of flipping the results for you. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Friday, March 24, 2006 2:21 PM

RE: [flexcoders] Large XML data binding to FLEX Chart

2006-03-27 Thread Matt Chotin
E4X has an xpath like syntax which may be better for you. Check out the XMLListCollection as something you can assign into a chart and the e4x operators to build the right list. Make sure resultFormat=e4x on the HTTPService, it might improve performance. Matt -Original Message- From:

RE: [flexcoders] Using mxml without flex framework (Flex 2 Beta 1 and 2)

2006-03-27 Thread Matt Chotin
I believe there are still some interfaces you might need to support like IStyleClient. I've asked internally. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bussesven Sent: Friday, March 24, 2006 1:15 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Flex 2 Beta 2 - Bug with mx.controls.TextInput restrict Property

2006-03-27 Thread Matt Chotin
Well youre including the minus character in your restrict. So it shouldnt allow negative numbers. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn Sent: Saturday, March 25, 2006 6:37 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Error #1009 Troubleshooting

2006-03-27 Thread Matt Chotin
Youre using the full framework unlike the other thread right? It might be a bug. It looks like maybe the global style isnt loaded correctly. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner Sent: Sunday, March 26, 2006 10:15 AM

RE: [flexcoders] flex2 accessibility

2006-03-27 Thread Matt Chotin
http://livedocs.macromedia.com/labs/1/flex20beta2/1340.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alisdair Mills Sent: Monday, March 27, 2006 5:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex2 accessibility Hi, I

RE: [flexcoders] Re: Multple destinations on a single DataService

2006-03-27 Thread Matt Chotin
You can absolutely have multiple destinations inside the DataService. Can you post some config of what you were trying that's not working? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeffrey_lage Sent: Friday, March 24, 2006 12:23 PM To:

  1   2   >