Re: [flexcoders] Matrix3D error
sorry. forgot to mention that it is pointing to flex 4 SDK On Tue, Nov 3, 2009 at 11:21 AM, Chet Haase cha...@adobe.com wrote: The old projects from FB4 imported classes from the Flex 4 sdk and your Flex 3 compiler is complaining about classes that it can’t find in Flex 3. If you want to compile against Flex 4 in FB3, then set up your SDKs to add the Flex 4 SDK, and point your project(s) at that SDK instead of the default Flex 3 SDK. If you’re just building Flex3 code (and your projects that you imported aren’t using and Flex 4-isms), then do a clean on those projects and rebuild. Chet. *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Agha Mehdi *Sent:* Tuesday, November 03, 2009 11:13 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Matrix3D error All, I just installed FB 3 and now my imported projects done in FB 4 beta 2 give me this error Type was not found or was not a compile-time constant: Matrix3D. How do I get rid of this? Thanks
[flexcoders] Matrix3D error
All, I just installed FB 3 and now my imported projects done in FB 4 beta 2 give me this error Type was not found or was not a compile-time constant: Matrix3D. How do I get rid of this? Thanks
[flexcoders] Flex2gateway not accessible
All, http://[servername]/flex2gateway comes back with error 404. My setup is Coldfusion on JRun integrated with IIS. have tried a bunch of suggestions from the web but nothing seems to be working. Please help Thanks
Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid
Thanks guys. how do i get the list of all checked rows from the datagrid? On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@middleweek.co.ukwrote: Ah ok... Thanks Tracy... Is that a bit like Application.application ? 2009/10/15 Tracy Spratt tr...@nts3rd.com An item renderer is a component and has its own scope. “outerDocument” is a reference to the renderer’s parent document. You use it to access public properties of the parent. Tracy Spratt, Lariat Services, development services available
Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid
it's giving me below error Description Resource Path Location Type Could not resolve mx:Component to a component implementation. comp.mxml Flex_FB/src line 238 Flex Problem mx:DataGridColumn headerText= dataField=select sortable=false editable=false resizable=false textAlign=center mx:itemRenderer mx:Component mx:CheckBox change=outerDocument.brigFiles_clickHandler(event) / /mx:Component /mx:itemRenderer /mx:DataGridColumn Thanks On Thu, Oct 15, 2009 at 8:55 AM, Agha Mehdi aghaime...@gmail.com wrote: Thanks guys. how do i get the list of all checked rows from the datagrid? On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@middleweek.co.ukwrote: Ah ok... Thanks Tracy... Is that a bit like Application.application ? 2009/10/15 Tracy Spratt tr...@nts3rd.com An item renderer is a component and has its own scope. “outerDocument” is a reference to the renderer’s parent document. You use it to access public properties of the parent. Tracy Spratt, Lariat Services, development services available
Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid
so this is what I am doing. it gives me A term is undefined and has no properties. public function brigFiles_clickHandler(_comp:CheckBox):void { var dp:Object = datagrid.dataProvider; var cursor:IViewCursor=dp.createCursor(); while( !cursor.afterLast ) { Alert.show(cursor.current.select.toString()); cursor.moveNext(); } } mx:DataGridColumn headerText= dataField=select sortable=false editable=false resizable=false textAlign=center width=20 mx:itemRenderer fx:Component mx:CheckBox change=outerDocument.datagrid_clickHandler(this) / /fx:Component /mx:itemRenderer /mx:DataGridColumn On Thu, Oct 15, 2009 at 10:15 AM, turbo_vb timh...@aol.com wrote: Look at the dataProvider. You're using the select property of the items, so loop and look. -TH --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Agha Mehdi aghaime...@... wrote: Thanks guys. how do i get the list of all checked rows from the datagrid? On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@...wrote: Ah ok... Thanks Tracy... Is that a bit like Application.application ? 2009/10/15 Tracy Spratt tr...@... An item renderer is a component and has its own scope. outerDocument is a reference to the renderer's parent document. You use it to access public properties of the parent. Tracy Spratt, Lariat Services, development services available
[flexcoders] Background Image of HBox
Hi, I have a custom component with root as mx:HBox. I am trying to give it a background image but it's not working with style. I have a style definition for it as HBox{background-image: [imagePath]} What is the best way to do it? Thanks Agha
[flexcoders] Checkbox in Datagrid
Hi, I have a datagrid column with checkbox in it. how do i run a process when the checkbox state is changed. mx:DataGridColumn headerText= dataField=select sortable=false resizable=false width=20 editable=true textAlign=center rendererIsEditor=true itemRenderer=mx.controls.CheckBox/ Thanks Agha
[flexcoders] IS IT POSSIBLE??Load an SWF in another SWF using 2 diff loaderContext appdomain
I am getting to the conclusion that the following is not supported at all. (Using flex 3.2 SDK): Loading one SWF into another one using 2 different loaderContext. I tried using the Loader and the SWFLoader (and to some extend the ModuleLoader) 1- Build a simple Flex App with a combo box or Alert Message (on click of a button for instance). (==TestCombo.swf) 2. Load that SWF (from Step 1) using the Loader in a new application Domain (as such: var request:URLRequest = new URLRequest(TestCombo.swf); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,handleModuleLoaded); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,handleError); _loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR,handleError); _loader.contentLoaderInfo.addEventListener(Event.UNLOAD, unloadHandler1); var context:LoaderContext = new LoaderContext(); context.applicationDomain = new ApplicationDomain(); // that's KEY! _loader.load(request,context); In the handleModuleLoaded function, I am simply adding the content of the comboSWF into a vbox vbx.rawChildren.addChild(_loader.content); 3. Attempt to see the content of the combo or click on the button to see the Alert from the loaded SWF, and you get an exception. (see below) TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::SystemManager/addPopupRequestHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3604] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.managers::PopUpManagerImpl/addPopUp()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:294] at mx.managers::PopUpManager$/addPopUp()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\PopUpManager.as:169] at mx.controls::Alert$/show()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\Alert.as:519] at TestCombo/___TestCombo_Button1_click()[M:\projects\flex-projects\TestCombo\src\TestCombo.mxml:16] The same code works perfectly fine if you attempt to load the SWF into the same applicationDomain, but that's totally not acceptable for us here. Using the SWFLoader as opposed to the Loader does not even get you this far. The TestCombo.swf is not even loaded. I get the following exception when trying to load the module: (basically complaining about the system Manager being null) TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.controls::SWFLoader/initSystemManagerCompleteEventHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\SWFLoader.as:2174] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.managers::SystemManager/initHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2862] Anything would help. I just need to know whether that's possible or not using flex sdk 3.2. Cheers.
[flexcoders] Re: IS IT POSSIBLE??Load an SWF in another SWF using 2 diff loaderContext appdomain
ERRATA: Please read the problem line as: Loading one SWF into another one using 2 different loaderContext application domains. --- In flexcoders@yahoogroups.com, Mehdi elextra...@... wrote: I am getting to the conclusion that the following is not supported at all. (Using flex 3.2 SDK): Loading one SWF into another one using 2 different loaderContext. I tried using the Loader and the SWFLoader (and to some extend the ModuleLoader) 1- Build a simple Flex App with a combo box or Alert Message (on click of a button for instance). (==TestCombo.swf) 2. Load that SWF (from Step 1) using the Loader in a new application Domain (as such: var request:URLRequest = new URLRequest(TestCombo.swf); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,handleModuleLo\ aded); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,handleE\ rror); _loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_E\ RROR,handleError); _loader.contentLoaderInfo.addEventListener(Event.UNLOAD, unloadHandler1); var context:LoaderContext = new LoaderContext(); context.applicationDomain = new ApplicationDomain(); // that's KEY! _loader.load(request,context); In the handleModuleLoaded function, I am simply adding the content of the comboSWF into a vbox vbx.rawChildren.addChild(_loader.content); 3. Attempt to see the content of the combo or click on the button to see the Alert from the loaded SWF, and you get an exception. (see below) TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::SystemManager/addPopupRequestHandler()[C:\autobuild\3.2.0\f\ rameworks\projects\framework\src\mx\managers\SystemManager.as:3604] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.managers::PopUpManagerImpl/addPopUp()[C:\autobuild\3.2.0\frameworks\p\ rojects\framework\src\mx\managers\PopUpManagerImpl.as:294] at mx.managers::PopUpManager$/addPopUp()[C:\autobuild\3.2.0\frameworks\proj\ ects\framework\src\mx\managers\PopUpManager.as:169] at mx.controls::Alert$/show()[C:\autobuild\3.2.0\frameworks\projects\framew\ ork\src\mx\controls\Alert.as:519] at TestCombo/___TestCombo_Button1_click()[M:\projects\flex-projects\TestCom\ bo\src\TestCombo.mxml:16] The same code works perfectly fine if you attempt to load the SWF into the same applicationDomain, but that's totally not acceptable for us here. Using the SWFLoader as opposed to the Loader does not even get you this far. The TestCombo.swf is not even loaded. I get the following exception when trying to load the module: (basically complaining about the system Manager being null) TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.controls::SWFLoader/initSystemManagerCompleteEventHandler()[C:\autobu\ ild\3.2.0\frameworks\projects\framework\src\mx\controls\SWFLoader.as:217\ 4] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.managers::SystemManager/initHandler()[C:\autobuild\3.2.0\frameworks\p\ rojects\framework\src\mx\managers\SystemManager.as:2862] Anything would help. I just need to know whether that's possible or not using flex sdk 3.2. Cheers.
[flexcoders] Flex Java-based compiler - and dynamic flex SDK??
You guys, I have been playing w/ the flex java based compiler API( http://blogs.adobe.com/flexdoc/2008/01/compiler_api.html), and I am using it to build couple of swc. No problem there. In order for this api to work, you need: - flex-compiler-oem.jar (needed for compilation) - All the rest of the jars from the FLEX SDK (for the runtime execution as this is where the compiler and other needed classes/libraries are) What I would like to do is to point to a flex SDK at run time and not have it 'statically' imported. I tried couple of things, among others using my own classloader, w/o much success and already too many hacks in the way. (had to locally copy winFonts.ser, then I had to remove my CustomReport, CustomLogger class as you everything has to be loaded dynamically or else you will end up with 2 classloaders.) I don't understand why Adobe did not do it such as this is possible out of the box. Anyone tried this before? Cheers.
[flexcoders] Re: How come setting the responder (async token) after the server call does WORKS???
Tracy, I was trying to illustrate what I had understood from what has been said: Flex asynchronous methods get queued up and are only invoked once ALL synchronous calls in the same block get executed. My example might not be the best but since the http.send() was in a function on its own, i.e a block, the server invocation will happen upon leaving that function. it is true that we are setting the responder right after that function call. But assuming that in my doit function I had: public function doit():void { callServer(); // do some other stuff callAnotherComputingAndStallingMethod(); // and now add the responder asyncToken.addResponder(...); } well, my chances for the server responding after I set the responder are slimmer. As in the other scenario where it's all in 1 method call, and the server call only gets invoked at the end of the method after I set the responder. Cheers, --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: .chances of it working are reduced. Why do you say that? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mehdi Sent: Wednesday, April 29, 2009 11:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How come setting the responder (async token) after the server call does WORKS??? I see. So shall I read your response as: Flex asynchronous methods get queued up and are only invoked once ALL synchronous calls in the same block get executed. So I were to have the following: var asyncToken:ASyncToken public function callServer():void { asyncToken= httpsrv.send(); } public function doit():void { callServer(); asyncToken.addResponder(...); } mx:button click=doit()/ So, in this case, my chances of it working are reduced... (not the 100% anymore). Is that right? thks. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Adnan Doric astronaute@ wrote: The key word is asynchronous. httpsrv.send() is asynchronous so it gets executed after all synchronous statements (addResponder is synchronous) in the same block. cheers, Adnan --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Mehdi elextraana@ wrote: This is a question that has been bothered me for some time. You know how in Flex you can invoke a service (say httpservice for instance) which returns a token. After that you set the responder on the token. I.e.: var asyncToken:ASyncToken = httpsrv.send(); asyncToken.addResponder(...) We set the responder/handler AFTER the call has been set. Its very awkward but it does work. I was hoping someone could explain this to me. Thank you. Flex being single threaded, the call to httpsrv.send() should actually invokes the server and not get into the second line about the responder until the call has been at least issued. But that's not how it works I guess. So, I am assuming the call is queued somewhere, untiluntil when??? Cheers
[flexcoders] Re: How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?
I would totally see it as a bug. If LCDS manages the object, it is its role to propagate up the rollback. No question about it. Good luck in your new adventure, whatever it is! Thanks. --- In flexcoders@yahoogroups.com, Jeffrey Vroom j...@... wrote: In my opinion, LCDS should detect that you've called setRollbackOnly and deliver a generic fault to the client. I just recently left Adobe so it is not my position anymore to say for sure it is a bug or just the way it works. I vaguely recall a bug opened on this issue but can't check since that bug system is not public. Jeff On Wed, Apr 29, 2009 at 12:09 PM, Mehdi elextra...@... wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jeffrey Vroom jeff@ wrote: I think this is a bug - calling setRollbackOnly does not trigger the fault handler. The server knows that transaction failed but the client does not so things get out of sync. You have to throw an exception from your assembler methods to get the fault handler called. When you do that, if use-transactions=true, the rollback will happen automatically. this also gives you the ability to pass the message of your exception to the client so your fault handler knows what exactly the error was on the server. At that point, you can call revertChanges to undo that change. Jeff On Wed, Apr 29, 2009 at 9:15 AM, Mehdi elextraana@ wrote: The typical example. You have a datagrid that is bound with an arraycollection, which source is managed by LCDS via ds.fill(). your datagrid is editable. The user edits a value in the collection and you fire a commit. (ds.commit()). Let say you are using a custom assembler. The updateItem(newVersion,prevVersion,changesList) method will be invoked. There assuming something goes wrong and you call: DataServiceTransaction.getCurrentDataServiceTransaction().setRollbackOnly(); I can see the db rolling back no problem. But my client did not get any notification! I have callback functions in the commit, and I have event listener on the ds (fault and result) AS such: _dataService.commit(); token.addResponder(new AsyncResponder( function onAsyncResult(result:Object, token:Object = null) : void { } function onAsyncFault(.../...) ) AND, _dataService.addEventListener(DataServiceFaultEvent.FAULT, this.onFault, false, 0, true); _dataService.addEventListener(ResultEvent.RESULT, this.onResult, false, 0, true); NONE of these callbacks get called. So I basically have no way of knowing that a rollback happened, and the user datagrid is still showing the wrong value, since the commit failed. Any idea? Note that however when an exception is thrown on the server (updateItem() method), I do indeed get a callback via the AsyncFault method. Thank you. Hi Jeff, I'm not sure what you meant by: I think this is a bug - calling setRollbackOnly does not trigger the fault handler Are you confirming the fact that this is a bug, and that calling setRollbackOnly SHOULD actually call the fault handler or you are saying that only throwing an exception should do it.? thanks.
[flexcoders] How come setting the responder (async token) after the server call does WORKS???
This is a question that has been bothered me for some time. You know how in Flex you can invoke a service (say httpservice for instance) which returns a token. After that you set the responder on the token. I.e.: var asyncToken:ASyncToken = httpsrv.send(); asyncToken.addResponder(...) We set the responder/handler AFTER the call has been set. Its very awkward but it does work. I was hoping someone could explain this to me. Thank you. Flex being single threaded, the call to httpsrv.send() should actually invokes the server and not get into the second line about the responder until the call has been at least issued. But that's not how it works I guess. So, I am assuming the call is queued somewhere, untiluntil when??? Cheers
[flexcoders] Service Versioning in BlazeDS/LCDS - Any Good practice?
Hi, It seems like we will soon have to support several flex client using different server versions and I was wondering whether there were any good practices out there. Let me share w/ u my first thoughts: I was thinking to quickly switch into using spring on the server side (something that is long due around here anyways), and use DI to selectively wire up the right server implementation (assuming of course, I have 1 common interface to all clients). I have not digged much this direction but I think that's feasible depending on a token load one implementation rather than another one (with the assumption that I know all the implementation of that interface at design time. So I guess I could define them all in my appcontext config file and somehow switch it at run time. Anyhow, If you guys have any link/ref that can help me out there, I will take it! thanks. Now what's left is the trigger/the token for the switch. I.e: I need to be able to differentiate between the different clients. I could use the user name and password and maybe use a custom java adapter that would pick that up from the session or I dont know where, and call my right implementation. I dont know how else I could do it w/o the custom java adapter?? any idea? Would the custom java adapter idea still work with LCDS where you are dealing w/ assemblers?? A last thing is that it would be cool not to have to use the username and password as the way to tell the different clients. (for several reasons: not all apps have auth, even if auth is present, you need to find out which company does that belong and my app might not host all the user locally...etc...). Instead it would be cool to have that sent as an http header/additional param , the same way you get the username and password. Is this possible in flex today ?? Thanks Cheers--
[flexcoders] Re: How come setting the responder (async token) after the server call does WORKS???
I see. So shall I read your response as: Flex asynchronous methods get queued up and are only invoked once ALL synchronous calls in the same block get executed. So I were to have the following: var asyncToken:ASyncToken public function callServer():void { asyncToken= httpsrv.send(); } public function doit():void { callServer(); asyncToken.addResponder(...); } mx:button click=doit()/ So, in this case, my chances of it working are reduced... (not the 100% anymore). Is that right? thks. --- In flexcoders@yahoogroups.com, Adnan Doric astrona...@... wrote: The key word is asynchronous. httpsrv.send() is asynchronous so it gets executed after all synchronous statements (addResponder is synchronous) in the same block. cheers, Adnan --- In flexcoders@yahoogroups.com, Mehdi elextraana@ wrote: This is a question that has been bothered me for some time. You know how in Flex you can invoke a service (say httpservice for instance) which returns a token. After that you set the responder on the token. I.e.: var asyncToken:ASyncToken = httpsrv.send(); asyncToken.addResponder(...) We set the responder/handler AFTER the call has been set. Its very awkward but it does work. I was hoping someone could explain this to me. Thank you. Flex being single threaded, the call to httpsrv.send() should actually invokes the server and not get into the second line about the responder until the call has been at least issued. But that's not how it works I guess. So, I am assuming the call is queued somewhere, untiluntil when??? Cheers
[flexcoders] How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?
The typical example. You have a datagrid that is bound with an arraycollection, which source is managed by LCDS via ds.fill(). your datagrid is editable. The user edits a value in the collection and you fire a commit. (ds.commit()). Let say you are using a custom assembler. The updateItem(newVersion,prevVersion,changesList) method will be invoked. There assuming something goes wrong and you call: DataServiceTransaction.getCurrentDataServiceTransaction().setRollbackOnly(); I can see the db rolling back no problem. But my client did not get any notification! I have callback functions in the commit, and I have event listener on the ds (fault and result) AS such: _dataService.commit(); token.addResponder(new AsyncResponder( function onAsyncResult(result:Object, token:Object = null) : void { } function onAsyncFault(.../...) ) AND, _dataService.addEventListener(DataServiceFaultEvent.FAULT, this.onFault, false, 0, true); _dataService.addEventListener(ResultEvent.RESULT, this.onResult, false, 0, true); NONE of these callbacks get called. So I basically have no way of knowing that a rollback happened, and the user datagrid is still showing the wrong value, since the commit failed. Any idea? Note that however when an exception is thrown on the server (updateItem() method), I do indeed get a callback via the AsyncFault method. Thank you.
[flexcoders] Re: How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?
--- In flexcoders@yahoogroups.com, Jeffrey Vroom j...@... wrote: I think this is a bug - calling setRollbackOnly does not trigger the fault handler. The server knows that transaction failed but the client does not so things get out of sync. You have to throw an exception from your assembler methods to get the fault handler called. When you do that, if use-transactions=true, the rollback will happen automatically. this also gives you the ability to pass the message of your exception to the client so your fault handler knows what exactly the error was on the server. At that point, you can call revertChanges to undo that change. Jeff On Wed, Apr 29, 2009 at 9:15 AM, Mehdi elextra...@... wrote: The typical example. You have a datagrid that is bound with an arraycollection, which source is managed by LCDS via ds.fill(). your datagrid is editable. The user edits a value in the collection and you fire a commit. (ds.commit()). Let say you are using a custom assembler. The updateItem(newVersion,prevVersion,changesList) method will be invoked. There assuming something goes wrong and you call: DataServiceTransaction.getCurrentDataServiceTransaction().setRollbackOnly(); I can see the db rolling back no problem. But my client did not get any notification! I have callback functions in the commit, and I have event listener on the ds (fault and result) AS such: _dataService.commit(); token.addResponder(new AsyncResponder( function onAsyncResult(result:Object, token:Object = null) : void { } function onAsyncFault(.../...) ) AND, _dataService.addEventListener(DataServiceFaultEvent.FAULT, this.onFault, false, 0, true); _dataService.addEventListener(ResultEvent.RESULT, this.onResult, false, 0, true); NONE of these callbacks get called. So I basically have no way of knowing that a rollback happened, and the user datagrid is still showing the wrong value, since the commit failed. Any idea? Note that however when an exception is thrown on the server (updateItem() method), I do indeed get a callback via the AsyncFault method. Thank you. Hi Jeff, I'm not sure what you meant by: I think this is a bug - calling setRollbackOnly does not trigger the fault handler Are you confirming the fact that this is a bug, and that calling setRollbackOnly SHOULD actually call the fault handler or you are saying that only throwing an exception should do it.? thanks.
[flexcoders] Re: How to expose Hibernate 'non' conventional beans into flex apps via remoting
Sounds good, Will give it a try as soon as it is out. thanks. --- In flexcoders@yahoogroups.com, Jens Halm [EMAIL PROTECTED] wrote: Robert, I am going to try out the DTO/Assembler approach (Something tells me it is worth the initial investment). Any pointers, samples, whatever will be great. If you dont have anything, no worries, will figure it out. Thank you. And again, great Blog...! Will be adding my experience once I am done looking at the second alternative. While this isn't going to help you now, you might be interested in that we intend to solve a lot of these issues with our forthcoming Pimento data management framework (Open Source): http://www.spicefactory.org/pimento/ The problems with closed sessions and huge object graphs will be solved through FetchPlans. There will be a default fetch plan which is to not serialize any uninitialized Hibernate proxy or collection but to include all simple properties and initialized associations. But the default can be overwritten for individual calls with FetchPlan instances created in AS3. Jens Halm Spicefactory
[flexcoders] Re: How to expose Hibernate 'non' conventional beans into flex apps via remoting
Thank you Robert. I appreciate your response. I read your blog and it makes total sense to me as this is where I am coming from as well. I actually encourage anyone coming from the java world with an existing application (JSP/JSF/Struts/Hibernate/Spring/etc..) or not, to read the blog if you are interested in investigating flex. Basically since my post, I have been playing with the Externalizable alternative and I managed to make a simple CRUD flex component based on the datagrid talking to a java service layer (spring/hibernate back end). It seems to be working fine. This solution will work fine for the session closing problems and huge graphs you mentioned in your blog. Also compared to the DTO/Assembler approach, it saves you from having to creating that significant layer. Now, where It falls short I believe, from what I can see today, is flexibility. In fact, with the Serialization approach, you can serialize an object 1 and only 1 way. If I only need the parent object in a request, but also needs its children in another request I can't do! Which is some of the flexibility that the DTO/Assembler approach provides certainely. Robert, I am going to try out the DTO/Assembler approach (Something tells me it is worth the initial investment). Any pointers, samples, whatever will be great. If you dont have anything, no worries, will figure it out. Thank you. And again, great Blog...! Will be adding my experience once I am done looking at the second alternative. Thenof course there is LifeCycle DS...I dont know if those problems also exist in Lifecycle...? Any LifeCycle DS /Spring/hibernate guru out there? Cheers, --- In flexcoders@yahoogroups.com, Robert Cadena [EMAIL PROTECTED] wrote: i should also have mentioned this: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/serialize_data_3.html#303410 On Wed, Jun 4, 2008 at 7:22 PM, Robert Cadena [EMAIL PROTECTED] wrote: Hi Mehdi, this is just my current opinion on the subject: create data transfer objects for your domain objects (your hibernate pojos). Which is basically the first solution you proposed.Use custom assemblers to create DTOs from your DOs . This is my current opinion on the subject. There are a few criteria for that I've come up with for doing this extra amount of work, but the one that I've found most compelling is this: **your domain model, or domain objects, or hibernate objects, whatever you want to call them, have deep or complex hierarchies that would be expensive to recreate when BlazeDS transfers the object over the wire**. If your graph is deep you'll end up pulling out a bunch of objects you might not need on the front end. If you close the session early you'll end up with unavailable session exceptions and you may have to adopt the open session in view pattern for the message broker servlet, which is less than ideal because you'd have to configure it for the servlet path and it might be too difficult to configure it per method invocation. Check out my blog post on the subject: http://www.machine501.com/blog/2008/06/03/useful-patterns-for-blazeds/ It's painful, and I think it is something that stops people from adopting blazeds. it would be ideal if there was a way to configure object factories in BlazeDS so that it could deal with your problem of argument constructors, and, if it was possible to give blazeds hints about the properties it should attempt to serialize on a per-method manner. cheers /r On Wed, Jun 4, 2008 at 2:20 AM, Mehdi [EMAIL PROTECTED] wrote: I am relatively new to the flex world. I am from the Spring/Hibernate world. In Hibernate, the POJO object or domain object , or simply beans that you use to persist you object into the database does not have to follow the bean definition/contract, i.e: public default constructor with getter/setters. There are good reasons behind creating those kind of 'hibernate beans' (I will call them that way for lack of a better name). In fact, only defining a one-parameter constructor (i.e. omitting the default one) guaranties you that your client cannot invoke your API without that needed parameter. Likewise, exposing only the getters for some private member variables (without the setters) makes sense when you don't want that variable to ever change, etchibernate manage to access these fields using cglib, and other tricks. Now, my understanding of Flex and how remote services work (from what I could see in all the samples around about hibernate/spring), is that your java server bean get proxied 'dynamically' or 'statically' (via an Actionscript class object) according to the rule: Only values found in public bean properties with get/set methods and public variables are being copied over to the client proxy object. Which means that if I dont have a default constructor I am toast. It also means that my public getVar
[flexcoders] How to expose Hibernate 'non' conventional beans into flex apps via remoting
I am relatively new to the flex world. I am from the Spring/Hibernate world. In Hibernate, the POJO object or domain object , or simply beans that you use to persist you object into the database does not have to follow the bean definition/contract, i.e: public default constructor with getter/setters. There are good reasons behind creating those kind of 'hibernate beans' (I will call them that way for lack of a better name). In fact, only defining a one-parameter constructor (i.e. omitting the default one) guaranties you that your client cannot invoke your API without that needed parameter. Likewise, exposing only the getters for some private member variables (without the setters) makes sense when you don't want that variable to ever change, etchibernate manage to access these fields using cglib, and other tricks. Now, my understanding of Flex and how remote services work (from what I could see in all the samples around about hibernate/spring), is that your java server bean get proxied 'dynamically' or 'statically' (via an Actionscript class object) according to the rule: Only values found in public bean properties with get/set methods and public variables are being copied over to the client proxy object. Which means that if I dont have a default constructor I am toast. It also means that my public getVar() (without a setVar()) from my 'hibernate' bean/POJO will never make it into my client proxy. An example of getVar(), is simply getdbID(), where the dbID is an autocincrement/sequence for example? This is creating me tons of problems, because we arlready have a well rounded/tested server API and we already have a JSF implementation using itRe-writing a new one using flex is more something I am pushing for to prove that we can get better UI,etc What is flex/BlazeDS solution for fixing this case? One solution that comes to mind (not very bright, but should work) is to build a whole slew of plain java bean objects ( 1 for each of the'hibernate' bean) to ensure the translation on both side between the 'hibernate bean' and the 'expected' bean from flex. From the server to the client, the new bean would copy the content of the hibernate bean and return that 'proper' beans back to flex. On the way out (from the client to the server), it would have to recreate the hibernate bean before feeding it to the API and hibernate) It's probably not the best solution, especially considering that eventually as some point, I will need to define another set of those objects(beans) on the flex side, using actionscript (I think these are what you guys call VOs) in order to do strong typing in flex I must be missing something! can't be that complicated Another possible solution (is it? not sure anymore) I believe is to play with the java/flex Externalizable/IExternalizable, but that means changing all my beans on the server (as I will need to implement Externalizable as per what I understood from the readings). Isn't there something that I can do on the client only??? How do you guys handle that? Any input would be valuable. Thank you,
[flexcoders] MXMLC and Cairngorm
Title: MXMLC and Cairngorm Hi All, I am trying to compile my application with mxmlc.exe. It throws error that it can't find that http://www.iterationtwo.com/cairngorm has been associated with component manifest. The application is running in production just fine but it doesn't like it when I try to compile it using mxmlc.exe. Any thoughts? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 510.493.0491 Fax : 408.284.2766 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] LoadVars problem
Title: LoadVars problem Hi all, I have any application that submits data to a coldfusion page using LoadVars. When I run it from 1 server it works fine but doesn't work from the other server. The page that accepts submission is the same in both cases. Scenario: Server 1 submits to a page on Server3 (blank structure) Server 2 submits to a page on Server3 (works fine) The code is same on both servers. Is there any issues with security for LoadVars that might be different? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 510.493.0491 Fax : 408.284.2766 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] SWFObject
Title: SWFObject Hi all, I have a situation where I need to click on an embedded flash movie through swfObject from html pages. I don't have the fla for it so I can't go in and make it do what I want. Is there a way to implement _javascript_ onClick event on that movie object? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 510.493.0491 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DataGridColumn Style
Title: DataGridColumn Style Hi all, How can I set the color of text of DataGrid Column Headers? DataGridColumn{color:#FF;} in .css is not working Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 510.493.0491 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DataGrid Sort Direction
Hi, How can I read sort direction (ASC/DESC) when user clicks on Grid column to sort? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] TreeGridCellRenderer
Title: TreeGridCellRenderer First of all I'd like to thank James for this great contribution. I am using it in pre-production mode of one of my apps and everyone loves it. How can I make it so that users can also expand the node by clicking on the item and not just the arrow? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex serving mxml from remote server
Title: Flex serving mxml from remote server Hi all, I'm trying to have flex server serve .mxml files from another server in the same network. I have modified the jrun-web.xml to have system-path point to the file location on the other server. The flex server service is running under the account that has full access. When I run my app, it throws "HTTP 500 error" HTTP Status Code: 500 Exception Type: class java.lang.NullPointerException Servlet Name: FlexMxmlServlet Is there anything else I'm leaving out? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Cairngorm2 Store Example ?
Title: RE: [flexcoders] Re: Cairngorm2 Store Example ? Steven, You might be able to tell me why it's happening with my Cairngorm apps. Most of my apps make Remote Object calls on Application Creation Complete event. The first call works fine but the next calls just result in the busy clock cursor for indefinite time with no results. The app starts to work normally only after I reload the app. I have no idea what's going on. This problem doesn't occur with non-cairngorm apps. Is there anything I'm doing wrong? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steven Webster Sent: Wednesday, February 08, 2006 11:33 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Cairngorm2 Store Example ? Tim, Just to be clear - cairngorm 0.99 and the accompanying flexstore will help you to understand the principles behind the architecture, and how it should be used in anger. That knowledge will translate directly to cairngorm 2.0 and Flex 2. Best wishes, Steven -- Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sufibaba Sent: 08 February 2006 09:46 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm2 Store Example ? Hi Steven, Thanks for the reply. First, I would like to say that we am greatful for all of the great work that you have put into cairngorm to make our life simpler. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Application Background
Title: Application Background Hi all, Is there any way to make the application background transparent so that it always gets the background of whatever html container it sits on? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Application Background
Title: Application Background Great thanks guys. Works great. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith Unnikrishnan Sent: Wednesday, February 08, 2006 12:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Application Background It does work on Firefox and IE. mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* backgroundColor=#FF backgroundAlpha=0 . Then in the generated HTML, you have to set Add the following parameter to the OBJECT tag: param name=wmode value=transparentAdd the following parameter to the EMBED tag: wmode=transparentAnd ofcourse the body css in the HTML has to be changed. - Original Message - From: JesterXL To: flexcoders@yahoogroups.com Sent: Thursday, February 09, 2006 1:41 AM Subject: Re: [flexcoders] Application Background setStyle(backgroundColor, 0xFF); setStyle(backgroundAlpha, 0); And then set the wmode attribute in HTML object/embed to transparent. Doesn't work on all browsers. - Original Message - From: Mehdi, Agha To: flexcoders@yahoogroups.com Sent: Wednesday, February 08, 2006 2:57 PM Subject: [flexcoders] Application Background Hi all, Is there any way to make the application background transparent so that it always gets the background of whatever html container it sits on? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DataGrid Column Highlighted
Title: DataGrid Column Highlighted How can I highlight individual columns instead of rows when I rollover the columns in the grid? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FlashServices/Gateway
No its not. Its on a mapped drive. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In [EMAIL PROTECTED], Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .. -- Paul Kenney [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pjk.us -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com
RE: [flexcoders] Re: FlashServices/Gateway
Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRunflashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web
RE: [flexcoders] Re: FlashServices/Gateway
I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc. I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I cant do http://servername/flashservices/gateway. On my other servers, its working just fine and after doing comprehensive comparison, I cant find anything wrong. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRunflashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol
RE: [flexcoders] Re: FlashServices/Gateway
Title: RE: [flexcoders] Re: FlashServices/Gateway Should I just do http://servername/amfgateway ? Yeah, the whitelist in the config file is wide open for now. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Tuesday, January 31, 2006 3:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com mailto:[EMAIL PROTECTED] Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under
RE: [flexcoders] Re: FlashServices/Gateway
Title: RE: [flexcoders] Re: FlashServices/Gateway Yeah, Actually, we have Intranet and Internet both running CF as separate instances. Both of them share some of the same Flex apps. This configuration is standard on two of our servers running in a cluster. The code for all three instances is stored on a separate server SAN so that there's no chance of servers being out of sync. It all works great and there are no issues. The first server I configured runs fine without any problems and this server has exactly the same configuration and it chokes on flex to cf integration. I might need to reconfigure this one since it's taken ridiculously longer to fix this issue. Paul, yes, the crossdomain.xml is right there. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Tuesday, January 31, 2006 3:46 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Well this shouldn't be a problem since both instances are working for the same FQDN. CF request should be redirected to the CFInstance and mxml should be redirected to the Flex one. It seems that Flex one can't see the /flashservices/gateway (since its only defined for the CFinstance) and that's why I asked agha to point RO calls to the Flex default gateway instead trying to use the coldfusion one. I'm trying also to eliminate possibilities but it doesn't see to be a CF problem since he can process any cfml page or cfc call with no problem. BTW Agha, is there a reason to deploy CF and Flex in 2 different instances? just asking... João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Paul Kenney Sent: Tue 31-Jan-06 11:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway I'm gonna ask a stupid question, but is the flex server in the crossdomain.xml file in the coldfusion server's webroot? I'm just trying to eliminate possibilities, however trivial. On 1/31/06, João Fernandes [EMAIL PROTECTED] wrote: Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha
[flexcoders] FlashServices/Gateway
Title: FlashServices/Gateway I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FlashServices/Gateway
Title: RE: [flexcoders] Re: FlashServices/Gateway When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_connection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FlashServices/Gateway
Title: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Remote Object
Title: Remote Object Hi all, I have my remote object from a flex instance calling cfc on a separate instance of CF on the same box. It's not working. CF Admin does not show Flash Remoting log through the admin interface but cfusion-info.log and cfusion-out.log shows "FileNotFoundException" whereas the file exists. It runs if I browse to the CFC from IE. I have checked every possible config file that I could think of on both instances. Can anyone let me know what's going on? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] I gave up
Title: I gave up Hi Guys, I have tried everything and it's just not working. When I load my flex applications for the first time during the day, the first call to the RemoteObject works but any following calls don't until I reload the app. After that it works like a charm. One of my friends at a different company runs into the same problem. Does anyone know what could be wrong? My Service layer is ColdFusion. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] tab text alignment
Nithya, mx:Style Tab{text-align:left} /mx:Style Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nithya R Sent: Monday, December 19, 2005 6:23 AM To: flexcoders Subject: [flexcoders] tab text alignment hi please refer to the attached picture and let me know how to fix it thanks, nithya Send instant messages to your online friends http://uk.messenger.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] TemplateMonster.com
Title: TemplateMonster.com Does anyone know about www.templatemonster.com and if the templates can be integrated with Flex applications? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] TemplateMonster.com
Great arguments guys. Thanks a bunch for your inputs on this subject. Ill wait for the time like Tariq when quality themes are available for Flex. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John C. Bland II Sent: Thursday, December 08, 2005 3:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TemplateMonster.com To pile on the agreements, I haven't purchased any templates (100% against them) but have edited them for clients. My experience is similar to Jesse. The code was so horrible in this file I DID hire someone else to do it. If I worked on it I would've been too compelled to rewrite it properly. IMO, a custom design is worth a million times more than a design a million people could have by downloading a template. (subliminal message from Bobby Boucher's Mom: Templates are the devil!) It seems to be a touchy topic though (to use or not use templates) so I'm not trying to hijack this thread. Just wanted to give my opinion on site/app designs. On 12/8/05, Ben Lucyk [EMAIL PROTECTED] wrote: Quick agreement from me as well. I used a template from there for a site I did and the code seemed like it was thrown together in a darn hurry. It didn't look bad, but left untouched it was a maintenance pain waiting to happen. -Ben On 12/8/05, Ralf Rottmann [EMAIL PROTECTED] wrote: One remark from my side: I have used templates from Templatemonster because my customers liked them. I have to say that most of them totally lacked basic coding and implementation best practices. For example the classes and styles in the style sheets that came along with the files were pretty quick and dirty (with enumerated styles like style1, style2, style3) and none of the templates was nearly done in clean html. When it came to cross-browser capabilities, I had to manually go through the html source code of each page and fine tune stuff. Some templates used images (like spacers, backgrounds, lines, etc.) where CSS would have done a beautiful job, too. I'd say if you need something the quick and dirty way or just want to reuse the multimedia assets, go for the templates, they are not too expensive. However if maintainability and cross-browser experience is important for you, I'd second what others on the list have already said: Chances are it might be cheaper to just hire a professional web designer. Regards Ralf Rottmann | Director Sales Marketing | VoicInt Telecommunications GmbH m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e: [EMAIL PROTECTED] --- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Donnerstag, 8. Dezember 2005 23:43 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TemplateMonster.com I've bought templates from them before. It's essentially a zip file with all the raw assets so that you can apply to your own situation (sample HTML code that put all the graphics together, Photoshop files, FLAs, etc...). As far as I know they don't have anything that would be immediately plug and playable. But if you spend the time you can make your own skins / styles / etc... based on the package. But it'll be great in the future when people start publishing full fledged Flex themes that can be easily applied. Mehdi, Agha wrote: Does anyone know about www.templatemonster.com and if the templates can be integrated with Flex applications? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Ben Lucyk (403) 809-3514 [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .. -- John C. Bland II I do what I can do when I can do it. - Chris
[flexcoders] https calls to RemoteObjects
Title: https calls to RemoteObjects Hi all, What extra steps do I need to take to call RemoteObjects on Secure Server? My calls fail when accessing objects on https. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] https calls to RemoteObjects
I do have crossdomain.xml file at the root of CF server where my remote objects are. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] https calls to RemoteObjects this sounds like a crossdomain issue. On 12/6/05, Mehdi, Agha [EMAIL PROTECTED] wrote: Hi all, What extra steps do I need to take to call RemoteObjects on Secure Server? My calls fail when accessing objects on https. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] https calls to RemoteObjects
Title: Re: [flexcoders] https calls to RemoteObjects Oh, so do you need to enter https services in the whitelist? I didnt know that. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Tuesday, December 06, 2005 2:54 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] https calls to RemoteObjects Have you adjusted the whitelist for https? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Tue Dec 06 17:04:39 2005 Subject: RE: [flexcoders] https calls to RemoteObjects I do have crossdomain.xml file at the root of CF server where my remote objects are. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] https calls to RemoteObjects this sounds like a crossdomain issue. On 12/6/05, Mehdi, Agha [EMAIL PROTECTED] wrote: Hi all, What extra steps do I need to take to call RemoteObjects on Secure Server? My calls fail when accessing objects on https. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex App not loading
Title: RE: [flexcoders] Flex App not loading Let's resume this thread. I looked at IIS logs (ex051202.log) and this is what I have there #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 1. 2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 2. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 3. 2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml.swf - 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 304 0 0 4. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 5. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 Is this the kind of logs I should be looking at? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Saturday, November 19, 2005 3:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading Is your application initialization based on some request result(RO,WS or HTTP)? Take a look also to your server log files to track any additional information. João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Fri 18-Nov-05 10:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading 1) Yes, the exact same URL 2) It does load the Player but not the app 3) I am running multiple instances and one of them is Flex not integrated with CF. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Friday, November 18, 2005 2:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading 1)Are both accessing the same URL? 2)Does the application show anything or if you right click it says movie not loaded? 3)Are you running a CF+Flex integraded instance? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Fri 18-Nov-05 10:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading It does load the flash player but the app doesn't launch Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Friday, November 18, 2005 2:04 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading When you say that the other network can't load the same apps, do you mean the pages don't come up at all or the pages return but the application does not launch? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Friday, November 18, 2005 12:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex App not loading Hi all, I have run into a strange problem. Here at the company, we have two different networks and we outsource our hosting. Our group that owns one network can access flex apps from the remote server fine. The other network can't load the same apps even though it has access. It'll run other cf and html files on the same server but not the flex apps. Is there any additional security setup needs to be in place? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe
RE: [flexcoders] Flex App not loading
Title: RE: [flexcoders] Flex App not loading Thats what I got after deleting the browser cache. 2005-12-02 19:42:26 192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 157.165.41.125 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 2005-12-02 19:42:26 192.168.1.173 GET /flex/flex-internal action="" 80 - 157.165.41.125 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 2005-12-02 19:42:26 192.168.1.173 GET /flex/flex-internal action="" 80 - 157.165.41.125 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 2005-12-02 19:42:26 192.168.1.173 GET /flex/flex-internal action="" 80 - 157.165.41.125 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 2005-12-02 19:42:45 192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 207.195.241.4 Mozilla/4.78+(TuringOS;+Turing+Machine;+0.0) 200 0 0 Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Friday, December 02, 2005 10:45 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading You're getting a 304 so the browser thinks it has the most recent copy. Can you try deleting your cache and reposting the log from that machine so that we can see how it behaves when sending the swf? Thanks, 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:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Friday, December 02, 2005 10:01 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading Let's resume this thread. I looked at IIS logs (ex051202.log) and this is what I have there #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 1. 2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 66.134.90..34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 2. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 3. 2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml.swf - 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 304 0 0 4. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 5. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0 Is this the kind of logs I should be looking at? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Saturday, November 19, 2005 3:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading Is your application initialization based on some request result(RO,WS or HTTP)? Take a look also to your server log files to track any additional information. João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Fri 18-Nov-05 10:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading 1) Yes, the exact same URL 2) It does load the Player but not the app 3) I am running multiple instances and one of them is Flex not integrated with CF. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Friday, November 18, 2005 2:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading 1)Are both accessing the same URL? 2)Does the application show anything or if you right click it says movie not loaded? 3)Are you running a CF+Flex integraded instance? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Fri 18-Nov-05 10:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading It does load the flash player but the app doesn't launch Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Friday, November 1
[flexcoders] Decompile SWF
Title: Decompile SWF Hi all, I created a flex app and precompiled it into a swf. It was an old file and now I can't find the source mxml file. All I have is that swf. Is there any way I can decompile it. I can't even see what I had there since it was developed with the developer version of flex. Any help please??? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Checkbox value
Title: Checkbox value How can I make it so that my CheckBox also holds data property of an object and not just show the label. Basically, I have an object with data and label properties and I want the CheckBox to hold the data and display the label. If CheckBox can't do that then I'm gonna have to create a custom component. Just wanted to see if it was something CheckBox could do. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Checkbox value
Title: Checkbox value Yeah, thats what I did since CheckBox doesnt support data property (for I dont know what reason). Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andora, Greg Sent: Tuesday, November 22, 2005 2:04 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Checkbox value If you create a custom component extending the checkbox component, you can accomplish this byadding a property to your checkbox. The AS for creating your property would look somethinglike the below...I haven't tested it, so don't shoot me if I'm : private var _data:Object; [ChangeEvent(dataChanged)] function get data():Boolean{ return _data; } function set data(objData:Object){ _data = objData dispatchEvent({ type:'dataChanged' }); } } Thank you, Greg Andora IT - Web Development Group Database Analyst/Programmer (702) 862-7725 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Tuesday, November 22, 2005 10:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checkbox value How can I make it so that my CheckBox also holds data property of an object and not just show the label. Basically, I have an object with data and label properties and I want the CheckBox to hold the data and display the label. If CheckBox can't do that then I'm gonna have to create a custom component. Just wanted to see if it was something CheckBox could do. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com
RE: [flexcoders] JavaScript in flex
This is really good. I wonder if AS/JS integration can happen in different browser windows. Can AS functions in one browser window communicate with JS functions in the other? Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Maegerman Sent: Monday, November 21, 2005 1:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] _javascript_ in flex http://weblogs.macromedia.com/flashjavascript/ Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manish Sent: lundi 21 novembre 2005 8:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] _javascript_ in flex Hi All, Can Please somebody let me know that how can i use the _javascript_ functions in flex . Is there is any way that i can call _javascript_ functions from .as files. I will really appreciate if someone will help me in this regard. Thanks Manish Jain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
[flexcoders] Flex App not loading
Title: Flex App not loading Hi all, I have run into a strange problem. Here at the company, we have two different networks and we outsource our hosting. Our group that owns one network can access flex apps from the remote server fine. The other network can't load the same apps even though it has access. It'll run other cf and html files on the same server but not the flex apps. Is there any additional security setup needs to be in place? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex App not loading
Title: Flex App not loading It does load the flash player but the app doesnt launch Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Friday, November 18, 2005 2:04 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading When you say that the other network can't load the same apps, do you mean the pages don't come up at all or the pages return but the application does not launch? 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:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Friday, November 18, 2005 12:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex App not loading Hi all, I have run into a strange problem. Here at the company, we have two different networks and we outsource our hosting. Our group that owns one network can access flex apps from the remote server fine. The other network can't load the same apps even though it has access. It'll run other cf and html files on the same server but not the flex apps. Is there any additional security setup needs to be in place? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex App not loading
Title: RE: [flexcoders] Flex App not loading 1) Yes, the exact same URL 2) It does load the Player but not the app 3) I am running multiple instances and one of them is Flex not integrated with CF. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Friday, November 18, 2005 2:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading 1)Are both accessing the same URL? 2)Does the application show anything or if you right click it says movie not loaded? 3)Are you running a CF+Flex integraded instance? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Fri 18-Nov-05 10:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading It does load the flash player but the app doesn't launch Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Friday, November 18, 2005 2:04 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not loading When you say that the other network can't load the same apps, do you mean the pages don't come up at all or the pages return but the application does not launch? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Friday, November 18, 2005 12:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex App not loading Hi all, I have run into a strange problem. Here at the company, we have two different networks and we outsource our hosting. Our group that owns one network can access flex apps from the remote server fine. The other network can't load the same apps even though it has access. It'll run other cf and html files on the same server but not the flex apps. Is there any additional security setup needs to be in place? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex Projects
Title: Flex Projects Thanks guys. I always get my problems solved by this list. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Monday, November 14, 2005 11:22 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Projects Or you an use Ted's new email address [EMAIL PROTECTED] Couldn't resist... 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:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, November 14, 2005 11:19 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Projects Ted Patrick @ IFBIN [EMAIL PROTECTED] Todd Cieplinski @ Universal Mind [EMAIL PROTECTED] Dave Wolf@ Cynergy Systems [EMAIL PROTECTED] - Original Message - From: Mehdi, Agha To: flexcoders@yahoogroups.com Sent: Monday, November 14, 2005 1:47 PM Subject: [flexcoders] Flex Projects Hi all, We are looking into outsourcing our Flex projects to companies who have expertise in this area and are not very expensive. We use CF on the backend. I need contact info for as many companies as possible so that we can start talking to them. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] RemoteObject method invocation
Title: RemoteObject method invocation Hi all, Whenever I load my application the first time during the day, it runs the first service call fine and just hangs up on the second call to the same service until I refresh the page. After that it runs fine throughout the day. I can't figure out what's wrong with it. I am using CF on the backend. Code for the CFC initialization is this: cfcomponent extends=com.Service cfset super.init() / cffunction name="doAction1" cffunction name="doAction2" /cfcomponent Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] AnimationPackage
Title: AnimationPackage Hi all, I just downloaded AnimationPackage but can't fid the Flip class that was used as an example on RichInternetApps. Does anyone have any info on that? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] HTML Text in TextArea
Wow, that sucks. I can use any other control that will help do that sort of thing. If Flash player can not render tabletrtd what tags can I use to give the html a grid look? Actually, the html is a result of CHTTP call to a remote server and I parse the whole document to extract the piece I want. I can replace all my TABLE related tags with anything that will help. Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Spike Sent: Thursday, October 27, 2005 1:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML Text in TextArea Yeah, The TextArea doesn't render table tags. I don't think the flash player HTML capabilities support table tags, but I really could use this sort of functionality. Has anyone got an example of rendering a table in Flash? I've seen a few examples, but one of the requirements for me is to be able to drag select inside the cells and across multiple cells. FlashPaper allows you to do this, so I know it's technically possible, but I haven't seen anything else that does it. Spike On 10/27/05, Matt Chotin [EMAIL PROTECTED] wrote: I don't think the TextArea is capable of rendering table tags. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, October 26, 2005 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML Text in TextArea Hi All, How can I show HTML in TextArea so that instead of spitting out html tags, it actually renders html? I am replacing and with lt; and gt; respectively before I send it to Flash Client. If I don't replace that it does render HTML but doesn't show data in html table format and I have table in my html. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Stephen Milligan Do you do the Badger? http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] HTML Text in TextArea
Ben, Id love to do that but this is what my parsed HTML looks like. Sorry for posting this long html here. tr td align=left span class=7200L35J /span /td td align=left span class= a target='_blank' href="" DEVICE TE capturePart('7200L35J' , 'IDT', 'AVNET', 'www.stkcheck.com/evs/cart/first.asp?mbr_id=01052401part=7200L35Jdate=10/27/2005mfg=IDTmfgorig=INTEGRATED DEVICE TE', 'true') AVNET /a /span /td td align=left span class= 81/span /td td align=left span class=10/27/2005/span /td /tr tr td align=left span class=IDT7200L35J /span /td td align=left span class= a target='_blank' href="" capturePart('IDT7200L35J' , 'IDT', 'ARROW ELECTRONICS', 'www.stkcheck.com/evs/cart/first.asp?mbr_id=01039901part=IDT7200L35Jdate=10/27/2005mfg=IDTmfgorig=IDT', 'true') ARROW ELECTRONICS /a /span /td td align=left span class= 1241/span /td td align=left span class=10/27/2005/span /td /tr Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Forta Sent: Thursday, October 27, 2005 10:53 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] HTML Text in TextArea If you want a gird look, why not just use DataGrid? Would not be hard to process the HTTP results on the CF end and use the Query functions to turn it into a query object which could then be easily rendered with DataGrid. --- Ben From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Thursday, October 27, 2005 1:43 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] HTML Text in TextArea Wow, that sucks. I can use any other control that will help do that sort of thing. If Flash player can not render tabletrtd what tags can I use to give the html a grid look? Actually, the html is a result of CHTTP call to a remote server and I parse the whole document to extract the piece I want. I can replace all my TABLE related tags with anything that will help. Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Spike Sent: Thursday, October 27, 2005 1:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML Text in TextArea Yeah, The TextArea doesn't render table tags. I don't think the flash player HTML capabilities support table tags, but I really could use this sort of functionality. Has anyone got an example of rendering a table in Flash? I've seen a few examples, but one of the requirements for me is to be able to drag select inside the cells and across multiple cells. FlashPaper allows you to do this, so I know it's technically possible, but I haven't seen anything else that does it. Spike On 10/27/05, Matt Chotin [EMAIL PROTECTED] wrote: I don't think the TextArea is capable of rendering table tags. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, October 26, 2005 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML Text in TextArea Hi All, How can I show HTML in TextArea so that instead of spitting out html tags, it actually renders html? I am replacing and with lt; and gt; respectively before I send it to Flash Client. If I don't replace that it does render HTML but doesn't show data in html table format and I have table in my html. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Stephen Milligan Do you do the Badger? http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] HTML Text in TextArea
The only problem is that I dont have any control over how the data is put into html since Im retrieving it using CFHTTP from another web site. I apologize for turning this thread into Non-Flex related. If anyone has tips for me on how to parse the HTML posted to extract the data, please reply to me offlist. Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, October 27, 2005 11:17 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML Text in TextArea Whoever is parsing the data to be put in tables should be removed from the process. Flex should be the presentation tier in this instance, not HTML. - Original Message - From: Mehdi, Agha To: flexcoders@yahoogroups.com Sent: Thursday, October 27, 2005 1:58 PM Subject: RE: [flexcoders] HTML Text in TextArea Yeah, only if I could parse it enough to create an array of objects out of any number of HTML table rows with 2 columns each. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, October 27, 2005 10:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML Text in TextArea Use MXML instead. You can use Grid, VBox, HBox, etc. to do what a table tag does, and more. - Original Message - From: Mehdi, Agha To: flexcoders@yahoogroups.com Sent: Thursday, October 27, 2005 1:43 PM Subject: RE: [flexcoders] HTML Text in TextArea Wow, that sucks. I can use any other control that will help do that sort of thing. If Flash player can not render tabletrtd what tags can I use to give the html a grid look? Actually, the html is a result of CHTTP call to a remote server and I parse the whole document to extract the piece I want. I can replace all my TABLE related tags with anything that will help. Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Spike Sent: Thursday, October 27, 2005 1:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML Text in TextArea Yeah, The TextArea doesn't render table tags. I don't think the flash player HTML capabilities support table tags, but I really could use this sort of functionality. Has anyone got an example of rendering a table in Flash? I've seen a few examples, but one of the requirements for me is to be able to drag select inside the cells and across multiple cells. FlashPaper allows you to do this, so I know it's technically possible, but I haven't seen anything else that does it. Spike On 10/27/05, Matt Chotin [EMAIL PROTECTED] wrote: I don't think the TextArea is capable of rendering table tags. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, October 26, 2005 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML Text in TextArea Hi All, How can I show HTML in TextArea so that instead of spitting out html tags, it actually renders html? I am replacing and with lt; and gt; respectively before I send it to Flash Client. If I don't replace that it does render HTML but doesn't show data in html table format and I have table in my html. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Stephen Milligan Do you do the Badger? http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] HTML Text in TextArea
Title: HTML Text in TextArea Hi All, How can I show HTML in TextArea so that instead of spitting out html tags, it actually renders html? I am replacing "" and "" with "lt;" and "gt;" respectively before I send it to Flash Client. If I don't replace that it does render HTML but doesn't show data in html table format and I have table in my html. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] AMF Protocol
Title: AMF Protocol Hi All, Can someone please let me know what does this error mean? [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Checkbox Cell Renderer
Title: Checkbox Cell Renderer Matt, Code is below. Can you please take a look at it and let me know what I am doing wrong? import mx.core.UIComponent import mx.controls.CheckBox class com.idt.pcmssearch.parametric.renderers.CheckCellRenderer extends UIComponent { var check : MovieClip; var listOwner : MovieClip; var getCellIndex : Function; var getDataLabel : Function; function CheckCellRenderer() { } function createChildren() : Void { check = createClassObject(CheckBox, check, 1, {styleName:this, owner:this}); check.addEventListener(click, this); size(); } function size() : Void { check.setSize(20, layoutHeight); check._x = (layoutWidth-20)/2; check._y = (layoutHeight-16)/2; } function setValue(str : String, currentItem : Object, sel : Boolean) : Void { //check._visible = (currentItem!=undefined); check.selected = currentItem[getDataLabel()]; } function getPreferredHeight() : Number { return 16; } function getPreferredWidth() : Number { return 20; } function click() { listOwner.editField( getCellIndex().itemIndex, getDataLabel(), check.selected ); } } Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Saturday, September 10, 2005 9:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Checkbox Cell Renderer Im guessing that you accidentally have a reference to something that is not being cleared in your renderer. Remember that the renderer is re-used for many items and as you scroll up and down it changes position. So maybe theres an instance variable in your renderer thats accidentally staying set, i.e., youre not clearing everything that you need to in your setValue method. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Friday, September 09, 2005 5:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checkbox Cell Renderer Hi all, I have a weirdo thing going on with this renderer. When I check the checkbox in the grid, it automatically selects other checkboxes in the same grid randomly. The most interesting part is that when I scroll through the grid, it keeps checking/unchecking the boxes without any reason. Also, when I have some rows checked and I get new data in the grid, it keeps the boxes checked at previous indexes. Anyone ever ran into this issue? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Checkbox Cell Renderer
Title: Checkbox Cell Renderer Hi all, I have a weirdo thing going on with this renderer. When I check the checkbox in the grid, it automatically selects other checkboxes in the same grid randomly. The most interesting part is that when I scroll through the grid, it keeps checking/unchecking the boxes without any reason. Also, when I have some rows checked and I get new data in the grid, it keeps the boxes checked at previous indexes. Anyone ever ran into this issue? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Tricky Flash Form Question
Title: Tricky Flash Form Question Guys, I have a CF Flash Form, which when I hit submit does a little validation on form fields using ActionScript before it should submit the form. The validation is working great except that I can't submit it using AS. I have tried calling JS from AS and submitting the form through that but that's not working either. My guess is that since flash form is converted into a swf, it doesn't work like traditional document.form.submit(); action. Sorry for posting CF Form questions here. What should I do? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Custom Tree Control
Title: Custom Tree Control Hi All, I have to modify tree control so that child nodes are DataGrids. The reason I need it to be like this is so that I can expand all of the nodes and have grouped results, which just made me think what if I use nested repeaters to do the same thing? What do you think? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Special Chars. in AS
Title: Special Chars. in AS Hi, I need to display Celsius (250°C) string in a Flex app. Data comes from CF and you can use deg; in CF to show it correctly in HTML but when it comes to Flash Player, it just spells it (deg;) out. What should I use for special Chars? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] ModelLocator
Title: ModelLocator Hi All, How does ModelLocator work? I am looking at the sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are bound to views and Commands manipulate ModelLocator to update views. Is ModelLocator available to the entire application once it gets initialized on the root level? If it works like that then it means that I'd hardly ever need ViewLocators??? I can create models, initialize them in ModelLocator and use them wherever I want in the app? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] ModelLocator
Title: ModelLocator Great. That sounds exciting and a very good approach. The way Im implementing is that I have a ModelLocator, which has models as properties. Now should those individual models make the ValueObjects available to views or just their own properties? Why I am leaning towards VOs is so that its easier for me to send them over to CF. Does that sound ok? Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Tuesday, August 23, 2005 11:56 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ModelLocator Exactly. I found after implementing the ModelLocator, I pretty much wiped out the need for ViewHelpers. The only thing I use the ViewHelpers for now is setting focus on fields! It makes things a lot more organized and simplified. You are right though. Just initialize it in the app init event and you will be able to use it anywhere, anytime. Dustin Mercer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Tuesday, August 23, 2005 11:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ModelLocator Hi All, How does ModelLocator work? I am looking at the sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are bound to views and Commands manipulate ModelLocator to update views. Is ModelLocator available to the entire application once it gets initialized on the root level? If it works like that then it means that I'd hardly ever need ViewLocators??? I can create models, initialize them in ModelLocator and use them wherever I want in the app? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flash Forms
Title: Flash Forms Hi All, I am sorry to post this question here but I don't know where else to ask this. I am using Flash Forms in CF and need to switch to the Tab Child C if index 1 of drop down on Tab Child A is selected. How do I do that? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Repeater Question
Title: Repeater Question Hi all, Can someone please take a look at this code and tell me what am I doing wrong here? = mx:Script ![CDATA[ private var attributes : Array; private function loadAttributes() : Void { attributes = new Array(); var attribute : Object = new Object(); attribute[name] = Density; attribute[rows] = new Array(); attribute[rows][0] = new Array(); attribute[rows][0][0] = 8 MB; attribute[rows][0][1] = 4 MB; attribute[rows][0][2] = 9 MB; attribute[rows][1] = new Array(); attribute[rows][1][0] = 18 MB; attributes.push( attribute ); var attribute : Object = new Object(); attribute[name] = I/O Voltage; attribute[rows] = new Array(); attribute[rows][0] = new Array(); attribute[rows][0][0] = 3.3 V; attribute[rows][0][1] = 4.5 V; attributes.push( attribute ); } ]] /mx:Script mx:Repeater id=attributes_rpt dataProvider={attributes} mx:FormItem width=100% mx:CheckBox id=column1 label={attributes_rpt.currentItem['name']}/ mx:FormItem enabled={column1.selected} marginLeft=20 mx:Repeater id=attributeRows_rpt dataProvider={attributes_rpt.currentItem['rows']} mx:HBox mx:Repeater id=attributeValues_rpt dataProvider={attributeRows_rpt} mx:CheckBox label= width=80 toolTip=/ /mx:Repeater /mx:HBox /mx:Repeater /mx:FormItem /mx:FormItem /mx:Repeater === The problem is that it doesn't work. I call the function on initialize event of mx:Application tag. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Repeater Question
Title: Message Yup, That worked. Thanks Tracy Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, August 17, 2005 11:30 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Repeater Question I suspect that if you assign the dataProvider to the repeater after it is ready, this will work. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 17, 2005 1:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Repeater Question Agha, This is from the Flex docs: You cannot use a Repeater object to iterate through a two-dimensional Array object that is programmatically generated. This is because the elements of an Array object do not trigger changeEvent events, and therefore cannot function as binding sources at runtime. Binding copies initial values during instantiation after variables are declared in an mx:Script tag, but before initialize handlers are executed. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 17, 2005 1:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater Question Hi all, Can someone please take a look at this code and tell me what am I doing wrong here? = mx:Script ![CDATA[ private var attributes : Array; private function loadAttributes() : Void { attributes = new Array(); var attribute : Object = new Object(); attribute[name] = Density; attribute[rows] = new Array(); attribute[rows][0] = new Array(); attribute[rows][0][0] = 8 MB; attribute[rows][0][1] = 4 MB; attribute[rows][0][2] = 9 MB; attribute[rows][1] = new Array(); attribute[rows][1][0] = 18 MB; attributes.push( attribute ); var attribute : Object = new Object(); attribute[name] = I/O Voltage; attribute[rows] = new Array(); attribute[rows][0] = new Array(); attribute[rows][0][0] = 3.3 V; attribute[rows][0][1] = 4.5 V; attributes.push( attribute ); } ]] /mx:Script mx:Repeater id=attributes_rpt dataProvider={attributes} mx:FormItem width=100% mx:CheckBox id=column1 label={attributes_rpt.currentItem['name']}/ mx:FormItem enabled={column1.selected} marginLeft=20 mx:Repeater id=attributeRows_rpt dataProvider={attributes_rpt.currentItem['rows']} mx:HBox mx:Repeater id=attributeValues_rpt dataProvider={attributeRows_rpt} mx:CheckBox label= width=80 toolTip=/ /mx:Repeater /mx:HBox /mx:Repeater /mx:FormItem /mx:FormItem /mx:Repeater === The problem is that it doesn't work. I call the function on initialize event of mx:Application tag. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Best Practice
Title: Best Practice Hi all, I have an architectural question. Let me tell you the scenario first. A tree control with bunch of nodes and each node has some attributes in the database, which vary from node to node. The nodes hold IDs and upon selection, the app needs to get all the attributes and build a form with a bunch of check boxes. Each attribute has multiple values. You can have 10 attributes for a node and each attribute with any number of values. Checkboxes represent the values for those attributes. Attribute1 CheckBox1 CheckBox2 CheckBox3 CheckBox4 CheckBox5 Attribute2 CheckBox1 CheckBox2 The way I structured is that I'd build the forms as mxml from CF instead of hitting the db for every node selection and doing complex processing to figure out the attributes and values that I need and passing the data back to flex to build the UI. The way db is setup is not very friendly to offer easy retrieval of the attributes. Anyways, a nightly process builds the forms as mxml files using CF and compiles the application to make those forms available. It works good if number of forms is not big. But unfortunately, I can end up with over 900 forms that way. 900 cached mxml files, and I don't like it (please let me know if I should like it and I'll change my mind). What if my nightly process builds the dataprovider for each node and saves it in the db? When I select a node from the UI, I pass that dataprovider back to flex from CF and build the forms on the fly using repeaters (only if I knew how to build forms like this using repeaters). The structure of DP is: Attributes (Array) Attribute (Structure/Object) Attribute[name] Attribute[rows] (Array) Attribute[rows][1] (Array) Attribute[rows][1][1] (Attribute Value) . I need help in coming up with the better architecture for this piece of the app. I will appreciate any help that I can get (like always) Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Create Panel Child
Title: RE: [flexcoders] Create Panel Child Thanks Manish, that worked. Except that the controls are not showing now. This is how my mxml looks. mx:Form width=500 xmlns:mx=http://www.macromedia.com/2003/mxml mx:FormItem label=Organization mx:HBox mx:CheckBox label=64K x 36 width=80 toolTip=64K x 36/ mx:CheckBox label=128K x 36 width=80 toolTip=128K x 36/ mx:CheckBox label=256K x 36 width=80 toolTip=256K x 36/ /mx:HBox mx:HBox mx:CheckBox label=512K x 36 width=80 toolTip=512K x 36/ /mx:HBox /mx:FormItem /mx:Form When I load this file normally, it loads fine but when I load it with CreateChild method, it strips out the checkboxes. Is there anything else I need to be careful about? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani Sent: Monday, August 08, 2005 10:56 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Create Panel Child On 8/8/05, Mehdi, Agha [EMAIL PROTECTED] wrote: var cat1:category_12345 = category_12345; (can this be in any part of the application?) Yes, any part of the application that is linked in. Put it into a separate .as file and include it using the Script element. mx:Script source=MyDependencies.as / var catID = category_12345; createChild( catID, , {...} ); Is this how I need to structure it? Yes, but catID needs to be the fully-qualified class name (including the package name). See my previous email for how I'm using the Bar class. Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12h9pskm4/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123531027/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org" TARGET="_blank">http://us.ard.yahoo.com/SIG=12h9pskm4/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123531027/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Alright, I guess I need to give up hope. Re-installed everything from scratch, followed instructions line by line and the result is the same server error. I am surprised no one ever ran into this, which means that theres something wrong with the way my environment is setup. I just cant find the problem. Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 6:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, I am not sure if you got my last email. I have uninstalled CFMX, Flex and reinstalling CF. What is the best resource available to install flex to work with CF under IIS (no MM Docs) Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 4:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS Hmmm.. well I would say try Ben and Peter's web.xml file: http://www.cflex.net/showfiledetails.cfm?ObjectID=177 If that doesn't work... If it's not too painful, I probably would uninstall everything and re-install from fresh and meticulously go through the steps. Otherwise you can spend forever trying to troubleshoot this. Mehdi, Agha wrote: There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- 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 Install on IIS
Title: Message Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html, restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and Ill be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName, right? Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex Install on IIS
Title: RE: [flexcoders] Flex Install on IIS And that is??? I did configure the mappings in IIS by adding .mxml and .swf and pointed them at the same jrun_iis6.dll that .cfm uses. Am I missing more? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec Sent: Wednesday, August 03, 2005 12:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS I suspect you haven't configured the IIS web connectior. Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12h7h9g14/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102857/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992" TARGET="_blank">http://us.ard.yahoo.com/SIG=12h7h9g14/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102857/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12hn9g7gf/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102763/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992" TARGET="_blank">http://us.ard.yahoo.com/SIG=12hn9g7gf/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102763/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit yo
RE: [flexcoders] Flex Install on IIS
Title: RE: [flexcoders] Flex Install on IIS Valy, I did find the file but it's under c:\jrun4\lib\wsconfig instead of c:\jrun4\lib\wsconfig\1 and the name of the file is jrun_iis6.ini instead of jrun.ini as mentioned in the article. I did add ignoresuffixmap=false to the ini file, restarted jrun server. Same error. I am running CF 7.0 and I'm assuming the examples are from CF 6.1. Can that be an issue? Thanks Server Error Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec Sent: Wednesday, August 03, 2005 12:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Agha, try this...hope it helps. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: And that is??? I did configure the mappings in IIS by adding .mxml and .swf and pointed them at the same jrun_iis6.dll that .cfm uses. Am I missing more? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec Sent: Wednesday, August 03, 2005 12:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS I suspect you haven't configured the IIS web connectior. Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Ok, I like this suggestion no matter how painful it is. Before I do that though, Ill appreciate if someone can give me step by step guide to install CF to run under IIS, which is running on a secure server and be able to make flex work with it. Thats my first time configuring CF7 with IIS so dont know what to expect and frankly speaking, MM docs are of no help (what a surprise) Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 4:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS Hmmm.. well I would say try Ben and Peter's web.xml file: http://www.cflex.net/showfiledetails.cfm?ObjectID=177 If that doesn't work... If it's not too painful, I probably would uninstall everything and re-install from fresh and meticulously go through the steps. Otherwise you can spend forever trying to troubleshoot this. Mehdi, Agha wrote: There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Tariq, I am not sure if you got my last email. I have uninstalled CFMX, Flex and reinstalling CF. What is the best resource available to install flex to work with CF under IIS (no MM Docs) Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 4:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS Hmmm.. well I would say try Ben and Peter's web.xml file: http://www.cflex.net/showfiledetails.cfm?ObjectID=177 If that doesn't work... If it's not too painful, I probably would uninstall everything and re-install from fresh and meticulously go through the steps. Otherwise you can spend forever trying to troubleshoot this. Mehdi, Agha wrote: There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex Install on IIS
Title: Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex Install on IIS
Title: Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and Ill be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName, right? Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Loading mxml Components
Title: Loading mxml Components Hi all, I need to create a panel control and load another mxml component into that and partially lay the panel on top of the current app. How do I go about doing that? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Loading mxml Components
Title: Loading mxml Components Hi Matt, Yeah, I realized after posting my thread that we have PopUp Managers to do that sort of thing. But now I'm stuck at another problem. I am creating TitleWindow as a popup. How can I make it so that users can resize/minimize/maximize it? Thanks Agha From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Monday, August 01, 2005 8:27 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Loading mxml Components You can tell the Panel instance to createChild and pass in the MXML component you want it to instantiate. I'm assuming you want to do this programmatically, this isn't a Panel containing a single kind of component that you could easily write in MXML? When you say the Panel needs to lay on top, does it need to stick around for a while? Or this the sort of thing you could use the PopUpManager for? If you need it to move around but not be a popup you're going to need to have your Application have a Canvas. Then the Canvas can contain a VBox that is sized to the same size as the Canvas. And then you can add the Panel to the Canvas which will allow the Panel to move around and on top of the VBox. HTH, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, AghaSent: Monday, August 01, 2005 4:54 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Loading mxml Components Hi all, I need to create a panel control and load another mxml component into that and partially lay the panel on top of the current app. How do I go about doing that? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com
RE: [flexcoders] Loading mxml Components
Title: Loading mxml Components Great. Thanks a bunch Matt. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Monday, August 01, 2005 9:54 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Loading mxml Components You can start here: http://manish.revise.org/2005/04/resizable-titlewindow-in-flex.html Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, AghaSent: Monday, August 01, 2005 9:45 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Loading mxml Components Hi Matt, Yeah, I realized after posting my thread that we have PopUp Managers to do that sort of thing. But now I'm stuck at another problem. I am creating TitleWindow as a popup. How can I make it so that users can resize/minimize/maximize it? Thanks Agha From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt ChotinSent: Monday, August 01, 2005 8:27 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Loading mxml Components You can tell the Panel instance to createChild and pass in the MXML component you want it to instantiate. I'm assuming you want to do this programmatically, this isn't a Panel containing a single kind of component that you could easily write in MXML? When you say the Panel needs to lay on top, does it need to stick around for a while? Or this the sort of thing you could use the PopUpManager for? If you need it to move around but not be a popup you're going to need to have your Application have a Canvas. Then the Canvas can contain a VBox that is sized to the same size as the Canvas. And then you can add the Panel to the Canvas which will allow the Panel to move around and on top of the VBox. HTH, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, AghaSent: Monday, August 01, 2005 4:54 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Loading mxml Components Hi all, I need to create a panel control and load another mxml component into that and partially lay the panel on top of the current app. How do I go about doing that? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.To reply to our email administrator directly, send an email to[EMAIL PROTECTED]Littler Mendelson, P.C.http://www.littler.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com
RE: [flexcoders] Re: flex with coldfusion cfc's
Title: RE: [flexcoders] Re: flex with coldfusion cfc's Jeff, How do you handle two-way binding in that case? Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Friday, July 29, 2005 7:03 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: flex with coldfusion cfc's To bind your CFC values to your form fields, you should have a local model that is going to hold your returned values (or default ones) and can be used as a source for binding. I've gotten in the habit of creating a AS class model that accepts the returned values from my RO call which has public properties that can be bound to the form fields - and vice versa. When I wish to update/insert the information in my database, it is then only necessary to pass my model as an object to a delegate class which does my updating for me. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman Sent: Friday, July 29, 2005 1:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: flex with coldfusion cfc's Humm I could have sworn I attached this last time. But here is my cfc. !-- # # HS System # #Written by: Jeremy Rottman # #Updated: 07/28/2005 # # -- !-- - Coldfusion MX 6.1, any platform w/ the MetaWrapper.class installed to the class path - Bluedragon? not sure - Coldfusion MX 7.0 any platform -- !-- Abstract Data Acess -- cfcomponent displayname=tbl_agentPortal_admin_logsDAO for MySQL hint=I abstract data access for tbl_agentPortal_admin_logs. extends=tbl_agentPortal_admin_logsDAO cffunction name=create access=public returntype=void output=false hint=CRUD Method. !-- Object from which a record is created -- cfargument name=tbl_agentPortal_admin_logsBean type=tbl_agentPortal_admin_logs required=true / cfset var tbl_agentPortal_admin_logsInsert = 0 / cfset var tbl_agentPortal_admin_logsmaxcols = 0 / cftransaction !-- Insert query -- cfquery name=tbl_agentPortal_admin_logsInsert datasource=#variables.dsn# INSERT INTO tbl_agentPortal_admin_logs ( fld_admin_log_new, fld_admin_log_review, fld_admin_log_adds, fld_admin_log_tp_closing, fld_admin_log_qb_closing ) VALUES ( cfqueryparam cfsqltype=cf_sql_VARCHAR value=#arguments.tbl_agentPortal_admin_logsBean.getfld_admin_log_new()# maxlength=#arguments.tbl_agentPortal_admin_logsBean.getBeanConfigValue( 'fld_admin_log_new).maxlength# null=#arguments.tbl_agentPortal_admin_logs.isNullfld_admin_log_new()# / , cfqueryparam cfsqltype=cf_sql_VARCHAR value=#arguments.tbl_agentPortal_admin_logsBean.getfld_admin_log_review ()# maxlength=#arguments.tbl_agentPortal_admin_logsBean.getBeanConfigValue( 'fld_admin_log_review).maxlength# null=#arguments.tbl_agentPortal_admin_logs.isNullfld_admin_log_review() # / , cfqueryparam cfsqltype=cf_sql_VARCHAR value=#arguments.tbl_agentPortal_admin_logsBean.getfld_admin_log_adds() # maxlength=#arguments.tbl_agentPortal_admin_logsBean.getBeanConfigValue( 'fld_admin_log_adds).maxlength# null=#arguments.tbl_agentPortal_admin_logs.isNullfld_admin_log_adds()# / , cfqueryparam cfsqltype=cf_sql_VARCHAR value=#arguments.tbl_agentPortal_admin_logsBean.getfld_admin_log_tp_clo sing()# maxlength=#arguments.tbl_agentPortal_admin_logsBean.getBeanConfigValue( 'fld_admin_log_tp_closing).maxlength# null=#arguments.tbl_agentPortal_admin_logs.isNullfld_admin_log_tp_closi ng()# / , cfqueryparam cfsqltype=cf_sql_VARCHAR value=#arguments.tbl_agentPortal_admin_logsBean.getfld_admin_log_qb_clo sing()# maxlength=#arguments.tbl_agentPortal_admin_logsBean.getBeanConfigValue( 'fld_admin_log_qb_closing).maxlength# null=#arguments.tbl_agentPortal_admin_logs.isNullfld_admin_log_qb_closi ng()# / ) /cfquery !-- Selection Query -- cfquery name=tbl_agentPortal_admin_logsmaxcols datasource=#variables.dsn# select max(fld_admin_log_id) as maxfld_admin_log_id from tbl_agentPortal_admin_logs /cfquery cfset arguments.tbl_agentPortal_admin_logsBean.setfld_admin_log_id(tbl_agentPo rtal_admin_logsmaxcols.maxfld_admin_log_id, false, false)/ /cftransaction /cffunction /cfcomponent --- In flexcoders@yahoogroups.com, Tariq Ahmed [EMAIL PROTECTED] wrote: Hi Jeremy, I didn't see a CFC attached. But in general you define an mx:RemoteObject, and in a really basic sense: ##jeremy.mxml mx:Application init=myRO.getSomething().send() mx:RemoteObject id=myRO endpoint=@ContextRoot()/flashservices/gateway source=jeremy mx:method name=getSomething result=newAdds.text=event.result/ /mx:RemoteObject mx:FormItem label=New Additions mx:TextInput id=newAdds / /mx:FormItem /mx:Form /mx:Application ### jeremy.cfc cfcomponent cffunction name=getSomething returnType=string access=remote cfreturn
[flexcoders] XML Load
Title: XML Load Hi All, I am trying to load XML in a class's method, which is called by my Flex app after the app loads and have onLoad function to process the XML once it loads. Code: -- public function loadPLMS():Void{ tacticsXML.load( [URL] ); tacticsXML. success ) { Alert.show( tacticsXML.parentNode.toString() ); } The Alert doesn't show me anything. If I try to dump success, it does show me "true". Am I doing anything wrong here? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Repeater
Title: Repeater Hi all, Is there anything wrong with the following code? mx:Repeater id=tactics dataProvider={plms.getDivision().getTactics() plms:header headerText={tactics.currentItem.getName()}/ mx:Repeater id=sTactics dataProvider=tactics.currentItem.getSubTactics() plms:row rowLabel={sTactics.currentItem.getName()} subTactics={subTactics}/ /mx:Repeater /mx:Repeater Where: plms.getDivision().getTactics() is an Array of Objects and each element of that array has getName() and getSubTactics() methods. I get the right result when I do this Alert.show(plms.getDivision().getTactics()[0].getSubTactics()[0].getName()); Any ideas? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairngorm error
here's the flex-config file and the content of web-inf/flex folder: /web-inf/flex/ frameworks frameworks-debug generated jars logs system_classes user_classes cache.dep cairngorm-manifest.xml flash-unicode-table.xml flex-config.xml gateway-config.xml global.css license.properties mxml-manifest.xml hope that helps figuring out the problem Thanks From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Wednesday, May 25, 2005 1:08 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm error Hi, You must add the appropriate entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red below): namespace uri="http://www.macromedia.com/2003/mxml" manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace This explains the error message. If it still doesn't work, please post you flex-config so we can take a look and please let us know what are the contents of the {server}\WEB-INF\flex folder. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 10:50 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error Did that just now. Same error. I restarted flex services but didn't work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Tuesday, May 24, 2005 7:43 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm error Hi Agha,Copy the Flex-Config file from the source files that came with either the Login sample or Store sample that came with the cairngorm download.Copy it over your existing Flex-Config fileBest,Dave On 5/24/05, Mehdi, Agha [EMAIL PROTECTED] wrote: Hi guys, I just started with Cairngorm 0.99 and am running into the following error. Did everything by the book. Any help will earn my thanks. :) Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest. ----- Agha Mehdi web developer Littler Mendelson P.C. work: 415-288-6362 cell: 415-987-7104 - Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.To reply to our email administrator directly, send an email to[EMAIL PROTECTED]Littler Mendelson, P.C.http://www.littler.com This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.To reply to our email administrator directly, send an email to[EMAIL PROTECTED]Littler Mendelson, P.C.http://www.littler.com Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com flex-config.xml Description: Binary data
RE: [flexcoders] Cairngorm error
Nope, didn't work let me paste the entire exception info Compilation Results Errors, warnings or exceptions were found while compiling /internet/ourpeople/index.mxml. Visit the online Flex documentation or API reference for further information. 5 Errors found. Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest.Error /com/littler/ourpeople/business/Services.mxml:11 Don't know how to parse element "http://macromedia.com/2003/mxml:RemoteObject". It is not a known type or a property of org.nevis.cairngorm.business.ServiceLocator.Error /internet/ourpeople/index.mxml:11 Don't know how to parse element "com.littler.ourPeople.business.*:Services". It is not a known type or a property of mx.core.Application.Error /internet/ourpeople/index.mxml:12 Don't know how to parse element "com.littler.ourPeople.Control.*:OurPeopleController". It is not a known type or a property of mx.core.Application.Error /internet/ourpeople/index.mxml:19 Don't know how to parse element "http://www.macromedia.com/2003/mxml:Canvas". It is not a known type or a property of mx.core.Application. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Wednesday, May 25, 2005 1:20 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm error Ok the cairngorm-manifest.xml file is there, which is good. I made a mistake in the earlier post (blame copy'n'paste), the entry should look like this (missing double-quotes): namespace uri="http://www.iterationtwo.com/cairngorm" manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace Can you let us know if that works? Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 1:37 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error here's the flex-config file and the content of web-inf/flex folder: /web-inf/flex/ frameworks frameworks-debug generated jars logs system_classes user_classes cache.dep cairngorm-manifest.xml flash-unicode-table.xml flex-config.xml gateway-config.xml global.css license.properties mxml-manifest.xml hope that helps figuring out the problem Thanks From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Wednesday, May 25, 2005 1:08 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm error Hi, You must add the appropriate entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red below): namespace uri="http://www.macromedia.com/2003/mxml" manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace This explains the error message. If it still doesn't work, please post you flex-config so we can take a look and please let us know what are the contents of the {server}\WEB-INF\flex folder. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 10:50 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error Did that just now. Same error. I restarted flex services but didn't work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Tuesday, May 24, 2005 7:43 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm error Hi Agha,Copy the Flex-Config file from the source files that came with either the Login sample or Store sample that came with the cairngorm download.Copy it over your existing Flex-Config fileBest,Dave On 5/24/05, Mehdi, Agha [EMAIL PROTECTED] wrote: Hi guys, I just started with Cairngorm 0.99 and am running into the following error. Did everything by the book. Any help will earn my thanks. :) Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest. - Agha Mehdi web developer Littler Mendelson P.C. work: 415-288-6362 cell: 415-987-7104 - Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply em
RE: [flexcoders] Cairngorm error
Ok, May be I am just dumb. I reinstalled it, extracted my flex.war into jrun4/servers/flex and now it looks like c:/jrun4/servers/flex/flex. Flex-config.xml has this for this namespace namespace uri="http://www.macromedia.com/2003/mxml"manifest{context.root}/WEB-INF/flex/mxml-manifest.xml/manifest/namespace whereI defined mycontext root in jrun4 for this server as /flex. the path to mxml-manifest.xml is "c:\jrun4\servers\flex\flex\web-inf\flex\mxml-manifest.xml" The file I am trying to run is http://localhost:8303/flex/test/index.mxml All that and I get this: 3 Errors found. Error /test/index.mxml:2 Namespace http://www.macromedia.com/2003/mxml has not been associated with component manifest.Error /test/index.mxml:2 No type for element "http://www.macromedia.com/2003/mxml:Application"Error /test/index.mxml:2 Unexpected root element "http://www.macromedia.com/2003/mxml:Application" does not extend MovieClip From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Wednesday, May 25, 2005 4:36 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm error I had to do the same as Jimmy. When I started from a clean install (after uninstalling Flex Server) the app worked. On 5/25/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Humm weird... I just did a fresh install of Flex 1.5 under Tomcat 5.1 and used the flex-config.xml you posted and it worked! Perhaps you should start from scratch as I did, just create a "Hello World" app, make sure it works and if it does, then add in your other files. You must have some corrupt file somewhere that is causing you that trouble. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 25, 2005 6:54 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error Here it is From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios GianninasSent: Wednesday, May 25, 2005 3:51 PM To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm error Ahh, that has nothing to do with the Cairngorm manifest... I looked to quickly at the previous error. Can you attach your flex-config.xml so we can take a look at what might be wrong with it. Seems like the mxml-manifest can't be found. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 25, 2005 6:49 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error Nope, didn't work let me paste the entire exception info Compilation Results Errors, warnings or exceptions were found while compiling /internet/ourpeople/index.mxml. Visit the online Flex documentation or API reference for further information. 5 Errors found. Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest.Error /com/littler/ourpeople/business/Services.mxml:11 Don't know how to parse element "http://macromedia.com/2003/mxml:RemoteObject". It is not a known type or a property of org.nevis.cairngorm.business.ServiceLocator.Error /internet/ourpeople/index.mxml:11 Don't know how to parse element "com.littler.ourPeople.business.*:Services". It is not a known type or a property of mx.core.Application.Error /internet/ourpeople/index.mxml:12 Don't know how to parse element "com.littler.ourPeople.Control.*:OurPeopleController". It is not a known type or a property of mx.core.Application.Error /internet/ourpeople/index.mxml:19 Don't know how to parse element "http://www.macromedia.com/2003/mxml:Canvas". It is not a known type or a property of mx.core.Application. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios GianninasSent: Wednesday, May 25, 2005 1:20 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm error Ok the cairngorm-manifest.xml file is there, which is good. I made a mistake in the earlier post (blame copy'n'paste), the entry should look like this (missing double-quotes): namespace uri=" http://www.iterationtwo.com/cairngorm" manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace Can you let us know if that works? Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 25, 2005 1:37 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error here's the flex-config file and the content of web-inf/flex folder:
RE: [flexcoders] Cairngorm error
Alright!!! You gotta have a second pair of eyes looking right at your monitor. I missed it. In my Services.mxml I had this Namespace http://macromedia.com/2003/mxml Whereas in flex-config.xml, it was http://www.macromedia.com/2003/mxml that's why it was throwing error Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest. I apologize to everyone who I bothered and especially to Steve for making it look like Cairngorm Error!!! :( Thanks to all of you who tried to solve this problem on-list and off-list (Dave Buhler ) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: Wednesday, May 25, 2005 5:59 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error Ok, May be I am just dumb. I reinstalled it, extracted my flex.war into jrun4/servers/flex and now it looks like c:/jrun4/servers/flex/flex. Flex-config.xml has this for this namespace namespace uri="http://www.macromedia.com/2003/mxml"manifest{context.root}/WEB-INF/flex/mxml-manifest.xml/manifest/namespace whereI defined mycontext root in jrun4 for this server as /flex. the path to mxml-manifest.xml is "c:\jrun4\servers\flex\flex\web-inf\flex\mxml-manifest.xml" The file I am trying to run is http://localhost:8303/flex/test/index.mxml All that and I get this: 3 Errors found. Error /test/index.mxml:2 Namespace http://www.macromedia.com/2003/mxml has not been associated with component manifest.Error /test/index.mxml:2 No type for element "http://www.macromedia.com/2003/mxml:Application"Error /test/index.mxml:2 Unexpected root element "http://www.macromedia.com/2003/mxml:Application" does not extend MovieClip From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Wednesday, May 25, 2005 4:36 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm error I had to do the same as Jimmy. When I started from a clean install (after uninstalling Flex Server) the app worked. On 5/25/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Humm weird... I just did a fresh install of Flex 1.5 under Tomcat 5.1 and used the flex-config.xml you posted and it worked! Perhaps you should start from scratch as I did, just create a "Hello World" app, make sure it works and if it does, then add in your other files. You must have some corrupt file somewhere that is causing you that trouble. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 25, 2005 6:54 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error Here it is From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios GianninasSent: Wednesday, May 25, 2005 3:51 PM To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm error Ahh, that has nothing to do with the Cairngorm manifest... I looked to quickly at the previous error. Can you attach your flex-config.xml so we can take a look at what might be wrong with it. Seems like the mxml-manifest can't be found. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Mehdi, Agha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 25, 2005 6:49 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Cairngorm error Nope, didn't work let me paste the entire exception info Compilation Results Errors, warnings or exceptions were found while compiling /internet/ourpeople/index.mxml. Visit the online Flex documentation or API reference for further information. 5 Errors found. Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest.Error /com/littler/ourpeople/business/Services.mxml:11 Don't know how to parse element "http://macromedia.com/2003/mxml:RemoteObject". It is not a known type or a property of org.nevis.cairngorm.business.ServiceLocator.Error /internet/ourpeople/index.mxml:11 Don't know how to parse element "com.littler.ourPeople.business.*:Services". It is not a known type or a property of mx.core.Application.Error /internet/ourpeople/index.mxml:12 Don't know how to parse element "com.littler.ourPeople.Control.*:OurPeopleController". It is not a known type or a property of mx.core.Application.Error /internet/ourpeople/index.mxml:19 Don't know how to parse element "http://www.macromedia.com/2003/mxml:Canvas". It is not a known type or a property of mx.core.Application. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
[flexcoders] Cairngorm error
Hi guys, I just started with Cairngorm 0.99 and am running into the following error. Did everything by the book. Any help will earn my thanks. :) Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest. - Agha Mehdi web developer Littler Mendelson P.C. work: 415-288-6362 cell: 415-987-7104 - Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com
RE: [flexcoders] Cairngorm error
Did that just now. Same error. I restarted flex services but didn't work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Tuesday, May 24, 2005 7:43 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm error Hi Agha,Copy the Flex-Config file from the source files that came with either the Login sample or Store sample that came with the cairngorm download.Copy it over your existing Flex-Config fileBest,Dave On 5/24/05, Mehdi, Agha [EMAIL PROTECTED] wrote: Hi guys, I just started with Cairngorm 0.99 and am running into the following error. Did everything by the book. Any help will earn my thanks. :) Error /com/littler/ourpeople/business/Services.mxml:11 Namespace http://macromedia.com/2003/mxml has not been associated with component manifest. - Agha Mehdi web developer Littler Mendelson P.C. work: 415-288-6362 cell: 415-987-7104 - Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.To reply to our email administrator directly, send an email to[EMAIL PROTECTED]Littler Mendelson, P.C.http://www.littler.com Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com