Re: [flexcoders] DividedBox question - divider position
You can set the explicitMinHeight property of the panel to achieve this. -Sreenivas On 1/31/06, jgraham_us [EMAIL PROTECTED] wrote: Is there an easy way to set a minimum position for a divider in aDividedBox?For example.I have three panels in a VDividedBox when I drag divider 0 up I want it to stop and not size past the headerHeightof the panel, in essence not cover the panel header up.I assume this can be done by overriding the DividedBox, but waswondering if there was an easier way. I have tried setting the minHeight on the panel but that appears tohave no effect.Thanks--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host
Dear all, thank you so much for this help. It was the lowercase filename of fileIO.swf that caused the problems... But this thing drove mealmost nuts... Anyway issue is solved thanks to you for you help! CU Reto 2006/1/31, Reto M. Kiefer [EMAIL PROTECTED]: Thanks for this suggestion!!! Yes we are devleoping on Windows and deploying on Linux Servers. I will check this out and report if this was the problem. Thanks again and best regards Reto 2006/1/31, Stacy Young [EMAIL PROTECTED]: Are you deploying on unix? I remember there was a case issue with that sample download (a while back)...Some places there's reference to fileio.swf and other places fileIO.swf. Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Reto M. Kiefer Sent: Monday, January 30, 2006 5:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host Hello Jesse, thnak you for your answer! Did you upload the File Upload SWF as well? Yes the installation is the same, local and remote identical... It is the fileIO.swf drom the example zip from the MM website... Is the SWF loaded on the same domain your Flex MXML is served from? We have an Apache-Server in front of a Tomcat-Server. The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the requests from the machine in front of the FW to the protected Tomcat Server. But the SWF is on the same physical machine as the MXML/AS stuff. It is embedded by mx:Loader alomst identical to the description in the MM document. CU Reto -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host
Thanks for this suggestion!!! Yes we are devleoping on Windows and deploying on Linux Servers. I will check this out and report if this was the problem. Thanks again and best regards Reto 2006/1/31, Stacy Young [EMAIL PROTECTED]: Are you deploying on unix? I remember there was a case issue with that sample download (a while back)...Some places there's reference to fileio.swf and other places fileIO.swf. Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Reto M. Kiefer Sent: Monday, January 30, 2006 5:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host Hello Jesse, thnak you for your answer! Did you upload the File Upload SWF as well? Yes the installation is the same, local and remote identical... It is the fileIO.swf drom the example zip from the MM website... Is the SWF loaded on the same domain your Flex MXML is served from? We have an Apache-Server in front of a Tomcat-Server. The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the requests from the machine in front of the FW to the protected Tomcat Server. But the SWF is on the same physical machine as the MXML/AS stuff. It is embedded by mx:Loader alomst identical to the description in the MM document. CU Reto -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How do you reference an object to get attributes for a tag?
What do you mean by dynamic custom object You can reference another objects properties by doing something along the lines of mx:Label text={yourObject.property}/ That will bind those values. Is that what you mean? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby Sent: Monday, January 30, 2006 5:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do you reference an object to get attributes for a tag? I wanna do something like this: mx:Label text = a dynamic custom object / So far I have not hit upon the magic combination through research and trial and error : ( Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Problem with Remote Objects - Urgent
Thanks Peter. Your suggestion worked. --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Try using the asynchronous completion token pattern to map results to various calls. When you make the call, retain the token that's returned: var token:Object = myService.myFunctionThatListsFolderContent(myFolder); Then add something on it that helps you identify this invocation: token.myId = myFolder; And then refer to that when you get the result back: var callId:String = event.call.myId; Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robs Sent: Friday, January 27, 2006 11:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with Remote Objects - Urgent Hi all, I have a java class which performs file I/O operations. It lists all the root folders within a specified path on my disk returns the folder names in a string array which, I then use to populate my tree control. I have a local array var within which I store this result, e.g., myArray = event.result;. I am calling the same class multiple times to get a result of folder trees, specific levels deep. The issue is that my array variable persists the data got from the previous call. Why is this happening? What should I do to rectify this? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Problem creating Listener (Flex 2)
--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote: On 1/27/06, yaagcur [EMAIL PROTECTED] wrote: I currently have a tile list which, when clicked on, correctly calls a function mx:TileList id=myTiles dataProvider={myData} listItemRenderer=ThumbNail itemClick=imageClicked() / function createListener():Void { myOtherTiles.addEventListener(MouseEvent.CLICK, myClickListener); } Manish wrote: You're looking for itemClick instead of click (MouseEvent.CLICK). I think either will work You're calling createListener() at some point, right? Try adding it to the creationComplete event of the app tag: mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; height=100% backgroundColor=#FF creationComplete=createListener() matt Matt . That would have been a good plan! Also MouseEventType rather than MouseEvent was needed -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Form containers don't allow datagrids (heght=100%) to stretch - flex 1.5
Hi i've got the following. mx:VBox height=100% mx:DataGrid height=100%/ /mx:VBox this gives a real dataGrid with a height=100% However, if i use a Form container instead, the datagrid doesnt stretch (height!=100%) mx:Form height=100% mx:DataGrid height=100%/ /mx:Form i used minHeight=0 but that did not work. is this how form is meant to work. tia bod -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Return of the Menu Depth Monster!
maybe your menu dataprovider needs to be added another way you could try the following myMenu = Menu.createMenu(myApp, null); //populate dataprovider for (var obj in myEMP2Service.result.query.row) { myMenu.addMenuItem(myEMP2Service.result.query.row[obj]); } myMenu.show(200, 10); or if your row is can be made into an xml string eg var dp:XML = new XML(); dp.parseXML(xmlstring);//xmlstring=your row myMenu = Menu.createMenu(myApp, dp); just some ideas. bod --- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] wrote: I tried setting my mx:Application with an id of myApp and sending that into the createMenu call. Works fine again with the buttonnot on the change event for the Datagrid. Has anyone successfully gotten a menu to work on a change event for Datagrid? _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deepa Subramaniam Sent: Friday, January 27, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! Have you tried parenting the Menu to the Application or some higher-level container (ie: pass a container instead of null as the first argument in createMenu())? __ Find Me: 2701 - 601 Townsend 415.832.7668 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda Sent: Friday, January 27, 2006 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Return of the Menu Depth Monster! Alright, after reading through all the archives, cflex.net and google...I've come to the conclusion I can't solve my issue :-) I have a super basic menu function. public function showMenu() { myMenu = Menu.createMenu(null, myEMP2Service.result.query.row); myMenu.show(200, 10); Alert.show(trace: +myMenu,hey!,Alert.OK); } I call this from a button on my movie. mx:Button id=clickBtn label=Add Note click=showMenu()/ It works and I see the alert. Now I do the same with a datagrid, right after the button, in the same element/level in the movie. mx:DataGrid id=AFTAsDG width=100% height=95% dataProvider={myAFTAService.result.query.row} change=showMenu () No menu! But the alert shows the menu exists! No matter where I move it, it doesn't show up. Can you not do menus on changeEvents for Datagrids? I'm assuming it's a depth issue of some sort...ideas? Jonathan Miranda -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: DividedBox question - divider position
I tried explicitMinHeight, it doesn't appear to be a valid property and if I set it, for example panel[explicitMinHeight], it doesn't have any effect when I resize the dividedbox container. Anyone know another way to do this? --- In flexcoders@yahoogroups.com, jgraham_us [EMAIL PROTECTED] wrote: Is there an easy way to set a minimum position for a divider in a DividedBox? For example. I have three panels in a VDividedBox when I drag divider 0 up I want it to stop and not size past the headerHeight of the panel, in essence not cover the panel header up. I assume this can be done by overriding the DividedBox, but was wondering if there was an easier way. I have tried setting the minHeight on the panel but that appears to have no effect. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Return of the Menu Depth Monster!
Again, no luck with this. I think its something wrong with the change tag in the DataGrid..I put a Canvas object in the root and made it my container to pass in. Button click works, Datagrid change does not. Anyone successfully got a menu to popup with a change event? _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972 Sent: Tuesday, January 31, 2006 8:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Return of the Menu Depth Monster! maybe your menu dataprovider needs to be added another way you could try the following myMenu = Menu.createMenu(myApp, null); //populate dataprovider for (var obj in myEMP2Service.result.query.row) { myMenu.addMenuItem(myEMP2Service.result.query.row[obj]); } myMenu.show(200, 10); or if your row is can be made into an xml string eg var dp:XML = new XML(); dp.parseXML(xmlstring);//xmlstring=your row myMenu = Menu.createMenu(myApp, dp); just some ideas. bod --- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] wrote: I tried setting my mx:Application with an id of myApp and sending that into the createMenu call. Works fine again with the buttonnot on the change event for the Datagrid. Has anyone successfully gotten a menu to work on a change event for Datagrid? _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa Subramaniam Sent: Friday, January 27, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! Have you tried parenting the Menu to the Application or some higher-level container (ie: pass a container instead of null as the first argument in createMenu())? __ Find Me: 2701 - 601 Townsend 415.832.7668 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Friday, January 27, 2006 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Return of the Menu Depth Monster! Alright, after reading through all the archives, cflex.net and google...I've come to the conclusion I can't solve my issue :-) I have a super basic menu function. public function showMenu() { myMenu = Menu.createMenu(null, myEMP2Service.result.query.row); myMenu.show(200, 10); Alert.show(trace: +myMenu,hey!,Alert.OK); } I call this from a button on my movie. mx:Button id=clickBtn label=Add Note click=showMenu()/ It works and I see the alert. Now I do the same with a datagrid, right after the button, in the same element/level in the movie. mx:DataGrid id=AFTAsDG width=100% height=95% dataProvider={myAFTAService.result.query.row} change=showMenu () No menu! But the alert shows the menu exists! No matter where I move it, it doesn't show up. Can you not do menus on changeEvents for Datagrids? I'm assuming it's a depth issue of some sort...ideas? Jonathan Miranda -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Return of the Menu Depth Monster!
And as dumb as it sounds, perhaps a quick fix to this is that on the change event with the datagrid, I use actionscript to click the button.and just hide the button. Cant figure out how to click the button with AS though. _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, January 31, 2006 9:08 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Return of the Menu Depth Monster! Again, no luck with this. I think its something wrong with the change tag in the DataGrid..I put a Canvas object in the root and made it my container to pass in. Button click works, Datagrid change does not. Anyone successfully got a menu to popup with a change event? _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972 Sent: Tuesday, January 31, 2006 8:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Return of the Menu Depth Monster! maybe your menu dataprovider needs to be added another way you could try the following myMenu = Menu.createMenu(myApp, null); //populate dataprovider for (var obj in myEMP2Service.result.query.row) { myMenu.addMenuItem(myEMP2Service.result.query.row[obj]); } myMenu.show(200, 10); or if your row is can be made into an xml string eg var dp:XML = new XML(); dp.parseXML(xmlstring);//xmlstring=your row myMenu = Menu.createMenu(myApp, dp); just some ideas. bod --- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] wrote: I tried setting my mx:Application with an id of myApp and sending that into the createMenu call. Works fine again with the buttonnot on the change event for the Datagrid. Has anyone successfully gotten a menu to work on a change event for Datagrid? _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa Subramaniam Sent: Friday, January 27, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! Have you tried parenting the Menu to the Application or some higher-level container (ie: pass a container instead of null as the first argument in createMenu())? __ Find Me: 2701 - 601 Townsend 415.832.7668 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Friday, January 27, 2006 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Return of the Menu Depth Monster! Alright, after reading through all the archives, cflex.net and google...I've come to the conclusion I can't solve my issue :-) I have a super basic menu function. public function showMenu() { myMenu = Menu.createMenu(null, myEMP2Service.result.query.row); myMenu.show(200, 10); Alert.show(trace: +myMenu,hey!,Alert.OK); } I call this from a button on my movie. mx:Button id=clickBtn label=Add Note click=showMenu()/ It works and I see the alert. Now I do the same with a datagrid, right after the button, in the same element/level in the movie. mx:DataGrid id=AFTAsDG width=100% height=95% dataProvider={myAFTAService.result.query.row} change=showMenu () No menu! But the alert shows the menu exists! No matter where I move it, it doesn't show up. Can you not do menus on changeEvents for Datagrids? I'm assuming it's a depth issue of some sort...ideas? Jonathan Miranda -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Live Docs
Anyone from MM or Adobe please take a look at livedocs. I am getting an error at: http://livedocs.macromedia.com/flex/15/asdocs_en/ 500 unable to create new native thread java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at sun.net.www.http.KeepAliveCache$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.http.KeepAliveCache.put(Unknown Source) at sun.net.www.http.HttpClient.putInKeepAliveCache(Unknown Source) at sun.net.www.http.HttpClient.finished(Unknown Source) at sun.net.www.http.ChunkedInputStream.closeUnderlying(Unknown Source) at sun.net.www.http.ChunkedInputStream.processRaw(Unknown Source) at sun.net.www.http.ChunkedInputStream.readAheadNonBlocking(Unknown Source) at sun.net.www.http.ChunkedInputStream.readAhead(Unknown Source) at sun.net.www.http.ChunkedInputStream.available(Unknown Source) at java.io.FilterInputStream.available(Unknown Source) at sun.nio.cs.StreamDecoder$CharsetSD.inReady(Unknown Source) at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.fill(Unknown Source) at java.io.BufferedReader.read(Unknown Source) at com.macromedia.livedocs.util.ImportFile.acquireString(ImportFile.java:66) at com.macromedia.livedocs.filters.PageDecorator.doFilter(PageDecorator.java:185) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at com.macromedia.livedocs.filters.URLFilter.doFilter(URLFilter.java:208) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Rich -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] correct getURL settings
If i was to want a picture to get returned from a servlet, what sort of call do I need to make. If i do the following the image will appear in the window (IE) by itself. I want to assign it to the image which is in a mxml file. image.source = getURL(http://localhost:/myapp/; , _self ); do I need to do anything with GET or POST, do I need to pass it some sort of variable, at the moment the image just gets written to the output stream. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: FlashServices/Gateway
If you're deploying CF and Flex on top of JRun, make sure the JRunflashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul KenneySent: Monday, January 30, 2006 9:21 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot.Try to change your endpoint to Flex's amfgateway "/amfgateway" see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ?João FernandesSecção de DesenvolvimentoDepartamento de Informática-Original Message-From: flexcoders@yahoogroups.com on behalf of Mehdi, AghaSent: Mon 30-Jan-06 11:36 PMTo: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/GatewayFlex is a separate instance and both CF and Flex instances are running underIIS. I have already mapped the instances to IIS sites using wsconfig.exe.The CF instance is running just fine no problem. Flex runs fine too if itdoesn't have to communicate with the backend (CF instance)Agha MehdiIDT - eBusiness Program Manager-Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of joao_m_fernandesSent: Monday, January 30, 2006 3:30 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: FlashServices/GatewayTo map a CFInstance to a IIS you can go to yourCFinstallationFolder\bin and run wsconfig.exe. This will allow you tomap any of your current CFInstances to your (or all) IIS site(s).After mapping it if it doesn't work:1)Are ColdFusion and Flex running under the same instance?if yes 2) Are they under the same contextRoot or in separate ?if no 2) shouldn't your Http://server/flashservices/gateway beHttp://server/{cfcontextRoot}/flashservices/gateway ?João FernandesSecção de DesenvolvimentoDepartamento de Informática--- In flexcoders@yahoogroups.com, "Mehdi, Agha" [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn'twork when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs onIIS, which is why Http://server/flashservices/gateway doesn't work. I foundthis link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, "Mehdi, Agha" [EMAIL PROTECTED]wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF.Please let me know how to fix it.Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Paul Kenney[EMAIL PROTECTED][EMAIL PROTECTED]http://www.pjk.us -- Flexcoders Mailing List FAQ:
Re: [flexcoders] Re: DividedBox question - divider position
I believe what he meant was to specify the minHeight explicitly. You can calculate it programatically as well. On creation complete calculate the height of the individual components and set and reset them. This defenitely looks interesting. I am trying it out. I'll post the code IF i am sucessful. Sree - Original Message - From: jgraham_us To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 9:23 PM Subject: [flexcoders] Re: DividedBox question - divider position I tried explicitMinHeight, it doesn't appear to be a valid property and if I set it, for example panel["explicitMinHeight"], it doesn't have any effect when I resize the dividedbox container. Anyone know another way to do this?--- In flexcoders@yahoogroups.com, "jgraham_us" [EMAIL PROTECTED]... wrote: Is there an easy way to set a minimum position for a divider in a DividedBox? For example. I have three panels in a VDividedBox when I drag divider 0 up I want it to stop and not size past the headerHeight of the panel, in essence not cover the panel header up. I assume this can be done by overriding the DividedBox, but was wondering if there was an easier way. I have tried setting the minHeight on the panel but that appears to have no effect. 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Live Docs
It was down! Looks like it is up now. - Original Message - From: Rich Tretola To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 9:53 PM Subject: [flexcoders] Live Docs Anyone from MM or Adobe please take a look at livedocs. I am gettingan error at:http://livedocs.macromedia.com/flex/15/asdocs_en/500unable to create new native threadjava.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at sun.net.www.http.KeepAliveCache$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.http.KeepAliveCache.put(Unknown Source) at sun.net.www.http.HttpClient.putInKeepAliveCache(Unknown Source) at sun.net.www.http.HttpClient.finished(Unknown Source) at sun.net.www.http.ChunkedInputStream.closeUnderlying(Unknown Source) at sun.net.www.http.ChunkedInputStream.processRaw(Unknown Source) at sun.net.www.http.ChunkedInputStream.readAheadNonBlocking(Unknown Source) at sun.net.www.http.ChunkedInputStream.readAhead(Unknown Source) at sun.net.www.http.ChunkedInputStream.available(Unknown Source) at java.io.FilterInputStream.available(Unknown Source) at sun.nio.cs.StreamDecoder$CharsetSD.inReady(Unknown Source) at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.fill(Unknown Source) at java.io.BufferedReader.read(Unknown Source) at com.macromedia.livedocs.util.ImportFile.acquireString(ImportFile.java:66) at com.macromedia.livedocs.filters.PageDecorator.doFilter(PageDecorator.java:185) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at com.macromedia.livedocs.filters.URLFilter.doFilter(URLFilter.java:208) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)Rich -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DataGrid Renderer and referencing back
I have a custom cellRenderer which has a button in itand when that button is pressed, I want to force the datagrid to resend its HTTPService to get an update. How can I reference my HTTPService in the main app, when my custom cellRenderer is in a separate mxml file? _ Jonathan Miranda Flexible Master of the Web -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Problems accessing .NET 2.0 web service
Hello everyone; I'm having dificulty accessing a web service using ws:WebService. The service was created using .NET 2.0 and Windows Communication Foundation. It's hosted on my local machine. A client written in C# has no problem accessing it. When accessed through a small Flex 2.0 application, the fault handler is invoked with this message: There are no valid ports in the WSDL file for the JobHierarchyService service. I've run the Restaurant example project to confirm that web services work on my machine. I'm new to Flash and Flex and would appreciate any help. Thanks. Tobias. Here's the relevant code: var ws:WebService = new WebService(); ws.wsdl = http://localhost:8080/JobHierarchyService?wsdl;; ws.fetchWSDL(); ws.addEventListener(result, wsResult); ws.addEventListener(fault, wsFault); var call : Object = ws.Echo( Hello World ); Here's the debug trace: [SWF] /Flash/WebService1-debug.swf - 1,016,919 bytes after decompression Registering schema namespace: http://www.w3.org/1999/XMLSchema Registering schema namespace: http://www.w3.org/2000/10/XMLSchema Registering schema namespace: http://www.w3.org/2001/XMLSchema Registering schema namespace: http://schemas.xmlsoap.org/soap/encoding/ Registering schema namespace: http://xml.apache.org/xml-soap Registering schema namespace: http://rpc.xml.coldfusion Creating WSDL object for http://localhost:8080/JobHierarchyService? wsdl Fetching document http://localhost:8080/JobHierarchyService?wsdl for destination 'defaultHttp' Creating SOAP Operation for Echo Queueing SOAP operation Echo Processing imports Parsing schemas Done parsing schemas: 0 ms Fetching document http://localhost:8080/JobHierarchyService? wsdl=wsdl1 for destination 'defaultHttp' Processing imports Parsing schemas Registering schema namespace: http://kodak.com/WPE/Dashboard/JobServer/Imports Done parsing schemas: 1 ms Done processing imports: 258 ms Parsing services Parsing individual services Parsing service: JobHierarchyService Parsed service: 1 ms Done parsing services: 3 ms WSDL parse took 263 ms WSDL loaded Faulting previously queued operation calls Echo Service stub found fault upon receiving WSDL (http://localhost:8080/JobHierarchyService?wsdl): There are no valid ports in the WSDL file for the JobHierarchyService service. [UnloadSWF] /Flash/WebService1-debug.swf Here's the WSDL: ?xml version=1.0 encoding=utf-8 ? - wsdl:definitions name=JobHierarchyService targetNamespace=http://tempuri.org/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:i0=http://kodak.com/WPE/Dashboard/JobServer; xmlns:tns=http://tempuri.org/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing; xmlns:ci=http://schemas.microsoft.com/ws/2005/01/WSDL/Extensions/Con tractInheritance xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:wsx=http://schemas.xmlsoap.org/ws/2004/09/mex; xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- wssecurity-utility-1.0.xsd xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; - wsp:Policy wsu:Id=WSHttpBinding_IJobHierarchyService_policy - wsp:ExactlyOne - wsp:All - sp:SymmetricBinding xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy; - wsp:Policy - sp:ProtectionToken - wsp:Policy - sp:SecureConversationToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy /IncludeToken/AlwaysToRecipient - wsp:Policy sp:RequireDerivedKeys / mssp:RequireCancel wsp:Optional=true xmlns:mssp=http://schemas.microsoft.com/ws/2005/07/securitypolicy; / - sp:BootstrapPolicy - wsp:Policy - sp:SymmetricBinding - wsp:Policy - sp:ProtectionToken - wsp:Policy - sp:SpnegoContextToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy /IncludeToken/AlwaysToRecipient - wsp:Policy sp:RequireDerivedKeys / mssp:RequireCancel wsp:Optional=true xmlns:mssp=http://schemas.microsoft.com/ws/2005/07/securitypolicy; / /wsp:Policy /sp:SpnegoContextToken /wsp:Policy /sp:ProtectionToken - sp:AlgorithmSuite - wsp:Policy sp:Basic256 / /wsp:Policy /sp:AlgorithmSuite - sp:Layout - wsp:Policy sp:Strict / /wsp:Policy /sp:Layout sp:IncludeTimestamp / sp:OnlySignEntireHeadersAndBody / /wsp:Policy /sp:SymmetricBinding - sp:Wss11 - wsp:Policy sp:MustSupportRefKeyIdentifier / sp:MustSupportRefIssuerSerial / sp:MustSupportRefThumbprint / sp:MustSupportRefEncryptedKey / /wsp:Policy /sp:Wss11 - sp:Trust10 - wsp:Policy sp:MustSupportIssuedTokens / sp:RequireClientEntropy / sp:RequireServerEntropy / /wsp:Policy /sp:Trust10 /wsp:Policy /sp:BootstrapPolicy /wsp:Policy /sp:SecureConversationToken /wsp:Policy /sp:ProtectionToken - sp:AlgorithmSuite - wsp:Policy sp:Basic256 / /wsp:Policy /sp:AlgorithmSuite - sp:Layout - wsp:Policy sp:Strict / /wsp:Policy
RE: [flexcoders] Problems accessing .NET 2.0 web service
This is likely using the WSDL 1.2 specification in which case the Flex client cannot currently communicate with it. If you post the WSDL, I can verify this. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Tuesday, January 31, 2006 8:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems accessing .NET 2.0 web service Hello everyone; I'm having dificulty accessing a web service using ws:WebService. The service was created using .NET 2.0 and Windows Communication Foundation. It's hosted on my local machine. A client written in C# has no problem accessing it. When accessed through a small Flex 2.0 application, the fault handler is invoked with this message: There are no valid ports in the WSDL file for the JobHierarchyService service. I've run the Restaurant example project to confirm that web services work on my machine. I'm new to Flash and Flex and would appreciate any help. Thanks. Tobias. Here's the relevant code: var ws:WebService = new WebService(); ws.wsdl = http://localhost:8080/JobHierarchyService?wsdl;; ws.fetchWSDL(); ws.addEventListener(result, wsResult); ws.addEventListener(fault, wsFault); var call : Object = ws.Echo( Hello World ); Here's the debug trace: [SWF] /Flash/WebService1-debug.swf - 1,016,919 bytes after decompression Registering schema namespace: http://www.w3.org/1999/XMLSchema Registering schema namespace: http://www.w3.org/2000/10/XMLSchema Registering schema namespace: http://www.w3.org/2001/XMLSchema Registering schema namespace: http://schemas.xmlsoap.org/soap/encoding/ Registering schema namespace: http://xml.apache.org/xml-soap Registering schema namespace: http://rpc.xml.coldfusion Creating WSDL object for http://localhost:8080/JobHierarchyService? wsdl Fetching document http://localhost:8080/JobHierarchyService?wsdl for destination 'defaultHttp' Creating SOAP Operation for Echo Queueing SOAP operation Echo Processing imports Parsing schemas Done parsing schemas: 0 ms Fetching document http://localhost:8080/JobHierarchyService? wsdl=wsdl1 for destination 'defaultHttp' Processing imports Parsing schemas Registering schema namespace: http://kodak.com/WPE/Dashboard/JobServer/Imports Done parsing schemas: 1 ms Done processing imports: 258 ms Parsing services Parsing individual services Parsing service: JobHierarchyService Parsed service: 1 ms Done parsing services: 3 ms WSDL parse took 263 ms WSDL loaded Faulting previously queued operation calls Echo Service stub found fault upon receiving WSDL (http://localhost:8080/JobHierarchyService?wsdl): There are no valid ports in the WSDL file for the JobHierarchyService service. [UnloadSWF] /Flash/WebService1-debug.swf Here's the WSDL: ?xml version=1.0 encoding=utf-8 ? - wsdl:definitions name=JobHierarchyService targetNamespace=http://tempuri.org/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:i0=http://kodak.com/WPE/Dashboard/JobServer; xmlns:tns=http://tempuri.org/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing; xmlns:ci=http://schemas.microsoft.com/ws/2005/01/WSDL/Extensions/Con tractInheritance xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:wsx=http://schemas.xmlsoap.org/ws/2004/09/mex; xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- wssecurity-utility-1.0.xsd xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; - wsp:Policy wsu:Id=WSHttpBinding_IJobHierarchyService_policy - wsp:ExactlyOne - wsp:All - sp:SymmetricBinding xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy; - wsp:Policy - sp:ProtectionToken - wsp:Policy - sp:SecureConversationToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy /IncludeToken/AlwaysToRecipient - wsp:Policy sp:RequireDerivedKeys / mssp:RequireCancel wsp:Optional=true xmlns:mssp=http://schemas.microsoft.com/ws/2005/07/securitypolicy; / - sp:BootstrapPolicy - wsp:Policy - sp:SymmetricBinding - wsp:Policy - sp:ProtectionToken - wsp:Policy - sp:SpnegoContextToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy /IncludeToken/AlwaysToRecipient - wsp:Policy sp:RequireDerivedKeys / mssp:RequireCancel wsp:Optional=true xmlns:mssp=http://schemas.microsoft.com/ws/2005/07/securitypolicy; / /wsp:Policy /sp:SpnegoContextToken /wsp:Policy /sp:ProtectionToken - sp:AlgorithmSuite - wsp:Policy sp:Basic256 / /wsp:Policy /sp:AlgorithmSuite - sp:Layout - wsp:Policy sp:Strict / /wsp:Policy /sp:Layout sp:IncludeTimestamp / sp:OnlySignEntireHeadersAndBody / /wsp:Policy
Re: [flexcoders] DataGrid Renderer and referencing back
You can dispatch an event that bubbles in your cellrenderer, and your main app can catch this event, and then resend the HTTPService. Since the event is not internal to DataGrid's metadata, you can only subscribe via code. - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 12:29 PM Subject: [flexcoders] DataGrid Renderer and referencing back I have a custom cellRenderer which has a button in it and when that button is pressed, I want to force the datagrid to resend its HTTPService to get an update. How can I reference my HTTPService in the main app, when my custom cellRenderer is in a separate mxml file? _ Jonathan Miranda Flexible Master of the Web -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Return of the Menu Depth Monster!
I just tried this and confirmed that its a bug. I will log it in our bugbase. Thanks. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, January 31, 2006 6:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! I tried setting my mx:Application with an id of myApp and sending that into the createMenu call. Works fine again with the button.not on the change event for the Datagrid. Has anyone successfully gotten a menu to work on a change event for Datagrid? _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa Subramaniam Sent: Friday, January 27, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! Have you tried parenting the Menu to the Application or some higher-level container (ie: pass a container instead of null as the first argument in createMenu())? __ Find Me: 2701 - 601 Townsend 415.832.7668 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Friday, January 27, 2006 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Return of the Menu Depth Monster! Alright, after reading through all the archives, cflex.net and googleIve come to the conclusion I cant solve my issue J I have a super basic menu function. public function showMenu() { myMenu = Menu.createMenu(null, myEMP2Service.result.query.row); myMenu.show(200, 10); Alert.show(trace: +myMenu,hey!,Alert.OK); } I call this from a button on my movie. mx:Button id=clickBtn label=Add Note click=showMenu()/ It works and I see the alert. Now I do the same with a datagrid, right after the button, in the same element/level in the movie. mx:DataGrid id=AFTAsDG width=100% height=95% dataProvider={myAFTAService.result.query.row} change=showMenu() No menu! But the alert shows the menu exists! No matter where I move it, it doesnt show up. Can you not do menus on changeEvents for Datagrids? Im assuming its a depth issue of some sortideas? Jonathan Miranda -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Return of the Menu Depth Monster!
Woohoo, Im not crazy! J _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joan Tan Sent: Tuesday, January 31, 2006 10:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! I just tried this and confirmed that its a bug. I will log it in our bugbase. Thanks. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, January 31, 2006 6:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! I tried setting my mx:Application with an id of myApp and sending that into the createMenu call. Works fine again with the button.not on the change event for the Datagrid. Has anyone successfully gotten a menu to work on a change event for Datagrid? _ Jonathan Miranda Flexible Master of the Web From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa Subramaniam Sent: Friday, January 27, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Return of the Menu Depth Monster! Have you tried parenting the Menu to the Application or some higher-level container (ie: pass a container instead of null as the first argument in createMenu())? __ Find Me: 2701 - 601 Townsend 415.832.7668 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Friday, January 27, 2006 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Return of the Menu Depth Monster! Alright, after reading through all the archives, cflex.net and googleIve come to the conclusion I cant solve my issue J I have a super basic menu function. public function showMenu() { myMenu = Menu.createMenu(null, myEMP2Service.result.query.row); myMenu.show(200, 10); Alert.show(trace: +myMenu,hey!,Alert.OK); } I call this from a button on my movie. mx:Button id=clickBtn label=Add Note click=showMenu()/ It works and I see the alert. Now I do the same with a datagrid, right after the button, in the same element/level in the movie. mx:DataGrid id=AFTAsDG width=100% height=95% dataProvider={myAFTAService.result.query.row} change=showMenu() No menu! But the alert shows the menu exists! No matter where I move it, it doesnt show up. Can you not do menus on changeEvents for Datagrids? Im assuming its a depth issue of some sortideas? Jonathan Miranda -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FlashServices/Gateway
No its not. Its on a mapped drive. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In [EMAIL PROTECTED], Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .. -- Paul Kenney [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pjk.us -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
RE: [flexcoders] Re: FlashServices/Gateway
Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRunflashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web.
Re: [flexcoders] DividedBox question - divider position
On 1/31/06, Sreenivas R [EMAIL PROTECTED] wrote: You can set the explicitMinHeight property of the panel to achieve this. If it's 1.5, I think you meant minHeight. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DataGrid Renderer and referencing back
Hey jester, thanks for the replybut could give a real basic example of this? Im having issues with bubbling.I found a semi-example on CFlex and working with that so far using this.dispatchEvent(someEventObject); So would I need someEventObject in both the application mxml and the renderer mxml so that it would call both? _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 10:50 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGrid Renderer and referencing back You can dispatch an event that bubbles in your cellrenderer, and your main app can catch this event, and then resend the HTTPService. Since the event is not internal to DataGrid's metadata, you can only subscribe via code. - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 12:29 PM Subject: [flexcoders] DataGrid Renderer and referencing back I have a custom cellRenderer which has a button in itand when that button is pressed, I want to force the datagrid to resend its HTTPService to get an update. How can I reference my HTTPService in the main app, when my custom cellRenderer is in a separate mxml file? _ Jonathan Miranda Flexible Master of the Web -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Jumpy labels with a cellrendere in Tree
Can you post your code? Do you have any specific properties set on your Label listItemRenderer? Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of moyosaned Sent: Tuesday, January 31, 2006 1:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Jumpy labels with a cellrendere in Tree My Label is a little bit jumpy in de beginning, but after a few rollOvers the label is steady I;m using a normaal Label as CellRen Anybody.. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Form containers don't allow datagrids (heght=100%) to stretch - flex 1.5
On 1/31/06, bhaq1972 [EMAIL PROTECTED] wrote: However, if i use a Form container instead, the datagrid doesnt stretch (height!=100%) mx:Form height=100% mx:DataGrid height=100%/ /mx:Form Works for me in Flex 2 - must be a bug in 1.5. Does it work if you set an explicit height for the Form? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Transparent Tilelist
On 1/30/06, Matt Chotin [EMAIL PROTECTED] wrote: I don't think I ever figured out a way to make it transparent in 1.5. Not sure if we did it in 2.0, worth checking though and if not filing a bug. mx:TileList backgroundAlpha=.5 Works in Flex 2 (latest build on my machine). -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Resizing Panel child components when ControlBar is resized
On 1/31/06, douglowder [EMAIL PROTECTED] wrote: I have a Flex 1.5 app that contains various Panels and TitleWindows that use a technique described by Kevin Hoyt: http://weblogs.macromedia.com/khoyt/archives/2005/01/getting_started. cfm#comments Now, in my Panels I'm putting the hideable options area into a ControlBar, but I'm running into two problems when I do that. 1) The rest of the panel does not automatically resize when the control bar is resized, resulting in either wasted space or some of the panel's contents being obscured by the control bar, and 2) Once the control bar's hideable area is resized by either hiding or showing the options, the control bar no longer resizes to the browser window when the user resizes the entire browser window. [snip] I just ran your code on my local Flex 1.5, and it all works fine for me. The Advanced Search Options part disappears when you click Hide and appears when you click Show. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Jumpy labels with a cellrendere in Tree
I've had this happen too. Inheritance of UIComponents blow as cellrenderers. My suggestion is to extend like Box or HBox, and create your label inside, and center it. - Original Message - From: Joan Tan To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 1:16 PM Subject: RE: [flexcoders] Jumpy labels with a cellrendere in Tree Can you post your code? Do you have any specific properties set on your Label listItemRenderer? Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of moyosanedSent: Tuesday, January 31, 2006 1:37 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Jumpy labels with a cellrendere in Tree My Label is a little bit jumpy in de beginning, but after a fewrollOvers the label is steadyI;m using a normaal Label as CellRenAnybody.. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] How about for Flex 2? Re: Customizing default Flex preloader
Flex 2 docs on this a very thin. Has anyone tackled this? Is it similar enough to Flex 1.5, that I can use them as a starting point? Or has the model change drastically for AS3? Thanks for any feedback. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] correct getURL settings
On 1/31/06, sdhfhdgs [EMAIL PROTECTED] wrote: image.source = getURL(http://localhost:/myapp/; , _self ); image.source = http://localhost:/myapp/;; That should do it. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Reusable CellRenderer
I would like to create a reusable cellRenderer that I can use on multiple columns in a dataGrid. But I am having a hrad time wrapping my brain around it. First, how would you call the same cellRenderer for each column but populate it with different data for each? I have tried to assign the cellReneder in actionscript like, dataGrid.getColumnAt(7).cellRenderer = "comboBoxCellRenderer"; and then set a dataProvider variable in the renderer but I cannot get that to work. Even if I set the cell renderer with mxml I can only get the dataProvider variable to populate the cellRenderer if I pass it a hard coded object. If I pass it an object being coming in from a web service, it doesn't work. I think that has something to do with timing. LIke the cellRenderer gets created before the data come back from the WS. Any help in the right direction would be appreciated. Here is some of the code... ! //comboBoxcellRenderer.mxml (From http://www.richinternetapps.com/archives/72.html) ! mx:Canvas borderStyle="none" xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script ![CDATA[ import mx.controls.*; import com.iterationtwo.cairngorm.control.*; var combo : ComboBox; var comboLabel : Label; var listOwner : Object; // the reference we receive to the list var getCellIndex : Function; // the function we receive from the list var getDataLabel : Function; // the function we receive from the list var selectedItem : Object; static var dataProvider; // function createChildren(Void) : Void { super.createChildren(); createClassObject( Label, "comboLabel", 1, { styleName:this, owner:this } ); createClassObject( ComboBox, "combo", 2, { styleName:this, owner:this, selectable:true, editable:true } ); combo.addEventListener( "change", this ); combo.addEventListener( "enter", this ); combo.dataProvider = comboBoxCellRenderer.dataProvider; combo.setStyle( "backgroundColor", getStyle( "selectionColor" ) ); size(); } // function size( Void ) : Void { combo.setSize( width, 20 ); comboLabel.setSize( width, 20 ); } // function setValue( str : String, item : Object, selection : String ) : Void{ combo.dataProvider = comboBoxCellRenderer.dataProvider; combo.labelField = 'PERSONNELFULLNAME'; if ( item == undefined ){ comboLabel.visible = false; combo.visible = false; return; } if ( selection == "normal" || selection == "highlighted" ){ comboLabel.text = item[ getDataLabel() ]; combo.visible = false; comboLabel.visible = true; } else if ( selection == "selected" ){ selectedItem = item; for( var i = 0; i combo.dataProvider.length; i++ ){ if( combo.dataProvider[i] == item[ getDataLabel() ] ){ combo.selectedIndex = i; break; } } comboLabel.visible = false; combo.visible = true; combo.setFocus( false ); } } // function getPreferredHeight( Void ) : Number{ return 20; } // function getPreferredWidth( Void ) : Number{ return 125; } // function reorder( datos : Array, choice : String ) : Array{ var index:Number = 0 var newArray = new Array() for( var i=0; i datos.length; i++ ) { if( datos[i].label != choice ) { index++; newArray[index] = datos[i]; } else { newArray[0] = datos[i]; } } return newArray; } // function change(){ selectedItem[ getDataLabel() ] = combo.selectedItem; EventBroadcaster.getInstance().broadcastEvent( "updateItem", selectedItem ); } // function enter(){ if ( combo.text != undefined combo.text.length 0 ) { dataProvider.addItem( combo.text ); selectedItem[ getDataLabel() ] = combo.text; EventBroadcaster.getInstance().broadcastEvent( "updateItem", selectedItem ); } } // function draw() : Void{ super.draw(); if ( combo.text_mc.border_mc.getDepth() combo.text_mc.label.getDepth() ) combo.text_mc.border_mc.swapDepths( combo.text_mc.label ); } ]] /mx:Script /mx:Canvas ! //projectTaskView.mxml (excerpt only) ! ?xml version="1.0" encoding="utf-8"? mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:ppcView="com.thomson.ppc.stickies.view.*" width="100%" height="595" backgroundColor="#66"
[flexcoders] Re: DividedBox question - divider position
Well I could of sworn I tried minHeight and it didn't work, but I put it in the panel's creationComplete and it works good. Not sure what was happening before. --- In flexcoders@yahoogroups.com, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: I believe what he meant was to specify the minHeight explicitly. You can calculate it programatically as well. On creation complete calculate the height of the individual components and set and reset them. This defenitely looks interesting. I am trying it out. I'll post the code IF i am sucessful. Sree - Original Message - From: jgraham_us To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 9:23 PM Subject: [flexcoders] Re: DividedBox question - divider position I tried explicitMinHeight, it doesn't appear to be a valid property and if I set it, for example panel[explicitMinHeight], it doesn't have any effect when I resize the dividedbox container. Anyone know another way to do this? --- In flexcoders@yahoogroups.com, jgraham_us [EMAIL PROTECTED] wrote: Is there an easy way to set a minimum position for a divider in a DividedBox? For example. I have three panels in a VDividedBox when I drag divider 0 up I want it to stop and not size past the headerHeight of the panel, in essence not cover the panel header up. I assume this can be done by overriding the DividedBox, but was wondering if there was an easier way. I have tried setting the minHeight on the panel but that appears to have no effect. 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --- --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] combox drop down aligning to the right?
Currenly, when a ComoBox is created, the default setting when it drops down, is the list is flush with the left side of the comobox. Is there a way to make the Comboboxs dropdown list align with the right? Currently: [ select] [ item ] [ item ] Can that be changed to [select] [item ] [item ] I tried creating a Button, which when clicked, would use PopUpManager to create a List right below it, but thats growing into a mini project all in itself, and I want to make sure Im not over looking something(even though I checked the Flex docs, and there seems to be no property which does so) Thanks everyone Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] DataGrid Renderer and referencing back
Here's the basic steps for Flex 1.5: - put a button in your cellrenderer - if ActionScript, register for the click event, and provide a click function delegate in the cell renderer - if MXML, point click event to a event handler function in the cellrenderer - in your event handler for the button's click, have it dispatch an event - in your DataGrid container, register for the custom click event; can only do this via code since you made up the event name, and DataGrid.as won't have your event in the metadata So, some psuedo code for your cellrenderer: var ref:Button = Button(createChild(Button)); ref.addEventListener("click", Delegate.create(this, onClick)); function onClick(event:Object):Void { listOwner.dispatchEvent({type: "makeNameForThisEventMeaningful", target: listOwner, bubbles: true}); } And, some code for your container: function onCreationComplete() { yourDataGrid.addEventListener("makeNameForThisEventMeaningful", Delegate.create(this, onClicked)); } function onClicked(event:Object):Void { // button was clicked in datagrid, do HTTPService.send stuff } Make sense? - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 1:13 PM Subject: RE: [flexcoders] DataGrid Renderer and referencing back Hey jester, thanks for the reply but could give a real basic example of this?Im having issues with bubbling .I found a semi-example on CFlex and working with that so far using this.dispatchEvent(someEventObject); So would I need someEventObject in both the application mxml and the renderer mxml so that it would call both? _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXLSent: Tuesday, January 31, 2006 10:50 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] DataGrid Renderer and referencing back You can dispatch an event that bubbles in your cellrenderer, and your main app can catch this event, and then resend the HTTPService. Since the event is not internal to DataGrid's metadata, you can only subscribe via code. - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 12:29 PM Subject: [flexcoders] DataGrid Renderer and referencing back I have a custom cellRenderer which has a button in it and when that button is pressed, I want to force the datagrid to resend its HTTPService to get an update. How can I reference my HTTPService in the main app, when my custom cellRenderer is in a separate mxml file? _ Jonathan Miranda Flexible Master of the Web -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Vertical Text on a button
I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Vertical Text on a button
yourButton.setStyle(embedFonts, true); yourButton.setStyle(fontFamily, Verdana); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: jgraham_us [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Reusable CellRenderer
here are some examples: http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm?href=0325.htm --- In flexcoders@yahoogroups.com, Jason Doyle [EMAIL PROTECTED] wrote: I would like to create a reusable cellRenderer that I can use on multiple columns in a dataGrid. But I am having a hrad time wrapping my brain around it. First, how would you call the same cellRenderer for each column but populate it with different data for each? I have tried to assign the cellReneder in actionscript like, dataGrid.getColumnAt(7).cellRenderer = comboBoxCellRenderer; and then set a dataProvider variable in the renderer but I cannot get that to work. Even if I set the cell renderer with mxml I can only get the dataProvider variable to populate the cellRenderer if I pass it a hard coded object. If I pass it an object being coming in from a web service, it doesn't work. I think that has something to do with timing. LIke the cellRenderer gets created before the data come back from the WS. Any help in the right direction would be appreciated. Here is some of the code... ! //comboBoxcellRenderer.mxml (From http://www.richinternetapps.com/archives/72.html) ! mx:Canvas borderStyle=none xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ import mx.controls.*; import com.iterationtwo.cairngorm.control.*; var combo : ComboBox; var comboLabel : Label; var listOwner : Object; // the reference we receive to the list var getCellIndex : Function; // the function we receive from the list var getDataLabel : Function; // the function we receive from the list var selectedItem : Object; static var dataProvider; // function createChildren(Void) : Void { super.createChildren(); createClassObject( Label, comboLabel, 1, { styleName:this, owner:this } ); createClassObject( ComboBox, combo, 2, { styleName:this, owner:this, selectable:true, editable:true } ); combo.addEventListener( change, this ); combo.addEventListener( enter, this ); combo.dataProvider = comboBoxCellRenderer.dataProvider; combo.setStyle( backgroundColor, getStyle( selectionColor ) ); size(); } // function size( Void ) : Void { combo.setSize( width, 20 ); comboLabel.setSize( width, 20 ); } // function setValue( str : String, item : Object, selection : String ) : Void{ combo.dataProvider = comboBoxCellRenderer.dataProvider; combo.labelField = 'PERSONNELFULLNAME'; if ( item == undefined ){ comboLabel.visible = false; combo.visible = false; return; } if ( selection == normal || selection == highlighted ){ comboLabel.text = item[ getDataLabel() ]; combo.visible = false; comboLabel.visible = true; } else if ( selection == selected ){ selectedItem = item; for( var i = 0; i combo.dataProvider.length; i++ ){ if( combo.dataProvider[i] == item[ getDataLabel() ] ){ combo.selectedIndex = i; break; } } comboLabel.visible = false; combo.visible = true; combo.setFocus( false ); } } // function getPreferredHeight( Void ) : Number{ return 20; } // function getPreferredWidth( Void ) : Number{ return 125; } // function reorder( datos : Array, choice : String ) : Array{ var index:Number = 0 var newArray = new Array() for( var i=0; i datos.length; i++ ) { if( datos[i].label != choice ) { index++; newArray[index] = datos[i]; } else { newArray[0] = datos[i]; } } return newArray; } // function change(){ selectedItem[ getDataLabel() ] = combo.selectedItem; EventBroadcaster.getInstance().broadcastEvent( updateItem, selectedItem ); } // function enter(){ if ( combo.text != undefined combo.text.length 0 ) { dataProvider.addItem( combo.text ); selectedItem[ getDataLabel() ] = combo.text; EventBroadcaster.getInstance().broadcastEvent( updateItem, selectedItem ); } } // function draw() : Void{
[flexcoders] Re: listOwner equivalent Flex 2
If you write your renderer in AS instead of MXML, you can pass a reference to the parent when you call the constructor for the class e.g. in calling class (Application) myRenderer:myRendererClass = new myRendererClass(this); someObject.cellRenderer = myRenderer.doRender; in custom Renderer (constructor) private var owner:Object; public class myRendererClass{ public function myRendererClass(obj:Object){ owner = obj; } public function doRender(dataObject:Object):object{ } } That's they way I do it. Good Luck --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Haven't tried myself, but give parent a shot since he should be a DisplayObject. Don't have the livedocs available to confirm yet. - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 30, 2006 10:11 PM Subject: [flexcoders] listOwner equivalent Flex 2 Hi, So working with CellRenderers in Flex 2.0 is great... easy... however, what if I want to reference the parent control via listOwner as in Flex 1.5? Brendan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How do you reference an object to get attributes for a tag?
Aha. Yeah, the text property of a Label needs to be a String. Since mx.controls.Spacer is not a String, you are getting the string representation of the object: the [object Object] part. That's the problem, the solution is... a little harder. You can put a dynamic number of space characters into the return string instead of the Spacer control, but I'm not sure there's a way to get the exact results you want from a single Label object. You could always use 2 labels with a spacer in between. Doug --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: OK, this is what I am trying to do: I have a component that extends mx.controls.Label. Its text is set dynamically by use of the statement below: return title + new mx.controls.Spacer({width:75%}) + ttlRecs + recCount; so to use this object above, I have in mxml: mx:Label text={ myObj.text }/ What displays on the screen is Some text[object Object]more text quotes are mine - not displayed***. What I want to see on the screen is Some text big spacemore text So I need to somehow make the output of the Spacer drawing itself be contained within my text. Any help is greatly appreciated. Thanks, Libby --- In flexcoders@yahoogroups.com, Rob Rusher [EMAIL PROTECTED] wrote: Are you talking about binding? mx:Label text={ myObj.labelText }/ If your custom object has a String property that you want to display in a Label, you just reference it by name. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, January 30, 2006 3:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do you reference an object to get attributes for a tag? I wanna do something like this: mx:Label text = a dynamic custom object / So far I have not hit upon the magic combination through research and trial and error : ( Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DataGrid Renderer and referencing back
Close..few questions. And I guess I should have clarified, but Im using Flex 2 at the moment. Ive narrowed it down so I have 0 errors, but nothing is calling my listener :-/ 1) what is listOwner? 2) Im assuming all those Delegate.create are for Flex 1.5 3) how would I set bubbles:true in Flex 2? actually this would just be easier if I showed you what Im attempting, its pretty smallremember Flex 2. You can laugh at me if its wrong J In main mxml file: public function AFTAComplete() { AFTAsDG.addEventListener(refreshService, refreshAFTA); } public function refreshAFTA() { myAFTAService.url = "">AFTAs.cfm?show=true; CursorManager.setBusyCursor(); myAFTAService.send(); } Lower in the main file: mx:Metadata [Event(refreshService)] /mx:Metadata mx:DataGrid creationComplete=AFTAComplete() id=AFTAsDG width=100% height=95% dataProvider={myAFTAService.result.query.row} mx:columns mx:Array mx:DataGridColumn headerText=CTRL cellRenderer=MenuButton width=45 textAlign=center/ /mx:Array /mx:columns /mx:DataGrid In MenuButton.mxml: mx:HBox xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* height=17 width=45 horizontalAlign=center mx:Script ![CDATA[ import flash.events.Event; public function deleteDev() { if(dataObject.additional == no) { Alert.show(Sorry, this is the main developer,Error,Alert.OK); } else { Alert.show(Deleting: +dataObject.INTRA_USERID,Event,Alert.OK); } deleteBtn.dispatchEvent(new Event('refreshService')); } ]] /mx:Script mx:Button id=deleteBtn label=- width=17 height=17 textAlign=right click=deleteDev()/ /mx:HBox Least right now Im not getting errors, but nothing is calling refreshAFTA _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 11:39 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGrid Renderer and referencing back Here's the basic steps for Flex 1.5: - put a button in your cellrenderer - if ActionScript, register for the click event, and provide a click function delegate in the cell renderer - if MXML, point click event to a event handler function in the cellrenderer - in your event handler for the button's click, have it dispatch an event - in your DataGrid container, register for the custom click event; can only do this via code since you made up the event name, and DataGrid.as won't have your event in the metadata So, some psuedo code for your cellrenderer: var ref:Button = Button(createChild(Button)); ref.addEventListener(click, Delegate.create(this, onClick)); function onClick(event:Object):Void { listOwner.dispatchEvent({type: makeNameForThisEventMeaningful, target: listOwner, bubbles: true}); } And, some code for your container: function onCreationComplete() { yourDataGrid.addEventListener(makeNameForThisEventMeaningful, Delegate.create(this, onClicked)); } function onClicked(event:Object):Void { // button was clicked in datagrid, do HTTPService.send stuff } Make sense? - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 1:13 PM Subject: RE: [flexcoders] DataGrid Renderer and referencing back Hey jester, thanks for the replybut could give a real basic example of this? Im having issues with bubbling.I found a semi-example on CFlex and working with that so far using this.dispatchEvent(someEventObject); So would I need someEventObject in both the application mxml and the renderer mxml so that it would call both? _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 10:50 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGrid Renderer and referencing back You can dispatch an event that bubbles in your cellrenderer, and your main app can catch this event, and then resend the HTTPService. Since the event is not internal to DataGrid's metadata, you can only subscribe via code. - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 12:29 PM Subject: [flexcoders] DataGrid Renderer and referencing back I have a custom cellRenderer which has a button in itand when that button is pressed, I want to force the datagrid to resend its HTTPService to get an update. How can I reference my
[flexcoders] Re: Problems accessing .NET 2.0 web service
The WSDL is at the bottom of the original message. Given that there are tags using the SOAP12 namespace, I think your guess is right. Thanks. Tobias. --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: This is likely using the WSDL 1.2 specification in which case the Flex client cannot currently communicate with it. If you post the WSDL, I can verify this. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Tuesday, January 31, 2006 8:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems accessing .NET 2.0 web service Hello everyone; I'm having dificulty accessing a web service using ws:WebService. The service was created using .NET 2.0 and Windows Communication Foundation. It's hosted on my local machine. A client written in C# has no problem accessing it. When accessed through a small Flex 2.0 application, the fault handler is invoked with this message: There are no valid ports in the WSDL file for the JobHierarchyService service. I've run the Restaurant example project to confirm that web services work on my machine. I'm new to Flash and Flex and would appreciate any help. Thanks. Tobias. Here's the relevant code: var ws:WebService = new WebService(); ws.wsdl = http://localhost:8080/JobHierarchyService?wsdl;; ws.fetchWSDL(); ws.addEventListener(result, wsResult); ws.addEventListener(fault, wsFault); var call : Object = ws.Echo( Hello World ); Here's the debug trace: [SWF] /Flash/WebService1-debug.swf - 1,016,919 bytes after decompression Registering schema namespace: http://www.w3.org/1999/XMLSchema Registering schema namespace: http://www.w3.org/2000/10/XMLSchema Registering schema namespace: http://www.w3.org/2001/XMLSchema Registering schema namespace: http://schemas.xmlsoap.org/soap/encoding/ Registering schema namespace: http://xml.apache.org/xml-soap Registering schema namespace: http://rpc.xml.coldfusion Creating WSDL object for http://localhost:8080/JobHierarchyService? wsdl Fetching document http://localhost:8080/JobHierarchyService?wsdl for destination 'defaultHttp' Creating SOAP Operation for Echo Queueing SOAP operation Echo Processing imports Parsing schemas Done parsing schemas: 0 ms Fetching document http://localhost:8080/JobHierarchyService? wsdl=wsdl1 for destination 'defaultHttp' Processing imports Parsing schemas Registering schema namespace: http://kodak.com/WPE/Dashboard/JobServer/Imports Done parsing schemas: 1 ms Done processing imports: 258 ms Parsing services Parsing individual services Parsing service: JobHierarchyService Parsed service: 1 ms Done parsing services: 3 ms WSDL parse took 263 ms WSDL loaded Faulting previously queued operation calls Echo Service stub found fault upon receiving WSDL (http://localhost:8080/JobHierarchyService?wsdl): There are no valid ports in the WSDL file for the JobHierarchyService service. [UnloadSWF] /Flash/WebService1-debug.swf Here's the WSDL: ?xml version=1.0 encoding=utf-8 ? - wsdl:definitions name=JobHierarchyService targetNamespace=http://tempuri.org/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:i0=http://kodak.com/WPE/Dashboard/JobServer; xmlns:tns=http://tempuri.org/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing; xmlns:ci=http://schemas.microsoft.com/ws/2005/01/WSDL/Extensions/Con tractInheritance xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:wsx=http://schemas.xmlsoap.org/ws/2004/09/mex; xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- wssecurity-utility-1.0.xsd xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; - wsp:Policy wsu:Id=WSHttpBinding_IJobHierarchyService_policy - wsp:ExactlyOne - wsp:All - sp:SymmetricBinding xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy; - wsp:Policy - sp:ProtectionToken - wsp:Policy - sp:SecureConversationToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy /IncludeToken/AlwaysToRecipient - wsp:Policy sp:RequireDerivedKeys / mssp:RequireCancel wsp:Optional=true xmlns:mssp=http://schemas.microsoft.com/ws/2005/07/securitypolicy; / - sp:BootstrapPolicy - wsp:Policy - sp:SymmetricBinding - wsp:Policy - sp:ProtectionToken - wsp:Policy - sp:SpnegoContextToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy /IncludeToken/AlwaysToRecipient - wsp:Policy sp:RequireDerivedKeys / mssp:RequireCancel wsp:Optional=true
[flexcoders] flashpaper embedded in Flex 2.0
I noticed that the Flex2.0documentation has a chapter dedicated to using Flashpaper with Flex 2.0. However, the chapter is still not written. Has anyone had success loading Flashpaper into a Flex 2.0 application. I've loaded it in but the following were not working: print button as no functionality zoom slider does not work hand cursor does not scroll when used with a draggable HBox, all hell breaks loose. and theres probably other things too. My first thoughts are that the flashpaper has AS 2.0, or AS 1.0 in it and that could be causing the problem. But I thought the 8.5 player could run both virtual machines at once. Anyway, with our new shiny Flex applications were going to want to embed documents like Flashpaper. Please get back to me! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Resizing Panel child components when ControlBar is resized
Thanks, Manish. Resizing the ControlBar was the easy part and you're correct in that it works fine. What I want, but haven't been able to get working, is for the rest of the panel to expand to fill the empty space when the control bar is collapsed, and to shrink so that nothing is obscured when the control bar is expanded. That currently does not happen. Also, try hiding and then showing the advanced options. Now when the browser window is resized, the advanced options area no longer resizes to the available width. It's as if it has lost its 100% width setting. Doug --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 1/31/06, douglowder [EMAIL PROTECTED] wrote: I have a Flex 1.5 app that contains various Panels and TitleWindows that use a technique described by Kevin Hoyt: http://weblogs.macromedia.com/khoyt/archives/2005/01/getting_started. cfm#comments Now, in my Panels I'm putting the hideable options area into a ControlBar, but I'm running into two problems when I do that. 1) The rest of the panel does not automatically resize when the control bar is resized, resulting in either wasted space or some of the panel's contents being obscured by the control bar, and 2) Once the control bar's hideable area is resized by either hiding or showing the options, the control bar no longer resizes to the browser window when the user resizes the entire browser window. [snip] I just ran your code on my local Flex 1.5, and it all works fine for me. The Advanced Search Options part disappears when you click Hide and appears when you click Show. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex 2 ActionScript and MXML Reference
This still doesn't appear to be up... any word from the Adobe folks on when/where we can expect this to appear? Thanks, Brendan --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Two possibilities: 1) we had a crash on a different server but I suppose there's a possibility that the two were linked. Someone is working on that now. 2) we were a little premature in updating the livedocs site for the beta and there's a new unknown url that's meant to replace it coming soon. No idea actually but unfortunately it may not get worked out this weekend. Sorry! The docs should be included in your FB Alpha install (or downloadable separately perhaps). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner Sent: Saturday, January 28, 2006 10:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 ActionScript and MXML Reference Hi, Does anyone know what's happened to this reference? The page is no longer available... http://livedocs.macromedia.com/labs/1/flex/langref/index.html Thanks, Brendan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Problems accessing .NET 2.0 web service
I didn't see it was there. That's absolutely the case. I don't know details about Flex's support for this in 2.0 but I would have to think it's part of the plan. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Tuesday, January 31, 2006 12:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problems accessing .NET 2.0 web service The WSDL is at the bottom of the original message. Given that there are tags using the SOAP12 namespace, I think your guess is right. Thanks. Tobias. --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: This is likely using the WSDL 1.2 specification in which case the Flex client cannot currently communicate with it. If you post the WSDL, I can verify this. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Tuesday, January 31, 2006 8:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems accessing .NET 2.0 web service Hello everyone; I'm having dificulty accessing a web service using ws:WebService. The service was created using .NET 2.0 and Windows Communication Foundation. It's hosted on my local machine. A client written in C# has no problem accessing it. When accessed through a small Flex 2.0 application, the fault handler is invoked with this message: There are no valid ports in the WSDL file for the JobHierarchyService service. I've run the Restaurant example project to confirm that web services work on my machine. I'm new to Flash and Flex and would appreciate any help. Thanks. Tobias. Here's the relevant code: var ws:WebService = new WebService(); ws.wsdl = http://localhost:8080/JobHierarchyService?wsdl;; ws.fetchWSDL(); ws.addEventListener(result, wsResult); ws.addEventListener(fault, wsFault); var call : Object = ws.Echo( Hello World ); Here's the debug trace: [SWF] /Flash/WebService1-debug.swf - 1,016,919 bytes after decompression Registering schema namespace: http://www.w3.org/1999/XMLSchema Registering schema namespace: http://www.w3.org/2000/10/XMLSchema Registering schema namespace: http://www.w3.org/2001/XMLSchema Registering schema namespace: http://schemas.xmlsoap.org/soap/encoding/ Registering schema namespace: http://xml.apache.org/xml-soap Registering schema namespace: http://rpc.xml.coldfusion Creating WSDL object for http://localhost:8080/JobHierarchyService? wsdl Fetching document http://localhost:8080/JobHierarchyService?wsdl for destination 'defaultHttp' Creating SOAP Operation for Echo Queueing SOAP operation Echo Processing imports Parsing schemas Done parsing schemas: 0 ms Fetching document http://localhost:8080/JobHierarchyService? wsdl=wsdl1 for destination 'defaultHttp' Processing imports Parsing schemas Registering schema namespace: http://kodak.com/WPE/Dashboard/JobServer/Imports Done parsing schemas: 1 ms Done processing imports: 258 ms Parsing services Parsing individual services Parsing service: JobHierarchyService Parsed service: 1 ms Done parsing services: 3 ms WSDL parse took 263 ms WSDL loaded Faulting previously queued operation calls Echo Service stub found fault upon receiving WSDL (http://localhost:8080/JobHierarchyService?wsdl): There are no valid ports in the WSDL file for the JobHierarchyService service. [UnloadSWF] /Flash/WebService1-debug.swf Here's the WSDL: ?xml version=1.0 encoding=utf-8 ? - wsdl:definitions name=JobHierarchyService targetNamespace=http://tempuri.org/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:i0=http://kodak.com/WPE/Dashboard/JobServer; xmlns:tns=http://tempuri.org/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing; xmlns:ci=http://schemas.microsoft.com/ws/2005/01/WSDL/Extensions/Con tractInheritance xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:wsx=http://schemas.xmlsoap.org/ws/2004/09/mex; xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- wssecurity-utility-1.0.xsd xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; - wsp:Policy wsu:Id=WSHttpBinding_IJobHierarchyService_policy - wsp:ExactlyOne - wsp:All - sp:SymmetricBinding xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy; - wsp:Policy - sp:ProtectionToken - wsp:Policy -
[flexcoders] Free Flex???
There is an article on news.com that says the following. Adobe is introducing a free, basic software developers kit which includes the Flex Framework, compiler and documentation. The Flex Builder development tool costs $1,000 per developer. The link is here. http://news.com.com/Adobe+to+release+Flex+beta/2100-1012_3-6033462.html?tag=nefd.hed Is this true? If so what will the difference be between the $1000 flex and the free version. Regards Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Free Flex???
This is basically flex development without the Flex Builder tool or the Enterprise Services. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Tuesday, January 31, 2006 1:07 PM To: flexcoders@yahoogroups.com; Flashcoders mailing list Subject: [flexcoders] Free Flex??? There is an article on news.com that says the following. Adobe is introducing a free, basic software developers kit which includes the Flex Framework, compiler and documentation. The Flex Builder development tool costs $1,000 per developer. The link is here. http://news.com.com/Adobe+to+release+Flex+beta/2100-1012_3-6033462.html? tag=nefd.hed Is this true? If so what will the difference be between the $1000 flex and the free version. Regards Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Reusable CellRenderer
The terms "reusable" and "cellrenderer" are not mutually exclusive, sorry. I've never had a project where I didn't write a new cellreneder for each DataGrid. They are like finely crafted food dishes; each is unique and takes time, love, and care. Granted, things like getCellLabel and getCellIndex help, but um... they are just so you feel better not hardcoding values from the outside so the cellrenderer works. A cellrenderer that represents a boolean value that your server-side makes is still a cellrenderer created for that sole purpose. Yes, you can re-use code, but I wouldn't fret over it. Your code is correct, so it must be how your cellrenderer is getting the data to popuplate in the setValue function, or your class isn't getting compiled into the SWF. Do: import YourClass; and then ensure it's in the SWF: private var dependYourClass:YourClass; Your cellrenderer code itself looks correct. However, you don't populate cellrenderers with data, you populate the controls (List, DataGrid, Tree, etc.) with the dataProvider, and the cellrenderer gets the data. - Original Message - From: Jason Doyle To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 2:09 PM Subject: [flexcoders] Reusable CellRenderer I would like to create a reusable cellRenderer that I can use on multiple columns in a dataGrid. But I am having a hrad time wrapping my brain around it. First, how would you call the same cellRenderer for each column but populate it with different data for each? I have tried to assign the cellReneder in actionscript like, dataGrid.getColumnAt(7).cellRenderer = "comboBoxCellRenderer"; and then set a dataProvider variable in the renderer but I cannot get that to work. Even if I set the cell renderer with mxml I can only get the dataProvider variable to populate the cellRenderer if I pass it a hard coded object. If I pass it an object being coming in from a web service, it doesn't work. I think that has something to do with timing. LIke the cellRenderer gets created before the data come back from the WS. Any help in the right direction would be appreciated.Here is some of the code... !//comboBoxcellRenderer.mxml (From http://www.richinternetapps.com/archives/72.html)!mx:Canvas borderStyle="none" xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Script![CDATA[ import mx.controls.*; import com.iterationtwo.cairngorm.control.*; var combo : ComboBox; var comboLabel : Label; var listOwner : Object; // the reference we receive to the list var getCellIndex : Function; // the function we receive from the list var getDataLabel : Function; // the function we receive from the list var selectedItem : Object; static var dataProvider; // function createChildren(Void) : Void { super.createChildren(); createClassObject( Label, "comboLabel", 1, { styleName:this, owner:this } ); createClassObject( ComboBox, "combo", 2, { styleName:this, owner:this, selectable:true, editable:true } ); combo.addEventListener( "change", this ); combo.addEventListener( "enter", this ); combo.dataProvider = comboBoxCellRenderer.dataProvider; combo.setStyle( "backgroundColor", getStyle( "selectionColor" ) ); size(); }// function size( Void ) : Void { combo.setSize( width, 20 ); comboLabel.setSize( width, 20 ); }// function setValue( str : String, item : Object, selection : String ) : Void{ combo.dataProvider = comboBoxCellRenderer.dataProvider; combo.labelField = 'PERSONNELFULLNAME'; if ( item == undefined ){ comboLabel.visible = false; combo.visible = false; return; } if ( selection == "normal" || selection == "highlighted" ){ comboLabel.text = item[ getDataLabel() ]; combo.visible = false; comboLabel.visible = true; } else if ( selection == "selected" ){ selectedItem = item; for( var i = 0; i combo.dataProvider.length; i++ ){ if( combo.dataProvider[i] == item[ getDataLabel() ] ){ combo.selectedIndex = i; break; } } comboLabel.visible = false; combo.visible = true; combo.setFocus( false ); } }// function getPreferredHeight( Void ) : Number{ return 20; } // function getPreferredWidth( Void ) : Number{ return 125; }// function reorder( datos : Array, choice : String ) : Array{ var index:Number = 0 var newArray = new Array() for( var i=0; i datos.length; i++ ) { if( datos[i].label != choice ) { index++; newArray[index] = datos[i]; } else { newArray[0] = datos[i]; } } return newArray; }// function change(){
[flexcoders] Dynamic tab event label problem
My problem is I don't know how to gather the label using the event object however not using the event is fine too. Can you tabDetails.selectedItem.label as well. // My Dynamic tab var newTab = tabDetails.createChildWithStyles(chatPanel2, 'HelloTab' + hello, { label:'HelloTab' + hello, title:'winTitle', height:200, width:550, fred:42 }); //My event Listener newTab.addEventListener(click, mx.utils.Delegate.create(this, onClick)); My problem is I don't know how to gather the label. function onClick(event) { debugTxt.text += onClick: event.target + event.target + event + event.target.label + \r; } Is there a way dump the event object or find out what the user clicked on? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Free Flex???
I would think about 1000$ :) Cynical; I know, but funny just the same Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de hank williamsEnvoyé: mardi 31 janvier 2006 22:07À: flexcoders@yahoogroups.com; Flashcoders mailing listObjet: [flexcoders] Free Flex???There is an article on news.com that says the following."Adobe is introducing a free, basic software developers kit whichincludes the Flex Framework, compiler and documentation. The FlexBuilder development tool costs $1,000 per developer."The link is here.http://news.com.com/Adobe+to+release+Flex+beta/2100-1012_3-6033462.html?tag=nefd.hedIs this true? If so what will the difference be between the $1000 flexand the free version.RegardsHank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Free Flex???
omg, the heavens have spoken! On 1/31/06, hank williams [EMAIL PROTECTED] wrote: There is an article on news.com that says the following.Adobe is introducing a free, basic software developers kit which includes the Flex Framework, compiler and documentation. The FlexBuilder development tool costs $1,000 per developer.The link is here. http://news.com.com/Adobe+to+release+Flex+beta/2100-1012_3-6033462.html?tag=nefd.hedIs this true? If so what will the difference be between the $1000 flexand the free version.RegardsHank --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Vertical Text on a button
The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle(embedFonts, true); yourButton.setStyle(fontFamily, Verdana); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: jgraham_us [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Free Flex???
The beta of Flex 2.0 is scheduled to be available for download on Wednesday from the Adobe Labs Web site, along with Adobe Flash Player 8.5. A final version of Flex 2.0 is due in the second quarter this year. Wednesday? This Wednesday??? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Dominick Accattato Sent: Tue 31-Jan-06 9:28 PM To: flexcoders@yahoogroups.com Cc: Flashcoders mailing list Subject: Re: [flexcoders] Free Flex??? omg, the heavens have spoken! On 1/31/06, hank williams [EMAIL PROTECTED] wrote: There is an article on news.com that says the following. Adobe is introducing a free, basic software developers kit which includes the Flex Framework, compiler and documentation. The Flex Builder development tool costs $1,000 per developer. The link is here. http://news.com.com/Adobe+to+release+Flex+beta/2100-1012_3-6033462.html?tag=nefd.hed Is this true? If so what will the difference be between the $1000 flex and the free version. Regards Hank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
Re: [flexcoders] Free Flex???
Bravo to adobe.On 1/31/06, Carson Hager [EMAIL PROTECTED] wrote: This is basically flex development without the Flex Builder tool or theEnterprise Services. CarsonCarson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office:866-CYNERGYMobile: 1.703.489.6466-Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of hank williamsSent: Tuesday, January 31, 2006 1:07 PMTo: flexcoders@yahoogroups.com; Flashcoders mailing listSubject: [flexcoders] Free Flex??? There is an article on news.com that says the following.Adobe is introducing a free, basic software developers kit whichincludes the Flex Framework, compiler and documentation. The Flex Builder development tool costs $1,000 per developer.The link is here.http://news.com.com/Adobe+to+release+Flex+beta/2100-1012_3-6033462.html ?tag=nefd.hedIs this true? If so what will the difference be between the $1000 flexand the free version.RegardsHank--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Free Flex???
João Fernandes wrote: The beta of Flex 2.0 is scheduled to be available for download on Wednesday from the Adobe Labs Web site, along with Adobe Flash Player 8.5. A final version of Flex 2.0 is due in the second quarter this year. Cool... Flash Player 8.5 in the Adobe brand :-) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Dynamic tab event label problem
Every event has two things; target and type. These are the who and what of the event. Depending upon the event, there may be other properties that you can access as well. Who dispatched the event is 'event.target'. What type of event was dispatched is 'event.type'. I assume this is Flex 1.5 development because you're still using the Delegate class in your event dispatcher? To dump the properties of an object, you would do something like: for (var i in obj) where 'i' is the property and 'obj' is the object. Or you could use some of the debugging tools like Inspect Window by Christophe Coenraets http://coenraets.com/index.jsp or the Echo Console from the FAST framework http://www.macromedia.com/devnet/flex/articles/fast_userguide.html. HTH Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Plesse Sent: Tuesday, January 31, 2006 2:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic tab event label problem My problem is I don't know how to gather the label using the event object however not using the event is fine too. Can you tabDetails.selectedItem.label as well. // My Dynamic tab var newTab = tabDetails.createChildWithStyles(chatPanel2, 'HelloTab' + hello, { label:'HelloTab' + hello, title:'winTitle', height:200, width:550, fred:42 }); //My event Listener newTab.addEventListener(click, mx.utils.Delegate.create(this, onClick)); My problem is I don't know how to gather the label. function onClick(event) { debugTxt.text += onClick: event.target + event.target + event + event.target.label + \r; } Is there a way dump the event object or find out what the user clicked on? 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Free Flex???
There were rumblings about this but I have to say I'm surprised to see it actually happen. We'll have to see if someone from Adobe will officially corroborate this news. C Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint ModienSent: Tuesday, January 31, 2006 1:54 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Free Flex??? Bravo to adobe. On 1/31/06, Carson Hager [EMAIL PROTECTED] wrote: This is basically flex development without the Flex Builder tool or theEnterprise Services. CarsonCarson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office:866-CYNERGYMobile: 1.703.489.6466-Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of hank williamsSent: Tuesday, January 31, 2006 1:07 PMTo: flexcoders@yahoogroups.com; Flashcoders mailing listSubject: [flexcoders] Free Flex??? There is an article on news.com that says the following."Adobe is introducing a free, basic software developers kit whichincludes the Flex Framework, compiler and documentation. The Flex Builder development tool costs $1,000 per developer."The link is here.http://news.com.com/Adobe+to+release+Flex+beta/2100-1012_3-6033462.html ?tag=nefd.hedIs this true? If so what will the difference be between the $1000 flexand the free version.RegardsHank--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: FlashServices/Gateway
If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfcIf you do that, you can now call the CFC as a remote object:mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway source=remote.RemoteService/The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRunflashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access http://server/flashservices/gateway. The server is CF. Please let me know how to fix it. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 209.275.0482 Fax : 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
[flexcoders] How do you get the tab label using change event and tabbar.selectedChild
How do you get the tab label using change event and tabbar.selectedChild? // the eventListenr tabDetails.addEventListener(change, mx.utils.Delegate.create(this, onChange)); // the function function onChange(event){ debugTxt.text += line 26 tabbar.selectedChild: == + tabDetails.selectedChild + \r; } // the output obj0 seems to be tab 1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How do you get the tab label using change event and tabbar.selectedChild
Have you tried selectedChild.label or selectedChild.text? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Plesse Sent: Tuesday, January 31, 2006 5:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do you get the tab label using change event and tabbar.selectedChild How do you get the tab label using change event and tabbar.selectedChild? // the eventListenr tabDetails.addEventListener(change, mx.utils.Delegate.create(this, onChange)); // the function function onChange(event){ debugTxt.text += line 26 tabbar.selectedChild: == + tabDetails.selectedChild + \r; } // the output obj0 seems to be tab 1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Resizing Panel child components when ControlBar is resized
On 2/1/06, douglowder [EMAIL PROTECTED] wrote: What I want, but haven't been able to get working, is for the rest of the panel to expand to fill the empty space when the control bar is collapsed, and to shrink so that nothing is obscured when the control bar is expanded. That currently does not happen. Exactly this works for me. Maybe it's because I'm on a development build of Flex 1.5 :-/ (Could someone else confirm?) Also, try hiding and then showing the advanced options. Now when the browser window is resized, the advanced options area no longer resizes to the available width. It's as if it has lost its 100% width setting. I don't see this behaviour either. The Advanced Options area is always the width of the Panel (even after resizing the browser window). -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Dynamic tab event label problem
Thanks Rob, Reading the docs I found out it was the change event and past code said to use tabDetails.selectedChild. so I added this tabDetails.addEventListener(change, mx.utils.Delegate.create(this, onChange)); The feedbacks looks like _level0.mainPanel._obj0.VBBOX.tabDetails._obj0 _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 I am guessing _obj0, _obj1 and HelloTab0 has label properties? Thanks Dan --- In flexcoders@yahoogroups.com, Rob Rusher [EMAIL PROTECTED] wrote: Every event has two things; target and type. These are the who and what of the event. Depending upon the event, there may be other properties that you can access as well. Who dispatched the event is 'event.target'. What type of event was dispatched is 'event.type'. I assume this is Flex 1.5 development because you're still using the Delegate class in your event dispatcher? To dump the properties of an object, you would do something like: for (var i in obj) where 'i' is the property and 'obj' is the object. Or you could use some of the debugging tools like Inspect Window by Christophe Coenraets http://coenraets.com/index.jsp or the Echo Console from the FAST framework http://www.macromedia.com/devnet/flex/articles/fast_userguide.html. HTH Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Plesse Sent: Tuesday, January 31, 2006 2:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic tab event label problem My problem is I don't know how to gather the label using the event object however not using the event is fine too. Can you tabDetails.selectedItem.label as well. // My Dynamic tab var newTab = tabDetails.createChildWithStyles(chatPanel2, 'HelloTab' + hello, { label:'HelloTab' + hello, title:'winTitle', height:200, width:550, fred:42 }); //My event Listener newTab.addEventListener(click, mx.utils.Delegate.create(this, onClick)); My problem is I don't know how to gather the label. function onClick(event) { debugTxt.text += onClick: event.target + event.target + event + event.target.label + \r; } Is there a way dump the event object or find out what the user clicked on? 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] flashpaper embedded in Flex 2.0
We have had a bug open in our bugbase that the controls in Flash paper dont work in Flex 2.0. Im not sure the bug has been investigated yet, but we are aware of the issue. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dominick Accattato Sent: Tuesday, January 31, 2006 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flashpaper embedded in Flex 2.0 I noticed that the Flex2.0documentation has a chapter dedicated to using Flashpaper with Flex 2.0. However, the chapter is still not written. Has anyone had success loading Flashpaper into a Flex 2.0 application. I've loaded it in but the following were not working: print button as no functionality zoom slider does not work hand cursor does not scroll when used with a draggable HBox, all hell breaks loose. and theres probably other things too. My first thoughts are that the flashpaper has AS 2.0, or AS 1.0 in it and that could be causing the problem. But I thought the 8.5 player could run both virtual machines at once. Anyway, with our new shiny Flex applications were going to want to embed documents like Flashpaper. Please get back to me! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: How do you get the tab label using change event and tabbar.selectedChild
I just wild guessed tabDetails.selectedChild.label and bingo that was it. Thanks Everyone Dan --- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote: Have you tried selectedChild.label or selectedChild.text? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Plesse Sent: Tuesday, January 31, 2006 5:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do you get the tab label using change event and tabbar.selectedChild How do you get the tab label using change event and tabbar.selectedChild? // the eventListenr tabDetails.addEventListener(change, mx.utils.Delegate.create(this, onChange)); // the function function onChange(event){ debugTxt.text += line 26 tabbar.selectedChild: == + tabDetails.selectedChild + \r; } // the output obj0 seems to be tab 1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How do you get the tab label using change event and tabbar.selectedChild
The event object already has all you need. mx.controls.Alert.show( event.target.getChildAt(event.newValue).label); You can use event.prevValue to get the previously selected tab index. Doug --- In flexcoders@yahoogroups.com, Dan Plesse [EMAIL PROTECTED] wrote: How do you get the tab label using change event and tabbar.selectedChild? // the eventListenr tabDetails.addEventListener(change, mx.utils.Delegate.create (this, onChange)); // the function function onChange(event){ debugTxt.text += line 26 tabbar.selectedChild: == + tabDetails.selectedChild + \r; } // the output obj0 seems to be tab 1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj0 line 26 tabbar.selectedChild: == _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: FlashServices/Gateway
I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc. I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I cant do http://servername/flashservices/gateway. On my other servers, its working just fine and after doing comprehensive comparison, I cant find anything wrong. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRunflashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co nnection.htm but I can't find the connectors.bat files anywhere on the server. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlashServices/Gateway Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol).
Re: [flexcoders] Free Flex???
That just made my week!!Maybe my whole month!!! As far as building environments-didn't sephiroth mention plans to provide a development environment for AS3 and XML? Mani -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FlashServices/Gateway
Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway; source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com mailto:[EMAIL PROTECTED] Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway Http://server/flashservices/gateway be Http://server/{cfcontextRoot}/flashservices/gateway Http://server/%7BcfcontextRoot%7D/flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha [EMAIL
Re: [flexcoders] Free Flex???
Wait there's more- Apparently there's going to be a single server limited free version of the Enterprise Services! More on this at Christian's blog On 1/31/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: That just made my week!!Maybe my whole month!!! As far as building environments-didn't sephiroth mention plans to provide a development environment for AS3 and XML? Mani -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FlashServices/Gateway
Title: RE: [flexcoders] Re: FlashServices/Gateway Should I just do http://servername/amfgateway ? Yeah, the whitelist in the config file is wide open for now. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Tuesday, January 31, 2006 3:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com mailto:[EMAIL PROTECTED] Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the
Re: [flexcoders] Re: FlashServices/Gateway
I'm gonna ask a stupid question, but is the flex server in the crossdomain.xml file in the coldfusion server's webroot? I'm just trying to eliminate possibilities, however trivial.On 1/31/06, João Fernandes [EMAIL PROTECTED] wrote: Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto: flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes Sent: Monday, January 30, 2006 3:30 PM To: flexcoders@yahoogroups.com mailto: [EMAIL PROTECTED]..com Subject: [flexcoders] Re: FlashServices/Gateway To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are they under the same contextRoot or in separate ? if no 2) shouldn't your Http://server/flashservices/gateway Http://server/flashservices/gateway be
RE: [flexcoders] Re: FlashServices/Gateway
Well this shouldn't be a problem since both instances are working for the same FQDN. CF request should be redirected to the CFInstance and mxml should be redirected to the Flex one. It seems that Flex one can't see the /flashservices/gateway (since its only defined for the CFinstance) and that's why I asked agha to point RO calls to the Flex default gateway instead trying to use the coldfusion one. I'm trying also to eliminate possibilities but it doesn't see to be a CF problem since he can process any cfml page or cfc call with no problem. BTW Agha, is there a reason to deploy CF and Flex in 2 different instances? just asking... João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Paul Kenney Sent: Tue 31-Jan-06 11:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway I'm gonna ask a stupid question, but is the flex server in the crossdomain.xml file in the coldfusion server's webroot? I'm just trying to eliminate possibilities, however trivial. On 1/31/06, João Fernandes [EMAIL PROTECTED] wrote: Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway; source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha, is the CFC located under the IIS webroot? On 1/30/06, João Fernandes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO pointing to /flashservices/gateway ? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Mon 30-Jan-06 11:36 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF
RE: [flexcoders] Re: FlashServices/Gateway
Title: RE: [flexcoders] Re: FlashServices/Gateway Yeah, Actually, we have Intranet and Internet both running CF as separate instances. Both of them share some of the same Flex apps. This configuration is standard on two of our servers running in a cluster. The code for all three instances is stored on a separate server SAN so that there's no chance of servers being out of sync. It all works great and there are no issues. The first server I configured runs fine without any problems and this server has exactly the same configuration and it chokes on flex to cf integration. I might need to reconfigure this one since it's taken ridiculously longer to fix this issue. Paul, yes, the crossdomain.xml is right there. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Tuesday, January 31, 2006 3:46 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway Well this shouldn't be a problem since both instances are working for the same FQDN. CF request should be redirected to the CFInstance and mxml should be redirected to the Flex one. It seems that Flex one can't see the /flashservices/gateway (since its only defined for the CFinstance) and that's why I asked agha to point RO calls to the Flex default gateway instead trying to use the coldfusion one. I'm trying also to eliminate possibilities but it doesn't see to be a CF problem since he can process any cfml page or cfc call with no problem. BTW Agha, is there a reason to deploy CF and Flex in 2 different instances? just asking... João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Paul Kenney Sent: Tue 31-Jan-06 11:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway I'm gonna ask a stupid question, but is the flex server in the crossdomain.xml file in the coldfusion server's webroot? I'm just trying to eliminate possibilities, however trivial. On 1/31/06, João Fernandes [EMAIL PROTECTED] wrote: Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Monday, January 30, 2006 9:21 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Agha,
RE: [flexcoders] Free Flex???
This is amazing ! Free Limited FES will really mark a new step of application deployment over the web for those with lower budgets. This is not a problem for me but I know many that Flex pricing was a huge problem and maybe this free version can be enough for them. Adobe, Thank You ! João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Manuel Saint-Victor Sent: Tue 31-Jan-06 11:38 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Free Flex??? Wait there's more- Apparently there's going to be a single server limited free version of the Enterprise Services! More on this at Christian's bloghttp://weblogs.macromedia.com/cantrell/archives/2006/01/flex_beta_2_and.cfm On 1/31/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: That just made my week!!Maybe my whole month!!! As far as building environments-didn't sephiroth http://www.sephiroth.it/python/sepy.php mention plans to provide a development environment for AS3 and XML? Mani -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
RE: [flexcoders] Free Flex???
Hey guys, The news on "free Flex" is officially corroborated - there are a bunch of blog-postings from Adobe employees that will give you the back story: Christian Cantrell - http://weblogs.macromedia.com/cantrell/archives/2006/01/flex_beta_2_and.cfm Danny Dura - http://www.danieldura.com/archive/its-true---a-free-flex-sdk Mark Anders - http://www.andersblog.com/archives/2006/01/free_flex_frame.html In addition, we've announced that the public beta of Flex 2 will ship Wednesday (today where I come from, tomorrow where many of you come from) and that (big big drum roll) it's going to include the new Flex Enterprise Services (FES). Don't make plans for the weekend. Enjoy ;) Steven PS. We'll confirm the Cairngorm 2.0 alpha build against the snapshot build that you guys get, and get something to you ASAP. Steven WebsterPractice Director (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Free Flex???
To me, Flex 2 without Cairngorm 2 doesn't make much sense ;) João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Steven Webster Sent: Wed 01-Feb-06 12:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Free Flex??? Hey guys, The news on free Flex is officially corroborated - there are a bunch of blog-postings from Adobe employees that will give you the back story: * Christian Cantrell - http://weblogs.macromedia.com/cantrell/archives/2006/01/flex_beta_2_and. cfm * Danny Dura - http://www.danieldura.com/archive/its-true---a-free-flex-sdk * Mark Anders - http://www.andersblog.com/archives/2006/01/free_flex_frame.html In addition, we've announced that the public beta of Flex 2 will ship Wednesday (today where I come from, tomorrow where many of you come from) and that (big big drum roll) it's going to include the new Flex Enterprise Services (FES). Don't make plans for the weekend. Enjoy ;) Steven PS. We'll confirm the Cairngorm 2.0 alpha build against the snapshot build that you guys get, and get something to you ASAP. Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
Re: [flexcoders] Free Flex???
How many connections? How many connections?How many connections?:)On 1/31/06, Steven Webster [EMAIL PROTECTED] wrote: Hey guys, The news on free Flex is officially corroborated - there are a bunch of blog-postings from Adobe employees that will give you the back story: Christian Cantrell - http://weblogs.macromedia.com/cantrell/archives/2006/01/flex_beta_2_and.cfm Danny Dura - http://www.danieldura.com/archive/its-true---a-free-flex-sdk Mark Anders - http://www.andersblog.com/archives/2006/01/free_flex_frame.html In addition, we've announced that the public beta of Flex 2 will ship Wednesday (today where I come from, tomorrow where many of you come from) and that (big big drum roll) it's going to include the new Flex Enterprise Services (FES). Don't make plans for the weekend. Enjoy ;) Steven PS. We'll confirm the Cairngorm 2.0 alpha build against the snapshot build that you guys get, and get something to you ASAP. Steven WebsterPractice Director (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FlashServices/Gateway
Well I didn't know that since I always deployed CF + Flex under the same instance (and then created clusters of it). I tought under IIS, if you pointed your mappings to the correct /lib/wsconfig/x/Jrun.dll you could have 2 mappings; the flex one /lib/wsconfig/x/Jrun.dll and the cf on /lib/wsconfig/y/Jrun.dll and each of those jrun.ini configured to the correspondant bootstrap. I never tried but since it's how the mappings work, I tought it could be possible. João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Paul Kenney Sent: Wed 01-Feb-06 12:24 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Since Flex and CF are running on separate instances, then they must be mapped to different IIS websites, and therefore the two sites must have different hostnames. Each IIS site can only talk to a single JRun (or other java app server) instance, but one instance can have multiple sites mapped to it. On 1/31/06, João Fernandes [EMAIL PROTECTED] wrote: Well this shouldn't be a problem since both instances are working for the same FQDN. CF request should be redirected to the CFInstance and mxml should be redirected to the Flex one. It seems that Flex one can't see the /flashservices/gateway (since its only defined for the CFinstance) and that's why I asked agha to point RO calls to the Flex default gateway instead trying to use the coldfusion one. I'm trying also to eliminate possibilities but it doesn't see to be a CF problem since he can process any cfml page or cfc call with no problem. BTW Agha, is there a reason to deploy CF and Flex in 2 different instances? just asking... João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Paul Kenney Sent: Tue 31-Jan-06 11:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway I'm gonna ask a stupid question, but is the flex server in the crossdomain.xml file in the coldfusion server's webroot? I'm just trying to eliminate possibilities, however trivial. On 1/31/06, João Fernandes [EMAIL PROTECTED] wrote: Give a try using /amfgateway instead of /flashservices/gateway or maybe your flex instance can't see the /mappedName so it can't connect to the right folder. BTW, You have changed your remoteObject whitelist right? João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Tue 31-Jan-06 10:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway I can get to it if I browse to the same cfc. http://servername/mappedName/services/app/service.cfc http://servername/mappedName/services/app/service.cfc . I can also execute it from CF code. The problem is that Flash Remoting is not configuring properly since I can't do http://servername/flashservices/gateway http://servername/flashservices/gateway . On my other servers, it's working just fine and after doing comprehensive comparison, I can't find anything wrong. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway If the mapped path to the CFC was /remote/RemoteService.cfc, then move the CFC to a directory under the webroot with the same path. You should be able to get to it via a browser: http://servername/remote/RemoteService.cfc http://servername/remote/RemoteService.cfc If you do that, you can now call the CFC as a remote object: mx:RemoteObject id=remote endpoint= http://servername/flashservices/gateway http://servername/flashservices/gateway; source=remote.RemoteService/ The key to it all is that the CFC must be under the webroot. On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Flashgateway.ear is not deployed. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Peter Farland Sent: Tuesday, January 31, 2006 8:50 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FlashServices/Gateway If you're deploying CF and Flex on top of JRun, make sure the JRun flashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. _ From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:
Re: [flexcoders] Free Flex???
On 2/1/06, João Fernandes [EMAIL PROTECTED] wrote: To me, Flex 2 without Cairngorm 2 doesn't make much sense ;) Why? Are you saying the current version of Cairngorm won't work with Flex 2? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Free Flex???
Never said that, But I'm quite sure that there are a lot of changes between 0.99 and 2.0. -Original Message- From: flexcoders@yahoogroups.com on behalf of Chris Velevitch Sent: Wed 01-Feb-06 1:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Free Flex??? On 2/1/06, João Fernandes [EMAIL PROTECTED] wrote: To me, Flex 2 without Cairngorm 2 doesn't make much sense ;) Why? Are you saying the current version of Cairngorm won't work with Flex 2? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
[flexcoders] Sweet Jesus it's out
Flex beta now available!!!It's out!!! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Sweet Jesus it's out
Yeaaa already at 35% of all of it... I can go sleep now ;) BTW, View Source looks very good. -Original Message- From: flexcoders@yahoogroups.com on behalf of Manuel Saint-Victor Sent: Wed 01-Feb-06 2:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sweet Jesus it's out Flex beta now available!!!It's out!!! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
[flexcoders] Whats flex beta
I heard from a post that it is out I mean I figured it was some kind of software can someone lead me to what it is and where I can get it please? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Whats flex beta
http://labs.macromedia.com/flexproductline/Get it quick before the servers melt :)SpikeOn 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I heard from a post that it is out I mean I figured it was some kind of software can someone lead me to what it is and where I can get it please? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Stephen MilliganDo you do the Badger?http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Whats flex beta
Spkie- I think I smell smoke- mine got stuck twice because my ADD lead me to go poking at my download in firefox and accidentally cancelling itStill downloading! On 1/31/06, Spike [EMAIL PROTECTED] wrote: http://labs.macromedia.com/flexproductline/Get it quick before the servers melt :) SpikeOn 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I heard from a post that it is out I mean I figured it was some kind of software can someone lead me to what it is and where I can get it please? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Stephen MilliganDo you do the Badger? http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Whats flex beta
Is Flex beta free? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Whats flex beta
Yeah man, click the links and go grab a Red Bull. - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 10:13 PM Subject: Re: [flexcoders] Whats flex beta Is Flex beta free? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Free Flex???
You can't bind to statics, so ModelLocator is f00ked, but I think that's already fixed. Because of the changes in AS3, they had to modify some stuff... all for the better. - Original Message - From: Chris Velevitch [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 8:51 PM Subject: Re: [flexcoders] Free Flex??? On 2/1/06, João Fernandes [EMAIL PROTECTED] wrote: To me, Flex 2 without Cairngorm 2 doesn't make much sense ;) Why? Are you saying the current version of Cairngorm won't work with Flex 2? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Whats flex beta
As far as I'm aware it's free for anyone to download. Once you login or register for a Macromedia ID I think you should be able to get directly to the downloads without doing anything else. Spike On 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is Flex beta free? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Stephen Milligan Do you do the Badger? http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Free Flex???
On 2/1/06, João Fernandes [EMAIL PROTECTED] wrote: Never said that, But I'm quite sure that there are a lot of changes between 0.99 and 2.0. So, will 2.0 be available? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: FlashServices/Gateway
On 1/31/06, Mehdi, Agha [EMAIL PROTECTED] wrote: Ok, so here's the progress note. I put the CFC under web root as Paul suggested and it started to work from flex. Flashservices/gateway still doesn't work but at least the service is running, which has confused me even more because on my other server, I don't have the cfc's under web root and it works fine with the mapping.So, if its working for Flex, what exactly is not working that needs to work? Also, if you are connecting to a CF server that has a different hostname, you have to use http://{cfhostname}/{contextroot}/flashservices/gateway as the endpoint. Using /amfgateway as the endpoint will send the request to the Flex server and that only works when using remote Java objects located on the Flex server and doesn't work for CFCs. Paul, I didn't really understand your post. My single Flex instance mapped to its corresponding IIS site can communicate with both CF instances each of them mapped to it's own IIS site. Is that what you meant?Not really. What I was really stating is that a single CF instance can have multiple IIS sites pointing at it, while a single IIS site can only point at one CF instance (or a one cluster of CF instances). In other words, it is a many-to-one relationship between IIS sites and CF instances (or clusters of instances). Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Kenney Sent: Tuesday, January 31, 2006 4:25 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: FlashServices/Gateway Since Flex and CF are running on separate instances, then they must be mapped to different IIS websites, and therefore the two sites must have different hostnames. Each IIS site can only talk to a single JRun (or other java app server) instance, but one instance can have multiple sites mapped to it. -- Paul Kenney[EMAIL PROTECTED][EMAIL PROTECTED]http://www.pjk.us -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Vertical Text on a button
Just so you know _rotation isn't suppoted, so we're in the ether realms here. If I were you, I'd extend button, and do a _rotation on the init for just the label so things like width and height are relevant. - Original Message - From: Graham, Jason [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 4:48 PM Subject: RE: [flexcoders] Vertical Text on a button The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle(embedFonts, true); yourButton.setStyle(fontFamily, Verdana); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: jgraham_us [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Vertical Text on a button
I'm not sure here, but can't you just make a graphic and use that instead of text on the button? James -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 10:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button Just so you know _rotation isn't suppoted, so we're in the ether realms here. If I were you, I'd extend button, and do a _rotation on the init for just the label so things like width and height are relevant. - Original Message - From: Graham, Jason [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 4:48 PM Subject: RE: [flexcoders] Vertical Text on a button The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle(embedFonts, true); yourButton.setStyle(fontFamily, Verdana); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: jgraham_us [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Using HTTPService to POST complex data
Alaric, I agree that simple types are only supported - the docs you identify, Matt's comments, and my own trial-and-error support that conclusion. My challenge is that the default operation of the server-side application I am trying to communicate with uses the nested form. While in my specific case, I might be able to change the way this works, it seems that it should not be too much to ask for Flex to be able to fully support what is a valid HTTP construct. Interestingly, I know of at least one vendor that defined a class to map seamlessly between a Java data structure and complex HTTP data and made it part of their core APIs. Being able to create a (potentially recursive) hash table worked extremely well and allowed the use of arbitrary depth and hence arbitrarily complex data. Having used this form to stuff highly nested structures like EDI and similar business-to-business documents into HTTP, I can attest that something similar in ActionScript could be extremely useful. Unfortunately, at present it does not appear that the current limitations can be resolved by anyone outside Macromedia. -Mark -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alariccole Sent: Monday, January 30, 2006 1:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using HTTPService to POST complex data The problem is the nested object category.name. You can only pass simple variables, as they're converted to HTTP (e.g. name=Testcommit=Create). As taken from the FB help file: When you use explicit parameter passing, you can specify an object that contains name-value pairs as a send() method parameter. A send() method parameter must be a simple base type; you cannot use complex nested objects because there is no generic way to convert them to name-value pairs. So just change it to something like: mx:request categoryNameTest/categoryName commitCreate/commit /mx:request -Alaric --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Have you tried moving your custom values as the child tags of mx:request to the same namespace by prefixing them with mx: ? Alternatively, have you assigned an id to your HTTPService and then used script to set the request property to an anonymous Object that contains the properties that you want to POST? What do you have set for the contentType? The default should be application/x-www-form-urlencoded which is what you'd want for a form submission. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stuff Sent: Saturday, January 28, 2006 9:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using HTTPService to POST complex data I am trying to emulate an HTML form submission with HTTPService and I seem to be missing something on the construction of the associated request. From the server log of a successful POST I have the following: [POST] Parameters: {commit=Create, category={name=Test}, ...} At present, my request looks like this: mx:request categorynameTest/name/category commitCreate/commit /mx:request ...But that generates a runtime error. I have tried multiple constructs (Arrays, ActionScript, etc.) but I've not been able to hit on the right solution. Does anyone have any suggestions? Thanks, -Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Vertical Text on a button
You could, but graphics aren't dynamic, embedded fonts allows dynamic changing of the buttons' text. - Original Message - From: James [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 11:45 PM Subject: RE: [flexcoders] Vertical Text on a button I'm not sure here, but can't you just make a graphic and use that instead of text on the button? James -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 10:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button Just so you know _rotation isn't suppoted, so we're in the ether realms here. If I were you, I'd extend button, and do a _rotation on the init for just the label so things like width and height are relevant. - Original Message - From: Graham, Jason [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 4:48 PM Subject: RE: [flexcoders] Vertical Text on a button The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle(embedFonts, true); yourButton.setStyle(fontFamily, Verdana); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: jgraham_us [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] header color chnage for inactive popup
hi, am now using a custom titlewondow component... when i have two popups one over the other i want the active popup to have the default headercolor that is set in CSS and for the inactive popup i want the headercolor to change...i use currentPage.setStyle("headerColors","[0xFF, 0xFF]"); to CHANGE THE COLOR OF THE INACTIVE POPUP... here the currentpage refers to the inactive popup... when i run the application the header color changes to black... whatever color i give it displays only black... can anyone tell me where i go worng?thanks, nithya Send instant messages to your online friends http://uk.messenger.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] header color chnage for inactive popup
Give it an array, not a string. So, this: currentPage.setStyle("headerColors","[0xFF, 0xFF]"); Should be: currentPage.setStyle("headerColors", [0xFF, 0xFF]); - Original Message - From: Nithya R To: flexcoders Sent: Wednesday, February 01, 2006 1:27 AM Subject: [flexcoders] header color chnage for inactive popup hi, am now using a custom titlewondow component... when i have two popups one over the other i want the active popup to have the default headercolor that is set in CSS and for the inactive popup i want the headercolor to change... i use currentPage.setStyle("headerColors","[0xFF, 0xFF]"); to CHANGE THE COLOR OF THE INACTIVE POPUP... here the currentpage refers to the inactive popup... when i run the application the header color changes to black... whatever color i give it displays only black... can anyone tell me where i go worng? thanks, nithya Send instant messages to your online friends http://uk.messenger.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.