[flexcoders] Re: Help, Random module load issues.
we are not using RSLs. I am guessing there is maybe an issue in the menubar its self, though sometimes I do see history manager errors and see datagrid listed. How can history manager through an error when it is disabled in the compiler?
[flexcoders] Help, Random module load issues.
Hey everyone. We are experiencing a ton of issues with our app with regards to module loading. Our main app at this point has 4 main sub modules. Until now only a couple users tended to switch between them but now it is becoming more common. We have noticed a completely random but troublesome bug. Many times when switching from one module to the next we get either history manager errors or the module loads 100% then is just blank, so it never really fully loads. You then need to exit the app and try again. Sometimes it will work, often times it does not. We are not even using history manager and i have even disabled it in the compiler settings and still get the issue. Here are some sample errors: TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::[EMAIL PROTECTED] to mx.managers.IHistoryManager. at mx.managers::HistoryManager$/get impl() at mx.managers::HistoryManager$/unregister() at mx.containers::ViewStack/removedFromStageHandler() at flash.display::DisplayObjectContainer/addChild() at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::createContentPane() at mx.core::Container/createOrDestroyScrollbars() at mx.core::Container/createScrollbarsIfNeeded() at mx.core::Container/createContentPaneAndScrollbarsIfNeeded() at mx.core::Container/validateDisplayList() at mx.managers::LayoutManager/validateDisplayList() at mx.managers::LayoutManager/doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2() at mx.core::UIComponent/callLaterDispatcher() TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::[EMAIL PROTECTED] to mx.managers.IHistoryManager. at mx.managers::HistoryManager$/get impl() at mx.managers::HistoryManager$/unregister() at mx.containers::ViewStack/removedFromStageHandler() at flash.display::DisplayObjectContainer/removeChild() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild() at mx.core::Container/removeChild() at mx.modules::ModuleLoader/set url() at Login/switchModule() at com.zebramenubar::app_code/menuHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.controls::MenuBar/eventHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.controls::Menu/dispatchEvent() at mx.controls::Menu/mouseUpHandler() We have not idea where to begin, one of our devs can never ever even get this to happen! Any suggestions are greatly appreciated. Thanks.
[flexcoders] RTE for Form Letter content?
I am looking for a little advice here. We have a large flex app that has a need for form letters. These need to typically show a standard letter body mixed with information from some records like who to address it to, which users signature to use etc. I have currently set up the forms as PDFs and we are using some java code to populate the the data via XML and merge with the template. Its a little messy, we are having some issues with the signature files, plus it forces the users to then use a seperate application (acrobat reader) to view the letters. I am looking for a better way to do this. Is it possible to merge record data into a rich text editor form?? Any other ideas how best to accomplish this? The goal of this would be to either view and print these letters or also to be able to fax or email from within our flex app. How are you doing this? Thanks.
[flexcoders] File Upload I/O error only on Mac
Hello, we are having a strange problem trying to upload files via flex in out app. Our code works fine from Windows FIrefox. But on the mac we are getting an error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2038: File I/O Error. URL: http://10.250.20.154:8080/ZebraServer/upload/|BAA9BD09-8DA9-6216-6F8C-51A12E439873|] When running in debug mode the last thing I see is: openHandler triggered Then nothing happens. On the server end (Which is Java) the log does not even show the request hitting it. Anyone have any similar issues? I know there is another Mac and upload issue with the oncomplete event but do not think it is that is the server does not even get my request. Any insight would be great, thanks.
[flexcoders] adding additional data to file upload via grid.
Hello all, We are really stuck with something here. We need to be able to upload files along with some additional data (file description, is document private, document catagory) to our server. The file itslef with reside on a file store and the other data will be stored in the DB. We are usling the multifile upload example from adobe but the directions for adding additional data are cryptic at best. We created a few itemrenderers that are now part of the upload grid. They allow the user to enter the additional data to go with the file. The problem we are having is how to get that data that is entered into the fields inserted into the Collection so the upload can send it?? If If anyone has done anything similar some guidance would be greatly appreciated. Thanks.
[flexcoders] Help with tricky address entry
Hello all, I need a little help with something. We are trying to set up a form for entering address information. We want the user to enter the city name into a text input field and then be presented with a list of possible city, state, zip codes to select from. Once the select the row from the list it then closes the list and keeps the city name in the city field and adds the state and zip info to there fields. I would LOVE to do this with one of the autocomplete components available but neither one willl perform as needed, we have spent a great deal of time trying. So I am trying to fool the user into thinking that they are using an autocomplete box. The way I kind of have working is: I created a textinput field called city, when the user types a city in and tabs out I have an invisible list field that I turn visible appearing below it that is going out to the database looking up that city name and bringing back a list of city, states and zips that match. But its not quite working correctly. It is bringing up the list, but the tab order is sending it to the next field not the list field like I want. I did make the list field next in the tabindex order, but I think the issue is it is not visible until after the cursor has moved on. Also it appears the list is appearing before all the data is and it is kind of out of order and when I scroll it is messing things up. When I do pick an item it does properly close the list and save some data to the fields but it is not the row I picked. I will include the code for the text input, list and function the lookup performs to see if anyone has any suggestions. Thanks in advance. mx:TextInput width=159 id=city tabIndex=3 x=10 y=72 focusOut=cityLookup ()/ mx:List tabIndex=4 x=10 y=94 width=159 visible=false height=177 id=cityPicker dataProvider={cityPicklistData} doubleClickEnabled=true doubleClick=citySelect()/mx:List public function cityLookup():void { if( city.text!= city.text.length 2 ){ srv.url = parentApplication.dataServerURL + batch; cityPicker.visible = true; var infoModel:XML= batch query-zipcode.zipcodecity{city.text}/city/query- zipcode.zipcode /batch ; // prepare the request parameters srv.addEventListener(ResultEvent.RESULT, // SERVER RESPONSE RECEIVED function (evt : ResultEvent ):void { if(srv.lastResult.batch.zipcode != null) { rawCityPicklistData = srv.lastResult.batch.zipcode.record; cityPicklistData = new Array(); for each(var item:Object in rawCityPicklistData){ cityPicklistData.push({label:item.city+, +item.state+ +item.zipcode, data:item.id}); } currentState = cityLookup; cityPicker.executeBindings(false); cityPicker.invalidateDisplayList(); } } ); srv.addEventListener(IOErrorEvent.IO_ERROR , loadIOError); // This is an application global function //setApplicationBusy(); srv.send(infoModel); } }
[flexcoders] Re: Help with tricky address entry
Have you considered asking for the ZIP code first, then doing the lookup? We have. For this function they will not always have the zip. I actually have managed to figure most of it out. There was a reference to a now deleted state in the code I posted. I was also able to user the FocusManager to fix my tab issues. One question I do have is I am surprised there is now enter property for list. I am currently changing the other data fields on a tab out, but thought enter would be better. Anyone know how to use an enter within a list?
[flexcoders] Re: Apollo isn't loading my modules
I am having a similar problem, app works fine in flex and works fine from apollo if I build it and run, but when I try exporting and running it will not load the module. I got it to work once or twice initially and that was it. Any ideas? --- In flexcoders@yahoogroups.com, Mark Doberenz [EMAIL PROTECTED] wrote: Is there something special I need to do to make Apollo load my modules? Flex builder is showing them just fine, but when I run the app, they don't show up in the view. The debugger is showing that the SWF is being loaded, but then after clicking around on the app for a bit, the debugger says [Unload SWF] and it unloads the module SWF. Any ideas on this one? Mark
[flexcoders] Re: FDS 2 becomes LDS 2.5 | See labs.adobe.com
I am wondering if there will be a new pricing model?? We have a dire need for the PDF features of this product but nothing else. Will any PDF building abilities ever be added to flex itself? Will pricing still be the same for LCDS? If only using the PDF generation functions will LCDS express suffice when working with many clients?? I would hate to be forced into the FDS price structure to simply add the ability to create PDFs that contain XML data from my flex app.
[flexcoders] Re: How do I get this effect(float panel) like Adobe's Maptacular application?th
I wanted this too and stumbled apon where the code for that came from. It looks like sliding drawers .6 I downloaded it and now have it running in my app it is great. Would like to see some kind of tab or features or somethign though, that would be really cool! Here is the link. http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/
[flexcoders] autocomplete help
Hey guys. We continue to have a ton of trouble trying to implement autocomplete with a changing data provider. Our data rpovider will be coming from the db as the user types. So far using the adobe one and also the one here: http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/ we can only get it to basically work as a filter for an existing dataset in a grid. There MUST be a way to create a googlesuggest type autocomplete with flex. Anyone have any luck??
[flexcoders] inserting row into datagrid from popup??
We are having some trouble with a datagrid. We have a grid with 2 columns. One is string and one is an item renderer of an image. To add a new record (that needs to display in grid) we open a popup window. We then want that new row to appear in the grid. We arte using XML as the data provider and sending via HTTP. The thing is failing and actually casing the whole app to behave strangly. We figure there must be an easy way to insert this new row into the grid. Does anyone have any idea how to accomplish this??
[flexcoders] Re: inserting row into datagrid from popup??
we are not using E4X. Regular XML. We are able to edit existing records in the popup and have the data show up correctly in the grid. But with adding its REALLY weird. the scroll bar in the grid stops working, no other popups on the screen will work and when you exit the record it actually changes the colors of the backgrounds on the interface. You need to completely reload the app for it to work again. The data does save correctly in the DB however. I will ask my other programmer for his code. He got frustrated and just runs a procedur to uplaod all the data on the screen. That works fine, but would be noce not to have to go through that if possible.
[flexcoders] Re: flex and IE 7 problems.
all the user names right now are sinble alphanumeric. We are getting the same behavior from all 6 machines we have tried running IE7 from. The login screen is part of a very small logic shell application that then points to different flex modules. The app just passes username and password to the server for verification. Below is the function that is called when you click login public function login():void { var infoModel:XML; var userUID:String = UIDUtil.createUID(); setUserUID(userUID); infoModel = batch login username{username.text}/username password{password.text}/password /login get-users.user username{username.text}/username password{password.text}/password /get-users.user /batch ; // prepare the request parameters var request:URLRequest = new URLRequest(); request.url = dataServerURL + batch*; request.contentType = application/xml; request.method = URLRequestMethod.POST; request.data = infoModel.toString(); // now create the communications object and send the request data var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, processTheLogin); loader.addEventListener(IOErrorEvent.IO_ERROR , loadIOError); //setApplicationBusy(); loader.load(request); }
[flexcoders] flex and IE 7 problems.
Has anyone tried their flex apps in ie7. We have recently and are having strange issues. The app comes up but we can not login. On our client it gives an invalid login error, and it sends weird data to the server. We actually saw in the log that it was changing some of the keys entered around so it looked bad to the server. But after a single failed attempt the flex app does not send any data when it is supposed to. The login process works fine from firefox, mac and windows, safari, linux and ie6. I thought flex was supoosed to eliminate these browser specific issues!!!
[flexcoders] Re: flex and IE 7 problems.
Yes this is a flex 2 app. Nothing crazy going on at all. A simple HTTP post to do a user login. It sends 2 fields via xml back to the DB. Server side its a resin server sending data to PostgreSQL. When we tracked the logs its as REALLY strange. a user was loggin in, username and was ferrall. For some reason the log kept showing he was typing farrell. we thought it was user error till we tried it and the same thing happened. Also was changing other things we typed in. SOme usernam e combos would cause the app to not even send anything to the server. Again everything works perfectly fine in every other browser we have tried. Only IE7 is causing the issue. I have been using IE 7 for a long time now with many, many flex apps and have not seen any issues. This is a flex 2 app right? Is there any other code involved on this login page outside of the swf? Perhaps some javascript or something else? Most of the changes in IE 7 that would break existing code are secure by default related. But it should not effect the Flash Player much at all. How are you doing your login? HTTP Post? Web service?
[flexcoders] Module Loader progress bar
We have a large app we are building and decided to break it into modules. We have the module loading after a user successfully logins in. After the login it changes states to a box that just contains th moduleLoader. Its all working fine except we get no feedback as to the progress of the module. Is there a way to make it appear similar to the way the flex swf progress appears when loading the flex app? I have tried, unsuccessfully to use the module loader code in the docs. Thanks
[flexcoders] Re: tracking a user session
thanks for the feedback. We are thinking of some type of object stored and passed with every HTTP service call. just not quite sure how to do it. I will pass this along to my programmers.
[flexcoders] redundant binding??
Hey guys. I am just wondering if this is really the proper way to bind and set up a field. He is an example of a field on a popup window we have. When the screen is loaded, it needs to retrieve the data stored in the db and display it on the screen. Obviously later on we need to then save it back. This is now done via three different lines, in our init function we have the following: // Assign principal values to fields prior to binding fname.data = _provider.firstname; // Now bind fields to data record object BindingUtils.bindProperty(_provider, firstname, fname, text); does it really take both these steps to do this?? Seems like extra work.
[flexcoders] tracking a user session
I am having a surprisingly very difficult time finding a concrete answer as to how to handle sessions in flex. We need to be able to track a user once they are logged into the system. Security in our app is critical and every post needs to be validated. IN our current web app we simply had a string added to the end of each url that tracked the users session. What is the best way to handle this in flex?? We need to know and track session validity, timeout, logout and prvilages to modules and features. thanks. Our back end is java/postgres.
[flexcoders] Re: using autocomplete component with external data??
Thanks we will give this a try. I believe what my other programmer said the issues was, is that the data is not present when flex wants to show the drop down, as there is a slight delay, so the drop down list never appears. We will try again, thanks.
[flexcoders] using autocomplete component with external data??
Hello everyone. Has anyone been able to figure out how to use the autocomplete component from adobe as a search box against data in a DB?? We only seem to be able to use it with existing pre defined data sets. What we would like to do is use it as a real time filtering search box. Example. USe starts typing in say a last name. After they type 3-4 characters a lookup event is fired off and the dropdown for the autocomplete appears showing potential record matches. The records are in a db accessed via XML and java. We were able to do this with HTML and JS using some ajax techniques and would really like to do it in flex. Any ideas??
[flexcoders] Re: flex 2.0.1 feedback from the trenches
I did read your post and looked at the link. I am not using the standalone flex builder. I am using the eclipse plugin version. SO the files are stored in the worspace folder. Not sure then how your directions would help? I did check the properties and it is selecting the proper project folder in the workspace. Anyone else have this issue with the eclipse plugin that has found a solution?? --- In flexcoders@yahoogroups.com, creacog [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, mthielman11 mthielman@ wrote: I am getting the same 1023 and 1144 errors. Using Flexbuilder plugin for eclipse. Can NOT build ANY of my projects. Not happy right now. This is a HUGE bug and don't see how something like this gets through testing. Any way to fix this yet. I have completely reinstalled eclipse and flexbuild and still have the issue. Have you read and followed the notes in my earlier email on this thread ? Or here... http://creacog.wordpress.com/2007/01/07/a-shakey-first-few-moments- with-201/ Basically nothing wrong with 2.0.1. You just need to ensure it isn't picking up the workspace or project files created by the earlier version in my experience do that you might then be HAPPIER ;) paul -- [ http://www.creative-cognition.co.uk/ ] [ http://creacog.wordpress.com/ ]
[flexcoders] Re: flex 2.0.1 feedback from the trenches
I am getting the same 1023 and 1144 errors. Using Flexbuilder plugin for eclipse. Can NOT build ANY of my projects. Not happy right now. This is a HUGE bug and don't see how something like this gets through testing. Any way to fix this yet. I have completely reinstalled eclipse and flexbuild and still have the issue.
[flexcoders] Adding buttons to RTE control area.
OK so I need to add a Rich Text area to my app. It is going to appear in a popup window. Ideally I would like to make the RTE the popup panel on its own and add in a cancle and save button to the area that has the front controls, is this possible?? -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Re: Posting data with HTTPService....Please help!
here is our main saving block of code. There are some other things done to o the binding, but this does the post. // prepare the request parameters var request:URLRequest = new URLRequest(); request.url = parentApplication.dataServerURL + store; request.contentType = text/xml; request.method = URLRequestMethod.POST; request.data = infoModel.toString(); //Alert.show(infoModel.toString()); // now create the communications object and send the request data var loader:URLLoader = new URLLoader(); loader.load(request); -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Re: Panel Windows Title Icon
One question I have had is, is it possible to put a button bar or something of that nature in the title bar area? It would be nice to use that space for a series of icon buttons or something. --- In flexcoders@yahoogroups.com, jgraham_us [EMAIL PROTECTED] wrote: You can also extend the Panel class that will give you access to the protected titleBar component of Panel, you can then do something like this. titleBar.addChild( yourTitleIcon ); You might also have to override layoutChrome and position the icon within the titleBar. --- In flexcoders@yahoogroups.com, Jeremy Rottman rottmanList@ wrote: I am working on styling my application, and I have searched throught the live docs/help files for flex. But I cant seem to find how to set the titleIcon to the right side of the window. Is there anyway to do this? -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Re: AutoSuggest TextField
http://weblogs.macromedia.com/sho/archives/2006/02/mxml_text_compl.cfm Have not tried it myself. I will be needing a solution at some point too. We had built one for an html front end utilizing JSP and MySQL that worked great, have not tried one in flex yet. --- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote: I've built type-ahead boxes for clients before. to do it well requires a well architected and ultra fast back end. At 07:34 AM 9/14/2006, DJ Lift wrote: Hey there, Has anyone seen any auto suggest style text fields for flex? Similar to what google is doing? Thanks, mark -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Re: Posting data with HTTPService....Please help!
I don't have the code with me now but i will post it later to help you out. This KILLED us for over a week. The documentation was NOT accurate and I think we sort of got lucky with our solution but it works. I will do my best to post it later tonight. --- In flexcoders@yahoogroups.com, btkracker [EMAIL PROTECTED] wrote: I've seen several posts for this but haven't seen any kind of resolution. I've seen other posts that say it is extremely easy. Well, I'm in the same boat: I can't seem to get post data to send to my IIS server. I have been able to use the exact same .asp file on the server side and javascript in an IE window to get the correct results. When I try it from Flex...no data. Here is my code: Flex code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=test() mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import mx.controls.Alert; private function test():void{ HttpRequest.addEventListener(result, testResponse); HttpRequest.url = http://IIS_Server/AJAX/test.asp;; HttpRequest.resultFormat = text; HttpRequest.method = POST; HttpRequest.contentType = application/x-www-form- urlencoded; HttpRequest.request = myString=TestString; HttpRequest.send(); } private function testResponse(event: ResultEvent):void{ Alert.show(event.result.toString()); } ]] /mx:Script mx:HTTPService id=HttpRequest showBusyCursor=true / /mx:Application ASP Code (pretty simple stuff..): %@ Language=VBScript % % Response.Write here it is: ' Request.Form ' Response.End % This should return the entire post. The only thing I get back in Flex is the string here it is: ''. As mentioned above, when I use the below javascript and Microsoft's 'XMLHttpRequest' object, I get a successfull post and receive the string here it is: 'myString=StringTest' back to the browser. Thanks in advance for any help!! Bruce -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] pop-up window x and y settings
Does anyone know how to set the x and way proprties of a popup window? Here is my function. This does not work for some reason. public function displayForm():void { var helpWindow:basics = basics(PopUpManager.createPopUp(this, basics, false)); helpWindow.title=Basic Information; helpWindow.showCloseButton = true; helpWindow.x = 90; helpWindow.y = 100; } I can not find the info anywhere. -- 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] Re: pop-up window x and y settings
I tried the center thing and it centers. Also I have removed the x and y thing. This is one of the default values iwill look it up again. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, basics(PopUpManager.createPopUp(this, basics, false)); What is 'this' refering to? That is probably the problem. Are you loading into an Application from another Application? Just for a test you can also comment out the x and y setting calls and try; PopUpManager.centerPopUp(helpWindow); If you cannot see it, do you happen to have the aplha or visible turned off on the basics component? Peace, Mike On 9/6/06, mthielman11 [EMAIL PROTECTED] wrote: Does anyone know how to set the x and way proprties of a popup window? Here is my function. This does not work for some reason. public function displayForm():void { var helpWindow:basics = basics(PopUpManager.createPopUp(this, basics, false)); helpWindow.title=Basic Information; helpWindow.showCloseButton = true; helpWindow.x = 90; helpWindow.y = 100; } I can not find the info anywhere. -- What goes up, does come down. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/7EuRwD/fOaOAA/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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Re: Anyone actually able to save data from flex
I passed this info to my other programmers and they insist the documentation says we need to send the XML as an odject. We are using odjects to retrieve data. If I take out the post and the application type I get the xml to show in the call on the server but the body is empty /testServer/store?a=bodject=%3Cphysician%3E%3Ctest%3Eabc%3C%2Ftest%3E%3C%2Fphysician%3E maybe we are extremely dense but we still can not get this save to work. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I think the problem is as someone else noted, that HTTPService needs a string, and you are trying to pass it an object. Note that in Mike Collins' example he uses toXMLString(). I use string in the example I sent you directly. Also, is your server side app getting the querystring arguments (a=b) successfully? In 1.5 it was illegal to put arguments on the url, I do not know if that has changed in 2.0. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mthielman11 Sent: Thursday, August 31, 2006 2:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Anyone actually able to save data from flex Lets try this again. I continue to have trouble posting my coding example. Here is what we have tried now. mx:HTTPService id=srvsave url= useProxy=false method=POST contentType=application/xml mx:request obj{dataModel}/obj /mx:request /mx:HTTPService mx:XML id=dataModel format=xmls physician testabx/test /physician /mx:XML private function storePhysician_Basics():void { srvsave.url=parentApplication.dataServerURL+store?a=b; srvsave.send(); } and we are getting the following error: Error: Error #1023: Stack overflow occurred. at mx.utils::ObjectUtil$/getClassInfo() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() -- 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] Re: Don't bindings work both ways??
from what I can tell the issue continues to come down to the POST and contenttype. Adding these brings a stream error 2032. Any idea why a POST would cause a stream error? The back end is JAVA and there is code in place to recieve the content. -- 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] HTTP Service bug???
Hello all we have been working on an issue we are having for about a week now. I have another post going on that but it has let us to believe there is a bug with the HTTP service command. We are trying to POST back to a java server with XML results in the body of the POST. We set contentType to application/xml. When we run a trace on Flex we get this. 'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer sending message 'E597B542- D1CB-BBD6-1EC8-6A166F198CF7' 'direct_http_channel' channel sending message: (mx.messaging.messages::HTTPRequestMessage)#0 body = physicianid /firstname /middleinitial /lastname /honor / dob /ssn /languages //physician clientId = (null) contentType = text/plain destination = DefaultHTTP headers = (Object)#1 httpHeaders = (Object)#2 messageId = E597B542-D1CB-BBD6-1EC8-6A166F198CF7 method = GET recordHeaders = false timestamp = 0 timeToLive = 0 url = http://10.20.10.107:8080/ZebraServer/store; 'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer acknowledge of 'E597B542-D1CB- BBD6-1EC8-6A166F198CF7'. looks good right? Well when packet sniffing the call the body leaves the machine as null. and never gets to the server. Using URLLoader results in stream errors. The only way we have been able to get a call to go through is by sending it as part of the URL. We do not want to send name/pairs. So can anyone confirm they can send XML data in a POST with contentType=application/ xml and properly receive the data on their server? My other post a little further down has more of the code in it. We just want to rule our whether or not this is a bug. -- 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] Re: Anyone actually able to save data from flex
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 31 August 2006 01:06, mthielman11 wrote: Help :) You don't say what happens. Well what happens is the post gets logged on the server but the server does not see the XML data. There is no content body. You don't say what your backend is. Web server is resin. Database server is PostgreSQL You don't post its logs. You don't say you've verified the request leaves the Flash player 'on the wire' and even hits your server. We know it hits the server because the server logs the request. We see the Post request on the server but there is no content. The more info you give, the more chance someone will spot whatever wrinkle has got into your setup. This information is based of when we mess with our code a bit to eliminate the stream errors. Whenever we change content type to application/xml we get stream error 2032 Also I have tried sending logs and code but it keeps seeming to get cut off. It looks fine when I preview the message but the final message only contains a line or two of my code. Thanks. Honestly, it really is very very easy :-) -- Tom Chiverton Helping to greatly orchestrate dynamic clusters This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.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 * 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] Re: Anyone actually able to save data from flex
We can not even get a simple sample like this to work. I can retieve and view data from the server but the posting is not working. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:HTTPService id=reviewCreateRequest url=http://x.x.x.154:8080/testServer/store?A=B; useProxy=false method=POST mx:request xmlns= review titleTesting/title authorJohn Smith/author scoreThe One/score textPLease Work/text /review /mx:request /mx:HTTPService mx:Canvas width=100% height=100% mx:Button label=Submit click=reviewCreateRequest.send();/ /mx:Canvas /mx:Application -- 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] Re: Anyone actually able to save data from flex
Here is the http service command. If i add contentType=application/xml and/or add method=POST we get [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request faultDetail=Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: http://10.250.20.154:8080/ZebraServer/store?a=b;]. URL: http://10.250.20.154:8080/ZebraServer/store?a=b;] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at ::DirectHTTPMessageResponder/errorHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() -- 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] Re: Anyone actually able to save data from flex
Lets try this again. I continue to have trouble posting my coding example. Here is what we have tried now. mx:HTTPService id=srvsave url= useProxy=false method=POST contentType=application/xml mx:request obj{dataModel}/obj /mx:request /mx:HTTPService mx:XML id=dataModel format=xmls physician testabx/test /physician /mx:XML private function storePhysician_Basics():void { srvsave.url=parentApplication.dataServerURL+store?a=b; srvsave.send(); } and we are getting the following error: Error: Error #1023: Stack overflow occurred. at mx.utils::ObjectUtil$/getClassInfo() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() at mx.rpc.xml::SimpleXMLEncoder/encodeValue() -- 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] Re: Problems saving XML data
NO that got cut off too Ugh this site is frustrating me. private function storePhysician_Basics():void { //srvsave.url = parentApplication.dataServerURL+store?a=b; testsave.send(); -- 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] Anyone actually able to save data from flex
I started another topic on this below, but this is a more general question. We have been pulling our hair out trying to save xml data back to server from flex. We can retrieve and view data from the server fine but can not save. We have tried at least 5-10 different methods and even tried using every code sample we could find. None of them have worked. We either get stream errors or no xml data getting to the server. So we are wondering if the whole thing is just broken in flex. It does not seem possible that NONE of our exmaples have worked. We have looked at this every which way and nothing is working. All we want to do is send XML data from a form back to a server. Thats it. It should not be this hard to finds information on this. Has anyone actually gotten data from flex to a DB without FDS using XML? -- 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] Re: Anyone actually able to save data from flex
do you mind me asking how. We can not even get this very simple sample to work. ?xml version=1.0 encoding=utf-8? mx:Application pageTitle=Flex 2 Style Explorer xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% mx:HTTPService id=srvsave url=http://0.0.0.4:8080/ZebraServer/store?a=b; method=POST resultFormat=e4x contentType=application/xml / mx:XML id=dataModel format=e4x physician testabc/test /physician /mx:XML mx:Script ![CDATA[ import mx.controls.Alert; //public var xmldata = parentDocument.parentDocument.phyRequest.lastResult; private function storePhysician_Basics():void { srvsave.send(dataModel); } ]] /mx:Script mx:Button label=Save click=storePhysician_Basics();/ /mx:Application -- 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] Re: Anyone actually able to save data from flex
OK we tried this method as well. We have now spent another entire day on this! Does anyone have a simple example of sending an XML file (or XML model) Via aHTTP service Post?? We have tried this many ways and honestly this has become very, very frustrating for everyone involved. If no one has any ideas, how about some place where i might be able to find an answer. I tried the Adobe forums and no one ever seems ro respond over there. Help :) --- In flexcoders@yahoogroups.com, Mike Collins [EMAIL PROTECTED] wrote: HTTPService passes strings not objects so that is most likely the issue. Either convert the DataModel to a xml string or do something like this to pass in the variables as form variables. If you want to pass objects you need to use RemoteObject calls. public function submitURL() { var variables:Object = new Object(); // Build request variables.parent1firstname = parent1firstname.text; variables.parent1lastname = parent1lastname.text; // Submit submitData.request = variables; submitData.send(); } -- 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] Problems saving XML data
Hello All, we are having a heck of a time trying to get any XML data sent back to out server. He have tried several different methods and so far none have worked. We have traced this and at this point out server is not receiving the body or XML data content and we can not figure out why. Something like this should be so simple. We are able to retrieve data from the server but so far sending back ins a no go. He is one of the ways we tried doing this. mx:HTTPService id=srvsave url= method=POST resultFormat=e4x/ -- 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] Re: Problems saving XML data
MY message got cut off. We are including that. Below is part of the code. mx:HTTPService id=srvsave url= method=POST resultFormat=e4x/ mx:XML id=dataModel format=e4x|xml physician testabc/test /physician /mx:XML -- 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] exiting a tabset.
Hello all I have a problem. I have created a tabnavigator component. I want to set up one of the tabs to exit the tabset and take me back to the main grid results page. The way it is set up is the canvases of the tabs are mxml components that are loaded in to the tabs. The tabset as a whole is also a seperate mxml file that is loaded into an edit state of the main grid page. When exiting the tabs it needs to go back to the parent pages default state. Anyone know how to create that reference? Thanks. -- 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] help with fse command
I am having a little trouble trying to reference an mxml component file. I have a tabset and would like each of the tab canvases to be their own mxml file. THis is so we can programatically change the canvases based on certain criteria. I have used an example that used the following command to accomplish this fse:filename xmlns:fse=* / -- 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] adding icons to buttons on button bars.
I am wanting to use icons instead of the default buttons for a buttonbar. I did search here and only found one reference and it looked a little complicated. There apears to be an icon property in the buttonbar component but does not appear to do anything. Is this a bug or am I missing something? -- 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] Sorting data grid that has paging.
We have an issue we are trying to resolve. We know that the datagrid by default has the ability to sort. But this only works when all potential results are downloaded into the datagrid from the server. ex. User does a search that returns 425 results. We want to use a paging concept to limit results to say 25 records. The sort needs to sort on all 425, not just the 25 visible in the grid. Is there anythign in place or do we need to custom build something? Has anyone seen a component that does this? Thanks. -- 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] Any field types to past pic?
I have a quick question. We need a field to store a small 70x70 pixel picture file that will serve as a use icon on our project. Is there any type of field in flex that I can paste a picture into from the UI? Or do I need to upload an image file via flex, have it stored on an HD somewhere and then call that image to display into a layout? What would be REALLY cool is if you could hoook a camera up to a computer and when setting up the user, take the pic and have it go straight to flex. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/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] Re: FDS question
OK so what everyone is saying then is that FDS is not ideal for our situation and is only used if real time data pushing is needed? So the bigger question is how does sending data back and forth with XML perform? I have consistently heard that XML is inefficient and has a lot of overhead, so won't this lead to performance issues? I know for example with all the ajax stuff we do we dont't even use XML just straight text as it is much quicker. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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] FDS question
OK I have been playing with flex for a couple of weeks now and we are planning on building out a rather large application in flex. The application is going to replace several current apps one of wich is web based the rest are not. I am trying to get my head around the whole FDS thing. Our product will be a medical database. There are currently several different modules within the existing apps. The way I was planning this, each one would become its own flex app. the reason for this is to try and keep the swf file size somewhat reasonable. Currently our thinking is to connect to the data through web services sending XML data to a JSO file that then will communicate with a JAVA based API back to the MySQL backend. What, if anythign would FDS bring to the table? Still not sure how it is better than XML based solution. Also a concern with FDS is the pricing structure. will each FDS file be considered a different app, therefore each one require a license ($6k or $20k)? If each app was assigned only one processor on the VM based server would it be able to use FDS express?? I am just not seeing how FDS figures into the equasion. Is it faster? if so how? Does it save coding time? if so how? Does it eliminate need for a java API? if so how? Thanks for any help. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/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] togglebar arrangement
Hello, I am looking to see if it is possible to have a toggle bar contain multiple rows of button. For example I have an accordian that controls navigation to my various modules. Each module I think is going to be its own Flex application. Within each module are different components. I like the idea of the togglebar so that the user woould know which module they are in. However the default bar seems to just add buttons horizonally. Can I somehow have it add them both horizonatally and vertically so i could say have 2 rows oof 3 buttons? Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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] Calling one Flex app from another
OK let me see if I can explain this :) I have a website that i have set up with 2 frames. The left frame contains a flex application that is basically just an accordian for navigating. Each accordian option is considered a different module in our system. So for example I have one called Administration its canvas has 6 different buttons that will link to different components in the Administration module. So when the Administration accordian panel is selected it also needs to load the administration Flex application into the right hand frame on the page. The reason I want to do this is each Module will be rather large so I do not want one VERY big flex file that would take forever to load up. Each module will be its own app and users typically will spend the whole day iin one module so only a single load time. Anyway what i need to happen is if someone clciks one of the buttons from the accordian canvas it needs to open a cooresponding state in the other application file. For axample in the Administration module there is a button for Users, this needs to open the User state in the Administration Application in the right frame. Clickiing CLients button needs to open the clients state in the right frame. So my question is, is this even possible?? Can I open a certain state in another flex application from a different flex application?? IF so how would the paths look? IS there another way to accomplish this goal. Another reason for this layout is so the accordian can easily be hidden when we don't want/need to use it. Hope I explained this well, thanks. -- 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] Re: Calling one Flex app from another
--- In flexcoders@yahoogroups.com, Tobias Patton [EMAIL PROTECTED] wrote: You can use the SWFLoader class to load a Flex application from a URL and add it as a child of your application. THanks. I think what I was getting at in my original question was how do I call a certain state that exists in another flex app in another HTML frame from a different flex app button?? However I may be able to accomplish what I want with the SWLoader command. I have created a new app with a HDIvdeBox container. The left container holds the Accordian, the right I want to hold different MXML files depending on the accordian chosen. Each accodian panel has several buttons that I want to change states in the loaded SW file. How do I do that? Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/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] Re: togglebar arrangement
Thanks for the advice it is not goign to work. Looks like I could work something out with the toggle parameter for buttons and some action script. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/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] Large scale app, how to proceed?
Hello everyone. I have beeen following flex for quite sometime during the beta process. I am currently beginning work on a large scale web based application. We are basically migrating several different apps, some web based, some java based, to a new platform. We have spent the last couple of months exploring a JSP based solution running on Resin and connecting to a java based API with MySQL on the back end. I am now considering flex. The app is a medical management based app that will consist of several different modules which all provide different, though related funcitonality. Things like browsing a medical claim, enter a medical bill. I have a couple questions. 1. IS flex well suited for large, multi module apps? Can it provide any real advantage or JSP? 2. Is the application just one big MXML file with many states or lots of little MXML files? Or a combination of some kind, such as each module is an MXML with different states? 3. IS FDS the best way to interact with a java API or are there other ways? 4. HOw do I run the app? Can it run on resin? I see it can be deployed as a WAR file but have yet to figure out how to do that. Sorry for all the questions. Flex looks very interesting, but I am nervous that the learning curve and not knowing the best way to do things will really hurt us. We have been building web based apps for years using HTML, CSS and JS and really have been able to do some really great things. But the idea of a single integrated front end dev app without worrying about browser issues is enticing. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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] Arrangement, front back?
OK this may be a really dumb question. But, if I have two items say a box and then a button and I want the box to be layered behind the button how do i do that? I do not see arrange front/back commands anywhere. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/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] Reusing code blocks
Ok I have a MXML file that has 3 states. All of them have one coommon canvas in common that holds an accordian. It should look the same in all 3 states. Is there a way to only define the accordian (and canvas) container once and have it appear on all thre states?? Right now in the code the accordian is there 3 times which seems a bit bloated to me. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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] Re: Large scale app, how to proceed?
Thanks guys. It is really kind of overwelming. I can do HTML/CSS stuff with my eyes shut, but I am just so lost with even simple things right now in flex. One thing that has concerned me is speed, but the new player seems to be a little faster. I don't understand the cold fusion part. If we are using a java API to connect to a mysql datafile where would Coldfusion come in?? We already have resin so I was just thinking of using that. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/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] Re: Reusing code blocks
Thanks a lot guys I will try this out. --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: Yes, through the concept of base states. Build a state that has the components you want shared between multiple sub-states, then when you add a new state in Flex Builder change the Based On drop down to be the state that contains the Canvas and Accordian. -d mthielman11 wrote: Ok I have a MXML file that has 3 states. All of them have one coommon canvas in common that holds an accordian. It should look the same in all 3 states. Is there a way to only define the accordian (and canvas) container once and have it appear on all thre states?? Right now in the code the accordian is there 3 times which seems a bit bloated to me. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/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/