RE: [flexcoders] Custom Drag Cursors
I'm not sure why you say you can't use setCursor() on mouseMove? Anyway, everything described in the original email seems ok. What is the mouseDown target? Did you try setting a cursor then? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Monday, October 15, 2007 10:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Custom Drag Cursors Are you using the cursorManager or just when a drag happens? u cant just use cursorManager.setCursor(...whatever u want) on mouse move - Original Message From: toofah_gm [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 15, 2007 5:35:07 PM Subject: [flexcoders] Custom Drag Cursors I am trying to use my own custom cursor for drag and drop functionality and having a little trouble. I have added my own cursor to mouseOver on the object that is draggable... this is to indicate that the object is draggable. I have setup css style for all of the DragManager cursors like this: DragManager { copy-cursor: Embed(source= /assets/ images/copy. png); link-cursor: Embed(source= /assets/ images/link. png); move-cursor: Embed(source= /assets/ images/move. png); reject-cursor: Embed(source= /assets/ images/reject. png); } Now the trouble. When I hover I see my custom cursor. When I mouseDown I see the default cursor...this is the problem. When I start dragging I see my custom cursors. How do I see my custom cursor during the entire process? During mouseDown event I call DragManager. startDrag( ). If I do not clear my hover cursor, or if I set a different cursor, the custom drag cursors never show up. It seems that any set cursor overrides the drag ones. If I clear my hover cursor before I call startDrag(), the custom drag cursors do not show up until the first mouseMove. There is a window between mouseDown and mouseMove where I have no custom cursor. Any ideas? Am I missing something here? I guess that I can override the mouseMove event if I need to and clear it there if I have to. Thanks. Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http://us.rd.yahoo.com/evt=48516/*http:/surveylink.yahoo.com/gmrs/yahoo _panel_invite.asp?a=7%20 and lay it on us.
RE: [flexcoders] Re: Capturing RollOver events in a loaded swf that has it own actionscript.
Can you post a small test case? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of essuark Sent: Monday, October 15, 2007 5:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Capturing RollOver events in a loaded swf that has it own actionscript. Ah, yes I tried that. It didn't work... thanks... --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: See doc for addEventlListener and the capture parameter From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of essuark Sent: Monday, October 15, 2007 4:45 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Capturing RollOver events in a loaded swf that has it own actionscript. Thanks but I am not sure what that means? What is a capture phase listener? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com , Alex Harui aharui@ wrote: If that's true, you should be able to use capture phase listener. If the swf is from another domain or is a player 8 swf or older there might be an issue with that. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com ] On Behalf Of essuark Sent: Monday, October 15, 2007 1:16 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com Subject: [flexcoders] Capturing RollOver events in a loaded swf that has it own actionscript. I have a swf that I load in my flex application. Apparently, the swf has some actionscript behind so my flex application will not recieve a RollOver event because I am assuming that the swf that I load is capturing that event. Is there a way I can override this? Thanks Ralph
Re: [flexcoders] Cairngorm + Ant + Build + Deploy = I'm in hell
Hai friends, i want to Flex Ant Task source file and how to install [migrate] read me file [steps]. plz send me urgent. i have installed for Flex Data Services. Path C:\fds2\flex_sdk_2 next Flex Builder 2 installed path C:\WINDOWS\Downloaded Installations\Adobe Flex Builder 2.0.1 Plz configration read me file and how to run the application and How to run command line compiler. On 10/13/07, dbronk [EMAIL PROTECTED] wrote: We have just finished our first iteration and need to deploy what we have. But, for something that should be extremely simple, we are finding it very difficult and not finding much documentation other than the HelloWorld apps. Our app uses cairngorm-2.2.1.swc, flexlib.swc, and a couple other swc files. Running out of Eclipse with Flex Builder plugin works great. We have an ant file that does not seem to include everything. I figured out that I needed a compiler.include-libraries tag to include the swc files (I think they are included as the SWF file is now larger). But the app still does not work when deployed. It appears that I may have everything except the Cairngorm stuff. When my app launches I dispatch a CairngormEvent for initializing things. Well, it never comes back and I get the Error: Key Error executing bizSearchService was not found in resource bundle CairngormMessages. So I'm not sure where I'm suppose to place teh CairngormMessages.properties file. Since I was having these issues I thought for this one time I'd just take the files from my Flex Builder bin directory. But they don't work either once deployed. So, I'm now stuck and hoping someone can give me some suggestions. I'm including my very basic ant script, but if anyone can tell me how to simply build and deploy and app that uses Cairngorm and other swc's (including what I'm suppose to do with the CairngormMessages.properties) I'd be greatful. Thanks, Dale Ant build.xml follows: ?xml version=1.0 encoding=utf-8? !-- myMXMLCBuild.xml -- project name=My App Builder basedir=. default=main taskdef resource=flexTasks.tasks classpath=${basedir}/flexTasks/lib/flexTasks.jar / property name=FLEX_HOME value=C:/Program Files/Adobe/Flex Builder 2 Plug-in/Flex SDK 2/ property name=APP_ROOT value=src/ property name=DEPLOY_DIR value=c:/temp/tf/ target name=main depends=clean mxmlc file=${APP_ROOT}/TargetFish.mxml output=${DEPLOY_DIR}/TargetFish.swf actionscript-file-encoding=UTF-8 keep-generated-actionscript=true incremental=true optimize=true !-- Get default compiler options. -- load-config filename=${FLEX_HOME}/frameworks/flex- config.xml/ !-- List of path elements that form the roots of ActionScript class hierarchies. -- source-path path-element=${FLEX_HOME}/frameworks / !-- List of SWC files or directories that contain SWC files. -- compiler.library-path dir=${FLEX_HOME}/frameworks append=true include name=libs / include name=../bundles/{locale} / /compiler.library-path !-- List of SWC files to include in the SWF file. -- !-- NOTE: When I added this node, the SWF became larger. ### -- compiler.include-libraries dir=${basedir}/lib append=true include name=*.swc / /compiler.include-libraries !-- Set size of output SWF file. -- default-size width=1024 height=720 / /mxmlc /target target name=clean delete dir=${APP_ROOT}/generated/ delete fileset dir=${DEPLOY_DIR} includes=TargetFish.swf/ /delete /target /project -- V.Kumar Broadcast Engineering Consultants India Ltd, New Delhi. cell no : 09968063987
Re: [flexcoders] Anyone reading Paul Williams blogging about Presentation Patterns?
cool, it seems comments are now on. I've got to say I'm pretty interested to read your upcoming posts. regards, Bjorn On 16/10/2007, at 5:14 PM, Paul Williams wrote: Hi Bjorn, Thanks for the feedback. I didn’t realize comments were not active on these entries; I’ve corrected this and will make sure that they are open for future entries. Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Monday, October 15, 2007 7:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Anyone reading Paul Williams blogging about Presentation Patterns? Hey all, I'm attempting to get a discussion going here on this topic since Paul disabled comments on his blog. Is anyone else here reading this series? In particular his last post. Supervising Presenter http://weblogs.macromedia.com/paulw/archives/2007/10/ presentation_pa_2.cfm One of the benefits he speaks about with using this pattern is, Improved separation of concerns Following the Supervising Presenter pattern should yield an application-specific class hierarchy that is separated from the view classes, but coupled to them. Common presentation concerns can be refactored into Presenter base classes, and this should help to reduce code-duplication and improve consistency across an application. This concern is of huge importance to me as a flex dev. During dev one of the main issues i run into is what will be an 'application-specific view' as opposed to a 'reusable-component' as abstraction can be a time-consuming exercise. I've never been a fan of code behind but i think the 'Presenter' does bring in a useful and easy to implement application level of abstraction that can ease development. btw I also like his use of Binding. regards, Bjorn
Re: [flexcoders] Re: Flex is becoming unviable
Will adobe don't put flex framework inside flashplayer? Framework caching is exactly this but better because it can be upgraded on the fly and you dont have to wait for the next player update to use a more recent framework. Why would you prefer the framework being built into the player over frame Hank
[flexcoders] RichTextEditor Problem
Hi all, I have a strange behavior in the RTE. Sometimes, it appends 3 empty lines at the end of my original text. When debugging, the set htmlText function received the correct text, but the RTE appends these 3 empty lines at the end? Any idea? Best regards, Alban. This email and any files transmitted with it contain confidential information and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any disclosure, copying, use, or distribution of the information included in this message and any attachments is strictly prohibited. If you have received this email in error please notify the system manager at [EMAIL PROTECTED] or by reply email and immediately and permanently delete this message and any attachments. Email transmission cannot be guaranteed to be secure or error-free and may be susceptible to data corruption, delay, interception, unauthorised amendment, or contain viruses. The sender therefore does not accept liability for any errors, omissions or other such consequences which may arise as a result of this email transmission.
Re: [flexcoders] How to fully configure an AbstractService just using ActionScript?
This works for me (got the information from the flexcoders archive): var dbMethod:AbstractOperation = myRemoteObject.getOperation (method_name); var dbToken:AsyncToken = dbMethod.send(arguments); dbToken.addResponder(new AsyncResponder(getData, faultHandler)); _rico On 15.10.2007, at 14:12, Robert Csiki wrote: I want to have an ActionScript file defining all my RPC services, and this will be included by everybody would need to perform RPC calls.. How can I fully define an AbstractService just using ActionScript? For example, say for RemoteObject, I want to define its methods and their own result/fault handlers, purely by using ActionScript. I know this is possible in MXML, via mx:method but I wonder if there's an equivalent for this in ActionScript. The reason for this is I want to separate the service layer from the presentation layer at the Flex client level, so I do not want to have MXML tags for my RPC services spread all over the code (I want to have some sort of an AS service factory class having all of these) Thanks. ... Rico Leuthold [EMAIL PROTECTED] +41(0)76 512 05 50 ...
Re: [flexcoders] Flex is becoming unviable
On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: Everything works fine (ignoring the 500kb framework file it is necessary for users to access the site.) With the .60 player and Flex 3, that can be cached across any Flex web sites. 200kb or 130kb (not really small but acceptable). But now, with beta 2 simple files came to 400kb. sigh Read the release notes. Esp. the bit about 'export release version'. I becoming thinking i waste my time learning flex and waste the money of my client testing flex in your app, I am already thinking about redo the whole project in ruby on rails and ajax. Dube ! No, just no :-) -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] DataGrid multi column sort - where is the sort arrow ?
On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: It works fine, but now the sortArrow disapeared and I can not change the sort direction. I've tried to use the placeSortArrow() function, but this function seems not to exist in the SDK I'm using (Flex 3 Beta 2). There is example code in Jira for progmatically sorting an ADG: https://bugs.adobe.com/jira/browse/FLEXDMV-1097 -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] secure and non-secure channels for (ColdFusion) remoting
On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: I noticed similar behavior when I had stipulated an incorrect endpoint for an rtmp channel endpoint uri=https://{server.name}:{server.port}/flex2gateway/; class=flex.messaging.endpoints.SecureAMFEndpoint/ and endpoint uri=http://{server.name}:{server.port}/flex2gateway/; class=flex.messaging.endpoints.AMFEndpoint/ - it didn't fail over, the app just hung, perhaps due to a runtime error - you could dump the channelFault event and see what you get there. I don't even see the request hit the remote server to generate a fault, and no exception dialogue is shown. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] Re: Anyone reading Paul Williams blogging about Presentation Patterns?
I don't. I've looked at it three or four times and each time felt like it was overly complex for what I needed and the wins were not clear to me. I'm not really sure who the intended audience is. I'd be very interested to here someone who isn't a cairngorm developer who is actively using it explain what they like (or dislike) about it. On 10/16/07, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Do you guys use Cairngorm at all? It will be interesting to see how Paul brings it all together in later posts.
Re: [flexcoders] Maven plugin out of memory problem
I can't send only part of my POM because of company issues, but I can tell u there is nothing particular there. What I did to solve it was to building with antrun plugin using flexTasks.jar for ant. It means it works with mxmlc and the problem lies between maven and the plugin. It also made me think whether the plugin should have bean implemented using the maven ant plugin technique. Here is my antrun configuration that solved the problem: build finalNameaa-flex/finalName plugins plugin groupIdnet.israfil.mojo/groupId artifactIdmaven-flex2-plugin/artifactId configuration resolveExtraSwcsFromFlexFrameworksLibstrue/resolveExtraSwcsFromFlexFrameworksLibs showDeprecationWarningstrue/showDeprecationWarnings showBindingWarningstrue/showBindingWarnings warningstrue/warnings !-- if you use dataservices, make sure you override endpoints in your mxml -- dataServicesConfig../aa-web/src/main/webapp/WEB-INF/flex/services- config.xml /dataServicesConfig debugfalse/debug mainAa.mxml/main /configuration /plugin plugin artifactIdmaven-dependency-plugin/artifactId executions execution idcopy-flex-resources/id !-- TODO: use prepare-package as of 2.0.5 -- phasecompile/phase goals goalcopy-dependencies/goal /goals configuration outputDirectory ${project.build.directory}/flex-resources /outputDirectory includeTypesswc/includeTypes stripVersionfalse/stripVersion /configuration /execution /executions /plugin plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasepackage/phase configuration tasks taskdef resource=flexTasks.tasks / property name=FLEX_HOME value=${flex.home}/ property name=FLEX_HOME value=${context.root}/ echo message=flex home : ${flex.home}/ echo message=context root : ${context.root}/ mxmlc file=${basedir}/src/main/flex/Aa.mxml keep-generated-actionscript=false use-network=true output=${project.build.directory}/aa- flex.swf services=../aa-web/src/main/webapp/WEB-INF/flex/services-config.xml context-root=${context.root} load-config filename=../flex-master/target/classes/flex-config.xml/ source-path path-element=${flex.home }/frameworks/ default-size width=800 height=600 / compiler.source-pathpath-element=${basedir}/src/main/flex/ compiler.debugfalse/compiler.debug compiler.include-libraries dir=${ project.build.directory}/flex-resources append=false include name=*.swc / /compiler.include-libraries /mxmlc /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdant/groupId artifactIdflex-tasks/artifactId version022607/version /dependency /dependencies /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution idattach-artifacts/id phasepackage/phase goals goalattach-artifact/goal /goals configuration artifacts artifact file${project.build.directory}/aa-flex.swf/file typeswf/type /artifact /artifacts /configuration /execution /executions /plugin /plugins /build On 10/15/07, Christian Edward Gruber [EMAIL PROTECTED] wrote: Could you post your pom.xml file? I think the obvious answers are exhausted. Also, while it may be a problem with the
[flexcoders] Flex Builder cannot locate the required debug version of the Flash Player
Hi, when i try to run my application in debug mode - I am getting the following error: C:\WINDOWS\system32\Macromed\Flash\Flash9d.ocx Flex Builder cannot locate the required debug version of the Flash Player. You may need to install the debug version of Flash Player 9.0 or reinstall Flex Builder. Do you want to try to debug with the current version? any thoughts
[flexcoders] Capture literal HTTPservice error returned from server
I would like to capture the literal error message returned from a server when making an HTTPservice request with resultFormat = e4x. Using fault allows me to handle the error gracefully - say when the result is not proper XML. But I would like to view the full error message from the server, for example, if there's a SQL statement error etc.. I realize I can switch the resultFormat to text but this is a real pain to switch back and forth during testing.
[flexcoders] Anyone *successfully* completed this?
http://coldfusion.sys-con.com/read/256076_p.htm As a newbie, I'm getting hung up a bit. I have completed the tutorial. I can get the items from the database. But the code to write a new item is broken...and I can't figure it out. Are there any solid, working tutorials out there that show how to read/write from/to a database using Cold Fusion? Thank you, John
[flexcoders] Maximum lines in TextArea?
Can I set the maximum amount of lines in an editable TextArea so that users can't type more than the size of the TextArea? I've already set the verticalScrollPolicy to off, but users are still allowed to keep typing, it just doesn't create the scrollbar.
[flexcoders] RangeError: Error #2006: The supplied index is out of bounds.
I have an inline item renderer, bounded to a data source, which is an array collection of objects. These objects are used to dynamically display controls in a datagrid. Everything seems to work fine for awhile. I can slide the slider down and up and down, but when I try to slide it back up the second time I get the following error: RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/getChildAt() at mx.core::Container/getChildAt() [C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2369] at mx.core::Container/removeChildAt() [C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2333] at mx.core::Container/removeAllChildren() [C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:3429] at DynamicAssertion/loadControl() [C:\software\application\weka\BuildingCharacterization\DynamicAsserti on.mxml:45] at BuildingCharacterization_inlineComponent1/set data() [C:\software\application\weka\BuildingCharacterization\BuildingCharac terization.mxml:695] at mx.controls.dataGridClasses::DataGridBase/mx.controls.dataGridClasses :DataGridBase::makeRowsAndColumns() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\dataGridClasses\DataG ridBase.as:650] at mx.controls::DataGrid/mx.controls:DataGrid::makeRowsAndColumns() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1293] at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::s crollVertically() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\listClasses\ListBase. as:5467] at mx.controls::DataGrid/mx.controls:DataGrid::scrollVertically() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1923] at mx.controls.listClasses::ListBase/set verticalScrollPosition() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\listClasses\ListBase. as:1043] at mx.controls::DataGrid/mx.controls:DataGrid::scrollHandler ()[C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1720] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE ventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() [E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:8389] at mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/m x/internal::dispatchScrollEvent() [E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\scrollClasses\Scro llBar.as:1096] at mx.controls.scrollClasses::ScrollThumb/mx.controls.scrollClasses:Scro llThumb::mouseMoveHandler() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\scrollClasses\ScrollT humb.as:234] In my item renderer, I first removeAllChildren(), and I think this is what is causing this error. I just can't figure out why it only does it after I slide the slider up for the second time. I have been working on this for weeks now it has taken an unbelievable amount of time and I still can't figure it out. Any help is VERY MUCH APPRICIATED!!! Thanks
[flexcoders] Flex Effects Question
I am trying to do an outlook style effect to notify a user that data has changed. I want a box to fade in from the bottom right hand side of the screen. This is what I have so far and it works except the text doesn't fade. I was also trying to bring the box in from off screen but the application just expands the scrollbars to show the box. Any help would be appreciated. Thanks. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute height=100% width=100% mx:Style Application { backgroundColor: #00; backgroundGradientColors: #33, #99; backgroundGradientAlphas: 1, 1; themeColor: #ff; color: #ff6600; } /mx:Style mx:Script ![CDATA[ import mx.effects.easing.*; private function showMessage():void{ if(messageAlert.visible){ myText.visible = false; messageAlert.visible = false; }else{ myText.visible = true; messageAlert.visible = true; } } ]] /mx:Script mx:Sequence id=fadeIn mx:Fade duration=500 alphaFrom=0 alphaTo=1 / mx:Pause duration=500 / mx:Fade duration=500 alphaFrom=1 alphaTo=0 / /mx:Sequence mx:VBox mx:Button click=showMessage() label=click me / /mx:VBox mx:ApplicationControlBar label=You have new data. width=250 height=90 visible=false id=messageAlert showEffect={fadeIn} right=5 bottom=5 backgroundColor=#808080 cornerRadius=7 borderColor=#808080 mx:Text id=myText text=You have new data. showEffect={fadeIn} visible=false width=100% height=100% color=#ff fontSize=14 fontFamily=Verdana alpha= 0.0 / /mx:ApplicationControlBar /mx:Application -- Eric Fleming [EMAIL PROTECTED]
Re: [flexcoders] Re: Site Launch
Grr i HATE popups. When will people learn?
[flexcoders] How to update Database Data using HTTPService
Hi, I'm new to Flex. Created a flex application to retrive data from Oracle Database. 1. Created a Java class for the Object (Table) with get and set functions. 2. Created another Javaclass to get the data from Database using JDBC. 3. Used a JSP to get the data in XML format. 4. I'm able to display the data in Flex application. 5. How do I update the data changes in Flex application back to the Database Table? Could you please provide a sample or point me in right direction? Thanks Vimal The JSP file. [EMAIL PROTECTED] import=flex.testdrive.gate.GateRuleService, flex.testdrive.gate.GateRule, java.util.List% ?xml version=1.0 encoding=utf-8? gaterule % GateRuleService srv = new GateRuleService(); List list = null; list = srv.getGateRule(); GateRule gaterule; for (int i=0; ilist.size(); i++) { gaterule = (GateRule) list.get(i); % gaterule rule_id=%= gaterule.getRuleId()% procedure_name%= gaterule.getProcName() % /procedure_name created%= gaterule.getCreated() %/created creator%= gaterule.getCreator() %/creator changed%= gaterule.getChanged() %/changed changer%= gaterule.getChanger() %/changer description%= gaterule.getDescription() %/description /gaterule % } % /gaterule
[flexcoders] Very strange runtime error with a repeater.
I've used repeaters before so I definitely know how they work as a whole. I've never had the issue I'm about to describe and I've been fruitless in my search efforts. I have built a custom-component (sort-of a menu) that uses a repeater to list out the menu items. In the mxml I've set its dataProvider to (hypothetically) this.parentDocument.myArray (also tried parentApplication out of desperation which didn't help at all). When i place items into that array I can do myComponent.myRepeater.executeBindings and the new items show up just fine. The problem comes when I want to completely clear the list, remove an element of it, or set the list to something else (myArray = myOtherArray). Whenever I do any of these and then attempt to execute bindings, i get a huge error message...which follows: TypeError: Error #2007: Parameter name must be non-null. at flash.display::DisplayObject/set name() at MethodInfo-2196() at MethodInfo-1590() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.binding::Binding/mx.binding:Binding::wrapFunctionCall() at mx.binding::RepeatableBinding/::recursivelyProcessIDArray() at mx.binding::RepeatableBinding/::recursivelyProcessIDArray() at mx.binding::RepeatableBinding/execute() at mx.binding::Binding/watcherFired() at mx.binding::Watcher/notifyListeners() at mx.binding::PropertyWatcher/eventHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.core::Repeater/set dataProvider() at MethodInfo-2194() at Function/http://adobe.com/AS3/2006/builtin::call() at mx.binding::Binding/::innerExecute() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.binding::Binding/mx.binding:Binding::wrapFunctionCall() at mx.binding::Binding/execute() at mx.binding::BindingManager$/executeBindings() at mx.core::UIComponent/executeBindings() at index/appClosed() at pages/__launchCloseButton_click() For clarity, ALL I'm doing is running executeBindings() and this happens. I've verified over and over that the data in my dataProvider array is clean and correct. The only difference between this repeater and ones I've done in the past is that this repeater is part of a custom component instead of part of my main mxml program. I can't imagine why this would be creating any issues, but whether or not it's related to that, I'd be VERY appreciative of any help that you all could give. I've been working on this on and off for four days now and I can't seem to get anywhere with it. Thanks, RV
[flexcoders] How do I declare a DataGridHeader for a datagrid?
How do I declare a DataGridHeader for a datagrid? I'd like to create a datagridHeader for the first column, how do I set it or declare it? mx:Script ![CDATA[ import mx.controls.dataGridClasses.DataGridHeader; var firstColumn:DataGridColumn = myGrid.columns[0]; // var firstDataGridHeader:DataGridHeader = ??? ; ]] /mx:Script mx:DataGrid id=myGrid mx:dataProvider mx:Object Artist=Pavement Price=11.99 Album=Slanted and Enchanted/ mx:Object Artist=Pavement Album=Brighten the Corners Price=11.99/ /mx:dataProvider mx:columns mx:DataGridColumn dataField=Album/ mx:DataGridColumn dataField=Price/ /mx:columns /mx:DataGrid
Re: [flexcoders] Re: Flex MDI
Duh to me... there I go again thinking it thru way too much. Thanks Ben! Greg - Original Message From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 15, 2007 11:24:50 PM Subject: [flexcoders] Re: Flex MDI myWindow.minimize( ); --- In [EMAIL PROTECTED] ups.com, Mr Greg Murnock [EMAIL PROTECTED] . wrote: Hi Ben, Yes that is correct. So I just call the ID of my MDIWindow.minimize? Or is there something a bit more? old school we would use nameOfButton. click but there isn't a name on the MDI buttons, or is there... :) Greg - Original Message From: ben.clinkinbeard ben.clinkinbeard@ ... To: [EMAIL PROTECTED] ups.com Sent: Monday, October 15, 2007 4:21:08 PM Subject: [flexcoders] Re: Flex MDI Hi Greg, Thanks for the compliment, we all appreciate it. Do you just want to programmatically minimize the window? If so, MDIWindow provides a minimize() method to do just that. If I misunderstood your request let me know. HTH, Ben --- In [EMAIL PROTECTED] ups.com, Mr Greg Murnock gmurnock@ . wrote: Anyone else using the FLEX MDI? (awesome stuff by the way) How would I call/activate the click event for the minimize button of an MDIWindow using the FLEX MDI? Greg _ _ _ _ _ _ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink. yahoo.com/ gmrs/yahoo_ panel_invite. asp?a=7 _ _ _ _ _ _ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers. yahoo.com/ dir/?link= listsid= 396545433 Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/
[flexcoders] how to catch selected item using repeater in flex 2.0
i'm using httpService to get rss feed and showing images in repeater control, i want to show message with selected(Clicked) image, but it not showing the title of selected image while selecting image.
[flexcoders] How do I call a POJO from Flex ?
How do I call a POJO from Flex? Well that's it. Thanks.
RE: [flexcoders] value of clicked/focused cell in a datagrid
Stop mails , please Merci de me désabonner SVP _ De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Alex Harui Envoyé : lundi 15 octobre 2007 22:04 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] value of clicked/focused cell in a datagrid It would be books[2][dg.columns[3].dataField] unless there are hidden columns or labelFunctions or custom renderers. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ramsey, Robert L Sent: Monday, October 15, 2007 12:57 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid Alex, thanks for the reply. I tried that, but had problems figuring out how to put the name in. I may not have explained very well. Lets say I have the following datagrid with an id=books: +-+--+---++ | Condition | Course | Price | Bookname | +-+--+---++ | In Plastic | EMB 101 | 100 | Embryology | | Well-read | EMB 102 | 75| Embryology | | In Plastic | Anat 101 | 100 | Anatomy| | In Plastic | Anat 101 | 100 | Anatomy| | Highlighted | Anat 102 | 25| Anatomy| | Well-read | Surg 101 | OBO | Surgery| +-+--+---++ The user can click in any cell in any row or column. If the user clicks in row2, column3, I can use rowIndex and columnIndex to get 2 and 3. I could get the data by doing books[2].Bookname, but how do I know that Bookname is the heading for column 3? I could do a lookup that says if columnIndex==3, then fieldname=Bookname, but how do I use a string variable in the call? I know I can do books[rowIndex].Bookname to get the data, but how do I use a variable for the column name? Or do I just know that because Im hardcoding in the field names for the columns in the DataGridColumn? If I just let the DataGrid component build the columns, then the columns are dependent on the order of the fields in the underlying database format and if I ever have to change that format, then Id have to update all of this. Id like something a little more portable. Did I explain that ok? Thanks for your help! It really is appreciated! Bob From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Monday, October 15, 2007 1:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid acMyStuff[i] is the data object in the dataprovider, but normally those things are objects with fields and not another array. Your datagridcolumns use .datafield to pull the field. So it would be something like acMyStuff[1].name _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ramsey, Robert L Sent: Monday, October 15, 2007 10:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] value of clicked/focused cell in a datagrid Ok, I am definitely being a real idiot here. All I want to do is find out the value of cell that a user has clicked on, tabbed into, or entered into. I can get the row number and column number, but I cant find the syntax to get the data out of the arraycollection. For other languages, Id just do something like val = acMyStuff[1][4] to get the data from the multidimensional array. Any ideas? Thanks. Bob
Re: [flexcoders] How do I call a POJO from Flex ?
1) write the POJO 2) place the class in WEB-INF/classes (be aware of the package structure) 3) add the destination to remoting-cofig.xml, for example: destination id=ProcessTimeSummary properties sourceperf.controller.ProcessTimeSummary/source /properties /destination 4) restart the server (required with JRun) 5) create the mxml page with the remoteObject call, for example: mx:RemoteObject id=ProcessTimeSummary destination=ProcessTimeSummary showBusyCursor=true mx:method name=getProcessResults result=resultHandler( event ) fault=faultHandler( event ) / /mx:RemoteObject 6) Write the result and fault handlers (mx:Script, usually) 7) Have a look at Cairngorm before you get yourself into too much trouble (write me if you want an easy tutorial to get started - POJO's included) Michael Corbridge Distributed Computing Sun Life Financial Ltd. One Sun Life Executive Park Wellesley Hills, MA 02481 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. ---
[flexcoders] flex remoting with cf7 running on weblogic
has anybody on this list figured out how to get flex remoting (remoteObject) working on this config? the /flex2gateway is not working and the usual fixes don't seem to work or are not applicable. do you have to have JRun to make that work??
[flexcoders] Re: Site Launch
As with all websites there has to be a compromise between 'pretty' and 'practical'. I'd suggest losing the popups and streamlining the code to make downloading quicker. It was only my 'geekiness' that kept me hanging around to see what dribbled down the pipe. Users are more fickle.
[flexcoders] Weird DataGrid Behavior in Release Version
So I put a release version into QA. When I click on a datagrid, the presence of a selectedItem enables an edit button. When I click on the edit button it doesn't work as expected. It just blanks the selectedItem and disables my edit button. It does work if I wait enough or do something sometimes. This works fine in regular build releases. The same happens in both firefox and IE. Any ideas? Thanks.
Re: [flexcoders] My Flex based web App doesn't work with SSL
We had a similar situation using LCDS with HTTPS, we had to create additional channels in services-config.xml specifically for SSL and also set the add-no-chache-headers tag to false to avoid weird caching/ssl issues. For example: !-- These are for production channels which use HTTPS -- channel-definition id=prod-amf class= mx.messaging.channels.SecureAMFChannel endpoint uri=https://{server.name}:{server.port}/{context.root}/messagebroker/amf; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties polling-enabledfalse/polling-enabled add-no-cache-headersfalse/add-no-cache-headers /properties /channel-definition channel-definition id=prod-polling-amf class= mx.messaging.channels.SecureAMFChannel endpoint uri=https://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties polling-enabledtrue/polling-enabled polling-interval-seconds8/polling-interval-seconds add-no-cache-headersfalse/add-no-cache-headers /properties /channel-definition Then in our data-management-config.xml and remoting-config.xml we added these channels to default-channels as appropriate. Scott On 10/12/07, sk_acura [EMAIL PROTECTED] wrote: Hi All, I have a Web App Flex+ Live Cycle DS + spring based app running on Tomcat and it works fine on http with out any issues.. When we try to access from External Domains (which is using SSL) then the Modules are getting loaded but the RemoteObjects are not getting Fetched it seems.. And when i try to log the RemoteObject once is is created in my trace log it is showing as RemoteObject =[RemoteObject destination=SearchFacade channelSet=null] Which is same as when i try to access the App inside the network using HTTP (rather than https) I am not sure whether any thing needs to be done in the config for the SSL... Thanks Kumar
[flexcoders] How does RTMP work?
I'm trying to get my wits around RTMP and any firewall issues that may exist with it. I understand that Adobe's RTMP implementation uses http tunneling - does this mean that the firewall doesn't in fact have to have port 2048 open? That the rtmp requests in fact come over on port 80 in the http headers? Just trying to understand - any explanation appreciated. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c)
Re: [flexcoders] Flex Builder cannot locate the required debug version of the Flash Player
Just follow the instructions.. You may need to install the debug version of Flash Player 9.0 Get the latest debug player here: http://www.adobe.com/support/flashplayer/downloads.html#fp9 - Original Message - From: seemaherein [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 16, 2007 1:46 PM Subject: [flexcoders] Flex Builder cannot locate the required debug version of the Flash Player Hi, when i try to run my application in debug mode - I am getting the following error: C:\WINDOWS\system32\Macromed\Flash\Flash9d.ocx Flex Builder cannot locate the required debug version of the Flash Player. You may need to install the debug version of Flash Player 9.0 or reinstall Flex Builder. Do you want to try to debug with the current version? any thoughts -- 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/
Re: [flexcoders] Anyone *successfully* completed this?
On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: I have completed the tutorial. I can get the items from the database. But the code to write a new item is broken In what way ? PYC. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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: Unknown destination 'EmployeeServiceRO
Anyone? Has no one seen this error before? Does everything look correct? This is with Flex 2 / LCDS on Tomcat with Java middleware. Thanks On 10/15/07, Greg Morphis [EMAIL PROTECTED] wrote: I'm condensing my previous posts.. getting this error on a flex app.. [FaultEvent fault=[RPC Fault faultString=[MessagingError message='Unknown destination 'EmployeeServiceRO'.'] faultCode=InvokeFailed faultDetail=Couldn't establish a connection to 'EmployeeServiceRO'] messageId=47E7A8FA-EB41-1E60-A96D-A474ECC048D1 type=fault bubbles=false cancelable=true eventPhase=2] I've checked the remoting-config.xml destination id=EmployeeServiceRO properties sourcecom.alltel.rapid.aopscheduler.business.EmployeeDelegate/source scopeapplication/scope /properties security security-constraint auth-methodBasic/auth-method roles roleAOPScheduler-BASICAM/role roleAOPScheduler-BASICINQ/role /roles /security-constraint /security /destination I installed log4j and I see this when I log in.. 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - Username e0087890 has role AOPScheduler-BASICINQ 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - No role found: AOPScheduler-BASICINQ But I have the roles defined: In the web.xml file auth-constraint role-nameAOPScheduler-BASICAM/role-name role-nameAOPScheduler-BASICINQ/role-name /auth-constraint /security-constraint and security-role description The role that is required to log in to the Manager Application /description role-nameAOPScheduler-BASICAM/role-name /security-role security-role description The role that is required to log in to the Reader Application /description role-nameAOPScheduler-BASICINQ/role-name /security-role So to me everything looks okay, what am I missing? The odd thing is that we store the code in CVS, I've checked out a fresh copy of the code and everything looks good. The only thing I can think of is something not configured right in Tomcat?
[flexcoders] AdvancedDataGrid expand nodes on cell click
Hi All I have an AdvancedDataGrid with a Hierarchical dataprovider. You can click on the little triangle icons to open/close nodes that have children. Can anyone recommend how to get the equivalent of clicking on the triangle icons by clicking on the cell that has the icon as well? Essentially I want to have the exact same behaviour but let the user click the cell/label as well as the icon. Also, I currently have the itemRenderer created when I click on an editable cell and it works fine. I wanted to try make the editable cells always show the editor to help give the user a clue as to what is editable so added itemRenderer=MyItemEditor rendererIsEditor=true but now the cell height is a little small and is cropping the editors. I have overridden the measure method in the editor so I'm not sure why it's not working this way. Any ideas? thanks charles
RE: [flexcoders] Re: Unknown destination 'EmployeeServiceRO
Hmm not sure if this is the problem but dont create roles names with any special characters, dashes ( - ) in your case. I know Weblogic has a problem with this when we named our roles with underscores in them. In WL we also need to define them in the WEB-NF/weblogic.xml, not sure if this is the case for Tomcat. As for not being able to connect, hmmm..is there any more errors before this one? Dimitrios Gianninas Development Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis Sent: Tuesday, October 16, 2007 9:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Unknown destination 'EmployeeServiceRO Anyone? Has no one seen this error before? Does everything look correct? This is with Flex 2 / LCDS on Tomcat with Java middleware. Thanks On 10/15/07, Greg Morphis [EMAIL PROTECTED] mailto:gmorphis%40gmail.com wrote: I'm condensing my previous posts.. getting this error on a flex app.. [FaultEvent fault=[RPC Fault faultString=[MessagingError message='Unknown destination 'EmployeeServiceRO'.'] faultCode=InvokeFailed faultDetail=Couldn't establish a connection to 'EmployeeServiceRO'] messageId=47E7A8FA-EB41-1E60-A96D-A474ECC048D1 type=fault bubbles=false cancelable=true eventPhase=2] I've checked the remoting-config.xml destination id=EmployeeServiceRO properties sourcecom.alltel.rapid.aopscheduler.business.EmployeeDelegate/source scopeapplication/scope /properties security security-constraint auth-methodBasic/auth-method roles roleAOPScheduler-BASICAM/role roleAOPScheduler-BASICINQ/role /roles /security-constraint /security /destination I installed log4j and I see this when I log in.. 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - Username e0087890 has role AOPScheduler-BASICINQ 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - No role found: AOPScheduler-BASICINQ But I have the roles defined: In the web.xml file auth-constraint role-nameAOPScheduler-BASICAM/role-name role-nameAOPScheduler-BASICINQ/role-name /auth-constraint /security-constraint and security-role description The role that is required to log in to the Manager Application /description role-nameAOPScheduler-BASICAM/role-name /security-role security-role description The role that is required to log in to the Reader Application /description role-nameAOPScheduler-BASICINQ/role-name /security-role So to me everything looks okay, what am I missing? The odd thing is that we store the code in CVS, I've checked out a fresh copy of the code and everything looks good. The only thing I can think of is something not configured right in Tomcat? -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
Re: [flexcoders] Maximum lines in TextArea?
Unless someone has created this control for public use, you're going to have to subclass the TextArea and create your own. TextArea's use the UITextField class to render text so take a look at http://livedocs.adobe.com/flex/201/langref/flash/text/TextField.html. I'd say the easiest way is this (all operations acting on the textField, not the TextArea): onKeyDown: cache the current data in htmlText. onChange: measure the new text to see if it overflows the visible area of the TextField. If it does, reset the htmlText to the cached version, else do nothing. end of algorithm. - Dan Freiman On 10/15/07, Michael H. Ian [EMAIL PROTECTED] wrote: Can I set the maximum amount of lines in an editable TextArea so that users can't type more than the size of the TextArea? I've already set the verticalScrollPolicy to off, but users are still allowed to keep typing, it just doesn't create the scrollbar.
[flexcoders] not kosher to call function from inline renderer?
don't know if it's not kosher or i'm flubbing something but i keep getting Call to a possibly undefined method blobToImage. errors from something like this (trying to convert bunch of BLOBed thumbnails into a list): mx:HorizontalList id=sampleImageThumbnails dataProvider={sampleData.sampleImagery} width=100% mx:itemRenderer mx:Component mx:Image height={data.data.imageHeight} width={data.data.imageWidth} source={blobToImage(data.thumbnail,data.imageHeight,data.imageWidth)} / /mx:Component /mx:itemRenderer /mx:HorizontalList the method is there works (more or less ;-). any ideas? thanks.
Re: [flexcoders] Flex Builder cannot locate the required debug version of the Flash Player
this happened to me when i set my flexbuilder to use a different browser for a while, no matter how many players i installed it would not go away until i returned to my systems default browser (win xp, fb 2.01) On 10/16/07, Muzak [EMAIL PROTECTED] wrote: Just follow the instructions.. You may need to install the debug version of Flash Player 9.0 Get the latest debug player here: http://www.adobe.com/support/flashplayer/downloads.html#fp9 - Original Message - From: seemaherein [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 16, 2007 1:46 PM Subject: [flexcoders] Flex Builder cannot locate the required debug version of the Flash Player Hi, when i try to run my application in debug mode - I am getting the following error: C:\WINDOWS\system32\Macromed\Flash\Flash9d.ocx Flex Builder cannot locate the required debug version of the Flash Player. You may need to install the debug version of Flash Player 9.0 or reinstall Flex Builder. Do you want to try to debug with the current version? any thoughts -- 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 -- j:pn \\no comment
Re: [flexcoders] Re: Unknown destination 'EmployeeServiceRO
Is it the only destination not being found? Can you create another destination, and debug in something like this: mb = MessageBroker.getMessageBroker(null); srv = (RemotingService)mb.getServiceByType( flex.messaging.services.RemotingService); RemotingDestination remotingDestination = (RemotingDestination)srv.getDestination(destinationName);// debug in Regards, Anatole On 10/16/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hmm not sure if this is the problem but dont create roles names with any special characters, dashes ( - ) in your case. I know Weblogic has a problem with this when we named our roles with underscores in them. In WL we also need to define them in the WEB-NF/weblogic.xml, not sure if this is the case for Tomcat. As for not being able to connect, hmmm..is there any more errors before this one? *Dimitrios Gianninas* *Development Team Lead* *Optimal Payments Inc.* -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Greg Morphis *Sent:* Tuesday, October 16, 2007 9:53 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Unknown destination 'EmployeeServiceRO Anyone? Has no one seen this error before? Does everything look correct? This is with Flex 2 / LCDS on Tomcat with Java middleware. Thanks On 10/15/07, Greg Morphis [EMAIL PROTECTED] gmorphis%40gmail.com wrote: I'm condensing my previous posts.. getting this error on a flex app.. [FaultEvent fault=[RPC Fault faultString=[MessagingError message='Unknown destination 'EmployeeServiceRO'.'] faultCode=InvokeFailed faultDetail=Couldn't establish a connection to 'EmployeeServiceRO'] messageId=47E7A8FA-EB41-1E60-A96D-A474ECC048D1 type=fault bubbles=false cancelable=true eventPhase=2] I've checked the remoting-config.xml destination id=EmployeeServiceRO properties sourcecom.alltel.rapid.aopscheduler.business.EmployeeDelegate/source scopeapplication/scope /properties security security-constraint auth-methodBasic/auth-method roles roleAOPScheduler-BASICAM/role roleAOPScheduler-BASICINQ/role /roles /security-constraint /security /destination I installed log4j and I see this when I log in.. 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - Username e0087890 has role AOPScheduler-BASICINQ 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - No role found: AOPScheduler-BASICINQ But I have the roles defined: In the web.xml file auth-constraint role-nameAOPScheduler-BASICAM/role-name role-nameAOPScheduler-BASICINQ/role-name /auth-constraint /security-constraint and security-role description The role that is required to log in to the Manager Application /description role-nameAOPScheduler-BASICAM/role-name /security-role security-role description The role that is required to log in to the Reader Application /description role-nameAOPScheduler-BASICINQ/role-name /security-role So to me everything looks okay, what am I missing? The odd thing is that we store the code in CVS, I've checked out a fresh copy of the code and everything looks good. The only thing I can think of is something not configured right in Tomcat? *AVIS IMPORTANT* *WARNING* Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender.
Re: [flexcoders] not kosher to call function from inline renderer?
The inline component doesn't have that method in scope. Try {this.parentDocument.blobToImage Paul Hastings wrote: don't know if it's not kosher or i'm flubbing something but i keep getting Call to a possibly undefined method blobToImage. errors from something like this (trying to convert bunch of BLOBed thumbnails into a list): mx:HorizontalList id=sampleImageThumbnails dataProvider={sampleData.sampleImagery} width=100% mx:itemRenderer mx:Component mx:Image height={data.data.imageHeight} width={data.data.imageWidth} source={blobToImage(data.thumbnail,data.imageHeight,data.imageWidth)} / /mx:Component /mx:itemRenderer /mx:HorizontalList the method is there works (more or less ;-). any ideas? 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
Re: [flexcoders] Flex Builder cannot locate the required debug version of the Flash Player
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: Flex Builder cannot locate the required debug version of the Flash Player. You may need to install the debug version of Flash Player 9.0 or reinstall Flex Builder. Do you want to try to debug with the current version? Well, did you install the latest debug player (as suggested during the install of Builder) ? -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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] Remote Shared Object Inquiry
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As I am working through converting one of my applications to Flex/FMS I have one small issue which does not produce the same results for the 1st person that enters the application. Within my viewStack I have a textArea and a List which is being populated from information that is retrieved from a Remote Shared Object. When I run the application from FlexBuilder sometimes I get an TypeError: Error #1009: Cannot access a property or method of a null object reference which occurs on line 163 of my application. When I get this error message, then the mx:List is populated with all usernames of the users who are connected to the application and the mx:TextArea is blank. If I do not get the Error Message then the mx:List box does not have any usernames within it however the mx:TextArea has the correct information within it. The mx:List has a dataProvider of {chatPeopleListDP} and a labelField of UserName below is the code sections: [Bindable] private var chatPeopleListDP:Array = new Array(); private function NetStatusHandler(event:NetStatusEvent):void { switch (event.info.code) { case NetConnection.Connect.Success: HomeworkChatViewStack.selectedChild=ChatWindow; UsersListSO = SharedObject.getRemote(ChatUsers, ChatServer_nc.uri, false); UsersListSO.addEventListener(SyncEvent.SYNC, SyncUserList); UsersListSO.connect(ChatServer_nc); ChatHistorySO = sharedObject.getRemote(ChatHistory, ChatServer_nc.uri, false); ChatHistorySO.addEventListener(SyncEvent.SYNC, SyncClientMsgHistory); ChatHistorySO.connect(ChatServer_nc); break; {Other Case Statements for NetConnection.Connect.Rejected, Closed, Failed} } private function SyncClientMsgHistory(event:SyncEvent):void { TextChatWindow.htmlText += event.target.data['ChatSession']; } private function SyncUserList(event:SyncEvent):void { var tempList:Object = new Object(); for (var i:String in event.target.data) { tempList.UserName = event.target.data[i]['UserName']; tempList.IP = event.target.data[i]['ip']; chatPeopleListDP.push(tempList); } } Can anyone see why only one of these Sync Method is executing when a user enters the application. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRxTKTXnjLHMPlkANAQLaBwf/VTEKF7ua+GvffqlJr28UD/+1JEOdfnw0 1bqs+nqaTK7PCo9zQkmWkpjRrY3b7xhqcBUN2tuSw9A0Oplb8ll3Kfeb8T/S30wI B1hT+F58IRaulSzSDLpbmYxGqDkvD1d1ysvB4d8XPhzBvPVkq+n9gXl4oJQlq/YM sOABra3tFymoMfvC04YfgccMSORlK2r204eOnB7j8T6POiVfOBQrGYRhmO6vv3B4 lH+yYVx3RqkQqvDCQuBU0hf+yUDtkaFUicJ78SuyLOkq3iO3+fpHLCkuTcs4sH1R YqMn9i22N2uh7bdL+FlBtL2ZaQeRdstUEWCA/6/5hHn6zRnEsE+Xog== =dAhu -END PGP SIGNATURE- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
[flexcoders] Re: Weird DataGrid Behavior in Release Version
Sorry... I should also add a custom effect does not work in the release version as well but works fine in the build version. --- In flexcoders@yahoogroups.com, hammer995 [EMAIL PROTECTED] wrote: So I put a release version into QA. When I click on a datagrid, the presence of a selectedItem enables an edit button. When I click on the edit button it doesn't work as expected. It just blanks the selectedItem and disables my edit button. It does work if I wait enough or do something sometimes. This works fine in regular build releases. The same happens in both firefox and IE. Any ideas? Thanks.
[flexcoders] Label alignment?
How to vertically align the text of a Label? The only related property I found there is textAlign, but it does the horizontal alignment. Thanks.
Re: [flexcoders] How does RTMP work?
Our development team was using RTMP. Our corporate network is seriously locked down for external applications. It is my understanding that in order to use the RTMP tunneling you have to be using LCDS not FDS2. We did some light testing (1 day) of that configuration and couldn't get it to work through the firewall either. It was our experience that the rollover functionality was not working. [could have been our configuration]. Our timeline was tight enough that we couldn't spend more time on that nor could we get a hole punched through the firewall in time for the deployment. We fell back on amf-polling. Articles which may be of value to you are: LiveCycle Data Services Features http://www.adobe.com/products/livecycle/dataservices/features.html Proxy Server setup: http://kb.adobe.com/selfservice/viewContent.do?externalId=1ccfec30 Tunneling http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16631 Roxanne Reid-Bennett QA Analyst Architect Battershall, Jeff [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 10/16/2007 08:39 AM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] How does RTMP work? I'm trying to get my wits around RTMP and any firewall issues that may exist with it. I understand that Adobe's RTMP implementation uses http tunneling - does this mean that the firewall doesn't in fact have to have port 2048 open? That the rtmp requests in fact come over on port 80 in the http headers? Just trying to understand - any explanation appreciated. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) ** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ** image/gifimage/gif
[flexcoders] Re: Custom Drag Cursors
Alex, Setting the cursor on mouseMove is not the problem...I get the correct cursor during mouseMove...the cursor comes from the move-cursor style of the DragManager. I am attempting to use these styles to get the functionality that I need. If I don't use the DragManager styles and attempt to set all of the cursors manually I can almost get it working. If I do it this way I have to turn off the cursor when the user ends the drag. This is simple if the user drops where I expect the drop to occur. But if the user drops to one of the many many unallowed areas I am not sure where to put the code that will remove my custom cursor without putting mouseUp listeners everywhere. Maybe there is a simple way to do this differently? If I use the DragManager's styles this happens automatically for me, plus I get the bonus of allowing the DragManager to show reject-cursor and others, which I do not want to change manually. So the problem for me right now is to show the correct cursor between mouseDown, which calls startDrag(), and mouseMove when the DragManager seems to take over and use it's stylesheet cursors. I tried setting my own cursor in mouseDown and then removing it in mouseMove, but this seems to mess up the DragManager and cause it to no longer use the custom cursors setup in it's stylesheet. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I'm not sure why you say you can't use setCursor() on mouseMove? Anyway, everything described in the original email seems ok. What is the mouseDown target? Did you try setting a cursor then? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Monday, October 15, 2007 10:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Custom Drag Cursors Are you using the cursorManager or just when a drag happens? u cant just use cursorManager.setCursor(...whatever u want) on mouse move - Original Message From: toofah_gm [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 15, 2007 5:35:07 PM Subject: [flexcoders] Custom Drag Cursors I am trying to use my own custom cursor for drag and drop functionality and having a little trouble. I have added my own cursor to mouseOver on the object that is draggable... this is to indicate that the object is draggable. I have setup css style for all of the DragManager cursors like this: DragManager { copy-cursor: Embed(source= /assets/ images/copy. png); link-cursor: Embed(source= /assets/ images/link. png); move-cursor: Embed(source= /assets/ images/move. png); reject-cursor: Embed(source= /assets/ images/reject. png); } Now the trouble. When I hover I see my custom cursor. When I mouseDown I see the default cursor...this is the problem. When I start dragging I see my custom cursors. How do I see my custom cursor during the entire process? During mouseDown event I call DragManager. startDrag( ). If I do not clear my hover cursor, or if I set a different cursor, the custom drag cursors never show up. It seems that any set cursor overrides the drag ones. If I clear my hover cursor before I call startDrag(), the custom drag cursors do not show up until the first mouseMove. There is a window between mouseDown and mouseMove where I have no custom cursor. Any ideas? Am I missing something here? I guess that I can override the mouseMove event if I need to and clear it there if I have to. Thanks. Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http://us.rd.yahoo.com/evt=48516/*http:/surveylink.yahoo.com/gmrs/yahoo _panel_invite.asp?a=7%20 and lay it on us.
[flexcoders] Re: Anyone *successfully* completed this?
I cannot get the add new task functions to work. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: I have completed the tutorial. I can get the items from the database. But the code to write a new item is broken In what way ? PYC. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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] Problems do make framework caching work
Hello, i had a question about Framework caching on Flex 3 beta 2. I had project, and i use ANT for compile... And i using rsl for let swf smaller and separte framework file, naturaly this framework file should be loaded one time and never quicked out of cache. But not is this what happening, i use this line for compilation i ant: PainelAdmApp.mxml -runtime-shared-library-path=C:\3.0.0\frameworks\libs\framework.swc,C:\3.0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 -services services-config.xml -link-report=PainelAdmAppReport.xml -output ${deploy.dir}/PainelAdmApp.swf I don't know what i do wrong. I had this conversation here in flexcoder about framework caching and a i try do exactly Darrel teached, using SWZ and target for 9.0.60 flash player but when look in firebug what is loaded, the swz file is never loaded and swf file is loaded. Someone can help? Thanks.
[flexcoders] Re: flex builder 3 beta 2 always launching my app with debug player.
When compiling from the command line, how do we specify release vs. debug version? Sorry if this has been answered, I've searched and not found an answer. Thanks, Ben --- In flexcoders@yahoogroups.com, Mike Morearty [EMAIL PROTECTED] wrote: Aaron, you can fix this by installing the new beta of the Flash player that came with the beta of Flex Builder. Here is a very long explanation, copied (and edited) from a post I just made on the Adobe forums: I wanted to clarify a couple of things about how this new model (creating a single debug swf, then exporting a release one later) works. 1. If you install the (beta) Flash player that came with this Flex Builder beta, then you will NOT see the Where is the debugger dialog. The Flash Player and Flex Builder changes go hand-in-hand. Certainly I agree that with the Flash player's old behavior, having Flex Builder create only a debug swf would cause lots of problems; that's why we changed both. This means there will be a transition period during which some developers will have the old debugger-player installed, so they will see this message; that's unfortunate, but it won't last too long. But customers will never see it, because... 2. Your customers will NOT need to upgrade their Flash player, because the release version of the Flash player -- the one that all your customers have -- never asks Where is the debugger. The old version didn't, and neither will the next one. To summarize: The only scenario where this is a problem is if you run (not debug) a debug swf in an older version of the debug player. It is not a problem for people who have the release player (almost all customers); it is not a problem for machines on which Flex Builder was installed with the default options, which includes installing the new debug Flash player. Some of the reasons we made this change: - Performance: It always helps to only have to link one swf instead of two during the edit/compile/debug cycle. - Filenames: There are several cases where the filename of the swf is important; with the new way, the filename of the swf is always the same. For example, if you are using modules, then you have to write this: mx:ModuleLoader url=MyModule.swf / But with the old model, you would have to write this during development: mx:ModuleLoader url=MyModule-debug.swf / ... and then change it before deployment. Yuck. So then people started using binding to work around this: mx:ModuleLoader url={mungeFilename('MyModule-debug.swf')} / where mungeFilename() tries to figure out the correct filename. A little less horrible than having the modify the filename before deployment, but still not pretty. I'm interested to hear what you think, and whether you think changes are still required even despite the above explanation. Thanks for trying the beta, we appreciate the feedback! - Mike Morearty, Adobe Flex Builder team --- In flexcoders@yahoogroups.com, aaron smith beingthexemplarylists@ wrote: Sorry I'm not following you. Explain it to me again? Thanks. On 10/4/07, Sheriff sherif626@ wrote: cause to speed up the compiling it only does debug untill you want to export then click project then export release version. So use debug to run - Original Message From: aaron smith beingthexemplarylists@ To: flexcoders@yahoogroups.com Sent: Thursday, October 4, 2007 3:36:24 PM Subject: [flexcoders] flex builder 3 beta 2 always launching my app with debug player. Why is flex buildfe 3 beta 2 always launching my app with the debug player. I press the Run button, and I'm constantly prompted with the connect to debugger popup. Any ideas? -- Need a vacation? Get great deals to amazing places http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--on Yahoo! Travel.
Re: [flexcoders] Re: Unknown destination 'EmployeeServiceRO
I don't think it's the roles because this is working in production, and even dev.. just not locally. The only thing that I might have different is some Tomcat setting.. maybe something changed after I was pulled from the project to work on other database related items. As far as more errors.. thats the only one right now thats preventing me from running the app.. when this one is solved, it might open another can of worms so-to-speak. Anyways, I appreciate the couple replies.. I, myself, am getting no where. On 10/16/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hmm not sure if this is the problem but dont create roles names with any special characters, dashes ( - ) in your case. I know Weblogic has a problem with this when we named our roles with underscores in them. In WL we also need to define them in the WEB-NF/weblogic.xml, not sure if this is the case for Tomcat. As for not being able to connect, hmmm..is there any more errors before this one? *Dimitrios Gianninas* *Development Team Lead* *Optimal Payments Inc.* -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Greg Morphis *Sent:* Tuesday, October 16, 2007 9:53 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Unknown destination 'EmployeeServiceRO Anyone? Has no one seen this error before? Does everything look correct? This is with Flex 2 / LCDS on Tomcat with Java middleware. Thanks On 10/15/07, Greg Morphis [EMAIL PROTECTED] gmorphis%40gmail.com wrote: I'm condensing my previous posts.. getting this error on a flex app.. [FaultEvent fault=[RPC Fault faultString=[MessagingError message='Unknown destination 'EmployeeServiceRO'.'] faultCode=InvokeFailed faultDetail=Couldn't establish a connection to 'EmployeeServiceRO'] messageId=47E7A8FA-EB41-1E60-A96D-A474ECC048D1 type=fault bubbles=false cancelable=true eventPhase=2] I've checked the remoting-config.xml destination id=EmployeeServiceRO properties sourcecom.alltel.rapid.aopscheduler.business.EmployeeDelegate/source scopeapplication/scope /properties security security-constraint auth-methodBasic/auth-method roles roleAOPScheduler-BASICAM/role roleAOPScheduler-BASICINQ/role /roles /security-constraint /security /destination I installed log4j and I see this when I log in.. 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - Username e0087890 has role AOPScheduler-BASICINQ 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - No role found: AOPScheduler-BASICINQ But I have the roles defined: In the web.xml file auth-constraint role-nameAOPScheduler-BASICAM/role-name role-nameAOPScheduler-BASICINQ/role-name /auth-constraint /security-constraint and security-role description The role that is required to log in to the Manager Application /description role-nameAOPScheduler-BASICAM/role-name /security-role security-role description The role that is required to log in to the Reader Application /description role-nameAOPScheduler-BASICINQ/role-name /security-role So to me everything looks okay, what am I missing? The odd thing is that we store the code in CVS, I've checked out a fresh copy of the code and everything looks good. The only thing I can think of is something not configured right in Tomcat? *AVIS IMPORTANT* *WARNING* Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its
Re: [flexcoders] Re: Unknown destination 'EmployeeServiceRO
I'll give that a try in a little bit, I'll have to modify the main view and security login page to ignore the current way of loading. I think the answer will be no, no destination is being found Thanks On 10/16/07, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Is it the only destination not being found? Can you create another destination, and debug in something like this: mb = MessageBroker.getMessageBroker(null); srv = (RemotingService)mb.getServiceByType( flex.messaging.services.RemotingService); RemotingDestination remotingDestination = (RemotingDestination)srv.getDestination(destinationName);// debug in Regards, Anatole On 10/16/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hmm not sure if this is the problem but dont create roles names with any special characters, dashes ( - ) in your case. I know Weblogic has a problem with this when we named our roles with underscores in them. In WL we also need to define them in the WEB-NF/weblogic.xml, not sure if this is the case for Tomcat. As for not being able to connect, hmmm..is there any more errors before this one? *Dimitrios Gianninas* *Development Team Lead* *Optimal Payments Inc.* -- *From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] *On Behalf Of *Greg Morphis *Sent:* Tuesday, October 16, 2007 9:53 AM *To:* [EMAIL PROTECTED] ups.com *Subject:* [flexcoders] Re: Unknown destination 'EmployeeServiceRO Anyone? Has no one seen this error before? Does everything look correct? This is with Flex 2 / LCDS on Tomcat with Java middleware. Thanks On 10/15/07, Greg Morphis [EMAIL PROTECTED] gmorphis%40gmail.com wrote: I'm condensing my previous posts.. getting this error on a flex app.. [FaultEvent fault=[RPC Fault faultString=[MessagingError message='Unknown destination 'EmployeeServiceRO'.'] faultCode=InvokeFailed faultDetail=Couldn't establish a connection to 'EmployeeServiceRO'] messageId=47E7A8FA-EB41-1E60-A96D-A474ECC048D1 type=fault bubbles=false cancelable=true eventPhase=2] I've checked the remoting-config.xml destination id=EmployeeServiceRO properties sourcecom.alltel.rapid.aopscheduler.business.EmployeeDelegate /source scopeapplication/scope /properties security security-constraint auth-methodBasic/auth-method roles roleAOPScheduler-BASICAM/role roleAOPScheduler-BASICINQ/role /roles /security-constraint /security /destination I installed log4j and I see this when I log in.. 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - Username e0087890 has role AOPScheduler-BASICINQ 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - No role found: AOPScheduler-BASICINQ But I have the roles defined: In the web.xml file auth-constraint role-nameAOPScheduler-BASICAM/role-name role-nameAOPScheduler-BASICINQ/role-name /auth-constraint /security-constraint and security-role description The role that is required to log in to the Manager Application /description role-nameAOPScheduler-BASICAM/role-name /security-role security-role description The role that is required to log in to the Reader Application /description role-nameAOPScheduler-BASICINQ/role-name /security-role So to me everything looks okay, what am I missing? The odd thing is that we store the code in CVS, I've checked out a fresh copy of the code and everything looks good. The only thing I can think of is something not configured right in Tomcat? *AVIS IMPORTANT* *WARNING* Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you
Re: [flexcoders] Binding the results from a CFC to a value object
On Oct 16, 2007, at 10:34 AM, stephen50232 wrote: But I keep getting error messages telling me that e.result does not have a property called Firstname (or any of the other fields returned by the query in the CFC). And that's correct if the result is returned as an ArrayCollection. An ArrayCollection is a collection of objects with properties. Your UserVO might be the first item in that collection - but it's not the collection itself. So, calling something like e.result.Firstname is going to be null and will throw an error. Firstname might be a property of the first item in the array collection, but it's not a property of the collection itself. I know my result is returned as a ArrayCollection, but how can I bind that to a Value Object, which I'll then add to my model object so it is available through out my application. You have to parse out the element from your returned collection. If the first item in the ArrayCollection can be cast to your UserVO, then do just that. var collection:ArrayCollection = e.result as ArrayCollection; then appModel.user = collection.getItemAt(0) as UserVO; or appModel.user = new UserVO( collection.getItemAt(0) ); I think you just have to understand that you can't convert an ArrayCollection to a single object. It's a collection of objects in an ArrayCollection. good luck. jon
Re: [flexcoders] Re: Anyone *successfully* completed this?
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: I cannot get the add new task functions to work. Why not ? *Post Your Code*. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] Re: flex builder 3 beta 2 always launching my app with debug player.
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: When compiling from the command line, how do we specify release vs. debug version? --debug -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] not kosher to call function from inline renderer?
Paul deCoursey wrote: The inline component doesn't have that method in scope. Try {this.parentDocumen t.blobToImage. ... yup that did the trick. thanks paul. btw is documented anywhere?
Re: [flexcoders] flex remoting with cf7 running on weblogic
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: and the usual fixes don't seem to work or are not applicable. do you have to have JRun to make that work?? Nope, but you do need CF 7.0.2. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] SOLVED: AdvancedDataGrid expand nodes on cell click
Got these solved thanks On Oct 16, 2007, at 9:57 AM, Charles Galpin wrote: Hi All I have an AdvancedDataGrid with a Hierarchical dataprovider. You can click on the little triangle icons to open/close nodes that have children. Can anyone recommend how to get the equivalent of clicking on the triangle icons by clicking on the cell that has the icon as well? Essentially I want to have the exact same behaviour but let the user click the cell/label as well as the icon. If I make the column editable I can catch the itemEditBeginning event and disable the default action and use expandItem (and isItemExpanded) to control the node open/close Also, I currently have the itemRenderer created when I click on an editable cell and it works fine. I wanted to try make the editable cells always show the editor to help give the user a clue as to what is editable so added itemRenderer=MyItemEditor rendererIsEditor=true but now the cell height is a little small and is cropping the editors. I have overridden the measure method in the editor so I'm not sure why it's not working this way. Any ideas? Somehow my measure method was the problem, and removing it resolved the issue. thanks charles
Re: [flexcoders] How does RTMP work?
Your best bet to keep it trivial would be configure server with multiple addresses and put multiple instances of the server on different IP - one for HTTP/AMF on 80, the second with RTMP on 80. If you must keep remoting(AMF) and messaging(RTMP) on the same server, the best solution is to run AMF on the top of the RTMP -requires some custom components - you are getting better manageability and QoS, not to mention client RPC and other layers you can build in the communication stack for your application. That is usually reasonably small project and provides extremely robust solution. Crude public description of the approach is here http://flexblog.faratasystems.com/?p=215 and here is http://flexblog.faratasystems.com/?p=232 description why you might want it. Regards, Anatole Tartakovsky Farata Systems On 10/16/07, Battershall, Jeff [EMAIL PROTECTED] wrote: I'm trying to get my wits around RTMP and any firewall issues that may exist with it. I understand that Adobe's RTMP implementation uses http tunneling - does this mean that the firewall doesn't in fact have to have port 2048 open? That the rtmp requests in fact come over on port 80 in the http headers? Just trying to understand - any explanation appreciated. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] jeff.battershall%40dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)
RE: [flexcoders] How does RTMP work?
Thanks Anatole. I'll have a look over the info you've provided. It would seem that if I stipulate rtmpt with the default port being 80, I should be OK. My performance requirements are light for this particular project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anatole Tartakovsky Sent: Tuesday, October 16, 2007 11:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How does RTMP work? Your best bet to keep it trivial would be configure server with multiple addresses and put multiple instances of the server on different IP - one for HTTP/AMF on 80, the second with RTMP on 80. If you must keep remoting(AMF) and messaging(RTMP) on the same server, the best solution is to run AMF on the top of the RTMP -requires some custom components - you are getting better manageability and QoS, not to mention client RPC and other layers you can build in the communication stack for your application. That is usually reasonably small project and provides extremely robust solution. Crude public description of the approach is here http://flexblog.faratasystems.com/?p=215 and here is http://flexblog.faratasystems.com/?p=232 description why you might want it. Regards, Anatole Tartakovsky Farata Systems On 10/16/07, Battershall, Jeff [EMAIL PROTECTED] wrote: I'm trying to get my wits around RTMP and any firewall issues that may exist with it. I understand that Adobe's RTMP implementation uses http tunneling - does this mean that the firewall doesn't in fact have to have port 2048 open? That the rtmp requests in fact come over on port 80 in the http headers? Just trying to understand - any explanation appreciated. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] mailto:jeff.battershall%40dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)
Re: [flexcoders] flex remoting with cf7 running on weblogic
ok, that's good to know. do you have any ideas of things to check? from what i can tell- this should be working, but my /flex2gateway still throws a 404. On 10/16/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: and the usual fixes don't seem to work or are not applicable. do you have to have JRun to make that work?? Nope, but you do need CF 7.0.2. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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
RE: [flexcoders] How does RTMP work?
Thanks Roxanne, Extremely helpful. It would seem that using RTMPT and port 80 would handle what I need to do. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 10:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How does RTMP work? Our development team was using RTMP. Our corporate network is seriously locked down for external applications. It is my understanding that in order to use the RTMP tunneling you have to be using LCDS not FDS2. We did some light testing (1 day) of that configuration and couldn't get it to work through the firewall either. It was our experience that the rollover functionality was not working. [could have been our configuration]. Our timeline was tight enough that we couldn't spend more time on that nor could we get a hole punched through the firewall in time for the deployment. We fell back on amf-polling. Articles which may be of value to you are: LiveCycle Data Services Features http://www.adobe.com/products/livecycle/dataservices/features.html Proxy Server setup: http://kb.adobe.com/selfservice/viewContent.do?externalId=1ccfec30 Tunneling http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16631 Roxanne Reid-Bennett QA Analyst Architect Battershall, Jeff [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 10/16/2007 08:39 AM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] How does RTMP work? I'm trying to get my wits around RTMP and any firewall issues that may exist with it. I understand that Adobe's RTMP implementation uses http tunneling - does this mean that the firewall doesn't in fact have to have port 2048 open? That the rtmp requests in fact come over on port 80 in the http headers? Just trying to understand - any explanation appreciated. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] mailto:jeff.battershall%40dowjones.com (609) 520-5637 (p) (484) 477-9900 (c) This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you.
[flexcoders] Module tag
Hai friends *I have a flex script inside using Module tag.* ** *Dynamic Module tag using separate swf create. then swf load in my flex application. * *Its passible or not??* *Plz help me. need for urgent.* -- With regards V.Kumar
Re: [flexcoders] flex remoting with cf7 running on weblogic
and yes, i have 7.0.2 with flex integration turned on On 10/16/07, Derrick Anderson [EMAIL PROTECTED] wrote: ok, that's good to know. do you have any ideas of things to check? from what i can tell- this should be working, but my /flex2gateway still throws a 404. On 10/16/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: and the usual fixes don't seem to work or are not applicable. do you have to have JRun to make that work?? Nope, but you do need CF 7.0.2. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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
[flexcoders] Re: Custom Drag Cursors
Here is some sample code that illustrates what I am doing. The commented out lines are some things that I have been trying that also do not help. Application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:ns1=* mx:Style DragManager { move-cursor: Embed(source=/assets/images/handDown.png); reject-cursor: Embed(source=/assets/images/handReject.png); } /mx:Style mx:List x=85 y=63 itemRenderer=dragObject mx:dataProvider mx:Object/ mx:Object/ mx:Object/ mx:Object/ mx:Object/ mx:Object/ mx:Object/ /mx:dataProvider /mx:List /mx:Application Renderer: ?xml version=1.0 encoding=utf-8? mx:Button xmlns:mx=http://www.adobe.com/2006/mxml; width=20 height=10 mouseDown=onMouseDown(event) mouseMove=onMouseMove(event) mouseOver=onMouseOver(event) mouseOut=onMouseOut(event) mx:Script ![CDATA[ import mx.managers.CursorManager; import mx.core.DragSource; import mx.managers.DragManager; [Embed(source=/assets/images/hand.png)] private var handCursor:Class; [Embed(source=/assets/images/handDown.png)] private var handDownCursor:Class; private function onMouseDown(event:MouseEvent):void { CursorManager.removeAllCursors(); // CursorManager.setCursor(handDownCursor); DragManager.doDrag(this, new DragSource(), event); } private function onMouseMove(event:MouseEvent):void { // if (DragManager.isDragging) // { // CursorManager.removeAllCursors(); // } } private function onMouseOver(event:MouseEvent):void { CursorManager.removeAllCursors(); CursorManager.setCursor(handCursor); } private function onMouseOut(event:MouseEvent):void { if (!DragManager.isDragging) { CursorManager.removeAllCursors(); } } ]] /mx:Script /mx:Button --- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote: Alex, Setting the cursor on mouseMove is not the problem...I get the correct cursor during mouseMove...the cursor comes from the move-cursor style of the DragManager. I am attempting to use these styles to get the functionality that I need. If I don't use the DragManager styles and attempt to set all of the cursors manually I can almost get it working. If I do it this way I have to turn off the cursor when the user ends the drag. This is simple if the user drops where I expect the drop to occur. But if the user drops to one of the many many unallowed areas I am not sure where to put the code that will remove my custom cursor without putting mouseUp listeners everywhere. Maybe there is a simple way to do this differently? If I use the DragManager's styles this happens automatically for me, plus I get the bonus of allowing the DragManager to show reject-cursor and others, which I do not want to change manually. So the problem for me right now is to show the correct cursor between mouseDown, which calls startDrag(), and mouseMove when the DragManager seems to take over and use it's stylesheet cursors. I tried setting my own cursor in mouseDown and then removing it in mouseMove, but this seems to mess up the DragManager and cause it to no longer use the custom cursors setup in it's stylesheet. --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: I'm not sure why you say you can't use setCursor() on mouseMove? Anyway, everything described in the original email seems ok. What is the mouseDown target? Did you try setting a cursor then? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Monday, October 15, 2007 10:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Custom Drag Cursors Are you using the cursorManager or just when a drag happens? u cant just use cursorManager.setCursor(...whatever u
Re: [flexcoders] flex remoting with cf7 running on weblogic
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: ok, that's good to know. do you have any ideas of things to check? from what i can tell- this should be working, but my /flex2gateway still throws It must be missing from your mappings, at a guess - WebLogic doesn't know the CF WAR should serve the /flex2gateway url. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] Weird DataGrid Behavior in Release Version
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: This works fine in regular build releases. What's irregular about this one then ? The same happens in both firefox and IE. PYC. -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! 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 Solicitors Regulation Authority. 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/ * 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/
Re: [flexcoders] Re: Unknown destination 'EmployeeServiceRO
I copied the tomcat folder from our dev server down to my local machine, since both of the installations are in the same place C:\Tomcat5.5 The server started fine, I cleaned and rebuilt the app.. same error. I don't think it's a tomcat config issue.. On 10/16/07, Greg Morphis [EMAIL PROTECTED] wrote: I'll give that a try in a little bit, I'll have to modify the main view and security login page to ignore the current way of loading. I think the answer will be no, no destination is being found Thanks On 10/16/07, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Is it the only destination not being found? Can you create another destination, and debug in something like this: mb = MessageBroker.getMessageBroker(null); srv = (RemotingService)mb.getServiceByType( flex.messaging.services.RemotingService); RemotingDestination remotingDestination = (RemotingDestination)srv.getDestination(destinationName);// debug in Regards, Anatole On 10/16/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hmm not sure if this is the problem but dont create roles names with any special characters, dashes ( - ) in your case. I know Weblogic has a problem with this when we named our roles with underscores in them. In WL we also need to define them in the WEB-NF/weblogic.xml, not sure if this is the case for Tomcat. As for not being able to connect, hmmm..is there any more errors before this one? *Dimitrios Gianninas* *Development Team Lead* *Optimal Payments Inc.* -- *From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] *On Behalf Of *Greg Morphis *Sent:* Tuesday, October 16, 2007 9:53 AM *To:* [EMAIL PROTECTED] ups.com *Subject:* [flexcoders] Re: Unknown destination 'EmployeeServiceRO Anyone? Has no one seen this error before? Does everything look correct? This is with Flex 2 / LCDS on Tomcat with Java middleware. Thanks On 10/15/07, Greg Morphis [EMAIL PROTECTED] gmorphis%40gmail.com wrote: I'm condensing my previous posts.. getting this error on a flex app.. [FaultEvent fault=[RPC Fault faultString=[MessagingError message='Unknown destination 'EmployeeServiceRO'.'] faultCode=InvokeFailed faultDetail=Couldn't establish a connection to 'EmployeeServiceRO'] messageId=47E7A8FA-EB41-1E60-A96D-A474ECC048D1 type=fault bubbles=false cancelable=true eventPhase=2] I've checked the remoting-config.xml destination id=EmployeeServiceRO properties sourcecom.alltel.rapid.aopscheduler.business.EmployeeDelegate /source scopeapplication/scope /properties security security-constraint auth-methodBasic/auth-method roles roleAOPScheduler-BASICAM/role roleAOPScheduler-BASICINQ/role /roles /security-constraint /security /destination I installed log4j and I see this when I log in.. 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - Username e0087890 has role AOPScheduler-BASICINQ 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - No role found: AOPScheduler-BASICINQ But I have the roles defined: In the web.xml file auth-constraint role-nameAOPScheduler-BASICAM/role-name role-nameAOPScheduler-BASICINQ/role-name /auth-constraint /security-constraint and security-role description The role that is required to log in to the Manager Application /description role-nameAOPScheduler-BASICAM/role-name /security-role security-role description The role that is required to log in to the Reader Application /description role-nameAOPScheduler-BASICINQ/role-name /security-role So to me everything looks okay, what am I missing? The odd thing is that we store the code in CVS, I've checked out a fresh copy of the code and everything looks good. The only thing I can think of is something not configured right in Tomcat? *AVIS IMPORTANT* *WARNING* Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le
[flexcoders] Re: Snippets in Flex?
Amy, I've done a bunch of research and demoing and currently I think that WST is best for snippets in MXML and AS. If you want a description and some screenshots: http://office.realeyesmedia.com/blogs/jun/?p=31 and the installation update http://office.realeyesmedia.com/blogs/jun/?p=59 -Jun --- In flexcoders@yahoogroups.com, droponrcll [EMAIL PROTECTED] wrote: Is there a way to create snippets in Flex for reuse? If I had a nickel for every time I typed width=100% height=100% I'd be nearly able to buy a cup of latte at Starbucks. The code completion does help a lot, but being able to store frequently used code bits for later use would help more! Thanks; Amy
[flexcoders] How to override ListBase method when using a ComboBox
Hi, I'm wanting to override the findKey method in ListBase to make a comboBox that can use more than one character to find an item in the dropdown list. However, I can't see a way to extend the ListBase to allow for the override of findKey and then get ComboBox to refer to that extended ListBase. Currently, ComboBox is using a private variable _dropdown of type ListBase. Does anyone know how to do this? Thanks, John
[flexcoders] Re: Ant + SWC
Christian, Although I was answering Richard, thanks for the note on the downside to using -include-sources. It'll be good to know the next time I need to include non-class resources such as .css files and images! :) -Jun --- In flexcoders@yahoogroups.com, Christian Edward Gruber [EMAIL PROTECTED] wrote: That's actually why I built the maven plugin the way I did. While classes can be handled this way, non-class resources (such as .css files or images) can't. You have to explicitly call them out for compc. I essentially search the source path for .as files and the resource path for all other files, and include them all behind the scenes. That one would have to specify explicit resources on the command-line (or as a separate param) is just ludicrous. But at least the below should work for pure .as class files. Christian. On 15-Oct-07, at 7:59 PM, realeyes_jun wrote: Richard, So far the suggestions have been made to use: - Flex Ant tasks - flex2ant plugin - antennae Although I'm sure each of the above solutions work well, I ran across this issue myself recently and solved the issue you're asking about by providing the -include-sources option to compc in my custom ant script. This option allowed me to select the parent directory of all the classes I wanted to include, and it was recursive. Example: -include-sources=com/realeyesmedia/debug/redbug This path of course was relative to the project dir. -Jun --- In flexcoders@yahoogroups.com, Richard Rodseth rrodseth@ wrote: A colleague is setting up Ant builds for our project, and hasn't found a (good) way to build a SWC without having to specify every class to include in the SWC. Any pointers to resources would be much appreciated.
Re: [flexcoders] not kosher to call function from inline renderer?
The method is not in your code segment, unless I'm missing something. Just a shot in the dark, but you need to use outerDocumentto to call a method located in the same file, but not in the inline component. Paul Hastings wrote: don't know if it's not kosher or i'm flubbing something but i keep getting Call to a possibly undefined method blobToImage. errors from something like this (trying to convert bunch of BLOBed thumbnails into a list): mx:HorizontalList id=sampleImageThumbnails dataProvider={sampleData.sampleImagery} width=100% mx:itemRenderer mx:Component mx:Image height={data.data.imageHeight} width={data.data.imageWidth} source={blobToImage(data.thumbnail,data.imageHeight,data.imageWidth)} / /mx:Component /mx:itemRenderer /mx:HorizontalList the method is there works (more or less ;-). any ideas? thanks. -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] Flex wsdl concatanating url after moving to new domain Siteminder / apache / CF
Hi All I've got a flex site that uses webservices to talk to wsdl interfaces on a coldfusion back end. This has worked fine up till now. Today we went through a lengthly process to move the server to a new domain. This involves re-setting up Siteminder to authorise people on the new domain. We now have apache and siteminder and Coldfusion working fine but when it comes to the flex application talking the WSDL interfaces it doesn't work. The flex app should be using this url: https//apt-dev.emea.company.com:9200/cfmx/coldfusion/aptMisc.cfc?wsdl but in the error the url it is trying to access is: https://apt-dev.emea.company.com:9250/cfmx/https//apt-dev.emea.company.com:9200/cfmx/coldfusion/aptMisc.cfc?wsdl It seems to think that I have given it a relative url and is sticking the webserver url on the front. Does anyone have any idea why this is happening and how I can fix it? Thanks in advance Giles
[flexcoders] Re: not kosher to call function from inline renderer?
Livedocs -- http://livedocs.adobe.com/flex/201/html/cellrenderer_072_24.html -Jun --- In flexcoders@yahoogroups.com, Paul Hastings [EMAIL PROTECTED] wrote: Paul deCoursey wrote: The inline component doesn't have that method in scope. Try {this.parentDocumen t.blobToImage. ... yup that did the trick. thanks paul. btw is documented anywhere?
RE: [flexcoders] How to override ListBase method when using a ComboBox
Subclass List, override findKey. Set dropdownFactory to your subclass. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz Sent: Tuesday, October 16, 2007 8:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to override ListBase method when using a ComboBox Hi, I'm wanting to override the findKey method in ListBase to make a comboBox that can use more than one character to find an item in the dropdown list. However, I can't see a way to extend the ListBase to allow for the override of findKey and then get ComboBox to refer to that extended ListBase. Currently, ComboBox is using a private variable _dropdown of type ListBase. Does anyone know how to do this? Thanks, John
[flexcoders] Re: How to override ListBase method when using a ComboBox
Ah, thank you! John --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Subclass List, override findKey. Set dropdownFactory to your subclass. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz Sent: Tuesday, October 16, 2007 8:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to override ListBase method when using a ComboBox Hi, I'm wanting to override the findKey method in ListBase to make a comboBox that can use more than one character to find an item in the dropdown list. However, I can't see a way to extend the ListBase to allow for the override of findKey and then get ComboBox to refer to that extended ListBase. Currently, ComboBox is using a private variable _dropdown of type ListBase. Does anyone know how to do this? Thanks, John
[flexcoders] Adobe Boston User Group :: Meeting Tomorrow :: Custom Component Development
Hi All, This month we're trying an experiment: We're going to show a video of Doug McCune's presentation at the 360 Conference, discuss it, and perhaps play with component development in FlexBuilder a bit. Details here: http://www.abug.us We hope that you can join us! Douglas
[flexcoders] Re: My Flex based web App doesn't work with SSL
Hi, Thanks a lot Scott, In our config file we left the default port to 9100. I think we need to change it to {server.port}. Will post back my findings.. Thanks again.. Regards Kumar --- In flexcoders@yahoogroups.com, Scott Bachman [EMAIL PROTECTED] wrote: We had a similar situation using LCDS with HTTPS, we had to create additional channels in services-config.xml specifically for SSL and also set the add-no-chache-headers tag to false to avoid weird caching/ssl issues. For example: !-- These are for production channels which use HTTPS -- channel-definition id=prod-amf class= mx.messaging.channels.SecureAMFChannel endpoint uri=https://{server.name}:{server.port}/{context.root}/messagebroker/amf; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties polling-enabledfalse/polling-enabled add-no-cache-headersfalse/add-no-cache-headers /properties /channel-definition channel-definition id=prod-polling-amf class= mx.messaging.channels.SecureAMFChannel endpoint uri=https://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties polling-enabledtrue/polling-enabled polling-interval-seconds8/polling-interval-seconds add-no-cache-headersfalse/add-no-cache-headers /properties /channel-definition Then in our data-management-config.xml and remoting-config.xml we added these channels to default-channels as appropriate. Scott On 10/12/07, sk_acura [EMAIL PROTECTED] wrote: Hi All, I have a Web App Flex+ Live Cycle DS + spring based app running on Tomcat and it works fine on http with out any issues.. When we try to access from External Domains (which is using SSL) then the Modules are getting loaded but the RemoteObjects are not getting Fetched it seems.. And when i try to log the RemoteObject once is is created in my trace log it is showing as RemoteObject =[RemoteObject destination=SearchFacade channelSet=null] Which is same as when i try to access the App inside the network using HTTP (rather than https) I am not sure whether any thing needs to be done in the config for the SSL... Thanks Kumar
RE: [flexcoders] Module tag
I'm not sure I understand. You can certainly choose which module to load at runtime. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kutti kumar Sent: Tuesday, October 16, 2007 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Module tag Hai friends I have a flex script inside using Module tag. Dynamic Module tag using separate swf create. then swf load in my flex application. Its passible or not?? Plz help me. need for urgent. -- With regards V.Kumar
Re: [flexcoders] Flex wsdl concatanating url after moving to new domain Siteminder / apache / CF
I forgot to say that this is a secure site (https) but we don't have a certificate for the new url yet. You do get browser errors but the flash site does load. Not sure if this will be confusing flash. Thanks again. On 10/16/07, Giles Roadnight [EMAIL PROTECTED] wrote: Hi All I've got a flex site that uses webservices to talk to wsdl interfaces on a coldfusion back end. This has worked fine up till now. Today we went through a lengthly process to move the server to a new domain. This involves re-setting up Siteminder to authorise people on the new domain. We now have apache and siteminder and Coldfusion working fine but when it comes to the flex application talking the WSDL interfaces it doesn't work. The flex app should be using this url: https//apt-dev.emea.company.com:9200/cfmx/coldfusion/aptMisc.cfc?wsdl but in the error the url it is trying to access is: https://apt-dev.emea.company.com:9250/cfmx/https//apt-dev.emea.company.com:9200/cfmx/coldfusion/aptMisc.cfc?wsdl It seems to think that I have given it a relative url and is sticking the webserver url on the front. Does anyone have any idea why this is happening and how I can fix it? Thanks in advance Giles -- Giles Roadnight http://giles.roadnight.name
RE: [flexcoders] Problems do make framework caching work
That sounds right to me. framework_3.0.183453.swf will be loaded the very first time you run the app, then it should never get loaded again. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Tuesday, October 16, 2007 7:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems do make framework caching work Hello, i had a question about Framework caching on Flex 3 beta 2. I had project, and i use ANT for compile... And i using rsl for let swf smaller and separte framework file, naturaly this framework file should be loaded one time and never quicked out of cache. But not is this what happening, i use this line for compilation i ant: PainelAdmApp.mxml -runtime-shared-library-path=C:\3.0.0\frameworks\libs\framework.swc,C:\3 .0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 -services services-config.xml -link-report=PainelAdmAppReport.xml -output ${deploy.dir}/PainelAdmApp.swf I don't know what i do wrong. I had this conversation here in flexcoder about framework caching and a i try do exactly Darrel teached, using SWZ and target for 9.0.60 flash player but when look in firebug what is loaded, the swz file is never loaded and swf file is loaded. Someone can help? Thanks.
RE: [flexcoders] Label alignment?
Just by changing the Label's y position, or subclassing and changing the internal TextField's position. In Moxie, we found and fixed a lot of baseline-position calculations so some things should line up better. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Csiki Sent: Tuesday, October 16, 2007 7:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Label alignment? How to vertically align the text of a Label? The only related property I found there is textAlign, but it does the horizontal alignment. Thanks.
RE: [flexcoders] How do I declare a DataGridHeader for a datagrid?
You set the headerRenderer in the DataGridColumn. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of steve Sent: Monday, October 15, 2007 4:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I declare a DataGridHeader for a datagrid? How do I declare a DataGridHeader for a datagrid? I'd like to create a datagridHeader for the first column, how do I set it or declare it? mx:Script ![CDATA[ import mx.controls.dataGridClasses.DataGridHeader; var firstColumn:DataGridColumn = myGrid.columns[0]; // var firstDataGridHeader:DataGridHeader = ??? ; ]] /mx:Script mx:DataGrid id=myGrid mx:dataProvider mx:Object Artist=Pavement Price=11.99 Album=Slanted and Enchanted/ mx:Object Artist=Pavement Album=Brighten the Corners Price=11.99/ /mx:dataProvider mx:columns mx:DataGridColumn dataField=Album/ mx:DataGridColumn dataField=Price/ /mx:columns /mx:DataGrid
RE: [flexcoders] Very strange runtime error with a repeater.
Do you have a 'name' property in your data provider objects? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Sent: Monday, October 15, 2007 4:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Very strange runtime error with a repeater. I've used repeaters before so I definitely know how they work as a whole. I've never had the issue I'm about to describe and I've been fruitless in my search efforts. I have built a custom-component (sort-of a menu) that uses a repeater to list out the menu items. In the mxml I've set its dataProvider to (hypothetically) this.parentDocument.myArray (also tried parentApplication out of desperation which didn't help at all). When i place items into that array I can do myComponent.myRepeater.executeBindings and the new items show up just fine. The problem comes when I want to completely clear the list, remove an element of it, or set the list to something else (myArray = myOtherArray). Whenever I do any of these and then attempt to execute bindings, i get a huge error message...which follows: TypeError: Error #2007: Parameter name must be non-null. at flash.display::DisplayObject/set name() at MethodInfo-2196() at MethodInfo-1590() at Function/http://adobe.com/AS3/2006/builtin::apply http://adobe.com/AS3/2006/builtin::apply () at mx.binding::Binding/mx.binding:Binding::wrapFunctionCall() at mx.binding::RepeatableBinding/::recursivelyProcessIDArray() at mx.binding::RepeatableBinding/::recursivelyProcessIDArray() at mx.binding::RepeatableBinding/execute() at mx.binding::Binding/watcherFired() at mx.binding::Watcher/notifyListeners() at mx.binding::PropertyWatcher/eventHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven tFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.core::Repeater/set dataProvider() at MethodInfo-2194() at Function/http://adobe.com/AS3/2006/builtin::call http://adobe.com/AS3/2006/builtin::call () at mx.binding::Binding/::innerExecute() at Function/http://adobe.com/AS3/2006/builtin::apply http://adobe.com/AS3/2006/builtin::apply () at mx.binding::Binding/mx.binding:Binding::wrapFunctionCall() at mx.binding::Binding/execute() at mx.binding::BindingManager$/executeBindings() at mx.core::UIComponent/executeBindings() at index/appClosed() at pages/__launchCloseButton_click() For clarity, ALL I'm doing is running executeBindings() and this happens. I've verified over and over that the data in my dataProvider array is clean and correct. The only difference between this repeater and ones I've done in the past is that this repeater is part of a custom component instead of part of my main mxml program. I can't imagine why this would be creating any issues, but whether or not it's related to that, I'd be VERY appreciative of any help that you all could give. I've been working on this on and off for four days now and I can't seem to get anywhere with it. Thanks, RV
RE: [flexcoders] RangeError: Error #2006: The supplied index is out of bounds.
If the DG thinks the renderer needs an update because its size may have changed, it will refresh all renderers. Maybe when you use the slider a second time the slider/renderer thinks it needs a re-measure. Also note that renderers are recycled so the second time around the renderer may not be in the state you expected and some child got re-parented or removed some other way. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pdxpearlguy Sent: Monday, October 15, 2007 2:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RangeError: Error #2006: The supplied index is out of bounds. I have an inline item renderer, bounded to a data source, which is an array collection of objects. These objects are used to dynamically display controls in a datagrid. Everything seems to work fine for awhile. I can slide the slider down and up and down, but when I try to slide it back up the second time I get the following error: RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/getChildAt() at mx.core::Container/getChildAt() [C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2369] at mx.core::Container/removeChildAt() [C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2333] at mx.core::Container/removeAllChildren() [C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:3429] at DynamicAssertion/loadControl() [C:\software\application\weka\BuildingCharacterization\DynamicAsserti on.mxml:45] at BuildingCharacterization_inlineComponent1/set data() [C:\software\application\weka\BuildingCharacterization\BuildingCharac terization.mxml:695] at mx.controls.dataGridClasses::DataGridBase/mx.controls.dataGridClasses :DataGridBase::makeRowsAndColumns() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\dataGridClasses\DataG ridBase.as:650] at mx.controls::DataGrid/mx.controls:DataGrid::makeRowsAndColumns() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1293] at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::s crollVertically() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\listClasses\ListBase. as:5467] at mx.controls::DataGrid/mx.controls:DataGrid::scrollVertically() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1923] at mx.controls.listClasses::ListBase/set verticalScrollPosition() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\listClasses\ListBase. as:1043] at mx.controls::DataGrid/mx.controls:DataGrid::scrollHandler ()[C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1720] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE ventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() [E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:8389] at mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/m http://www.adobe.com/2006/flex/m x/internal::dispatchScrollEvent() [E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\scrollClasses\Scro llBar.as:1096] at mx.controls.scrollClasses::ScrollThumb/mx.controls.scrollClasses:Scro llThumb::mouseMoveHandler() [C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\scrollClasses\ScrollT humb.as:234] In my item renderer, I first removeAllChildren(), and I think this is what is causing this error. I just can't figure out why it only does it after I slide the slider up for the second time. I have been working on this for weeks now - it has taken an unbelievable amount of time and I still can't figure it out. Any help is VERY MUCH APPRICIATED!!! Thanks
[flexcoders] Re: Snippets in Flex?
--- In flexcoders@yahoogroups.com, realeyes_jun [EMAIL PROTECTED] wrote: Amy, I've done a bunch of research and demoing and currently I think that WST is best for snippets in MXML and AS. If you want a description and some screenshots: http://office.realeyesmedia.com/blogs/jun/?p=31 When I clicked on the link to WST in your post, I could not find any link that obviously led to download this thing. and the installation update http://office.realeyesmedia.com/blogs/jun/?p=59 This post seemed to assume that you know some sort of starting point or context, which I don't. Maybe it would be clearer with the download in hand. An interesting question...why can't they borrow the snippets code from Dreamweaver? -Amy
[flexcoders] tree itemRenderer problem
Hi, I have created a custom itemRenderer for a tree control to handle dynamiclly loaded icon image. I'd also like to add a unique context menu to each item. I have assigned a context menu to the label and icon, but only the icon menu appears. I then tried to combine the icon and label into a container and assign the contextMenu to the container object, but that has the same result, only the icon seems to trigger the vent to open the context menu. It seems as if the label will not generate an open event. I built a test case with just a label in a container (no tree involved) and it does indeed generate a context menu open event. I cannot understand why the label behaves differently inside the itemRenderer context. My custom Itemrendere is based on the existing TreeItemRenderer class. It is identical, with some modifcation to the code to load a custom icon and add the context Menu. Here is a snippet of code that adds the context menu: (located inside the commitProperties method of the class) label.text = _listData.label; label.multiline = listOwner.variableRowHeight; label.wordWrap = listOwner.wordWrap; label.toolTip = [EMAIL PROTECTED]; var labelMenuItem:ContextMenuItem = new ContextMenuItem(labelMenu); label.contextMenu = new ContextMenu(); label.contextMenu.hideBuiltInItems(); label.contextMenu.customItems = [labelMenuItem]; var iconMenuItem:ContextMenuItem = new ContextMenuItem(iconMenu); icon.contextMenu = new ContextMenu(); icon.contextMenu.hideBuiltInItems(); icon.contextMenu.customItems = [iconMenuItem]; The iconMenu appears bu the lebel menu does not. Jeff
[flexcoders] Flex Remoting Options - Any Opinions?
Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce
Re: [flexcoders] Re: Unknown destination 'EmployeeServiceRO
So I copied the folder down from dev to my local machine. I was able to run the app from there.. But I cannot build my copy in Eclipse and run it. WTF?!?!?! This is pissing me off On 10/16/07, Greg Morphis [EMAIL PROTECTED] wrote: I copied the tomcat folder from our dev server down to my local machine, since both of the installations are in the same place C:\Tomcat5.5 The server started fine, I cleaned and rebuilt the app.. same error. I don't think it's a tomcat config issue.. On 10/16/07, Greg Morphis [EMAIL PROTECTED] wrote: I'll give that a try in a little bit, I'll have to modify the main view and security login page to ignore the current way of loading. I think the answer will be no, no destination is being found Thanks On 10/16/07, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Is it the only destination not being found? Can you create another destination, and debug in something like this: mb = MessageBroker.getMessageBroker(null); srv = (RemotingService)mb.getServiceByType( flex.messaging.services.RemotingService); RemotingDestination remotingDestination = (RemotingDestination)srv.getDestination(destinationName);// debug in Regards, Anatole On 10/16/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hmm not sure if this is the problem but dont create roles names with any special characters, dashes ( - ) in your case. I know Weblogic has a problem with this when we named our roles with underscores in them. In WL we also need to define them in the WEB-NF/weblogic.xml, not sure if this is the case for Tomcat. As for not being able to connect, hmmm..is there any more errors before this one? *Dimitrios Gianninas* *Development Team Lead* *Optimal Payments Inc.* -- *From:* flexcoders@yahoogroups.com [mailto: flexcoders@ yahoogroups.com] *On Behalf Of *Greg Morphis *Sent:* Tuesday, October 16, 2007 9:53 AM *To:* [EMAIL PROTECTED] ups.com *Subject:* [flexcoders] Re: Unknown destination 'EmployeeServiceRO Anyone? Has no one seen this error before? Does everything look correct? This is with Flex 2 / LCDS on Tomcat with Java middleware. Thanks On 10/15/07, Greg Morphis [EMAIL PROTECTED]gmorphis%40gmail.com wrote: I'm condensing my previous posts.. getting this error on a flex app.. [FaultEvent fault=[RPC Fault faultString=[MessagingError message='Unknown destination 'EmployeeServiceRO'.'] faultCode=InvokeFailed faultDetail=Couldn't establish a connection to 'EmployeeServiceRO'] messageId=47E7A8FA-EB41-1E60-A96D-A474ECC048D1 type=fault bubbles=false cancelable=true eventPhase=2] I've checked the remoting-config.xml destination id=EmployeeServiceRO properties sourcecom.alltel.rapid.aopscheduler.business.EmployeeDelegate /source scopeapplication/scope /properties security security-constraint auth-methodBasic/auth-method roles roleAOPScheduler-BASICAM/role roleAOPScheduler-BASICINQ/role /roles /security-constraint /security /destination I installed log4j and I see this when I log in.. 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - Username e0087890 has role AOPScheduler-BASICINQ 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG org.apache.catalina.realm.RealmBase - No role found: AOPScheduler-BASICINQ But I have the roles defined: In the web.xml file auth-constraint role-nameAOPScheduler-BASICAM/role-name role-nameAOPScheduler-BASICINQ/role-name /auth-constraint /security-constraint and security-role description The role that is required to log in to the Manager Application /description role-nameAOPScheduler-BASICAM/role-name /security-role security-role description The role that is required to log in to the Reader Application /description role-nameAOPScheduler-BASICINQ/role-name /security-role So to me everything looks okay, what am I missing? The odd thing is that we store the code in CVS, I've checked out a fresh copy of the code and everything looks good. The only thing I can think of is something not configured right in Tomcat? *AVIS IMPORTANT* *WARNING* Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou
[flexcoders] Re: Flex Remoting Options - Any Opinions?
You can also just use HTTPService to do direct HTTP requests. I am using this for communications with a JAVA backend. --- In flexcoders@yahoogroups.com, Bruce Hopkins [EMAIL PROTECTED] wrote: Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce
[flexcoders] Re: Flex Builder cannot locate the required debug version of the Flash Player
You can also find the installer for the Flash player in the Player subdirectory of your Flex Builder installation. In fact, if you are running the Flex Builder 3 beta, then you should install the player from the Player directory, not the one from the official adobe.com download page. The reason for that is that the one in the Player directory is the beta of a newer Flash player, with enhancements that are needed by the Flex Builder 3 debugger. The adobe.com download page has the latest publicly released player, not the beta player. (By the time Flex Builder ships, the new player will of course be posted to the public download site.) - Mike Morearty, Adobe Flex Builder team --- In flexcoders@yahoogroups.com, seemaherein [EMAIL PROTECTED] wrote: Hi, when i try to run my application in debug mode - I am getting the following error: C:\WINDOWS\system32\Macromed\Flash\Flash9d.ocx Flex Builder cannot locate the required debug version of the Flash Player. You may need to install the debug version of Flash Player 9.0 or reinstall Flex Builder. Do you want to try to debug with the current version? any thoughts
Re: [flexcoders] Re: Snippets in Flex?
Thanks Jun. I read your post before but didn't get that installed successfully. Try it again today so. The eclipse is always hard task to update even such a single snippet to be installed will asking us for more relative updates. Such as what I get right now. Requested operation cannot be performed because it would invalidate the current configuration. See details for more information. WST Common UI (1.5.4.v200704150119-qKHiYJJQ6hbGi-5) requires feature org.eclipse.gef (3.2.0), or equivalent. WST Common Core (1.5.4.v200704150119--AXrVWeXJj6fQls) requires feature org.eclipse.jem (1.2.0), or equivalent. WST Server Core (1.5.4.v200704150133-1G955H5G5Ep) requires feature org.eclipse.rcp (3.2.0), or equivalent. WST XML UI (1.5.4.v200704150112-zkiCfzC3FHTOi-O) requires feature org.eclipse.gef (3.2.0), or equivalent. WST XML Core (1.5.4.v200704111425--3YIAAaBPIEDNIR) requires feature org.eclipse.rcp (3.2.0), or equivalent. WST Web Services UI (1.5.4.v200704150140-hai7Hn5wx666U8O) requires feature org.eclipse.gef (3.2.0), or equivalent. WST Web Services Core (1.5.4.v200704111430--4hNDDlDYFPJXWg) requires feature org.eclipse.platform (3.2.0), or equivalent. WST Web Core (1.5.3.v200701251933--4hNDDhFfKVFaSL) requires feature org.eclipse.platform (3.2.0), or equivalent. It's horrible for us as we don't want to work on those plug-ins but have to install them first. I still think it's Adobe's job to make the life easier for us. George realeyes_jun wrote: Amy, I've done a bunch of research and demoing and currently I think that WST is best for snippets in MXML and AS. If you want a description and some screenshots: http://office.realeyesmedia.com/blogs/jun/?p=31 and the installation update http://office.realeyesmedia.com/blogs/jun/?p=59 -Jun --- In flexcoders@yahoogroups.com, droponrcll [EMAIL PROTECTED] wrote: Is there a way to create snippets in Flex for reuse? If I had a nickel for every time I typed width=100% height=100% I'd be nearly able to buy a cup of latte at Starbucks. The code completion does help a lot, but being able to store frequently used code bits for later use would help more! Thanks; Amy
[flexcoders] Getting Mouse Coords
I need to the xy coords of the mouse during a Timer Event. Any way to do this? thanks Ralph
Re: [flexcoders] Re: Snippets in Flex?
On 16-Oct-07, at 9:42 AM, droponrcll wrote: An interesting question...why can't they borrow the snippets code from Dreamweaver? Or the snippets code from the cfeclipse plugin.
[flexcoders] Re: Flex modules and jms messaging
Hi Alex again !! Thanks for your time to answer. I checked the presentation in order to begin my project and it help us so much, the problem is to get data in the module from the consumer. The scenario is the next one: * We created several projects, each of them with one or more modules.We are compiling every project with -load-externs=C:\report.xml instruction. Also we are using a RSL with link type External in this modules * In the main.mxml(the principal swf), we are loading a sharedCode.swf for the managers and compiling the project with -link-report =C:\report.xml. * Also we are using the RSL with link type Merge into code and every class that the modules use are declared in this file. The modules are using remote objects without any troubles, they see the clases that the parent has. The problem: When we want to consume a message in a module, from the jms topic there are no problems with java primitives(Integer, Long, ArrayList) the event.message.body receives the data, but when we send typed object like a DTO we receive null value. Is it possible to connect a consumer from a module to the JMS topic, sending typed Objects(DTO) ? When we try to see what is happening, we active level debug in the services-config.xml and we got the next one when the server push the data: [Flex] Serializing AMF/RTMP push Version: 3 (Command method=receive (0) trxId=null) (Typed Object #0 'flex.messaging.messages.AsyncMessage') destination = stock-feed headers = (Object #1) JMSXDeliveryCount = 1 correlationId = null messageId = ID:126972.1192554523642.0 timestamp = 1.192554523642E12 clientId = E37660FC-7D1F-36CE-EF16-B7F025717D32 timeToLive = 0.0 body = (Typed Object #2 'com.test.dto.Catalog') key = 347.0 value = flex-jms-java [Flex] Created worker thread: RTMP-Worker-13 [Flex] No client with id: E37064C3-F419-4F1C-5E55-2BCF5609153F found for message: Flex Message (flex.messaging.messages.AsyncMessage) clientId = E37064C3-F419-4F1C-5E55-2BCF5609153F correlationId = null destination = stock-feed messageId = ID:126972.1192554523642.0 timestamp = 1192554523642 timeToLive = 0 body = [EMAIL PROTECTED] hdr(JMSXDeliveryCount) = 1 Thanks in advance for all your help!! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Check out the presentation on modules on my blog (blogs.adobe.com/aharui). It might help you understand how code can end up in the wrong application domain and therefore something may not work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ivhaggi Sent: Monday, October 15, 2007 3:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex modules and jms messaging Hi Alex!! Thank you for your reply, but i couldn't understand the message very well. Could you please give me more information about your answer? Thanks!! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Which swf the as data class and the webservices are in may make a difference From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of ivhaggi Sent: Saturday, October 13, 2007 2:03 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Flex modules and jms messaging Hi Group!! Im working in a project with modules. In one of them im using a consumer who is listening a JMS Topic. The problem is when i publish a java object to the jms topic the consumer enters to the function handler i defined, but the event.message.body is null. I repeat the same proof in the main mxml of my app(not in a module) and the object was received sucessfully. So my question is why in the module i can not reach the body of the message?? Thanks in advanced for your help!!
[flexcoders] Re: Problems do make framework caching work
I think the swz must be loaded, or not? I must upload swz and swf, right? If right, i doing right, but still doesn`t work, i try exactly Darrel teached, but dont work. I become thinking framework caching can't work when use ant for compile. Here is the link for test: www.areaprojetos.com , in bottom left side put 07291207673 in Login field, and 123456 in Senha field, and click in Meus Servicos ... Framework will be load and after clean cache, will be loaded again... --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: That sounds right to me. framework_3.0.183453.swf will be loaded the very first time you run the app, then it should never get loaded again. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Tuesday, October 16, 2007 7:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems do make framework caching work Hello, i had a question about Framework caching on Flex 3 beta 2. I had project, and i use ANT for compile... And i using rsl for let swf smaller and separte framework file, naturaly this framework file should be loaded one time and never quicked out of cache. But not is this what happening, i use this line for compilation i ant: PainelAdmApp.mxml -runtime-shared-library-path=C:\3.0.0\frameworks\libs\framework.swc,C:\3 .0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf -target-player=9.0.60 -services services-config.xml -link-report=PainelAdmAppReport.xml -output ${deploy.dir}/PainelAdmApp.swf I don't know what i do wrong. I had this conversation here in flexcoder about framework caching and a i try do exactly Darrel teached, using SWZ and target for 9.0.60 flash player but when look in firebug what is loaded, the swz file is never loaded and swf file is loaded. Someone can help? Thanks.
Re: [flexcoders] Can the Datagrid do this ?
I think selectedIndex needs an integer. You'd have to loop over the data provider, figure out which one has capital==Paris' and then set the selectedIndex based on that. You could also experiment with selectedItem; although I haven't experimented with setting that. d coda wrote: Hi all I need to programmatically select a particular row in a datagrid and cannot see how it is done. I want to do the same as if the user clicked on a row only programmatically. Say I had a DataGrid with ID=dg containing two columns Countries and Capitals. I want to be able to issue a command like: dg.selectedIndex = dg.capitals==Paris ; ie to select the row that contains Paris in the Capitals column. As if the user selected the France/Paris row only doing it programmatically. I am thinking it must be a feature but cannot find it :( Please shed some light or even let me know if what I want sounds crazy. -D -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
Re: [flexcoders] Maven plugin out of memory problem
Ok, unfortunately the antrun config doesn't help me because if htere's something subtle we're not seeing that you got right in the antrun, well... we can't see it. Could you send the snippet that configures the plugin only. If you change any paths and proprietary names, then it can't be a disclosure any more than sample code. regards, Christian. On 16-Oct-07, at 7:01 AM, Ronen Naor wrote: I can't send only part of my POM because of company issues, but I can tell u there is nothing particular there. What I did to solve it was to building with antrun plugin using flexTasks.jar for ant. It means it works with mxmlc and the problem lies between maven and the plugin. It also made me think whether the plugin should have bean implemented using the maven ant plugin technique. Here is my antrun configuration that solved the problem: build finalNameaa-flex/finalName plugins plugin groupIdnet.israfil.mojo/groupId artifactIdmaven-flex2-plugin/artifactId configuration resolveExtraSwcsFromFlexFrameworksLibstrue/ resolveExtraSwcsFromFlexFrameworksLibs showDeprecationWarningstrue/ showDeprecationWarnings showBindingWarningstrue/showBindingWarnings warningstrue/warnings !-- if you use dataservices, make sure you override endpoints in your mxml -- dataServicesConfig../aa-web/src/main/webapp/WEB-INF/flex/services- config.xml /dataServicesConfig debugfalse/debug mainAa.mxml/main /configuration /plugin plugin artifactIdmaven-dependency-plugin/artifactId executions execution idcopy-flex-resources/id !-- TODO: use prepare-package as of 2.0.5 -- phasecompile/phase goals goalcopy-dependencies/goal /goals configuration outputDirectory ${project.build.directory}/flex- resources /outputDirectory includeTypesswc/includeTypes stripVersionfalse/stripVersion /configuration /execution /executions /plugin plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasepackage/phase configuration tasks taskdef resource=flexTasks.tasks / property name=FLEX_HOME value=$ {flex.home}/ property name=FLEX_HOME value=$ {context.root}/ echo message=flex home : ${flex.home}/ echo message=context root : $ {context.root}/ mxmlc file=${basedir}/src/main/flex/Aa.mxml keep-generated-actionscript=false use-network=true output=${project.build.directory}/aa- flex.swf services=../aa-web/src/main/webapp/WEB-INF/flex/services-config.xml context-root=${context.root} load-config filename=../flex-master/target/classes/flex-config.xml/ source-path path-element=${flex.home }/frameworks/ default-size width=800 height=600 / compiler.source-pathpath-element=${basedir}/src/main/flex/ compiler.debugfalse/compiler.debug compiler.include-libraries dir=${ project.build.directory}/flex-resources append=false include name=*.swc / /compiler.include-libraries /mxmlc /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdant/groupId artifactIdflex-tasks/artifactId version022607/version /dependency /dependencies /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution idattach-artifacts/id phasepackage/phase goals goalattach-artifact/goal /goals configuration artifacts
Re: [flexcoders] Maven plugin out of memory problem
sure, it was alreasy as part of the pom I sent, only it is not used right now. Here it is again: plugin groupId net.israfil.mojo/groupId artifactIdmaven-flex2-plugin/artifactId configuration resolveExtraSwcsFromFlexFrameworksLibstrue/resolveExtraSwcsFromFlexFrameworksLibs showDeprecationWarningstrue/showDeprecationWarnings showBindingWarningstrue/showBindingWarnings warningstrue/warnings !-- if you use dataservices, make sure you override endpoints in your mxml -- dataServicesConfig../aa-web/src/main/webapp/WEB-INF/flex/services- config.xml /dataServicesConfig debugfalse/debug mainAa.mxml/main /configuration /plugin Is that what you meant? On 10/16/07, Christian Edward Gruber [EMAIL PROTECTED] wrote: Ok, unfortunately the antrun config doesn't help me because if htere's something subtle we're not seeing that you got right in the antrun, well... we can't see it. Could you send the snippet that configures the plugin only. If you change any paths and proprietary names, then it can't be a disclosure any more than sample code. regards, Christian. On 16-Oct-07, at 7:01 AM, Ronen Naor wrote: I can't send only part of my POM because of company issues, but I can tell u there is nothing particular there. What I did to solve it was to building with antrun plugin using flexTasks.jar for ant. It means it works with mxmlc and the problem lies between maven and the plugin. It also made me think whether the plugin should have bean implemented using the maven ant plugin technique. Here is my antrun configuration that solved the problem: build finalNameaa-flex/finalName plugins plugin groupIdnet.israfil.mojo/groupId artifactIdmaven-flex2-plugin/artifactId configuration resolveExtraSwcsFromFlexFrameworksLibstrue/ resolveExtraSwcsFromFlexFrameworksLibs showDeprecationWarningstrue/ showDeprecationWarnings showBindingWarningstrue/showBindingWarnings warningstrue/warnings !-- if you use dataservices, make sure you override endpoints in your mxml -- dataServicesConfig../aa-web/src/main/webapp/WEB-INF/flex/services- config.xml /dataServicesConfig debugfalse/debug mainAa.mxml/main /configuration /plugin plugin artifactIdmaven-dependency-plugin/artifactId executions execution idcopy-flex-resources/id !-- TODO: use prepare-package as of 2.0.5 -- phasecompile/phase goals goalcopy-dependencies/goal /goals configuration outputDirectory ${project.build.directory}/flex- resources /outputDirectory includeTypesswc/includeTypes stripVersionfalse/stripVersion /configuration /execution /executions /plugin plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasepackage/phase configuration tasks taskdef resource=flexTasks.tasks / property name=FLEX_HOME value=$ {flex.home}/ property name=FLEX_HOME value=$ {context.root}/ echo message=flex home : ${flex.home}/ echo message=context root : $ {context.root}/ mxmlc file=${basedir}/src/main/flex/Aa.mxml keep-generated-actionscript=false use-network=true output=${project.build.directory}/aa- flex.swf services=../aa-web/src/main/webapp/WEB-INF/flex/services-config.xml context-root=${context.root} load-config filename=../flex-master/target/classes/flex-config.xml/ source-path path-element=${flex.home }/frameworks/ default-size width=800 height=600 / compiler.source-pathpath-element=${basedir}/src/main/flex/ compiler.debugfalse/compiler.debug compiler.include-libraries dir=${ project.build.directory}/flex-resources append=false include name=*.swc / /compiler.include-libraries /mxmlc /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdant/groupId artifactIdflex-tasks/artifactId version022607/version /dependency /dependencies /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution idattach-artifacts/id phasepackage/phase goals goalattach-artifact/goal /goals configuration artifacts artifact file${project.build.directory}/aa-flex.swf/file typeswf/type /artifact /artifacts /configuration /execution /executions /plugin /plugins /build On 10/15/07, Christian Edward Gruber [EMAIL PROTECTED]cgruber%40israfil.net wrote: Could you post your pom.xml file? I think the obvious answers are exhausted. Also, while it may be a problem with the plugin, the plugin just uses the compc and mxmlc compilers from the flex SDK, so anything not explicitly set by the plugin defaults to whatever they default to. I've encountered a few cases where the