RE: [flexcoders] DateValidator localization issue
I'm saying that flex should automatically add the internal date format it uses (dd.mm.) on the errormessage, since the internal formatters formatstring is always in English! For finnish or any other language this is no good. -Mika -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: 19. huhtikuuta 2005 13:33 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DateValidator localization issue On 4/20/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Now the problem arises because I'm writing a Flex app in finnish for finnish people and to them the inputFormat looks like pp.kk.. Internally I use dd.mm. for Flex to understand it. The users are wondering what is this dd.mm. that I can't get rid off because flex adds it to the errorMessage. Are you saying that Flex displays it as dd.mm. while it should be displayed as pp.kk. for Finnish? -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links 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] DateValidator localization issue
Correction, the most important word was missing I'm saying that flex should NOT automatically add the internal date format it uses (dd.mm.) on the errormessage, since the internal formatters formatstring is always in English! For finnish or any other language this is no good. -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika Kiljunen Sent: 20. huhtikuuta 2005 9:06 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateValidator localization issue I'm saying that flex should automatically add the internal date format it uses (dd.mm.) on the errormessage, since the internal formatters formatstring is always in English! For finnish or any other language this is no good. -Mika -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani Sent: 19. huhtikuuta 2005 13:33 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DateValidator localization issue On 4/20/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Now the problem arises because I'm writing a Flex app in finnish for finnish people and to them the inputFormat looks like pp.kk.. Internally I use dd.mm. for Flex to understand it. The users are wondering what is this dd.mm. that I can't get rid off because flex adds it to the errorMessage. Are you saying that Flex displays it as dd.mm. while it should be displayed as pp.kk. for Finnish? -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] [flexcoders-URGENT] Wipe effect for repeater objects- Programmatically
Hai! I have been trying to expand a VBox containg details of an Image that is being clicked.. The image is placed in Tile which is inside a repeater.. i have problem in accessing the repeater object.. i tried using the repeaterIndices.. but it doesnt work.. Can anyone help me in this issue please.. please send me the code.. thanks in advance.. Regards, nithya.. The MXML which i tried is: mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script function show(index) { var e = new mx.effects.WipeDown(cart[index]); e.show=true; e.duration = 300; e.playEffect(); } function hide(index){ var f = new mx.effects.WipeUp(cart[index]); f.show=false; f.duration = 300; f.playEffect();} /mx:Script mx:Effect mx:WipeDown name="showCart" show="true" duration="300"/ mx:WipeUp name="hideCart" show="false" duration="300"/ /mx:Effect mx:Model id="catalog" source="../catalog.xml"/ mx:Canvas mx:Tile y="50" width="480" mx:Repeater id="list" dataProvider="{catalog.product}" count="6" mx:VBox mouseOver="show(event.target.repeaterIndices[0])"mouseOut="hide(event.target.repeaterIndices[0])" mx:Image width="75" height="70" source="{list.currentItem.image}"/ mx:VBox id="cart" backgroundColor="#EEF5EE" borderStyle="solid" marginTop="8" marginLeft="8" marginBottom="8" marginRight="8" visible="false" showEffect="showCart" hideEffect="hideCart" mx:Label text="Details:"/ /mx:VBoxmx:Label text="{list.currentItem.name}"/ mx:Label text="${list.currentItem.price}"/ /mx:VBox /mx:Repeater /mx:Tile /mx:Canvas /mx:Application Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DataGrid doublelclick
Hi, i'm not find documentation about double click cell press event into DataGrid? It's possibile please. Thank you in advance. Devis 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] DateValidator localization issue
Ok, I filed that one. I got it fixed for now with your suggested fix. Thanx Matt (again)! -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: 19. huhtikuuta 2005 15:38 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateValidator localization issue OK, thats an annoying bug I can imagine, please file it at http://www.macromedia.com/go/wish. I think you will need to subclass DateValidator to get around it but you could do it like so: Class MyDateValidator extends mx.validators.DateValidator { public function validationError(errorCode:String, defaultMessage:String, subfield:String):Void { If (errorCode == wrongLength) defaultMessage = yourTranslatedMessage; super.validationError(errorCode, defaultMessage, subfield); } } Only thing you need to do is catch the wrongLength error and re-write the error message yourself. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Tuesday, April 19, 2005 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateValidator localization issue Hi, There seems to be a localization problem with the date validator. If you set the wrongLengthError property for the validator like Please enter date in the correct form and also provide the inputFormat property like dd.mm.. The validator validates the date properly and sets the error message correctly but it also sets the inputFormat after the wrongLengthError so the errormessage looks like Please enter date in the correct form dd.mm. Now the problem arises because Im writing a Flex app in finnish for finnish people and to them the inputFormat looks like pp.kk.. Internally I use dd.mm. for Flex to understand it. The users are wondering what is this dd.mm. that I cant get rid off because flex adds it to the errorMessage Please remove the inputFormat from the wrongLengthError errorstring on Flex 2.0 or provide another property that can be used as the label for the inputFormat !!! Is there any way out other than to write my own DateValidator? -Mika Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] DataGrid doublelclick
ok thank devis Abdul Qabiz ha scritto: Devis, There is no doubleClick event in Flex components, but it's quite simple to implement this. If you look at the flexcoders archive, there has been discussion on the same. I could find this thread regarding Double-Click: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg01391.html You can find more at: http://www.mail-archive.com/flexcoders%40yahoogroups.com/ -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 12:36 PM To: Flex Coders Subject: [flexcoders] DataGrid doublelclick Hi, i'm not find documentation about double click cell press event into DataGrid? It's possibile please. Thank you in advance. Devis Yahoo! Groups Links Yahoo! Groups Links 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 to populate tree control from web service re sult (server side java objects)
Hi Manish and Matt Its not simple as you describe . even the documentation does have a bug , i've tried the code from below and the output is [object],[object]. http://livedocs.macromedia.com/flex/15/flex_docs_en/0226.htm let me remind you that my objects are jave objects that come from the server in SOAP and i have no idea what flex does with them , and believe mei tried and read all your documentation . Manish your example is good for Tree that was built on XML and not from objects , cause in my case you would have get [object Object],1,[object Object] my Java objectsare very simple they like this class SystemFile { String fileName; String fileGuid; } class SystemFolder{ String folderName; SystemFolder[] childFolders; SystemFile[] systemFiles; } trying to get to item.folderName didn't work also not item.fileName. i didn't find any way to access my original object members besides backing object , what is wrong here ? thanks Shlomi From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Wednesday, April 20, 2005 00:54To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to populate tree control from web service re sult (server side java objects) Also check out the TreeDataProvider API. You should always use the methods specified in that API when working with either XML or Objects in a Tree or Menu. That way you don't have to worry about backingObject which is an implementation detail purposely not documented. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Tuesday, April 19, 2005 1:10 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to populate tree control from web service re sult (server side java objects) On 4/19/05, Shlomi Cohen [EMAIL PROTECTED] wrote: if i have a function that get a node like this function myLabelFunc(item):String { var type=typeof item; // always return {Object} return item._??? } how do i know which properties the variable 'item' has ? If you're writing a labelFunction for a tree, you're expected to knowthe format of the item so you can construct the label string out ofthe data within the item. For example, I have an item with properties'name' and 'phone' (number), and I want the label to be a combinationof both: mx:Tree labelFunction="makeLabel" / function makeLabel(item):String { return item.name + ": " + item.phone; }makeLabel() is called for every node in the tree.-- [EMAIL PROTECTED]http://manish.revise.org/__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How to populate tree control from web service re sult (server side java objects)
I think that the problem u describe comes from the fast that (as far as i know) a tree canhave a dataProvider wich is a XML object. The tree dataprovider is used to provider an API to modify the xml more easy. In order to use a combination of arrays and objects to fill your tree u need to use a function wich uses the dataProvider API for u. From the top of my head i wrote the code below. Im not sure if its bugfree, but u should get the idea. Maybe macromedia has a better solution than the one i wrote below. Its also possible to comvert your object to xml 1th but in that case the tree component will have to iterate over data structure again to do what the function below does. I hope this helps :) code public function fillTree(node, dataProvider_array, folderKey_str, nodeKey_str, folderName_str, nodeName_str) { for (var i = 0; i dataProvider_array.length; i++) { var currentItem_obj:Object = dataProvider_array[i]; varnodeName_str:String = currentItem_obj[nodeName_str]; if (nodeName_str) { //its a node, not a folder node.addTreeNode(nodeName_str, currentItem_obj); } else { //its a folder nodeName_str = currentItem_obj[folderName_str]; var newNode:XMLNode = node.addTreeNode(nodeName_str, currentItem_obj); fillTree(newNode, currentItem_obj[folderKey_str], folderKey_str, nodeKey_str, folderName_str, nodeName_str); fillTree(newNode, currentItem_obj[nodeKey_str], folderKey_str, nodeKey_str, folderName_str, nodeName_str); }; }; }; fillTree(myTree.dataProvider, myInfo_array, "childFolders", "systemFiles", "folderName", "fileName"); /code Greetz Erik From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi CohenSent: woensdag 20 april 2005 10:49To: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] How to populate tree control from web service re sult (server side java objects) Hi Manish and Matt Its not simple as you describe . even the documentation does have a bug , i've tried the code from below and the output is [object],[object]. http://livedocs.macromedia.com/flex/15/flex_docs_en/0226.htm let me remind you that my objects are jave objects that come from the server in SOAP and i have no idea what flex does with them , and believe mei tried and read all your documentation . Manish your example is good for Tree that was built on XML and not from objects , cause in my case you would have get [object Object],1,[object Object] my Java objectsare very simple they like this class SystemFile { String fileName; String fileGuid; } class SystemFolder{ String folderName; SystemFolder[] childFolders; SystemFile[] systemFiles; } trying to get to item.folderName didn't work also not item.fileName. i didn't find any way to access my original object members besides backing object , what is wrong here ? thanks Shlomi From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Wednesday, April 20, 2005 00:54To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to populate tree control from web service re sult (server side java objects) Also check out the TreeDataProvider API. You should always use the methods specified in that API when working with either XML or Objects in a Tree or Menu. That way you don't have to worry about backingObject which is an implementation detail purposely not documented. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Tuesday, April 19, 2005 1:10 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to populate tree control from web service re sult (server side java objects) On 4/19/05, Shlomi Cohen [EMAIL PROTECTED] wrote: if i have a function that get a node like this function myLabelFunc(item):String { var type=typeof item; // always return {Object} return item._??? } how do i know which properties the variable 'item' has ? If you're writing a labelFunction for a tree, you're expected to knowthe format of the item so you can construct the label string out ofthe data within the item. For example, I have an item with properties'name' and 'phone' (number), and I want the label to be a combinationof both: mx:Tree labelFunction="makeLabel" / function makeLabel(item):String { return item.name + ": " + item.phone; }makeLabel() is called for every node in the tree.-- [EMAIL PROTECTED]http://manish.revise.org/__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email
RE: [flexcoders] How to populate tree control from web service re sult (server side java objects)
Thanks Erik but i do have a working solution , its just that the macromedia guys say there is a better one without using the backingObject (an object which is attached to a node in the tree) thanks anyway. BTW - the hole issue was about NOT writing a specific method in the client side :-) Shlomi From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik WestraSent: Wednesday, April 20, 2005 13:32To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to populate tree control from web service re sult (server side java objects) I think that the problem u describe comes from the fast that (as far as i know) a tree canhave a dataProvider wich is a XML object. The tree dataprovider is used to provider an API to modify the xml more easy. In order to use a combination of arrays and objects to fill your tree u need to use a function wich uses the dataProvider API for u. From the top of my head i wrote the code below. Im not sure if its bugfree, but u should get the idea. Maybe macromedia has a better solution than the one i wrote below. Its also possible to comvert your object to xml 1th but in that case the tree component will have to iterate over data structure again to do what the function below does. I hope this helps :) code public function fillTree(node, dataProvider_array, folderKey_str, nodeKey_str, folderName_str, nodeName_str) { for (var i = 0; i dataProvider_array.length; i++) { var currentItem_obj:Object = dataProvider_array[i]; varnodeName_str:String = currentItem_obj[nodeName_str]; if (nodeName_str) { //its a node, not a folder node.addTreeNode(nodeName_str, currentItem_obj); } else { //its a folder nodeName_str = currentItem_obj[folderName_str]; var newNode:XMLNode = node.addTreeNode(nodeName_str, currentItem_obj); fillTree(newNode, currentItem_obj[folderKey_str], folderKey_str, nodeKey_str, folderName_str, nodeName_str); fillTree(newNode, currentItem_obj[nodeKey_str], folderKey_str, nodeKey_str, folderName_str, nodeName_str); }; }; }; fillTree(myTree.dataProvider, myInfo_array, "childFolders", "systemFiles", "folderName", "fileName"); /code Greetz Erik From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi CohenSent: woensdag 20 april 2005 10:49To: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] How to populate tree control from web service re sult (server side java objects) Hi Manish and Matt Its not simple as you describe . even the documentation does have a bug , i've tried the code from below and the output is [object],[object]. http://livedocs.macromedia.com/flex/15/flex_docs_en/0226.htm let me remind you that my objects are jave objects that come from the server in SOAP and i have no idea what flex does with them , and believe mei tried and read all your documentation . Manish your example is good for Tree that was built on XML and not from objects , cause in my case you would have get [object Object],1,[object Object] my Java objectsare very simple they like this class SystemFile { String fileName; String fileGuid; } class SystemFolder{ String folderName; SystemFolder[] childFolders; SystemFile[] systemFiles; } trying to get to item.folderName didn't work also not item.fileName. i didn't find any way to access my original object members besides backing object , what is wrong here ? thanks Shlomi From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Wednesday, April 20, 2005 00:54To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to populate tree control from web service re sult (server side java objects) Also check out the TreeDataProvider API. You should always use the methods specified in that API when working with either XML or Objects in a Tree or Menu. That way you don't have to worry about backingObject which is an implementation detail purposely not documented. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Tuesday, April 19, 2005 1:10 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to populate tree control from web service re sult (server side java objects) On 4/19/05, Shlomi Cohen [EMAIL PROTECTED] wrote: if i have a function that get a node like this function myLabelFunc(item):String { var type=typeof item; // always return {Object} return item._??? } how do i know which properties the variable 'item' has ? If you're writing a labelFunction for a tree, you're expected to knowthe format of the item so you can construct the label string out ofthe data within the item. For example, I have an item with properties'name' and 'phone' (number), and I want the label to be a combinationof both: mx:Tree labelFunction="makeLabel" / function makeLabel(item):String { return item.name + ": " + item.phone; }makeLabel() is called for every node in the
RE: [flexcoders] string to xml - datagrid
To create XML from a string u can just do this: var xml:XML = new XML(str); Then u can use an xmlToObject coverter to convert the xml object to an object wich consists of arrays and objects. I believe there is a macromedia utility available for this. Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of core_elements Sent: woensdag 20 april 2005 13:41 To: flexcoders@yahoogroups.com Subject: [flexcoders] string to xml - datagrid Hi I don't know if this is possible. I have an soap-function that returns a string. The content of the string: ticketsticketticketID1/ticketID/ticketticketticketID2/ ticketID/ticket/tickets Of course this is just a string. Is it possible to convert the string to an xml object and then bind that object to a datagrid? I did found this : var xmlStr:String; xmlStr=ticketsService.getTickets.result; var xml:XML; xml=mx.utils.XMLUtil.createXML(xmlStr); but I don't know if this is the right way ... Yahoo! Groups Links 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] Flex NCL
I didn't get mine but that was because I was still setting up the blog. I guess I need to resubmit. Rich On 4/19/05, Scott Barnes [EMAIL PROTECTED] wrote: FYI: Got approved today for my NCL :) Thanks Adobe..err Macromedia? On 4/16/05, Matt Chotin [EMAIL PROTECTED] wrote: I believe the person who reviews the NCL applications is in Newton (so EDT at the moment). Flex now has developers online at all hours since we've got US West Coast (GMT-8), US East Coast (GMT-5), and Bangalore India, GMT+5:30. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 12:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex NCL By the way, do you guys process the NCL in California? Just to know what time zone I should use when checking my emails on a late flex coding session in Paris, France (which is I think 9 hours ahead California). Thanks :) -- François Le Lay http://www.mfworx.com Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links 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] Tile or TileList with resizable children
Is possible to have a tile component or a tileList one, that have item children resizing according to the size of the component itself? Basically I want to dislpay a range of 1 through 4 images and depending on the number of images I want to display them at a size of 100% of the container. So if there is only one image it will fill the container space, with 2 images the space will be divided in 2 columns and each image will take 50% of the space; with 3-4 images instead we will have 2 columns and 2 rows. 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] Charting
Thats nice but I really want to see the structure of the xml files used in the examples at macromedia.com. Anyone from mm have these ? Rich On 4/19/05, Dzafer [EMAIL PROTECTED] wrote: You have here a good example of dynamic charting: http://coenraets.com/viewarticle.jsp?articleId=81 Dzafer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola Sent: Tuesday, April 19, 2005 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Charting I have been looking at the sample charts at http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml and noticed that the xml used for the Misc Techniques and Examples is not posted. Can anyone point me to these xml files? Rich Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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] I am new to programming so bear with me here
I mea just learning flex and its one of the first languages I am learning so here is the question. What is the debug button in Flex builder for I mean I am afraid to press it because I do not want to hurt what I have made. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: setting conditional enabled with AS
Well in theory u could create a function witch lets u bind properties yourself, the problem here is that if u want to bind properties dynamicly u need to know what properties of what objects are bound. From the top of my head this will look something like: private function _propChanged(prop_str:String, oldVal, newVal, data_obj) { data_obj.receivingObj[data_obj.receivingProp] = newVal; return newVal; }; public function bindProperty(receivingProp_str, receiving_obj, sendingProp_str, sending_obj) { sending_obj.watch(sendingProp_str, _propChanged, {receivingProp: receivingProp_str, receivingObj: receiving_obj}); }; Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joe Berkovitz Sent: woensdag 20 april 2005 16:06 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: setting conditional enabled with AS What Darron says is all true: watch() is more general despite its limitations, which one can work around. One must pick one's poison in this case... Anyway, I think this discussion provides one more data point for MM suggesting that AS access to the data binding facility could be helpful. Darron J. Schall wrote: Joe Berkovitz wrote: I don't recommend using watch() as Darron suggested, because you can only have one user of watch() per watched object property. It's better to do what MXML bindings do and listen for change events. The problem is you can only get change events in certain situations. If I have a variable x and I want to know when it changes, I can't say x.addEventListener(modelChanged) because it doesn't exist in any data provider. Not all changes to variables generate change events, which is why we use watch. Watch is the way to catch changes to any variable. Yahoo! Groups Links 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] Charting
Rich, I cannot answer your question, but I have a couple of charting examples and post the XML as well. Feel free to poke around http://www.flexauthority.com/samplesIndex.cfm Jeff http://www.flexauthority.com - Original Message - From: Rich Tretola [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 20, 2005 6:54 AM Subject: Re: [flexcoders] Charting Thats nice but I really want to see the structure of the xml files used in the examples at macromedia.com. Anyone from mm have these ? Rich On 4/19/05, Dzafer [EMAIL PROTECTED] wrote: You have here a good example of dynamic charting: http://coenraets.com/viewarticle.jsp?articleId=81 Dzafer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola Sent: Tuesday, April 19, 2005 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Charting I have been looking at the sample charts at http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml and noticed that the xml used for the Misc Techniques and Examples is not posted. Can anyone point me to these xml files? Rich Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links 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] Flex NCL
Congratulations! Jeff http://www.flexauthority.com - Original Message - From: Scott Barnes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, April 19, 2005 4:26 PM Subject: Re: [flexcoders] Flex NCL FYI: Got approved today for my NCL :) Thanks Adobe..err Macromedia? On 4/16/05, Matt Chotin [EMAIL PROTECTED] wrote: I believe the person who reviews the NCL applications is in Newton (so EDT at the moment). Flex now has developers online at all hours since we've got US West Coast (GMT-8), US East Coast (GMT-5), and Bangalore India, GMT+5:30. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 12:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex NCL By the way, do you guys process the NCL in California? Just to know what time zone I should use when checking my emails on a late flex coding session in Paris, France (which is I think 9 hours ahead California). Thanks :) -- François Le Lay http://www.mfworx.com Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links 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] Creating custom components with Flash
I want to know how to create a custom visual component in Flash that can be used in Flex. However, the extremely brief (and confusing), dead-endentry below is the only one I could find on thistopicin the documentation. Can someone point me to some more helpful information? = In Flex 1.0, you could create custom components for Flex in the Flash development environment. You modified the components in the flexforflash.zip file, and then exported them as SWC files for use in your Flex applications. This workflow has been deprecated for Flex 1.5. You can still create components for Flex using the Flash environment, but Macromedia supports only creating components using the functionality supported in Flash for Flex 1.0 (including Updaters 1 and 2). Do not create new components using the flexforflash.zip file for Flex 1.5 in Flash. This functionality has been deprecated. The flexforflash.zip file is provided for backward-compatibility only. = Kris -- Kristopher Schultz Developer Resource Interactive p: 614.410.2123 www.resource.com Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: I am new to programming so bear with me here
Hi there, first of all welcome to the flex world. Debugger allows you to debug your application. You can set breakpoints to check some values (locals or application wide), you can also watch some values. You can have an overview here :http://www.macromedia.com/devnet/flex/articles/flexbuilder_debugger.html In your result panel you can also monitor network information (webservices, http requests,RO) and know exactly what has been called, what params are sended, what is the result and his format. João Fernandes --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: I mea just learning flex and its one of the first languages I am learning so here is the question. What is the debug button in Flex builder for I mean I am afraid to press it because I do not want to hurt what I have made. 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] TextArea help
Hello to all flex masters Can somebody tell me how to programmatically enter a piece of text into a specific position within a TextArea that already contains a block of text. I have a TextArea containing a block of text. I am trying to insert additional text into an arbitrary position within the already existing block of text. I want to select the text insert position using the MOUSE cursor then click a button to add text to the previously selected position. A code example/snippet would be most helpful. Thanks in advance 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]
This mail had virus and it seems someone's machine is infected... -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 8:37 PMTo: FlexcodersSubject: [flexcoders] Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] show animated image during loading
Hi. I have a 'Loader' component that takes a long time to load. During this delay, I want to play an animated gif to keep the user occupied. Any idea how to do it ? Thanks in advance. Sanjay 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]
The attachment has a trojan virus in it. -- John C. Bland II JDEV Inc. [EMAIL PROTECTED] fax: 480.718.7958 IM: jdevPres http://www.jdevinc.com/ -- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of FlexcodersSent: Wednesday, April 20, 2005 8:07 AMTo: FlexcodersSubject: [flexcoders] Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] capturing an alert response within method that calls alert
I'm sick of having to track temporary variables on an alertHandler method. Let's say I have a method w/ three variables that calls an alert where I wait for a response from the user. Is there any way to pass these variables along into the handler method that gets called when the user clicks Yes or No? Any other approach to get this type of behavior? 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] show animated image during loading
Hi. I have a 'Loader' component that takes a long time to load. During this delay, I want to play an animated gif to keep the user occupied. Any idea how to do it ? Thanks in advance. Sanjay I'm going to assume that your question isn't on the how do I load an image side, but rather specifically regarding animated GIFs. The short answer is, we don't currently support animated GIFs. (I kept hoping to find time to add it, but as nobody was requesting it as a feature, it was hard to prioritize. Sorry!) However, you can use Flash to import the GIF and export a SWF instead. (There may be other tools as well, its a pretty simple conversion.) One of the benefits of using a SWF is that you then have fine-grained control over the frame sequencing; partial loops, events triggered, sound sync, etc. Note of course that if the animation is something that is representable by vectors, you're better off using Flash to create it. The raster data for an animated GIF (even when transcoded into SWF bitmaps) takes a lot more bandwidth than a vector SWF. -Roger Roger Gonzalez mailto:[EMAIL PROTECTED] 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] PopUpManager
I am creating a PopUp with PopUpManager and am trying to automatically close it through a timer function. Code: popUpWindow = QuestionConfirmation( PopUpManager.createPopUp( this, QuestionConfirmation ) ); popUpWindow.centerPopUp( this.main ); QuestionConfirmation is a custom MXML file that has a TitleWindow as the main tag. QuestionConfirmation: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml; title={dvTitle} initialize=createPopup() mx:Script ![CDATA[ [Embed(source=assets/icons/courseNode.png)] var greenCheck:String; [Embed(source=assets/icons/emblem-gear2.png)] var redX:String; var dvTitle = Congradulations!; var correctFlag = true; var intervalNumber:Number; function createPopup( text ) { this.intervalNumber = setInterval( this, interval , 1000 ); } function interval() { clearInterval( this.intervalNumber ); this.deletePopUp(); } ]] /mx:Script mx:HBox width=100% visible={!correctFlag} mx:Spacer width=100%/ mx:Image source={redX}/ mx:Spacer width=100%/ /mx:HBox mx:HBox width=100% visible={correctFlag} mx:Spacer width=100%/ mx:Image source={greenCheck}/ mx:Spacer width=100%/ /mx:HBox /mx:TitleWindow You'll see the setInterval code up above and it works fine, but upon deletePopUp(), the TitleWindow is deleted but leaves a dark grey box behind (like it didn't clear the drop shadow). Is this a bug or am I just missing something here. -- Renaun Erickson Multispan http://www.multispan.com [EMAIL PROTECTED] 702-564-4228 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: DataGrid doublelclick
Here is an example of a DoubleClickTree should be pretty easy to convert over to a DataGrid: #65279;[Event(doubleClick)] class com.mason.core.components.DoubleClickTree extends mx.controls.Tree { var lastClick = 0; var dbLastSelected:Object; var dClick = false; // Required for Delegate. import mx.utils.Delegate; function DoubleClickTree() { addEventListener(change,_doubleClick); } function _doubleClick( event ) { checkDblClick( this.selectedNode ); if( this.getIsBranch( this.selectedNode ) dClick ) { this.setIsOpen( this.selectedNode, (( this.getIsOpen( this.selectedNode ) ) ? false : true), true, true); } if( !this.getIsBranch( this.selectedNode ) dClick ) { dispatchEvent({ type: doubleClick }); } } private function checkDblClick(s) { var clickTime = getTimer(); dClick = ((clickTime-lastClick300) (dbLastSelected == s)); lastClick = clickTime; dbLastSelected = s; } } --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i'm not find documentation about double click cell press event into DataGrid? It's possibile please. Thank you in advance. Devis 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: PopUpManager
A solution to my own question: function interval() { this.setStyle( dropShadow, false ); clearInterval( this.intervalNumber ); doLater( this, deletePopUp ); } But this seems like a hack, and the fact that the dropShadow stays around seems like a bug? Anyone seen this before? 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 to populate tree control from web service re sult (server side java objects)
Meaning i have to implement the TreeDataProviderAPI ? - i thought it wasn't a must and that flex automatically convert my objects to AS objects. Even if i will implement this how can i access my original java object members from AS? can you please shade some light here ? thanks Shlomi From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Wednesday, April 20, 2005 00:54To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to populate tree control from web service re sult (server side java objects) Also check out the TreeDataProvider API. You should always use the methods specified in that API when working with either XML or Objects in a Tree or Menu. That way you don't have to worry about backingObject which is an implementation detail purposely not documented. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Tuesday, April 19, 2005 1:10 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to populate tree control from web service re sult (server side java objects) On 4/19/05, Shlomi Cohen [EMAIL PROTECTED] wrote: if i have a function that get a node like this function myLabelFunc(item):String { var type=typeof item; // always return {Object} return item._??? } how do i know which properties the variable 'item' has ? If you're writing a labelFunction for a tree, you're expected to knowthe format of the item so you can construct the label string out ofthe data within the item. For example, I have an item with properties'name' and 'phone' (number), and I want the label to be a combinationof both: mx:Tree labelFunction="makeLabel" / function makeLabel(item):String { return item.name + ": " + item.phone; }makeLabel() is called for every node in the tree.-- [EMAIL PROTECTED]http://manish.revise.org/__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: PopUpManager
Yes, if you, typically, do a deletePopUp when the event was triggered by the popup itself, there's some kind of reference to the popup kept around. I've found that if I do something like this: function initApp() { popup = PopUpManager.createPopUp(this, TitleWindow, true); popup.addEventListener(click, this); } function click() { doLater(this, removePopUp); } function removePopUp() { popup.deletePopUp(); } It's ok but if I were to immediately remove it, the dropshadow still is there. Anyway, the above works all the time. - Original Message - From: kaibabsowats [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 20, 2005 1:31 PM Subject: [flexcoders] Re: PopUpManager A solution to my own question: function interval() { this.setStyle( dropShadow, false ); clearInterval( this.intervalNumber ); doLater( this, deletePopUp ); } But this seems like a hack, and the fact that the dropShadow stays around seems like a bug? Anyone seen this before? Yahoo! Groups Links 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] Questions, Questions
Hello Everyone, First off I am very, very new to Flex/ActionScript coding like 2 days new, but I am finding this newsgroup to be a great resource. Here is my issue My boss wants an application that will allow the user to drag drop elements into a container, manipulate any elements within the container, and save the positioning data (x/y and height/width) of each child element within the container. I decided to look into Flex as a possible development platform to accomplish these goals, but I am having a hard time finding information. I know I can do the drag drop functionality into the container, but I havent found information on the rest. Here are my questions - Can I reposition elements within the container (using a canvas)? How? Drag drop events? Can I get x/y and height/width information from the items within the container? How? Thanks in advance, David T. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: PopUpManager
Thanks, I'll give it a try. I say a doLater example some where but must have implemented it wrong. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Yes, if you, typically, do a deletePopUp when the event was triggered by the popup itself, there's some kind of reference to the popup kept around. I've found that if I do something like this: function initApp() { popup = PopUpManager.createPopUp(this, TitleWindow, true); popup.addEventListener(click, this); } function click() { doLater(this, removePopUp); } function removePopUp() { popup.deletePopUp(); } It's ok but if I were to immediately remove it, the dropshadow still is there. Anyway, the above works all the time. - Original Message - From: kaibabsowats [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 20, 2005 1:31 PM Subject: [flexcoders] Re: PopUpManager A solution to my own question: function interval() { this.setStyle( dropShadow, false ); clearInterval( this.intervalNumber ); doLater( this, deletePopUp ); } But this seems like a hack, and the fact that the dropShadow stays around seems like a bug? Anyone seen this before? Yahoo! Groups Links 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] Enable/disable UI
Hi, In Flex each control has an id which is unique in entire application also which is the reference to the control. For example, see the following code: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:TabBar dataProvider=vs/mx:TabBar mx:ViewStack id=vs width=500 height=300 backgroundColor=0xCC mx:Form id=frm1 label=screen1 width=100% height=100% mx:FormItem label=Enable:mx:CheckBox id=enable_ch selected=false/mx:CheckBox/mx:FormItem /mx:Form mx:Form id=frm2 label=screen2 width=100% height=100% enabled={enable_ch.selected} mx:TextInput id=_ti text={enable_ch.selected ? 'Enabled' : 'Disabled'}/ /mx:Form /mx:ViewStack /mx:Application Switch between views by click on tabs, check/uncheck checkbox on first screen to see its effect on other screen. So it shows, you can access a control using it's id. Hope that helps -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 11:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Enable/disable UI I have a view stack container with some view children ( entry forms ). The problem I have is that I want to enable/disable some entry forms based on a value of an input field that is collected on the first screen. How can I do that?. Thanks, Valy __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Yahoo! Groups Links 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] Questions, Questions
On 4/20/05, David Terry [EMAIL PROTECTED] wrote: Can I reposition elements within the container (using a canvas)? How? Drag drop events? You can freely reposition using drag and drop within a Canvas. Repositioning involved setting the x and y properties of the object (or calling the 'move' method). Can I get x/y and height/width information from the items within the container? How? canvas.getChildAt(index).x = x-position of child at index Similarly y, width and height... -- [EMAIL PROTECTED] http://manish.revise.org/ 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] How can I determine what series of the pie chart I have clicked?
Have a pie chart and I would like to click on it and depending on what series I've selected to popup some details about it. Any help would be greatly appreciated, Valy __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ 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: PopUpManager
Ok I am sick and am not thinking right. Excuse my other post's misspellings (say=saw). But the doLater is not the issue. Its the timer. I dont want to do it on a click event but a timed event with setInterval. The click makes sense because the PopUp has been rendered but with a timed function (setInterval) it seems to get mixed up somewhere. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Yes, if you, typically, do a deletePopUp when the event was triggered by the popup itself, there's some kind of reference to the popup kept around. I've found that if I do something like this: function initApp() { popup = PopUpManager.createPopUp(this, TitleWindow, true); popup.addEventListener(click, this); } function click() { doLater(this, removePopUp); } function removePopUp() { popup.deletePopUp(); } It's ok but if I were to immediately remove it, the dropshadow still is there. Anyway, the above works all the time. - Original Message - From: kaibabsowats [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 20, 2005 1:31 PM Subject: [flexcoders] Re: PopUpManager A solution to my own question: function interval() { this.setStyle( dropShadow, false ); clearInterval( this.intervalNumber ); doLater( this, deletePopUp ); } But this seems like a hack, and the fact that the dropShadow stays around seems like a bug? Anyone seen this before? Yahoo! Groups Links 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] Questions, Questions
Thank you for the information Manish. Setting the x and y Is there some function to call the mouse pointer location? ~David T. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Wednesday, April 20, 2005 13:37 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Questions, Questions On 4/20/05, David Terry [EMAIL PROTECTED] wrote: Can I reposition elements within the container (using a canvas)? How? Drag drop events? You can freely reposition using drag and drop within a Canvas. Repositioning involved setting the x and y properties of the object (or calling the 'move' method). Can I get x/y and height/width information from the items within the container? How? canvas.getChildAt(index).x = x-position of child at index Similarly y, width and height... -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex with OAS
Hi, Has anyone been successful in running a flex application on Oracle 10 app server. I have a test page hello.mxml that I am able to access, however if I access main.mxml.swf it appears that a 404 is being returned. This works fine under weblogic. Thanks - viraf 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 to trace the Variables in Flex
Yeah, you can do that... You need to use Flash debug player and configure it for tracing. All trace messages would be logged to a log file. Look at following links on using trace(..) and configuring Flash Debug Player for the same: http://livedocs.macromedia.com/flex/15/flex_docs_en/0792.htm http://livedocs.macromedia.com/flex/15/flex_docs_en/0794.htm -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 12:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to trace the Variables in Flex Hi all, I have script in my mxml file. i want to trace some variables, can i? Thanks Regards Pathy Yahoo! Groups Links 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 to trace the Variables in Flex
Also, if you are using Flex Builder you can see your trace output without doing any special configuration or writing out to a log. Simply preview your file inside Flex Builderby pressing the "debug" button and then click the tab for the "Output Panel" to view any trace output as your app runs. Kris -- Kristopher Schultz Developer Resource Interactive p: 614.410.2123 www.resource.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul QabizSent: Wednesday, April 20, 2005 3:22 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to trace the Variables in Flex Yeah, you can do that...You need to use Flash debug player and configure it for tracing. All tracemessages would be logged to a log file.Look at following links on using trace(..) and configuring Flash DebugPlayer for the same:http://livedocs.macromedia.com/flex/15/flex_docs_en/0792.htmhttp://livedocs.macromedia.com/flex/15/flex_docs_en/0794.htm-abdul -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 12:29 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How to trace the Variables in FlexHi all,I have script in my mxml file. i want to trace some variables, can i?Thanks RegardsPathy Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Questions, Questions
On 4/21/05, David Terry [EMAIL PROTECTED] wrote: Thank you for the information Manish. The mouseX and mouseY properties. See this: http://www.flexauthority.com/Samples/delicious/WhatsCooking.mxml You can drag the images around. You can double-click on them to open a new page. Here's the code: http://manish.revise.org/flash/flex/delicious.zip -- [EMAIL PROTECTED] http://manish.revise.org/ 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] Questions, Questions
Perfect! Thank you very much. ~David T. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Wednesday, April 20, 2005 14:29 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Questions, Questions On 4/21/05, David Terry [EMAIL PROTECTED] wrote: Thank you for the information Manish. The mouseX and mouseY properties. See this: http://www.flexauthority.com/Samples/delicious/WhatsCooking.mxml You can drag the images around. You can double-click on them to open a new page. Here's the code: http://manish.revise.org/flash/flex/delicious.zip -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] I am new to programming so bear with me here
Hi It won't do anything to your code, so don't be afraid. Pressing that button would launch your application in debug mode, that means you can fix issues or debug code in this mode. Flex builder provides some good debugging tools like network monitor, output window etc. Don't be afraid go ahead, that's the way to learn And, welcome to flex community :) -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 7:58 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] I am new to programming so bear with me here I mea just learning flex and its one of the first languages I am learning so here is the question. What is the debug button in Flex builder for I mean I am afraid to press it because I do not want to hurt what I have made. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: PopUpManager
The word from Macromedia is that you need the doLater when calling deletePopUp from a timer listener. Some operations in actionscript get executed at different time frames due to how the display manager works. Sequences of code actions is an illusion that is mostly true in Flash. In the case of a popup closing via an interval timer, deletePopUp code is being called at an unexpected time and the display cleanup operations occur at the wrong time. Feels like a bug to me The Horrid Details: The doLater function synchronizes with the frame rate of the Flex application. When you use doLater, the function is called after the current frame code has executed. This is a good time because the UI has had a chance to respond to your ActionScript commands. Basically, your ActionScript code that affects the UI is queued until the end of the current frame, then it is batch-executed on the UI. I think there is even some optimization done so that if you change a Text field with 50 AS statements, only the last is actually seen. The setInterval code can happen on a clock-tick, so you could have it go off between UI code calls, thus mucking up the display. --- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] wrote: Thanks, I'll give it a try. I say a doLater example some where but must have implemented it wrong. 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 to trace the Variables in Flex
I've written a couple of apps now and in both I made my own text box for displaying trace and debug type info. I just found it a bit quicker and simpler than the debugger in Flex. I'm going to try the Flash debugger option though since I didn't know you could do that. Hopefully that will be better than the flex debugger. That thing is just too SLOW =( -- MatthewOn 4/20/05, Kristopher Schultz [EMAIL PROTECTED] wrote: Also, if you are using Flex Builder you can see your trace output without doing any special configuration or writing out to a log. Simply preview your file inside Flex Builderby pressing the debug button and then click the tab for the Output Panel to view any trace output as your app runs. Kris -- Kristopher Schultz Developer Resource Interactive p: 614.410.2123 www.resource.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul QabizSent: Wednesday, April 20, 2005 3:22 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to trace the Variables in Flex Yeah, you can do that...You need to use Flash debug player and configure it for tracing. All tracemessages would be logged to a log file.Look at following links on using trace(..) and configuring Flash DebugPlayer for the same:http://livedocs.macromedia.com/flex/15/flex_docs_en/0792.htm http://livedocs.macromedia.com/flex/15/flex_docs_en/0794.htm -abdul -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Thursday, April 21, 2005 12:29 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How to trace the Variables in FlexHi all,I have script in my mxml file. i want to trace some variables, can i?Thanks RegardsPathy Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] how to intercept 'right-click' on dataGrid cells ?
Hello. how to intercept 'right-click' on dataGrid cells ? Thanks. Sanjay 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] Flex with OAS
I am running Flex on OC4J Standalone 9.0.4.1 without any problems. Can you access main.mxml ? -James On Wed, 2005-04-20 at 19:00 +, viraf_bankwalla wrote: Hi, Has anyone been successful in running a flex application on Oracle 10 app server. I have a test page hello.mxml that I am able to access, however if I access main.mxml.swf it appears that a 404 is being returned. This works fine under weblogic. Thanks - viraf Yahoo! Groups Links 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 to intercept 'right-click' on dataGrid cells ?
Hi, Do you mean, you want to detect right-click? You can detect it using ContextMenu object, but when user right clicks, Flash Player Context menu would appear which can not be removed or hidden. ContextMenu API allows you to added context menu items(commands) Flash Player Context menu. Does it solve your purpose? But again, ContextMenu only works at top-level object, it won't work for nested objects. But you can still detect by doing some math of detecting if mouse is over a datagrid cell and user clicked right mouse button... -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 2:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to intercept 'right-click' on dataGrid cells ? Hello. how to intercept 'right-click' on dataGrid cells ? Thanks. Sanjay Yahoo! Groups Links 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 to trace the Variables in Flex
Check out Christophe's object inspector, very handy http://coenraets.com/viewarticle.jsp?articleId=83 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] I am new to programming so bear with me here
On 4/21/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Don't be afraid go ahead, that's the way to learn Yeah, just take a backup of your project files before hitting that Debug button. :-D -- [EMAIL PROTECTED] http://manish.revise.org/ 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] Correcting the Tree DragDrop styling
When working with dragdrop in a tree I notice it to be confusing to have the line as your guide for all operations. For example if you wanted to drag an item from 1 node to another, having that line sometimes suggested that it wouldnt work as intended. So I wanted to make it like explorer where it highlights the folder you are performing the operation on for everything but re-ordering of items. I'm stuck trying to get the style to update depending on where we are in the tree. Does anyone know how to force a style update? This example only works when you drag your item out of the tree and back in, but it will change from the highlight to the line and back again. Full code: http://www.speakeasy.org/~ckovey/flextree.zip Here's the function in question: function doDragOver(event) { //itemRollOver=trace(event.index) var dropLoc:Number=event.target.getDropLocation(); dropLocation.text=dropLoc; if(dropLoc==0) myTree.dropIndicatorSkin=TreeOrderIndicator; else myTree.dropIndicatorSkin=TreeDropIndicator; event.target.showDropFeedback(); if (Key.isDown(Key.CONTROL)) event.action = DragManager.COPY; else if (Key.isDown(Key.SHIFT)) event.action = DragManager.LINK; else event.action = DragManager.MOVE; } Thanks for any help or pointers in the right direction! 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] Flex NCL
Q. Know of any decent hosting provider in which i can install my NCL on thats not expensive? On 4/21/05, Jeff Steiner [EMAIL PROTECTED] wrote: Congratulations! Jeff http://www.flexauthority.com - Original Message - From: Scott Barnes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, April 19, 2005 4:26 PM Subject: Re: [flexcoders] Flex NCL FYI: Got approved today for my NCL :) Thanks Adobe..err Macromedia? On 4/16/05, Matt Chotin [EMAIL PROTECTED] wrote: I believe the person who reviews the NCL applications is in Newton (so EDT at the moment). Flex now has developers online at all hours since we've got US West Coast (GMT-8), US East Coast (GMT-5), and Bangalore India, GMT+5:30. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 12:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex NCL By the way, do you guys process the NCL in California? Just to know what time zone I should use when checking my emails on a late flex coding session in Paris, France (which is I think 9 hours ahead California). Thanks :) -- François Le Lay http://www.mfworx.com Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links Yahoo! Groups Links -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) 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] Modified loading screen
Is it possible to make a kind of splash screen by adding an image to the loading/initializing bar that starts every Flex application? Or - is there a way to use an animated graphic image instead of the standard bar? - Tom 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] Do you know of any Flex jobs?
Hello, I'm about to graduate from college, and I'm starting my search for full time employment. My main areas of expertise/experience/interest are with Flex and Flash. Does anyone know of any companies looking for a skilled Flex Programmer? Thanks! Aaron King P.S. If you have any further questions, you can contact me at [EMAIL PROTECTED] 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: Do you know of any Flex jobs?
I'm currently in Provo, Utah, U.S., but I'm willing to relocate for a great job with a great company. I'm even willing to go international. I speak fluent Spanish (and English, of course). Thanks, Aaron --- In flexcoders@yahoogroups.com, KNOTT, Brian [EMAIL PROTECTED] wrote: Araon, What country / city are you in. It's an international list. Brian -Original Message- From: adk365 [mailto:[EMAIL PROTECTED] Sent: Thursday, 21 April 2005 10:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Do you know of any Flex jobs? Hello, I'm about to graduate from college, and I'm starting my search for full time employment. My main areas of expertise/experience/interest are with Flex and Flash. Does anyone know of any companies looking for a skilled Flex Programmer? Thanks! Aaron King P.S. If you have any further questions, you can contact me at [EMAIL PROTECTED] Yahoo! Groups Links --- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities (Suncorp). Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. 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] Do you know of any Flex jobs?
Congratulations! Do a search through this list and you will find a couple in the past month. Also - cflex.net has a listing of all of the jobs that he is aware of on his homepage. Check it out. Jeff http://www.flexauthority.com - Original Message - From: adk365 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 20, 2005 5:44 PM Subject: [flexcoders] Do you know of any Flex jobs? Hello, I'm about to graduate from college, and I'm starting my search for full time employment. My main areas of expertise/experience/interest are with Flex and Flash. Does anyone know of any companies looking for a skilled Flex Programmer? Thanks! Aaron King P.S. If you have any further questions, you can contact me at [EMAIL PROTECTED] Yahoo! Groups Links 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] Do you know of any Flex jobs?
Yeah, Jeffs site's pratically a daily lookup if you be a FLEXCoder :) heh. On 4/21/05, Jeff Steiner [EMAIL PROTECTED] wrote: Congratulations! Do a search through this list and you will find a couple in the past month. Also - cflex.net has a listing of all of the jobs that he is aware of on his homepage. Check it out. Jeff http://www.flexauthority.com - Original Message - From: adk365 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 20, 2005 5:44 PM Subject: [flexcoders] Do you know of any Flex jobs? Hello, I'm about to graduate from college, and I'm starting my search for full time employment. My main areas of expertise/experience/interest are with Flex and Flash. Does anyone know of any companies looking for a skilled Flex Programmer? Thanks! Aaron King P.S. If you have any further questions, you can contact me at [EMAIL PROTECTED] Yahoo! Groups Links Yahoo! Groups Links -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) 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] Charting
I mailed Christophe to see if he can update it. Unfortunately they changed the passwords on that machine so I cant grab the data. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 6:54 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Charting Thats nice but I really want to see the structure of the xml files used in the examples at macromedia.com. Anyone from mm have these ? Rich Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Tile or TileList with resizable children
I think you probably want the Tile container in this case (TileList wont work very well). You may need to update the properties on the Tile itself as you change the number of children so that it will adjust automatically. Id imagine though that you want some sort of transition effects as you resize and move everything around, I dont have any sample code for you off the top of my head, sorry! Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 6:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tile or TileList with resizable children Is possible to have a tile component or a tileList one, that have item children resizing according to the size of the component itself? Basically I want to dislpay a range of 1 through 4 images and depending on the number of images I want to display them at a size of 100% of the container. So if there is only one image it will fill the container space, with 2 images the space will be divided in 2 columns and each image will take 50% of the space; with 3-4 images instead we will have 2 columns and 2 rows. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] TextArea help
Check out the Selection.getCaretIndex() function maybe? I havent tried this but you could probably do something like this: var text : String = myTA.text; var idx : Number = Selection.getCaretIndex(); var start : String = text.substring(0, idx); var end : String = text.substring(idx); var whole : String = start + my new text + end; myTA.text = whole; Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 8:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TextArea help Hello to all flex masters Can somebody tell me how to programmatically enter a piece of text into a specific position within a TextArea that already contains a block of text. I have a TextArea containing a block of text. I am trying to insert additional text into an arbitrary position within the already existing block of text. I want to select the text insert position using the MOUSE cursor then click a button to add text to the previously selected position. A code example/snippet would be most helpful. Thanks in advance Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] capturing an alert response within method that c alls alert
Write a simple class that acts as your listener? class AlertListener { var variablesToPass : Object; var functionToCall : Function; function click(event : Object) : Void { functionToCall(event, variablesToPass); } } Var al : AlertListener = new AlertListener(); al.variablesToPass = myThreeVariables; al.functionToCall = mx.utils.Delegate.create(this, alertClickFunction); Alert.show(, al, ); Hope this can get you started, you could write anonymous objects that do similar things, but this is nice and OO J Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 9:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] capturing an alert response within method that calls alert I'm sick of having to track temporary variables on an alertHandler method. Let's say I have a method w/ three variables that calls an alert where I wait for a response from the user. Is there any way to pass these variables along into the handler method that gets called when the user clicks Yes or No? Any other approach to get this type of behavior? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How can I determine what series of the pie chart I have clicked?
Is event.hitData not enough? http://livedocs.macromedia.com/flex/15/asdocs_en/mx/charts/HitData.html Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 11:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I determine what series of the pie chart I have clicked? Have a pie chart and I would like to click on it and depending on what series I've selected to popup some details about it. Any help would be greatly appreciated, Valy __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Urgent- Wipe effect to repeater objects...
Instead of having hide/show functions you could change the VBox to this: mx:VBox mouseOver=cart[event.target.repeaterIndices[0]].visible = true mouseOut=cart[event.target.repeaterIndices[0]].visible = false The problem that I see is that those labels can get in the way, basically when the mouse goes over the label which is still technically inside the VBox the mouseOut event still fires. Im not sure what the right solution would be here, maybe having the mouseOver handler hide the last visible cart and show the new one? Ill let other people chime in here, this change should at least make it a little more stable. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 9:28 PM To: flexcoders Subject: [flexcoders] Urgent- Wipe effect to repeater objects... hai! I have already posted a mail regarding this .Pls dnt omit this.. I have been trying to apply wipe effect to a VBox which must appear just below the image in a tile... ?I use repeater to populate the images in the tile.. the problem is i dont know how to refer to the repeater object..I tried using the repeaterindices but it doesnt work.. i dont know if the approach is correct. i am new to flex, so someone plese help me with this.. please send me the code.. regards, nithya my MXML code is: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script function show(index) { var e = new mx.effects.WipeDown(cart[index]); e.show=true; e.duration = 300; e.playEffect(); } function hide(index){ var f = new mx.effects.WipeUp(cart[index]); f.show=false; f.duration = 300; f.playEffect(); } /mx:Script mx:Effect mx:WipeDown name=showCart show=true duration=300/ mx:WipeUp name=hideCart show=false duration=300/ /mx:Effect mx:Model id=catalog source=../catalog.xml/ mx:Canvas mx:Tile y=50 width=480 mx:Repeater id=list dataProvider={catalog.product} count=6 mx:VBox mouseOver=show(event.target.repeaterIndices[0]) mouseOut=hide(event.target.repeaterIndices[0]) mx:Image width=75 height=70 source={list.currentItem.image}/ mx:VBox id=cart backgroundColor=#EEF5EE borderStyle=solid marginTop=8 marginLeft=8 marginBottom=8 marginRight=8 visible=false showEffect=showCart hideEffect=hideCart mx:Label text=Your Shopping Cart:/ /mx:VBox mx:Label text={list.currentItem.name}/ mx:Label text=${list.currentItem.price}/ /mx:VBox /mx:Repeater /mx:Tile /mx:Canvas /mx:Application Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Having trouble using createTextField
I am trying to create a textfield when you click inside a canvas at the x and y coordinates and it continues not to work. My understanding is that the canvas extends movieclip so I could add a textfield to it. It would help to possibly get a better understanding of how this all works. Here is my code: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function onMouseDownEvent() { var point = {x:mouseX, y:mouseY}; canvasText.createTextField(mytext,0,point.x,point.y, 40, 40, {text:'this is a test'}); }; ]] /mx:Script mx:Canvas id=canvasText mouseDown=onMouseDownEvent(); width=300 height=300/ /mx:Application I also cannot define properties when the app starts for instance canvasText.mytext.border can not be defined in the function. I modified this slightly and it work well in flash. Please help. Thanks. 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] Urgent- Wipe effect to repeater objects...
Thanks a lot for ur immediate response.. Could you help me with changing the cursor to hand on mouseover of an image? how to use a custom cursor?Matt Chotin [EMAIL PROTECTED] wrote: Instead of having hide/show functions you could change the VBox to this: mx:VBox mouseOver="cart[event.target.repeaterIndices[0]].visible = true" mouseOut="cart[event.target.repeaterIndices[0]].visible = false" The problem that I see is that those labels can get in the way, basically when the mouse goes over the label which is still technically inside the VBox the mouseOut event still fires. Im not sure what the right solution would be here, maybe having the mouseOver handler hide the last visible cart and show the new one? Ill let other people chime in here, this change should at least make it a little more stable. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 9:28 PMTo: flexcodersSubject: [flexcoders] Urgent- Wipe effect to repeater objects... hai! I have already posted a mail regarding this .Pls dnt omit this.. I have been trying to apply wipe effect to a VBox which must appear just below the image in a tile... ?I use repeater to populate the images in the tile.. the problem is i dont know how to refer to the repeater object..I tried using the repeaterindices but it doesnt work.. i dont know if the approach is correct. i am new to flex, so someone plese help me with this.. please send me the code.. regards, nithya my MXML code is: ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script function show(index) { var e = new mx.effects.WipeDown(cart[index]); e.show=true; e.duration = 300; e.playEffect(); } function hide(index){ var f = new mx.effects.WipeUp(cart[index]); f.show=false; f.duration = 300; f.playEffect();} /mx:Script mx:Effect mx:WipeDown name="showCart" show="true" duration="300"/ mx:WipeUp name="hideCart" show="false" duration="300"/ /mx:Effect mx:Model id="catalog" source="../catalog.xml"/ mx:Canvas mx:Tile y="50" width="480" mx:Repeater id="list" dataProvider="{catalog.product}" count="6" mx:VBox mouseOver="show(event.target.repeaterIndices[0])" mouseOut="hide(event.target.repeaterIndices[0])" mx:Image width="75" height="70" source="{list.currentItem.image}"/ mx:VBox id="cart" backgroundColor="#EEF5EE" borderStyle="solid" marginTop="8" marginLeft="8" marginBottom="8" marginRight="8" visible="false" showEffect="showCart" hideEffect="hideCart" mx:Label text="Your Shopping Cart:"/ /mx:VBoxmx:Label text="{list.currentItem.name}"/ mx:Label text="${list.currentItem.price}"/ /mx:VBox /mx:Repeater /mx:Tile /mx:Canvas /mx:Application Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.