RE: [flexcoders] Re: LinearGradient outside charts
Hi, try extending mx.skins.halo.HaloBorder and do the gradient drawing the updateDisplayList method. Then, assign this class as the border-skin for your component. This way you can use this gradient on any component that supports border styles. border-skin: ClassReference("foo.bar.YourGradientClass"); Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cristian PopSent: Thursday, November 02, 2006 10:40 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: LinearGradient outside charts Thanks Ely,I'm happy to learn from the masters :-) I'm absolutely in love withwhat you do at quietlyscheming.com.I'm a beginner with extending components in AS and I admit that Idon't yet fully understand the display hierarchy and the componentlive cycle.I wanted to extend the canvas to allow gradient, using the fillCollorand fillAlpha styles.So I did something like this, based on an example from the docs. (Iskip the style management code and give you onli the update method)package{[...]// Define the variable to hold the current gradient fill colors.private var fillColorsData:Array;// Define the flag that indicates a change to fillColors.private var bFillColorsChanged:Boolean = true;// Define variables for additional controls on the fill.// You can create style properties for these as well.private var alphas:Array = [0.8, 0.2];private var ratios:Array = [0x00, 0xFF];// Constructor public function MyCanvas() {super(); } [...]override public function styleChanged(styleProp:String):void {super.styleChanged(styleProp);// Check to see if style changed. if (styleProp=="fillColors" || styleProp=="fillAlphas") {//bFillColorsChanged=true; invalidateDisplayList();return;}}// Override updateDisplayList() to update the component // based on the style setting.override protected functionupdateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {super.updateDisplayList(unscaledWidth, unscaledHeight); // Check to see if style changed. if (bFillColorsChanged==true) {// Redraw gradient fill only if style changed.fillColorsData = getStyle("fillColors");alphas = getStyle("fillAlphas");var m:Matrix = new Matrix();m.createGradientBox(unscaledWidth,unscaledHeight,-1.57,0,0);graphics.clear();graphics.beginGradientFill(GradientType.LINEAR,fillColorsData, alphas,ratios,m); graphics.drawRoundRect(0, 0,unscaledWidth,unscaledHeight,Number(getStyle("cornerRadius"))); It works great, but I wanted to be able to specifi the colors,alphasand ratios easier. Then I've found LinearGradient and IFill, that wereused in charts to easily pass those values.I went a bit though the docs and the code and I tried this:package {public class MyCanvas2 extends Canvas{[Bindable]public var fill:IFill;// Constructor public function MyCanvas2() {super(); } // Override updateDisplayList() to update the component // based on the style setting.override protected functionupdateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {super.updateDisplayList(unscaledWidth, unscaledHeight); var rect: RoundedRectangle = new RoundedRectangle(0,0,unscaledWidth, unscaledHeight,Number(getStyle("cornerRadius")));if (fill) {graphics.clear(); fill.begin(graphics, rect);fill.end(graphics);graphics.drawRoundRect(rect.left, rect.top, rect.width,rect.height,rect.cornerRadius);But it's not working. Nothing is drawn. I guess I'm missing somemethod that needs override.Thanks,Cristian Pop--- In [EMAIL PROTECTED]ups.com, "Ely Greenfield" [EMAIL PROTECTED]. wrote: Post away, Cristian. I wrote the gradient classes in the charts, and can probably help. Ely. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Cristian Pop Sent: Thursday, November 02, 2006 1:57 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] LinearGradient outside charts Hi, some time ago I've played a bit with creating components in AS and I've extended the canvas to allow gradient using fillColors. Back then I did not implement more than 2 colors. In the meantime I've noticed the LinearGradient class and I thought that I could use it to pass easier the parameters required by a gradient. angle, fill colors, alphas and ratios. So I've triend to extend the Canvas adding a fill property (IFill) and then in updateDisplayList to use the begin method of the Linear Gradient to fill the graphics of the Canvas. I'm not sure what I'm doing wrong but it's not working. If anyone knows how LinearGradient works and it can be used outside the scope shown in the documentation please let me know. I will try to post the code later. Thanks, Cristian Pop __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Re: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe....
On Friday 03 November 2006 05:28, Andrew D. Goodfellow wrote: You better cluster and load balance the web servers once you announce it's download location, because that address is gonna get buried with requests about 5 minutes later... They could BitTorrent it... -- Tom Chiverton Helping to autoschediastically grow proactive clusters This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] TileList item effects? (Flex Store)
Is there a way to get the Flex Store effects without dealing with custom AS? Like how you can set showEffect, etc? If not, :-(.Thoughts?--- John C. Bland IIChief GeekKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear ThemHome of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Convert Object to a Value Object
Hi all, Thanks for your help. I was out for a few days, but today I will try, using your advises, to solve the problem. Thank you very much --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: Interesting, Yahoo garbled most of the content of that message. Here's what I actually sent: For those having trouble converting generic objects into class instances (Value Objects), I've created an ObjectTranslator.objectToInstance method to take care of the problem: http://www.darronschall.com/weblog/archives/000247.cfm Essentially, it allows you to convert any plain old object into a class instance. Usage is as follows: import com.darronschall.examples.vo.Book; import com.darronschall.serialization.ObjectTranslator; // Define an object with properties that mimic the variable names // inside of the Book class var bookObj:Object = { title: My Book title, pageCount: 10, inLibrary: true }; // Convert the generic object into an instance of the Book class var book:Book = ObjectTranslator.objectToInstance( bookObj, Book ) as Book; Originally it was written so that JSON behaved more like RemoteObject (returning class instances from the server instead of just plain objects), but the method is generic enough to be useful in a lot of situations. Hope that helps... -d Darron J. Schall wrote: Originally it was written so that JSON behaved more like RemoteObject (returning class instances from the server instead of just plain objects), but the method is generic enough to be useful in a lot of situations. Hope that helps... -d mvbaffa wrote: - Type Coercion failed: cannot convert [EMAIL PROTECTED] to com.mvb.boe.vo.UserAccountVO. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] avoid propagate event on itemrenderer to datagrid
try use event.stopPropagation(); there is also a event.stopImmediatePropagation(); i have the same thing, a datagrid with a checkbox, but with a big problem. when a change my datagrid.dataProvider all the rows in the datagrid are new, but the checkbox already checked remain in that state... even if the dataField selected is set to false, and if a check the checkbox it seems to be uncheck, but the dataFiled is set true as selected.. Jesús Iglesias ha scritto: Hi again, I have a datagrid with a checkbox as itemrenderer. Datagrid has a change event and checkbox has a click event. If I click on checkbox, I want to execute checkbox click event but NOT datagrid change event, but I don't know how to stop event propagation. Does anybody know? Thanks again. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Using minYear with a DateField
I have a date field, with minYear set to 2006, which prevents me entering an incorrect date if I manually enter it in the text field. But if I use the datechooser part, I can select a date prior to 2006. Is this a bug? Andrew -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] 2 questions
On Thursday 02 November 2006 15:26, DJ Lift wrote: Question 1: Is it best to use States or ViewStacks to deal with changing app states? We use view stacks here, because so much changes between the two states. Question 2: Is it good practice to have components be able to talk and share information with one another? And if so, how do you keep them around and reference them if you're using viewstates? Yes, but you should do it by both of them talking to a third 'model' component that holds all your (shared) data. Have a look at Cairngorm's ModelLocator for an example. -- Tom Chiverton Helping to authoritatively enable attention-grabbing initiatives This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: LinearGradient outside charts
Brian, I did not post the code for measure override, so that's not the problem. I will try what Ely suggested and get back. Cristian --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: Hi Cristian, I had to override measuredWidth and measuredHeight to get my gradient fill to display correctly. It's interested to me though that your first example works correctly, which seems to indicate that there's something else going on here. -Brian From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cristian Pop Sent: Thursday, November 02, 2006 1:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: LinearGradient outside charts Thanks Ely, I'm happy to learn from the masters :-) I'm absolutely in love with what you do at quietlyscheming.com. I'm a beginner with extending components in AS and I admit that I don't yet fully understand the display hierarchy and the component live cycle. I wanted to extend the canvas to allow gradient, using the fillCollor and fillAlpha styles. So I did something like this, based on an example from the docs. (I skip the style management code and give you onli the update method ) package { [...] // Define the variable to hold the current gradient fill colors. private var fillColorsData:Array; // Define the flag that indicates a change to fillColors. private var bFillColorsChanged:Boolean = true; // Define variables for additional controls on the fill. // You can create style properties for these as well. private var alphas:Array = [0.8, 0.2]; private var ratios:Array = [0x00, 0xFF]; // Constructor public function MyCanvas() { super(); } [...] override public function styleChanged(styleProp:String):void { super.styleChanged(styleProp); // Check to see if style changed. if (styleProp==fillColors || styleProp==fillAlphas) { //bFillColorsChanged=true; invalidateDisplayList(); return; } } // Override updateDisplayList() to update the component // based on the style setting. override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); // Check to see if style changed. if (bFillColorsChanged==true) { // Redraw gradient fill only if style changed. fillColorsData = getStyle(fillColors); alphas = getStyle(fillAlphas); var m:Matrix = new Matrix(); m.createGradientBox( unscaledWidth, unscaledHeight, -1.57, 0, 0 ); graphics.clear(); graphics.beginGradientFill( GradientType.LINEAR, fillColorsData, alphas, ratios, m ); graphics.drawRoundRect( 0, 0, unscaledWidth, unscaledHeight, Number(getStyle(cornerRadius)) ); } } } } It works great, but I wanted to be able to specifi the colors,alphas and ratios easier. Then I've found LinearGradient and IFill, that were used in charts to easily pass those values. I went a bit though the docs and the code and I tried this: package { public class MyCanvas2 extends Canvas { [Bindable] public var fill:IFill; // Constructor public function MyCanvas2() { super(); } // Override updateDisplayList() to update the component // based on the style setting. override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var rect: RoundedRectangle = new RoundedRectangle( 0, 0, unscaledWidth, unscaledHeight, Number(getStyle(cornerRadius)) ); if (fill) { graphics.clear(); fill.begin(graphics, rect); fill.end(graphics); graphics.drawRoundRect( rect.left, rect.top, rect.width, rect.height, rect.cornerRadius); } } } } But it's not working. Nothing is drawn. I guess I'm missing some method that needs override. Thanks, Cristian Pop --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@ wrote: Post away, Cristian. I wrote the gradient classes in the charts, and can probably help. Ely. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Cristian Pop Sent: Thursday, November 02, 2006 1:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] LinearGradient outside charts Hi, some time ago I've played a bit with creating components in AS and I've extended the canvas to allow gradient using fillColors. Back then I did not implement more than 2 colors. In the meantime I've noticed the LinearGradient class and I thought that I could use it to pass easier the parameters required by a gradient. angle, fill colors, alphas and ratios. So I've triend to extend the Canvas adding a fill property (IFill) and then in updateDisplayList to
[flexcoders] DataGridCollumn: Display formatted value
Hi all, I have a DataGridCollumn where I display the time in Seconds (i.e. 77). I would like to convert the diplayed time into minutes and seconds. I have a function, that converts the seconds into minutes and seconds, i.e. 1:17 The function is named secondsToMinuteString. Here's the code: private function secondsToMinuteString(secs:Number):String { if (isNaN(secs) == false) { var m:Number = Math.floor(secs / 60); var s:Number = secs - (m * 60); var r:String = m + :; if (s 10) { r += 0; } return r + s; } return ; } I now try to seconds of the DataGridCollumn, by using this approach: mx:DataGridCollumn headerText=Duration dataField=length_seconds labelFunction=secondsToMinuteString(length_seconds) / I try to pass the value, that is received to the function, and then it shall be displayed. This doesn't work, as I get a cast error (Error #1067) and an access of undefined property length_seconds error (Error #1120). Can anyone tell me, how I can convert this correctly? I am still seeking for a Flex Developer, who could assist me. If you are interested, please let me know by private email. Thanks a lot for your answers. Best regards, Pascal -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] DataGridCollumn: Display formatted value
you are trying to access a undefined variable in my concern you didn't have in your function the lengh_seconds but also just secs.RegardsOn 11/3/06, Pascal Schrafl [EMAIL PROTECTED] wrote: Hi all, I have a DataGridCollumn where I display the time in Seconds (i.e. 77). I would like to convert the diplayed time into minutes and seconds. I have a function, that converts the seconds into minutes and seconds, i.e. 1:17 The function is named secondsToMinuteString. Here's the code: private function secondsToMinuteString(secs:Number):String { if (isNaN(secs) == false) { var m:Number = Math.floor(secs / 60); var s:Number = secs - (m * 60); var r:String = m + :; if (s 10) { r += 0; } return r + s; } return ; } I now try to seconds of the DataGridCollumn, by using this approach: mx:DataGridCollumn headerText=Duration dataField=length_seconds labelFunction=secondsToMinuteString(length_seconds) / I try to pass the value, that is received to the function, and then it shall be displayed. This doesn't work, as I get a cast error (Error #1067) and an access of undefined property length_seconds error (Error #1120). Can anyone tell me, how I can convert this correctly? I am still seeking for a Flex Developer, who could assist me. If you are interested, please let me know by private email. Thanks a lot for your answers. Best regards, Pascal -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Draggable Panels
Yes of course that havecheck outPut between the mx:Scriptpublic function dragMe():void{ // just add the panel id panelID.startDrag();}// new function to stop drag public function stopDragMe():void{ // same ID of you panel panelID.stopDrag();}now using the code above you just do that in your mxmlmx:Panel title=Draggble Panel width=200 height=200 x=60 y=60 mouseDown=dragMe(); mouseUp=stopDragMe() /mx:PanelJust try it.Regards.On 11/2/06, klethron [EMAIL PROTECTED] wrote: Hello All, I am just starting into Flex 2 and im loving it. Is there any way to make my Flex Panels draggable? -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Draggable Panels
Using the PopUpManager.addPopUp() or createPopUp() will make a TitleWindow draggable.Is this what you want?Peace, MikeOn 11/2/06, klethron [EMAIL PROTECTED] wrote: Hello All, I am just starting into Flex 2 and im loving it. Is there any way to make my Flex Panels draggable? -- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Components http://www.flex2components.comYou can find more by solving the problem then by 'asking the question'. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] dreaded error 1009, app calling a web service
KayleaThis is a problem of security sandBox, make sure that you have passed the compiler paramaters like -use-network=trueOr eventually I belive that you have too send a method too like POST.Regards. On 11/2/06, Kaylea Hascall [EMAIL PROTECTED] wrote: Hello all, I'm working on a Flex app which calls a web service, and I'm getting this error: RPC Fault faultString=Error #1009: Cannot access a property or method of a null object reference. What I can't tell is which object is null -- and from what I can tell, this is purely a Flex error, i.e. it's before the web service is called, so it's not from the app server (am I diagnosing this right?). The stack trace looks like this: file:/D:/Documents and Settings/3onyemaechi/My Documents/Flex Builder 2/TestWS/bin/TestWS-debug.html Main Thread (Suspended: [RPC Fault faultString=Error #1009: Cannot access a property or method of a null object reference. faultCode=EncodingError faultDetail=null]) mx.rpc.soap.mxml::WebService/dispatchEvent mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall mx.rpc.soap::Operation/send Function/http://adobe.com/AS3/2006/builtin::apply [no source] mx.rpc.soap.mxml::Operation/send TestWS/TestWS::submitReservation TestWS/___Button1_click Your thoughts on this problem would be greatly appreciated -- or better yet, tips on techniques for using the debugger to find it myself next time, and then I won't have to bother you good people again. :) I've written other flex web service clients where the (non-required) arguments were null, with no problem, but this one is stumping me :( -Kaylea Here's my .mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:af=* xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute width=960 mx:WebService id=wsAlice wsdl=https://parakeet.uchicago.edu:8443/ReservationsWebService/ReservationsWebService?wsdl useProxy=false mx:operation name=saveReservation mx:request reservation checkInTime666/checkInTime checkOutTime666/checkOutTime descriptionsome text/description endTimesome date/endTime id{null}/id items item id109/id nameSome Name/name descriptionSome Description/description reservations{null}/reservations subItems{null}/subItems superItems{null}/superItems /item /items startTimesome text/startTime user userNamejoebob/userName /user /reservation /mx:request /mx:operation /mx:WebService mx:Script![CDATA[ import mx.controls.Alert; private function submitReservation():void { wsAlice.saveReservation.send(); } ]] /mx:Script mx:Panel x=10 y=23 width=250 height=200 layout=absolute mx:Button x=85 y=69 label=Do It! click=submitReservation();/ /mx:Panel /mx:Application -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Re: LinearGradient outside charts
Hi, I just uploaded a litte sample (source code included) http://www.richinternet.de/blog/index.cfm?entry=ADD4FDD1-9B48-BFBC-2A70F 3C57EBC6892 Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cristian Pop Sent: Friday, November 03, 2006 12:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: LinearGradient outside charts Brian, I did not post the code for measure override, so that's not the problem. I will try what Ely suggested and get back. Cristian --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: Hi Cristian, I had to override measuredWidth and measuredHeight to get my gradient fill to display correctly. It's interested to me though that your first example works correctly, which seems to indicate that there's something else going on here. -Brian From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cristian Pop Sent: Thursday, November 02, 2006 1:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: LinearGradient outside charts Thanks Ely, I'm happy to learn from the masters :-) I'm absolutely in love with what you do at quietlyscheming.com. I'm a beginner with extending components in AS and I admit that I don't yet fully understand the display hierarchy and the component live cycle. I wanted to extend the canvas to allow gradient, using the fillCollor and fillAlpha styles. So I did something like this, based on an example from the docs. (I skip the style management code and give you onli the update method ) package { [...] // Define the variable to hold the current gradient fill colors. private var fillColorsData:Array; // Define the flag that indicates a change to fillColors. private var bFillColorsChanged:Boolean = true; // Define variables for additional controls on the fill. // You can create style properties for these as well. private var alphas:Array = [0.8, 0.2]; private var ratios:Array = [0x00, 0xFF]; // Constructor public function MyCanvas() { super(); } [...] override public function styleChanged(styleProp:String):void { super.styleChanged(styleProp); // Check to see if style changed. if (styleProp==fillColors || styleProp==fillAlphas) { //bFillColorsChanged=true; invalidateDisplayList(); return; } } // Override updateDisplayList() to update the component // based on the style setting. override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); // Check to see if style changed. if (bFillColorsChanged==true) { // Redraw gradient fill only if style changed. fillColorsData = getStyle(fillColors); alphas = getStyle(fillAlphas); var m:Matrix = new Matrix(); m.createGradientBox( unscaledWidth, unscaledHeight, -1.57, 0, 0 ); graphics.clear(); graphics.beginGradientFill( GradientType.LINEAR, fillColorsData, alphas, ratios, m ); graphics.drawRoundRect( 0, 0, unscaledWidth, unscaledHeight, Number(getStyle(cornerRadius)) ); } } } } It works great, but I wanted to be able to specifi the colors,alphas and ratios easier. Then I've found LinearGradient and IFill, that were used in charts to easily pass those values. I went a bit though the docs and the code and I tried this: package { public class MyCanvas2 extends Canvas { [Bindable] public var fill:IFill; // Constructor public function MyCanvas2() { super(); } // Override updateDisplayList() to update the component // based on the style setting. override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var rect: RoundedRectangle = new RoundedRectangle( 0, 0, unscaledWidth, unscaledHeight, Number(getStyle(cornerRadius)) ); if (fill) { graphics.clear(); fill.begin(graphics, rect); fill.end(graphics); graphics.drawRoundRect( rect.left, rect.top, rect.width, rect.height, rect.cornerRadius); } } } } But it's not working. Nothing is drawn. I guess I'm missing some method that needs override. Thanks, Cristian Pop --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@ wrote: Post away, Cristian. I wrote the gradient classes in the charts, and can probably help. Ely. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Cristian Pop Sent: Thursday, November 02, 2006 1:57 AM To: flexcoders@yahoogroups.com
Re: [flexcoders] Using minYear with a DateField
is not a bug, did you considerated yourself that using the minYear you have to use previously the day,week and month to use that. Usually some developers think this is a bug, but isnt.Regards. On 11/3/06, greenfishinwater [EMAIL PROTECTED] wrote: I have a date field, with minYear set to 2006, which prevents me entering an incorrect date if I manually enter it in the text field. But if I use the datechooser part, I can select a date prior to 2006. Is this a bug? Andrew -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] TileList item effects? (Flex Store)
John the showEffect it's a method tigger that is same in Flex 2.0 isn't a costum Effect.Just put the code in FlexStore into your project and use it.On 11/3/06, John C. Bland II [EMAIL PROTECTED] wrote: Is there a way to get the Flex Store effects without dealing with custom AS? Like how you can set showEffect, etc? If not, :-(.Thoughts?--- John C. Bland IIChief Geek Katapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Detect scrollbar showing/not showing
DanielThis kind of request is simple, just use the hipotetical situation where you seted a container with the size of 400x300 and inside this container you added a component like panel as 500x600, what's gonna happen? the scroll will automaticly add the scroll. So, isn't goo enough but if you want to just see more details? just check out the liveDocs here below:http://livedocs.macromedia.com/flex/2/langref/mx/controls/scrollClasses/package-detail.html Regards.On 11/2/06, Daniel Cascais [EMAIL PROTECTED] wrote: Is there any known event that is dispatched when the scrollbar is showing/not showing in a container, when the scroll policy is set to auto? In other words: How can I know when a container's srollbar is showing or not showing? (Apart from looking at the screen of course). Thanks, Daniel -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] possible nested repeater bug??
Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolutewidth=100%height=100% creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = Parent number + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id=main width=100% height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name} / mx:Button id=btnAddChild label=Add a child to this parent node click=this.handleAddChildClick(event); / /mx:HBox mx:Repeater id=rpChildren dataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} / /mx:Repeater /mx:Repeater mx:ControlBar width=100% horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection(); / mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick(); / /mx:ControlBar/mx:Panel /mx:ApplicationRegards On 11/2/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hi flexcoders, I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong. I have an array of VOs where each VO has an array of children VOs. I'm using a nested repeater to represent this structure. The user can add parents and children- this is when some strange behavior occurs. Some repeater rows in the nested repeater appear blank. I tried the whole dummy UI object filler to no avail. Here's a sample app that illustrates the problem. Just add a few parents and then add children and you'll see a lot of repeated rows. Any help would be appreciated: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute width=100%height=100% creationComplete=init()mx:Panel id=mainwidth=100%height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } /mx:Button id=btnAddChild label=Add a child to this parent nodeclick=this.handleAddChildClick(event);/ /mx:HBoxmx:Repeater id=rpChildrendataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} //mx:Repeater /mx:Repeatermx:ControlBarwidth=100%horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection();/mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick();//mx:ControlBar/mx:Panelmx:Script![CDATA[import mx.collections.ArrayCollection;import mx.core.UIComponent;[Bindable]public var dpParent:ArrayCollection; public function init() : void{dpParent = new ArrayCollection();}public function handleAddParentClick():void {var newParent:Object = new Object();newParent.name = Parent number + (dpParent.length + 1);newParent.children = new ArrayCollection();this.dpParent.addItem(newParent);}public function handleAddChildClick(event:MouseEvent):void {var parent:Object = UIComponent(event.currentTarget).getRepeaterItem();var newChild:Object = new Object();newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children).addItem(newChild);}]]/mx:Script/mx:Application Thanks, Jaime -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company
Re: [flexcoders] DataGridCollumn: Display formatted value
Hi Igor, Thanks for your answer. As far as I understand the function, it gets one parameter passed in (secs in the function). The error is in the DataGridCollumn, there it's complaining, that it can not find the length_seconds value, although it is included in the XML, that gets retrieved. Must I first read out the value and then pass it? Or is my solution not usable in a DataGridCollumn? How can I access the value? perhaps by using video.length_seconds? (video is the xml returned). Thanks for your answer and best regards, Pascal Igor Costa wrote: you are trying to access a undefined variable in my concern you didn't have in your function the lengh_seconds but also just secs. Regards On 11/3/06, * Pascal Schrafl* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I have a DataGridCollumn where I display the time in Seconds (i.e. 77). I would like to convert the diplayed time into minutes and seconds. I have a function, that converts the seconds into minutes and seconds, i.e. 1:17 The function is named secondsToMinuteString. Here's the code: private function secondsToMinuteString(secs:Number):String { if (isNaN(secs) == false) { var m:Number = Math.floor(secs / 60); var s:Number = secs - (m * 60); var r:String = m + :; if (s 10) { r += 0; } return r + s; } return ; } I now try to seconds of the DataGridCollumn, by using this approach: mx:DataGridCollumn headerText=Duration dataField=length_seconds labelFunction=secondsToMinuteString(length_seconds) / I try to pass the value, that is received to the function, and then it shall be displayed. This doesn't work, as I get a cast error (Error #1067) and an access of undefined property length_seconds error (Error #1120). Can anyone tell me, how I can convert this correctly? I am still seeking for a Flex Developer, who could assist me. If you are interested, please let me know by private email. Thanks a lot for your answers. Best regards, Pascal -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cairngorm 2 with Data Management
Wow. Nothing? I implemented IResponder on the command class, and passed that into the delegate, and now I can fire the result method. So for some reason that works, although IResponder is supposed to only work on RPC calls, and Data Managed services are not supposed to actually be RPC calls, as I understand it. So when the command fires the delegate, and the delegate creates the service and runs the call to the dataServices fill method, I get an alert when result comes back. However I generated a RuntimeException on the assembler Fill method in java, to see if the fault catching works, and it does not. So despite the result working, fault does not function. I did do somewhat of a fix for it to catch the exception and not actually break the app. I created a public function on the Model, and on the services.mxml file I declared a model, and when I created the DataService object on the services.mxml file I also set a fault event handler there. I pass into that the models fault handler method and I get the alert when I am supposed to. However this is a poor way of doing this. Granted there is probably a better way, I am sure, but I dont really know what it is, because I dont understand what changes were really implemented in the cairgorm 2.1. Is anyone out there using this? In the old 2.0 model did anyone attempt to use DataServices with Cairngorm? I read an article between Dimitrios Gianninas and Steven Webster one of the co-creators of Cairngorm, and he mentioned something about he created a DataServicesResponder interface. I dont know how to do this, or see any examples of it. You can look at the article here: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg33771.html Please help! Jeremy --- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote: Thanks for the reply. Basically I already understand how to declare a result and a fault on the dataService object when I declare it on the view .mxml file that is instantiating it. But using Cairngorm 2.0 or 2.1 the services are not actually called on the view that is accessing the data. The view calls an actionscript function that creates an event, then the event is fired, sent to the controller, the controller sends the event to the command, a command calls a delegate which grabs an instance of your services declaration, where you actually declare the DataManaged service. So the problem is, if I call the DataManaged service through that model, the actual service will have no idea how to pass back to the command, the fault or result event. Jeremy. --- In flexcoders@yahoogroups.com, Douglas McCarroll org.yahoo_primary.001@ wrote: Laidezmon, I'm working on the same thing but am not much (any?) further along than you are. But hope to be making progress in the coming days and weeks! I'm taking the approach of getting the server-side connection set up first. I'm using Data Management Services and Hibernate. I've downloaded the MySQL Sakila sample database, and used HibernateTools in Eclipse to generate a bunch of Java files, Hibernate mapping files, and the Hibernate config file. Now I'm trying to adapt Marcel Boucher's Flex/Hibernate example to connect to one table in it. I haven't succeeded yet, but hope to do so soon. Once I do I'd be happy to zip up the entire webApp and send it to you. Note that the client side isn't Cairngorm-based yet - that will be my next step - to renovate the client to a Cairngorm architecture... Douglas laidezmon wrote: Anyone? Anyone at all? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, laidezmon laidezmon@ .. wrote: Are there any examples out there on using Cairngorm and cairngorm events with the MVC and such, and using Data Manager. I heard at max, that using Cairngorm with DMS is possible, but there dont seem to be any examples of its use out there. The reason I ask is because I understand with pointing grids and such at the model, as the dataprovider, how that works, and I understand calling an event which calls the data service indirectly, but where would the model come into play logically, when DMS is handling so much of the work directly from the grid? So any help would be appreciated. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL
Re: [flexcoders] Detect scrollbar showing/not showing
That is a given. What I actually want to do, is to be able to detect (in ActionScript) WHEN the scrollbar is added/removed from the container. Thanks, Daniel On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Daniel This kind of request is simple, just use the hipotetical situation where you seted a container with the size of 400x300 and inside this container you added a component like panel as 500x600, what's gonna happen? the scroll will automaticly add the scroll. So, isn't goo enough but if you want to just see more details? just check out the liveDocs here below: http://livedocs.macromedia.com/flex/2/langref/mx/controls/scrollClasses/package-detail.html Regards. On 11/2/06, Daniel Cascais [EMAIL PROTECTED] wrote: Is there any known event that is dispatched when the scrollbar is showing/not showing in a container, when the scroll policy is set to auto? In other words: How can I know when a container's srollbar is showing or not showing? (Apart from looking at the screen of course). Thanks, Daniel -- Igor Costa www.igorcosta.com -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Web Services in Cairngorm 2.1
Will there be a way to keep it defaulted to off? I prefer to control when loadWSDL() is called. Thanks, Ben --- In flexcoders@yahoogroups.com, Peter Martin [EMAIL PROTECTED] wrote: There have been a number of postings across the various newsgroups regarding Web Services behaving differently in Cairngorm 2.1. The problem is due to ServiceLocator no longer extending UIComponent. As such, loadWSDL() is not called automatically. To call a Web Service operation you will need to call loadWSDL() yourself, for example: webService.loadWSDL(); var call : AsyncToken = webService.GetQuote.send( stockSymbol ); call.addResponder( responder ); In the next release of Cairngorm we will do this automatically for you in the ServiceLocator. Peter Martin Technical Architect (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7825 032160 [EMAIL PROTECTED] http://weblogs.macromedia.com/pmartin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: avoid propagate event on itemrenderer to datagrid
Federico, you probably need to override the data method of your CheckBox itemRenderer. See the code snippet towards the end of this post: http://www.returnundefined.com/2006/10/item-renderers-in-datagrids-a-primer-for-predictable-behavior/ HTH, Ben --- In flexcoders@yahoogroups.com, Federico Ferri [EMAIL PROTECTED] wrote: try use event.stopPropagation(); there is also a event.stopImmediatePropagation(); i have the same thing, a datagrid with a checkbox, but with a big problem. when a change my datagrid.dataProvider all the rows in the datagrid are new, but the checkbox already checked remain in that state... even if the dataField selected is set to false, and if a check the checkbox it seems to be uncheck, but the dataFiled is set true as selected.. Jesús Iglesias ha scritto: Hi again, I have a datagrid with a checkbox as itemrenderer. Datagrid has a change event and checkbox has a click event. If I click on checkbox, I want to execute checkbox click event but NOT datagrid change event, but I don't know how to stop event propagation. Does anybody know? Thanks again. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Detect scrollbar showing/not showing
Hi,Another way to do it is;if (myContainer.verticalScrollBar){ trace(we have v scoll);}else{ trace(no v scroll bars);}You can do the same with horizontalScrollBar. These are public properties, so it is not an event that is saying we are creating them but, you will always know through composite if you have them. On another note, you can listen for the viewChanged event of the container. This will tel you when the vertical or horizontal scroll position has changed. Every time a scroll bar is created, the scroll position is set, which will broadcast this event. Then you can use the check above to test which scroll bar came into existence. Peace, MikeOn 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: DanielThis kind of request is simple, just use the hipotetical situation where you seted a container with the size of 400x300 and inside this container you added a component like panel as 500x600, what's gonna happen? the scroll will automaticly add the scroll. So, isn't goo enough but if you want to just see more details? just check out the liveDocs here below: http://livedocs.macromedia.com/flex/2/langref/mx/controls/scrollClasses/package-detail.html Regards.On 11/2/06, Daniel Cascais [EMAIL PROTECTED] wrote: Is there any known event that is dispatched when the scrollbar is showing/not showing in a container, when the scroll policy is set to auto? In other words: How can I know when a container's srollbar is showing or not showing? (Apart from looking at the screen of course). Thanks, Daniel -- Igor Costa www.igorcosta.com -- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Componentshttp://www.flex2components.com You can find more by solving the problem then by 'asking the question'. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Web Services in Cairngorm 2.1
thanks Peter, I was going crazy with this. On 11/3/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Will there be a way to keep it defaulted to off? I prefer to controlwhen loadWSDL() is called.Thanks,Ben--- In flexcoders@yahoogroups.com, Peter Martin [EMAIL PROTECTED] wrote: There have been a number of postings across the various newsgroups regarding Web Services behaving differently in Cairngorm 2.1.The problem is due to ServiceLocator no longer extending UIComponent. As such, loadWSDL() is not called automatically.To call a Web Service operation you will need to call loadWSDL() yourself, for example:webService.loadWSDL(); var call : AsyncToken = webService.GetQuote.send( stockSymbol ); call.addResponder( responder ); In the next release of Cairngorm we will do this automatically for you in the ServiceLocator.Peter Martin Technical Architect (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7825 032160 [EMAIL PROTECTED] http://weblogs.macromedia.com/pmartin __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Detect scrollbar showing/not showing
On another note now that I thought about it;Use the Event.ADDED.Add an event listener to the container, then you really just could check the if() statement I gave earlier regarding the verticalScrolBar and horizontalScrollBar properties of the container. These properties WILL be assigned by the time the event is broadcast to your listener.Peace, MikeOn 11/3/06, Daniel Cascais [EMAIL PROTECTED] wrote: That is a given. What I actually want to do, is to be able to detect (in ActionScript) WHEN the scrollbar is added/removed from the container. Thanks, Daniel On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Daniel This kind of request is simple, just use the hipotetical situation where you seted a container with the size of 400x300 and inside this container you added a component like panel as 500x600, what's gonna happen? the scroll will automaticly add the scroll. So, isn't goo enough but if you want to just see more details? just check out the liveDocs here below: http://livedocs.macromedia.com/flex/2/langref/mx/controls/scrollClasses/package-detail.html Regards. On 11/2/06, Daniel Cascais [EMAIL PROTECTED] wrote: Is there any known event that is dispatched when the scrollbar is showing/not showing in a container, when the scroll policy is set to auto? In other words: How can I know when a container's srollbar is showing or not showing? (Apart from looking at the screen of course). Thanks, Daniel -- Igor Costa www.igorcosta.com -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Componentshttp://www.flex2components.com You can find more by solving the problem then by 'asking the question'. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Using minYear with a DateField
Igor, I don't understand what you mean 'use previously the day, week and month Andrew --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: is not a bug, did you considerated yourself that using the minYear you have to use previously the day,week and month to use that. Usually some developers think this is a bug, but isnt. Regards. On 11/3/06, greenfishinwater [EMAIL PROTECTED] wrote: I have a date field, with minYear set to 2006, which prevents me entering an incorrect date if I manually enter it in the text field. But if I use the datechooser part, I can select a date prior to 2006. Is this a bug? Andrew -- Igor Costa www.igorcosta.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: DataGridCollumn: Display formatted value
This is an example of labelFunction that works for me: In mxml: mx:DataGridColumn headerText=Status dataField=price_status labelFunction=priceStatusLabel/ The function in AS3: private function priceStatusLabel(item:Object,column:DataGridColumn):String { if (item.price_status == O) { return Open; } else if (item.price_status == C) { return Closed; } else { return item.price_status; } } For the labelFunction in the grid column you only specify the function name. The actual function has access to the data from the grid column. Andrew -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: FDS Method Fill and List of parameters
Problem is I don't know how many parameters I'll have. I can have 3 as I can have 4 or 5. The query can seem to : in (1,2,3) or in (2,4,15,78,99,76)... --- In flexcoders@yahoogroups.com, Cathy Reilly [EMAIL PROTECTED] wrote: Here's an example when using Hibernate Named Queries. If I defined the following query in pet.hbm.xml, query name=owner.by.pet.nameselect pet.owner from Pet as pet where pet.name=?/query Then my fill operation requires a single parameter to be supplied. This is the value for the '?'. petDataService.fill(petCollection, owner.by.pet.name, [Buddy]); In you're case, the query also has a single parameter. In this case, you should pass in a value for 'in (?)'. I'm not sure where the '*' comes in. Perhaps the query should be query name=taskProjectsselect * From Task where idProject in (?, ?, ?)/query In which case, the fill would be taskDataService.fill(tasksArray, tasksProjects, [1, 2, 3]); Which should resolve to 'select * From Task where idProject in (1, 2, 3)' that is Query q2 = s.getNamedQuery(taskProjects); q2.setInt(0, 1); // where the first parameter is the position of the ? and the second parameters it the value passed in q2.setInt(1, 2); q2.setInt(2, 3); - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jonathan_merey Sent: Thursday, November 02, 2006 11:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FDS Method Fill and List of parameters Hi, I put this request in my mapping : query name=tasksProjectsFrom Task where idProject in (?)/query I want to know how put in this call method to replace * : taskDataService.fill(tasksArray, tasksProjects, [*]); The request must be like that : select * From Task where idProject in (1, 2, 3) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] AMFPHP / Cairngorm / _explicitType Problem
I am now quite comfortable with Cairngorm but have a last Problem. I would like to use the services I have already written in AMFPHP and now after changing to Cairngorm I have a problem. Now my main question is: Is it possible not to use the VO Objects on the PHP side? Because I am currently running out of time rewriting the AMF services. I tried just to add a key to the DB $row trying to define _explicitType ... conversion seems to work, but then the error is following (debugger does not even start up): NetStatusEvent unverarbeitet. level=error, code=NetConnection.Call.BadVersion What I am looking for is a cairngorm compatible AMFPHP code, where I do not need to create VOs, because the VOs in Flex have the same Column names... Any ideas? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Uploading
I am using flex2.0 trial, i have designed the page and upload the files i cant see the picture images, what is the problem. send my mail id. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Show data tips for only some series?
How can we show data tips for only certain series in a chart? We're using a LineChart with several LineSeries but also two PlotSeries. We want data tips on the PlotSeries but not the LineSeries. We're using a custom dataTipFunction and tried returning null, undefined, and from the function for LineSeries but we still get data tips for the lines (either empty boxes or boxes with the text null). Thanks, Sam -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Draggable Panels
--- In flexcoders@yahoogroups.com, klethron [EMAIL PROTECTED] wrote: Hello All, I am just starting into Flex 2 and im loving it. Is there any way to make my Flex Panels draggable? Are there any good tutorials on this anywhere? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Detect scrollbar showing/not showing
There are probably multiple ways to do this, but what about checking to see if myContainer.verticalScrollBar == null? Are you looking to do this at render time or is this something where the scroll bar could show at anytime after creationComplete and you need to be able to react immediately? According to the API Doc: verticalScrollBar property verticalScrollBar:ScrollBar[read-write] The vertical scrollbar used in this container. This property is null if no vertical scroll bar is currently displayed. | Karl Johnson Cynergy Systems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel CascaisSent: Thursday, November 02, 2006 10:00 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Detect scrollbar showing/not showing Is there any known event that is dispatched when the scrollbar isshowing/not showing in a container, when the scroll policy is set toauto?In other words: How can I know when a container's srollbar is showingor not showing? (Apart from looking at the screen of course).Thanks,Daniel __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] local SWF files cannot use the LoaderContext.securityDomain property
Yes, I understand that we want both apps coming from the same domain in production (or at least both from remote network locations) But there is a major use case here that cant be fulfilled: How do you DEBUG? Is there a way to setup Flex Builder to debug via remote files? We need to debug the loading and interaction of the child app with the Parent app (we dont necessarily need to debug the child app, although that would be nice, but we do need to debug the parent app.) I think this is a legitimate use case, albeit an advanced one, but I suspect it will start to come up more often especially when people start making more modular applications. - Tom From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Thursday, November 02, 2006 9:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] local SWF files cannot use the LoaderContext.securityDomain property I think you probably need to get your first app served over http as well so that it isnt local. The mix of local and network will always be limited. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of twgonzalez01 Sent: Wednesday, November 01, 2006 6:59 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] local SWF files cannot use the LoaderContext.securityDomain property Use Case: Debugging Flex app locally which uses the SWFLoader to load child applications that reside on a remote server (in our data center). Need to allow both the parent app (running locally in debug) and the child app (resides on remote server) to play nicely together. Expected Result: I can have both apps (parent child) share the same ApplicationDomain and SecurityDomain. What Happens: I get the error message local SWF files cannot use the LoaderContext.securityDomain property when trying to set the LoaderContext.securityDomain of the SWFLoader object. If I omit this setting the SWFLoader then barfs when it trys to load the remote resource. I have both parent and child applications using Security.allowDomain([*]); and I also have a cross-domain policy file on the remote server to allow ALL domains access. Anyone have any suggestions? __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Uploading
Any more details and/or code you can show? Cheers, Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kumar Sent: Friday, November 03, 2006 8:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Uploading I am using flex2.0 trial, i have designed the page and upload the files i cant see the picture images, what is the problem. send my mail id. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: DataGridCollumn: Display formatted value
Hi Andrew, Thanks for your advice. Thank you for explaining me the function of labelFunction. I will try your approach and will let you know, if I had success. Best regards, Pascal greenfishinwater wrote: This is an example of labelFunction that works for me: In mxml: mx:DataGridColumn headerText=Status dataField=price_status labelFunction=priceStatusLabel/ The function in AS3: private function priceStatusLabel(item:Object,column:DataGridColumn):String { if (item.price_status == O) { return Open; } else if (item.price_status == C) { return Closed; } else { return item.price_status; } } For the labelFunction in the grid column you only specify the function name. The actual function has access to the data from the grid column. Andrew -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Distortion Effects
Here's something for ya: http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor.cfm ;) Alex Alex Uhlmann Consultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6969m: +44 (0) 7917 428 951[EMAIL PROTECTED]http://weblogs.macromedia.com/auhlmann __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] 2 questions
The only time Ive used states is transitioning from two different contexts specifically from a login screen to the initial state of the application after login. (I wanted to animate the transition) As for components, my approach is to black box them and leverage the event model for communicating. As soon as one component knows about another, re-use is pretty much compromised. Your app itself can use listeners to catch and respond to these events and orchestrate things between components. HTH, Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Igor Costa Sent: Thursday, November 02, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] 2 questions better uses of viewStack On 11/2/06, DJ Lift [EMAIL PROTECTED]net wrote: Hi there, Have some questions about the best practice way of designing apps. I'm building a simple email server preferences application. And I've created two components. One for handling the login (which hits amfphp and ldap on the backend) and one for loading and changing/saving the user prefs (which also hits amfphp and ldap on the backend). There are really only two states, login handilng, and prefs changing. Question 1: Is it best to use States or ViewStacks to deal with changing app states? on to my second question... The login component is sorta self sufficient. It can handle good logins and bad ones. and if it's a good login can switch the current state to the preferences state (as viewstates are what i'm currently working with.) But when i get to the email preferences state, it wants to know things from the login component, like email and password. Question 2: Is it good practice to have components be able to talk and share information with one another? And if so, how do you keep them around and reference them if you're using viewstates? Thanks, mark -- Igor Costa www.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] TileList item effects? (Flex Store)
I know what showEffect is. That was merely to clarify my point/need. Nothing personal but I don't get down with copy/paste in place of learning something. My original question is for knowledge sake. I went through the Flex Store code and looked at how they did their animations. It made me wonder if there was an easier way since the Flex Store has been around since early Flex 2 alpha, etc days. On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: John the showEffect it's a method tigger that is same in Flex 2.0 isn't a costum Effect.Just put the code in FlexStore into your project and use it. On 11/3/06, John C. Bland II [EMAIL PROTECTED] wrote: Is there a way to get the Flex Store effects without dealing with custom AS? Like how you can set showEffect, etc? If not, :-(.Thoughts?--- John C. Bland IIChief Geek Katapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org -- Igor Costa www.igorcosta.com -- John C. Bland IIChief Geek Katapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear ThemHome of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] possible nested repeater bug??
Hmmm, not sure what you mean Igor. Can you not get the app to compile or run for you? I just tested moving the script block up to the top on my machine and it still runs. Anyone else having issues running this sample app? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolutewidth=100% height=100% creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = Parent number + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id=main width=100% height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } / mx:Button id=btnAddChild label=Add a child to this parent node click=this.handleAddChildClick(event); / /mx:HBox mx:Repeater id=rpChildren dataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} / /mx:Repeater /mx:Repeater mx:ControlBar width=100% horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection(); / mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick(); / /mx:ControlBar/mx:Panel /mx:ApplicationRegards On 11/2/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hi flexcoders, I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong. I have an array of VOs where each VO has an array of children VOs. I'm using a nested repeater to represent this structure. The user can add parents and children- this is when some strange behavior occurs. Some repeater rows in the nested repeater appear blank. I tried the whole dummy UI object filler to no avail. Here's a sample app that illustrates the problem. Just add a few parents and then add children and you'll see a lot of repeated rows. Any help would be appreciated: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute width=100%height=100% creationComplete=init()mx:Panel id=mainwidth=100%height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } /mx:Button id=btnAddChild label=Add a child to this parent nodeclick=this.handleAddChildClick(event);/ /mx:HBoxmx:Repeater id=rpChildrendataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} //mx:Repeater /mx:Repeatermx:ControlBarwidth=100%horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection();/mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick();//mx:ControlBar/mx:Panelmx:Script![CDATA[import mx.collections.ArrayCollection;import mx.core.UIComponent;[Bindable]public var dpParent:ArrayCollection; public function init() : void{dpParent = new ArrayCollection();}public function handleAddParentClick():void {var newParent:Object = new Object();newParent.name = Parent number + (dpParent.length + 1);newParent.children = new ArrayCollection();this.dpParent.addItem(newParent);}public function handleAddChildClick(event:MouseEvent):void {var parent:Object = UIComponent(event.currentTarget).getRepeaterItem();var newChild:Object = new Object();newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children).addItem(newChild);}]]/mx:Script/mx:Application Thanks, Jaime -- Igor Costa www.igorcosta.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 Software development
[flexcoders] Re: Distortion Effects
Thank you for your open source efforts. This ROCKS! Precia --- In flexcoders@yahoogroups.com, Alex Uhlmann [EMAIL PROTECTED] wrote: Here's something for ya: http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_disto r. cfm ;) Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] http://weblogs.macromedia.com/auhlmann -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?
So the user sees like 4 panels in a tilelist and you want to make 3 disappear and only the selected one grow to full size? is that it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian HolmesSent: Thursday, November 02, 2006 12:16 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? Hi Dimitrios, Thanks for the reply. I have a list of configurable panels that I'm displaying in a TileList. The user needs to be able to choose which ones he/she would like to see. Based off this gesture I need a way to look up the appropriate panel and render it on thier screen.That's really what I'm trying to do. Thanks, Brian.. From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios GianninasSent: Thursday, November 02, 2006 7:49 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? We dont really advocate the use of the ViewHelper/ViewLocator any more, only in extreme cases. If you want to see an example, I believe if you download the Cairngorm 1.5 distribution it will contain it. But the real question is, why are you thinking of using it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian HolmesSent: Wednesday, November 01, 2006 12:23 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? Can someone point me to an implementation of a cairngorm view helper \ view locator example? Thanks, brian.. ***The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information.*** AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. ***The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information.*** __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group
RE: [flexcoders] Isn´t there any release of Adobe Ap ollo yet? Alpha maybe....
And you think that the other projects released on Labs don't have the same effect? I'm sure that Lightroom and Soundbooth are going to attract more downloads than Apollo (from Labs, anyway). :) Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew D. GoodfellowSent: Thursday, November 02, 2006 11:29 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe All the features everyone has mentioned are very exciting. However right now I am only excited about one single Apollo feature. IMHO It's the most important feature, for me at least, of Apollo bar none. What could that feature be? It's the Apollo Public Release Date feature! ;o) You better cluster and load balance the web servers once you announce it's download location, because that address is gonna get buried with requests about 5 minutes later...-Andy On 10/31/06, Gordon Smith [EMAIL PROTECTED]com wrote: Just wondering, since I'm working on it... what features of Apollo are people most excited about? - Gordon From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Andrew D. GoodfellowSent: Tuesday, October 31, 2006 6:15 AMTo: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe Yep, I know how you feel. The suspense is brutal. I could have already built and sold like 8 products built on it.There are probably too many holes in it still, or at least that's what I keep telling myself. :o)-Andy On 10/31/06, arianrechia arianrechia@yahoo.com.br wrote: Hi people,I´m very exciting about Adobe Apollo, and I´ve been looking for somedownload to try the Apollo SDK, but with no success =(anyone already have a apollo alpha realease??thanxs --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.5.430 / Virus Database: 268.13.23/513 - Release Date: 11/2/2006 7:40 AM __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.13.25/515 - Release Date: 11/3/2006 5:15 AM
RE: [flexcoders] Disabling mouse/keyboard interaction while BusyCursor is set
Display a modal pop-up with a general message of what is happening ("Searching...") so that they can't click on anything. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lokesh2084Sent: Thursday, November 02, 2006 11:07 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Disabling mouse/keyboard interaction while BusyCursor is set When fetching large sets of data to populate some of our screens, theuser gets a little time to watch the busy cursor spin around.Temptation to click buttons and other interface elements exists andthis can cause unwanted results. Just curious on how others havehandled this.Disabled all keyboard, mouse interaction? Hid problem UI elements tilldata has been fetched? Loaded everything up front and used a progressbar? any comments are appreciated.--Lokesh AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] another checkbox itemrenderer in a datagrid question
i have an itemrenderer where the checkbox is disabled eg mx:HBox horizontalAlign=center mx:CheckBox id=cb enabled=false/ /mx:HBox i would like to enable it only when the user selects it (say in a itemEditBeginnning event) ( and then disable it again) any ideas? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Distortion Effects
Wow! Amazing :DOn 11/3/06, Alex Uhlmann [EMAIL PROTECTED] wrote: Here's something for ya: http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor.cfm ;) Alex Alex Uhlmann Consultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6969m: +44 (0) 7917 428 951[EMAIL PROTECTED] http://weblogs.macromedia.com/auhlmann -- ::| Carlos Rovira::| http://www.carlosrovira.com::| http://www.madeinflex.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Bitmap Analysis
Does anyone know any resources for advanced bitmap analysis with a flex app. I'm looking through the Bitmap Class but I'm a little in over my head on the algorithms side. There are two things I'm trying to do.First, how can I tell if one object (objects defined by what is drawn not the bounding rectangle) is completely overlapped/inside by another. (I'm not asking about parent/child relationship, I'm asking about visual representation). Put another way, I'm looking for a hitTest function/algorithm that tests if every pixel hits another supplied object, instead of simply at least one pixel hitting it. Second, assuming the first question is found to be true, how can I get the list of pixels from the larger object that overlaps the visual border (remember the border could be arbitrarily shaped) of the small object. One possibly useful simplifying assumption here is that the larger object is only a single pixel thick border. I know these questions are a little in depth, so I'm not expecting a complete solution (although I'd take it), so can anyone point me in the right direction (tutorials, examples, utility classes, etc)?- Dan __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Detect scrollbar showing/not showing
Michael, Karl, Thanks for your inputs. I'm doing some dynamic tile layout and sizing which requires me to set different params depending on the scrollbar availability and tile count. I also thought about the Event.RENDER but it seemed overkill. I'll look into the different options, but I'll probably end up checking for the existence of the scrollbar in each iteration of a loop (where I size and position the tiles) and break if the conditions change, recalling the method with new parameters... or something like that. Thanks guys, Daniel On 11/3/06, Karl Johnson [EMAIL PROTECTED] wrote: There are probably multiple ways to do this, but what about checking to see if myContainer.verticalScrollBar == null? Are you looking to do this at render time or is this something where the scroll bar could show at anytime after creationComplete and you need to be able to react immediately? According to the API Doc: verticalScrollBar property verticalScrollBar:ScrollBar [read-write] The vertical scrollbar used in this container. This property is null if no vertical scroll bar is currently displayed. | Karl Johnson Cynergy Systems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Cascais Sent: Thursday, November 02, 2006 10:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Detect scrollbar showing/not showing Is there any known event that is dispatched when the scrollbar is showing/not showing in a container, when the scroll policy is set to auto? In other words: How can I know when a container's srollbar is showing or not showing? (Apart from looking at the screen of course). Thanks, Daniel -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: AMFPHP / Cairngorm / _explicitType Problem
It is very possible to use Cairngorm AMFPHP and VO's. I have a RemoteObjectAMF0 component that helps facilitate Flex 2 and AMF0 connections. Along with the component is a Cairngorm 2.1 Store example with AMFPHP backend. http://renaun.com/blog/flex-components/remoteobjectamf0/ Renaun http://renaun.com/blog/ --- In flexcoders@yahoogroups.com, ichgehe [EMAIL PROTECTED] wrote: I am now quite comfortable with Cairngorm but have a last Problem. I would like to use the services I have already written in AMFPHP and now after changing to Cairngorm I have a problem. Now my main question is: Is it possible not to use the VO Objects on the PHP side? Because I am currently running out of time rewriting the AMF services. I tried just to add a key to the DB $row trying to define _explicitType ... conversion seems to work, but then the error is following (debugger does not even start up): NetStatusEvent unverarbeitet. level=error, code=NetConnection.Call.BadVersion What I am looking for is a cairngorm compatible AMFPHP code, where I do not need to create VOs, because the VOs in Flex have the same Column names... Any ideas? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] security issues when capturing flex screens that contain other domain bitmaps
I literally just hit this problem now too. Did you ever receive a solution Hank? Anyone else?-AndyOn 9/26/06, hank williams [EMAIL PROTECTED] wrote: I have a flex screen that I want to capture into a bitmap using the technique that Andrew Trice described earlier this week. it works as so: codeExample1 private function getUIComponentBitmapData(target:UIComponent):BitmapData{ var bd : BitmapData = new BitmapData( target.width, target.height ); var m : Matrix = new Matrix(); bd.draw(target,m); return bd; } /codeExample1 I am feeding that function a UIComponent that contains an image that looks like this: codeExample2 mx:Image id=picture verticalAlign=middle horizontalAlign=middle source={model.picture_http} width =200 height=200/ /codeExample2 The problem is that the model.picture_http is on another domain. The error I get is as follows: error SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://localhost:8080/elroyServer/songmail/songmail-debug.swf cannot access http://storage.elroynetworks.com/0922337203685477580744. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. /error This seems to suggest that I need a crossdomain.xml file, which is fine. I have that, and I believe it is in the right place. The problem is I am supposed to set a checkPolicyFile flag. The doc's explain how to do this, but not in the context of Flex. The docs say: docs When you load the image using the load() method of the Loader class, you can specify a context parameter, which is a LoaderContext object. If you set the checkPolicyFile property of the LoaderContext object to true, Flash Player checks for a cross-domain policy file on the server from which the image is loaded. If there is a cross-domain policy file, and the file permits the domain of the loading SWF file, the file is allowed to access data in the Bitmap object; otherwise, access is denied. You can also specify a checkPolicyFile property in an image loaded via an img tag in a text field. For details, see Loading SWF files and images using the img tag in a text field. /docs I dont know how one would use the load() command from MXML. Moreover, I would really like an MXMLish way to deal with cross domain issues. Has anybody dealt with this? Hank __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Custom Component Question - array collection
I have made a custom component from a standard combo box with an array collection of hours of the day. When used on an application form the contents of the array are not displayed. Are custom components not able to encapsulate the datasource in the array collection? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Distortion Effects
Already playing with it J I love the cubeRotate Effect Joo Fernandes From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Uhlmann Sent: sexta-feira, 3 de Novembro de 2006 14:57 To: flexcoders@yahoogroups.com Subject: [flexcoders] Distortion Effects Here's something for ya: http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor.cfm ;) Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED]com http://weblogs.macromedia.com/auhlmann __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] DataGrid with content spanning several columns
Hi All,I need a DataGrid with the ability to have a row where some of the contents span across columns. It might sound a bit odd - here is maybe a bit more of a concrete example.The first column contains a zip code, 2nd column contains the name of a town, underneath both columns - i.e. spanning them - there is an address. So I still want the ability to e.g. sort on zip code etc, and all the nice things that the DataGrid gives me - drag and drop columns etc.Any ideas how to accomplish this? I have thought of maybe doing something in the drawRowBackgrounds() - but maybe there is a better or easier way. ThanksJonathan __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Disabling button on buttonBar - error...
Hi, I'm trying to disable a button on a buttonbar but I'm getting an error... here's what I have: mx:ButtonBar id=controlBar height=20 width=100% horizontalGap=0 itemClick=buttonBarClickHandler(event); mx:dataProvider mx:Array mx:StringNew Topic/mx:String mx:StringReply/mx:String mx:StringEdit/mx:String mx:StringDelete/mx:String mx:StringSave/mx:String /mx:Array /mx:dataProvider /mx:ButtonBar Then I have this: import mx.controls.Button; private function setAccess( accessLevel:String ):void { switch(accessLevel) { case core: Button(controlBar.getChildAt(1)).enabled = false; break; default: trace(Error setting button states: Out of range); } } The error I'm getting is: Call to a possibly undefined method getChildAt through a reference with static type mx.core:IUIcomponent. Does anyone know why I'm getting this error - and how I can resolve it please ?! Thanks, Jamie. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: TextArea in Grid - too big
The bigger issue is the textArea is expanding 100% in each direction in the gridItem. I need align the text to the bottom and it's not happening. The text stays at the top. The top gridRow containing 8 gridItems with a textArea inside the gridItem. What I have done to is set the height of each textArea, however if I do not set the height, the textArea expands to fill the gridItem. That's ok if the text in the textArea would valign to the bottom, but it doesn't. So I'm at loss. How do I make this look better? At the moment it looks like floating balloons. Ugg. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Re: Tree not updating with correct XML
Aaron, When are you calling your HTTPService? If you are setting myXLC at creationComplete, then most likely your web service has not had a chance to run and return a resultset yet. Where in your code is the HTTPService fired off? If the tree is to be populated with the xml returned from your service, then you should be setting the value of myXLC in the result event handler of the HTTPService. | Karl Johnson Cynergy Systems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of meatheadSent: Thursday, November 02, 2006 4:49 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Tree not updating with correct XML Okay, I'm trying to figure this out. Things look just like the help files, but I'm not working. Here's what I got so farHTTPService is this mx:HTTPService id="rstTree" url=""http://Path/To/XML.aspx">http://Path/To/XML.aspx" useProxy="false" resultFormat="e4x" result="" /***I've tried both e4x and xml as resultFormat.Script code looks like thisimport mx.collections.*;[Bindable]public var myXLC:XMLListCollection;public function init():void{myXLC = new XMLListCollection(rstTree.lastResult.Root);}*I've got the init function being called at application creationComplete.Here's my tree MXMLmx:Tree id="tvwProjects" width="100%" height="100%" dataProvider="{myXLC}" labelField="@label" itemClick="treeClickEvent(event);" y="10"/mx:TreeLastly, here is my xml from the aspx page.**?xml version="1.0" encoding="utf-8" ? Root label="Root" action=""menuitem label="2006" action=""menuitem label="2006 07" action=""menuitem label="Detail" action="" / menuitem label="Rollup" action="" / menuitem label="Summary" action="" / /menuitemmenuitem label="2006 08" action=""menuitem label="Detail" action="" / menuitem label="Rollup" action="" / menuitem label="Summary" action="" / /menuitemmenuitem label="2006 09" action=""menuitem label="Detail" action="" / menuitem label="Rollup" action="" / menuitem label="Summary" action="" / /menuitem/menuitem/Root**I know that I'm returning my xml from the HTTPService since I can show an alert box with data from it. However, Nothing is showing in my tree. Nothing. Can anyone help?Thanks,Aaron--- In [EMAIL PROTECTED]ups.com, "meathead" [EMAIL PROTECTED] wrote: You pretty much answered my question when you stated that the XML tag gets set during compiled time. I was thinking I might have to use an HTTPService tag since the XML.aspx file will have different results depending on the time of day per user. Bummer we can't just reset the XML tag. Thanks for the prompt reply. Off to go learn how to send in data to a tree via HTTPService. Aaron --- In [EMAIL PROTECTED]ups.com, "Michael Labriola" labriola@ wrote: Aaron,Need to clarify something:When you say : The XML is changes, do you mean that the XML data retrieved from http://Path/To/XML.aspx changes or that you change the XMl after loading at the client?I don't want to answer the wrong question, but the mx:XML tag includes data at compile time, not runtime. So, the application is going to grab a copy of this data when it compiles and build it in. If you are looking to grab data at runtime, you need to look at something like an HTTP service tag to go and grab the data on command.Let me know if this answers your question, --Mike --- In [EMAIL PROTECTED]ups.com, "meathead" makacos@ wrote: Hi all, I'm at a loss here. I've got a tree set up to retrieve XML data.It works fine until the data in the XML changes. Then the treewon't reflect the new data until my flex application is recompiled.I believe when the application is being recomplied it's grabbing the XML and setting it somehow. Here is some code. CODE*** mx:Script ![CDATA[ import mx.events.ListEvent; import mx.controls.Alert; import mx.collections.*; [Bindable] public var myXLC:XMLListCollection; public function afterComp():void { myXLC = new XMLListCollection(TreeXML.children()); tvwProjects.invalidateList(); } ]] /mx:Script mx:XML source="http://Path/To/XML.aspx" id="TreeXML"/ mx:Tree id="tvwProjects" width="100%" height="100%" dataProvider="{myXLC}" labelField="@label" itemClick="treeClickEvent (event);" y="10" /mx:Tree END OF CODE*** I've also tried the above without the XMLListCollection and justputting the TreeXML straight into the Tree object dataProvider. The afterComp function is called in the application createCompletion event. I've also tried with and without invalidateList.
Re: [flexcoders] Detect scrollbar showing/not showing
Hi,A thought;If you used the ADDED event, in a handler once the scroll bar was created or destroyed, you could then dispatch an event to another handler that would then commit the logic you needed for existence changes in your tile layout. Then again I don't know exactly what you are doing.This way you could remove the logic from your layout.Peace, MikeOn 11/3/06, Daniel Cascais [EMAIL PROTECTED] wrote: Michael, Karl, Thanks for your inputs. I'm doing some dynamic tile layout and sizing which requires me to set different params depending on the scrollbar availability and tile count. I also thought about the Event.RENDER but it seemed overkill. I'll look into the different options, but I'll probably end up checking for the existence of the scrollbar in each iteration of a loop (where I size and position the tiles) and break if the conditions change, recalling the method with new parameters... or something like that. Thanks guys, Daniel On 11/3/06, Karl Johnson [EMAIL PROTECTED] wrote: There are probably multiple ways to do this, but what about checking to see if myContainer.verticalScrollBar == null? Are you looking to do this at render time or is this something where the scroll bar could show at anytime after creationComplete and you need to be able to react immediately? According to the API Doc: verticalScrollBar property verticalScrollBar:ScrollBar [read-write] The vertical scrollbar used in this container. This property is null if no vertical scroll bar is currently displayed. | Karl Johnson Cynergy Systems From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Cascais Sent: Thursday, November 02, 2006 10:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Detect scrollbar showing/not showing Is there any known event that is dispatched when the scrollbar is showing/not showing in a container, when the scroll policy is set to auto? In other words: How can I know when a container's srollbar is showing or not showing? (Apart from looking at the screen of course). Thanks, Daniel -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Componentshttp://www.flex2components.com You can find more by solving the problem then by 'asking the question'. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Flex Data Services - Client.Data.UnderFlow
Hi, When switching to communicate with a copy of my database on a testserver (with mysql server at localhost) I very very slowly receive some initial data from the database. At the third sql-call it breaks...I get this same error. netStatusHandler: [NetStatusEvent type=netStatus bubbles=false cancelable=false eventPhase=2 info=[object Object]] level : error details : code : Client.Data.UnderFlow description : Could it have anything to do with differences in php- or mysqlversions? On the old webserver everything works fine. Nothing is acutaly changed in the actionscript-code. And the sql-statements works fine in the amfphp-browser. Someone has any suggestions for this problem? Thanks, Fredrik Sandberg This is due to an unexpected error during serialization. If you could send me a reproducible test case I would very much like to know what caused this... the best way would be to zip up the code and rename the zip file with a .pete extension (as .zip files will be denied by our email system). Thanks, Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aurélien BLOND Sent: Sunday, October 15, 2006 11:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Data Services - Client.Data.UnderFlow Hi there, I'm currently trying to use Flex Data Services and Hibernate to link my web application with a MySQL database. All Java classes are written and mapped to the database with hibernate. AS3 classes are written and mapped to Java classes with [Managed] and [RemoteClass(...)]. The data-management-config file is filled with one destination per class and the default-channel is polling-amf. The first class is the Client one and contains all personal data. The second one is the User class. It contains special data and a reference to a Client. The last class is the Contract one. This one contains contract data, a reference to a Client and a collection of Users to indicate which users are concerned by the current contract. The web application contains 2 states: - the default one to display client's contracts in a custom component using a DataService to retrieve data (destination = hibernate.Contract) - the second one to display client's and users' data in a custom component containing two DataServices to retrieve data (destinations = hibernate.Client and hibernate.User So when a client visits the website, the default state is displayed without any problem. An error is displayed when the client changes the current state of the application but new data are well displayed. Here is the error: Error #2044: NetStatusEvent non pris en charge : level=error, code=Client.Data.UnderFlow at mx.messaging.channels::NetConnectionChannel$iinit() at mx.messaging.channels::AMFChannel$iinit() at mx.messaging.config::ServerConfig$/::createChannel() at mx.messaging.config::ServerConfig$/getChannel() at mx.messaging::ChannelSet/::hunt() at mx.messaging::ChannelSet/send() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend() at mx.messaging::Consumer/subscribe() at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::reconnect() at mx.data::ConcreteDataService/fill() at mx.data::DataService/fill() at assure_v3/getContract() at assure_v3/initAssureV3() at assure_v3/___Application1_creationComplete() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/set initialized() at mx.managers::LayoutManager/::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() I tried to disconnect the DataService, release the collection but I have no idea on how to solve this problem. Does somebody already encounter this problem or know how to solve it? Thanks. -- Aurélien BLOND -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is
RE: [Junk E-Mail - LOW] RE: [flexcoders] Re: Date Bug?
I had this EXACT same problem... but get this: In flash, I use a datepicker. In CF, I use cfsql_date, and in mysql the column it's stored in is date. So, timezones shouldn't matter, since I'm never dealing with time. The data gets saved to the database as the incorrect date. I asked the Flex guys at MAX, but the suggestions there didn't help. I'm in CST, and so far nobody else with the problem has been in the CST timezone. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, JeffSent: Wednesday, November 01, 2006 4:26 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] RE: [flexcoders] Re: Date Bug? Doug,I did think of that - but the date issue was demonstrated at 11:00 AMPST/1:00 DST. I'm thinking that this behavior could be replicated prettyeasily - we worked around it by passing simple strings as I said. Jeff-Original Message-From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] OnBehalf Of Doug LowderSent: Wednesday, November 01, 2006 3:57 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: Date Bug?I'm doubtful this is a bug because of the fact that you are dealing with two timezones. The Date class converts times to client-local values based on the OS's timezone setting, so if the time in question is between 12:00 and 2:59 AM Eastern you will see a date of one day earlier when viewed in Pacific timezone. You can do some testing with date.toUTCString() to make sure dates/times are the same no matter what the client timezone is.Doug--- In [EMAIL PROTECTED]ups.com, "Battershall, Jeff" jeff.battershall@... wrote: Some interesting behavior turned up by populating a combox boxwith some dates pulled from a CFQUERY-driven dataprovider and passing theselected date back via post to a CF page. Certain users would consistentlyget the date back one day earlier than was intended. Has anyone seen anything like this? I'm on the East Coast and the user in questionwas on the West Coast if that matters (and I don't think it should). What I've had to do is 'dumb it down' by passing a simple string ddmm and then parsing it on the CF side of things after thepost operation - something about date handling within Player 9 seems alittle quirky. In other words I eliminated all date parsing from remoteobject back to Flex and Flex back to CF. Note that the user had the same exact behavior on IE or Firefox.Any insight appreciated! Jeff Battershall Application Architect Dow Jones Indexes jeff.battershall@... (609) 520-5637 (p) (484) 477-9900 (c)--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --No virus found in this incoming message.Checked by AVG Free Edition. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition.
RE: [flexcoders] Show data tips for only some series?
Hi Sam. Set interactive=false on the series you don't want to see datatips on. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel R. NeffSent: Friday, November 03, 2006 6:20 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Show data tips for only some series? How can we show data tips for only certain series in a chart? We're using a LineChart with several LineSeries but also two PlotSeries. Wewant data tips on the PlotSeries but not the LineSeries. We're using acustom dataTipFunction and tried returning null, undefined, and "" from thefunction for LineSeries but we still get data tips for the lines (eitherempty boxes or boxes with the text "null").Thanks,Sam __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] specifying measuredWidth/measuredHeight in a skin
Hi Brian,This dosn't make sense...What are you subclassing for the skin class?I use ProgrammaticSkin and RectangularBorder all the time and have never specified measuredWidth or measuredHeight in a skin. I get none of the things you are talking about. Are you using an image or drawing API in the skin?If it is a borderSkin style are you subclassing RectangularBorder? For the borderMetrics. Can you give an example, I am sure I could nail this one. Peace, MikeOn 11/2/06, Brian Deitte [EMAIL PROTECTED] wrote: Ah, my first flexcoders post as a Flex developer. I feel like I should be getting my cloak and learning a secret handshake right now. Is there a way to not specify the measuredWidth and measuredHeight in a skin? I don't like having to hardcode a width and height there, as I currently have to do. For more details, this is an application that is using absolute positioning, and the skins are on Canvases. If I don't specify the measured width and height in the skin, then the drawRoundRect() doesn't draw from the correct position, and the passed-in width and height from updateDisplayList() doesn't seem to help with this fact. Am I missing something here? Thanks for any pointers, Brian -- What goes up, does come down. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] need help on authentication
Hi all, I want to diplay a box with a login form when my application load first with a blur effect behind the box. I don't know how to do Is someone here to explain me how to do ? Thank you JB -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Using CDATA in XML objects in Flex 2
This sounds reasonable. XML can take strings which it will then parse, so doing it as a String makes sense to me. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Xavi Beumala Sent: Wednesday, November 01, 2006 11:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Using CDATA in XML objects in Flex 2 Hi Andrew, today I've just sent the same question... Right now I've solved it in a similar way, but I think should be a better way... Here's a copy of my previous post: For example if I want to get an XML like this: simpleChoice identifier=I0001![CDATA [hello emworld/em]]/simpleChoice I've tried things like: var node:XML = simpleChoice identifier={identifier}![CDATA[{choice.text}]]/simpleChoice But this way I receive: simpleChoice identifier=I0001![CDATA[{ choice.text}]]/simpleChoice because {choice.text} is not being processed. Any suggestion? Best X. On 11/1/06, landrew65 [EMAIL PROTECTED]com wrote: All, I am building an app in Flex 2, and I need to send complex XML data from my Flex client to my server-side application.I need to encapsulate some of the data in ![CDATA[ ]] tags, but I cannot use the CDATA tag inside a Flex script block.To solve this problem, I created a simple function that adds CDATA tags to the appropriate XML nodes in real time by using this function: private function addCDATA(node:String) :String { return ![CDATA[+node+]]; } Is this the best solution?I'd love to hear ways that other people have solved it. Andrew -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:flexcoders-digest@yahoogroups.com mailto: flexcoders-fullfeat[EMAIL PROTECTED].com * To unsubscribe from this group, send an email to: flexcoders-unsubscr[EMAIL PROTECTED]com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] custom Message Service adapter
Hi Ryan, Thanks for the extra detail. There currently aren't public APIs that would allow your custom message service to directly manage the set of subscribers that a message is broadcast to. For now, I'd recommend trying to get really creative with Consumer selectors and message headers, or possibly look into whether you can expose this shared data to your clients via the data management service. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Levere Sent: Tuesday, October 31, 2006 3:40 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] custom Message Service adapter Hi Seth, Thank you for your input. I don't think subtopics will work for me in this instance. Here's the situation I'm looking at right now: All clients will be looking to acquire a small portion of a very large chunk of shared data during program execution. When the client makes this request, there are cases where the server's reply should reach all clients and there are cases where it should only reach the client that made the request. For the latter, it is important that only the requesting client receives the data as I want to ensure no unnecessary data is sent to clients that do not require it. I should also mention that the client will not know if the data it is requesting should reach other clients or just itself. Ryan -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Seth Hodgson Sent: Tuesday, October 31, 2006 2:04 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] custom Message Service adapter Hi Ryan, Are message headers and Consumer selectors, or subtopics (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=8f1eb6ea) insufficient to manage message routing for your use case? You should be able to use either of these approaches to 'filter out' certain subscribed clients from receiving certain messages. If this isn't sufficient I'd like to hear more about the use case you're trying to solve. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ryanlevere Sent: Tuesday, October 31, 2006 9:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] custom Message Service adapter I'm trying to create a custom message service adapter for my Flex application and I'd like to be able to filter out certain clients from within the 'invoke' method. Does anyone know how to do this? The MessageService method 'pushMessageToClients' can accept a set of subscriber identifiers but I'm not too clear on where those identifiers come from. Any assistance woul be greatly appreciated. Thanks, Ryan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [Junk E-Mail - LOW] RE: [flexcoders] Re: Date Bug?
I've found the problem (thanks Service Capture, as usual). Flash passes back a timestamp, not just a date, when using the datefield. So, I'd pass back "Tue Aug 29 :00:00:00 EDT 2006". Of course, CF thinks that you want to convert a timestamp to a date, and does the timezone conversion automatically, making it Tue Aug 28. Ugh. Guess I need to pass back a string instead. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, JeffSent: Wednesday, November 01, 2006 4:26 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] RE: [flexcoders] Re: Date Bug? Doug,I did think of that - but the date issue was demonstrated at 11:00 AMPST/1:00 DST. I'm thinking that this behavior could be replicated prettyeasily - we worked around it by passing simple strings as I said. Jeff-Original Message-From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] OnBehalf Of Doug LowderSent: Wednesday, November 01, 2006 3:57 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: Date Bug?I'm doubtful this is a bug because of the fact that you are dealing with two timezones. The Date class converts times to client-local values based on the OS's timezone setting, so if the time in question is between 12:00 and 2:59 AM Eastern you will see a date of one day earlier when viewed in Pacific timezone. You can do some testing with date.toUTCString() to make sure dates/times are the same no matter what the client timezone is.Doug--- In [EMAIL PROTECTED]ups.com, "Battershall, Jeff" jeff.battershall@... wrote: Some interesting behavior turned up by populating a combox boxwith some dates pulled from a CFQUERY-driven dataprovider and passing theselected date back via post to a CF page. Certain users would consistentlyget the date back one day earlier than was intended. Has anyone seen anything like this? I'm on the East Coast and the user in questionwas on the West Coast if that matters (and I don't think it should). What I've had to do is 'dumb it down' by passing a simple string ddmm and then parsing it on the CF side of things after thepost operation - something about date handling within Player 9 seems alittle quirky. In other words I eliminated all date parsing from remoteobject back to Flex and Flex back to CF. Note that the user had the same exact behavior on IE or Firefox.Any insight appreciated! Jeff Battershall Application Architect Dow Jones Indexes jeff.battershall@... (609) 520-5637 (p) (484) 477-9900 (c)--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --No virus found in this incoming message.Checked by AVG Free Edition. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.13.25/515 - Release Date: 11/3/2006 5:15 AM
RE: [flexcoders] AMF3 Remoting+CF w/ same CF session?
Yes. I'm doing it right now. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John C. Bland IISent: Tuesday, October 31, 2006 9:54 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] AMF3 Remoting+CF w/ same CF session? I looked through the archives and I'm not 100% sure anyone has answered this. Yes or no? (or Yes/No/Kinda and here's why/Kinda and here's why not) When I make my Remoting call, CAN CF use the same session the user has in the regular browser.cfm's? Meaning, Flex is not the whole site. It is merely a widget (well, collection of widgets). For this one in particular, we HAVE to have the same session so we can get the current users info. Before this happened automagically for you. Now, not so much so.-- John C. Bland IIChief GeekKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - "Christian Products for Those Bold Enough to Wear Them"Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org --No virus found in this incoming message.Checked by AVG Free Edition. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition.
RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] RE : [flexcoders] Isn´t there any release of Adobe Apol lo yet? Alpha maybe....
http://www.brooks-bilson.com/blogs/rob/index.cfm/2006/10/24/Adobe-MAX-2006-Session--ColdFusion-Net-Integration Its only related to .net object access, not were it will run. Youll always need a windows machine (eventually MONO). I think that specific and exclusive platform integration should be avoided like COM and .NET objects invocation. João Fernandes From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: quarta-feira, 1 de Novembro de 2006 15:48 To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe Everything I read about Scorpio said .NET on Windows Did I miss the big news? :) -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Tom Chiverton Sent: Wednesday, November 01, 2006 9:31 AM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe On Wednesday 01 November 2006 14:42, Shannon Hicks wrote: platforms. So, for instance, you're not going to be able to use a COM object directly in Apollo, since it's not supported in the MacOS or Linux. No, but .Net (COM version 2) will run on all three - see ColdFusion 8's '.net' object. The system tray, however, does translate nicely to the OS X dock, but how would that translate over to all the flavors of Linux they hope to support? KDE and GNOME both have a system tray type area. -- Tom Chiverton Helping to evangelistically brand open-source platforms This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- No virus found in this incoming message. Checked by AVG Free Edition. -- No virus found in this outgoing message. Checked by AVG Free Edition. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] x, y, width, and height in CSS
There are some reasonable approaches for some of things your looking for in CSS. For X and Y positioning, you can use the CSS values Left, Right, Top, and Bottom to specify the pixels distance. For height, for controls like button, you can use your CSS paddings to, in a sense, define the height. For example, a button, setting PaddingTop and Padding Bottom will create a consistent height for buttons across all buttons with that styleName. You can play around with paddingTop and paddingBottom until you get the desired height ( http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer. html) and use that to define height. -peter On 11/2/06 2:47 PM, Brian Deitte [EMAIL PROTECTED] wrote: Is there any thoughts on having x, y, width, and height in CSS? I find it painful to not have the values there when working with a designer and using absolute positioning. My life would be much easier if I could simply set up the Flex application on the designer's machine, point him to the CSS, and let him make design changes himself. I've read Manish's posts on this (http://mannu.livejournal.com/359634.html, http://mannu.livejournal.com/299285.html) as well as Gordon's flexcoders post where he says this is by design. I assume this is by design for performance reasons, and that the framework would be slowed down by having to look up the values continuously to check for runtime changes. So how about special-casing these four values in CSS, and allowing them to continue to be properties? -Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: unable to load wsdl?? flex, you're pissing me off...
Works fine in FF 1.5.0.7 Win here...On 11/1/06, Jason [EMAIL PROTECTED] wrote: Can anyone out there can confirm that the example here: http://blog.wrench.com.au/wp-content/uploads/Flex/converter2/Converter.html actually works in Firefox (I'm using 1.5.0.7 and the 9.0.16.0 debug version of the flash player) ??? __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] setting my application pageTitle
Application usually gets replaced with the pageTitle attribute value. If you look in your bin directory what does the generated wrapper look like? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Thursday, November 02, 2006 3:38 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] setting my application pageTitle No, I'm loading the default html page that flex2 creates for deploying an application. In the HTML file, the title is index. But in the index-template.html file, which is presumably the base from which the index file is built, it says title${application}/title. So the question is, I guess, where is the {application} variable coming from and why cant I set it using the title parameter? Regards Hank On 11/2/06, Tom Chiverton tom.chiverton@halliwells.com wrote: On Wednesday 01 November 2006 21:41, hank williams wrote: name of the apps main .mxml file (which is named index.mxml so that I dont have to list the actual app name in my url). Are you loading the .swf file directly, or via a HTML wrapper ? If the latter, what is the HTML title tag ? -- Tom Chiverton Helping to heterogeneously strategize eligible platforms This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe....
ability to grab chunks from the screen into a bitmapdata obj.On 11/1/06, Tom Chiverton [EMAIL PROTECTED] wrote:On Tuesday 31 October 2006 20:41, Gordon Smith wrote: Just wondering, since I'm working on it... what features of Apollo are people most excited about?This is difficult, because many of the features are not known yet, or are justrumour* Offline / occasionally connected / on/off line notificationThis means we can offer an 'offline' version of many web based apps * Runs already known codebase with little/no mods (AS3/Flex)Nothing to learn* Native access to database without server callsEven a super-SharedObject would be funky, but people keep mumberling about how AS3 socket support is so good you could write a JDBC driver in it...* Doesn't run in a web browser / (can) Look(s) like a native appSome people are allergic to the web. We could push Apollo out on to theirdesktops and they'd never know it was Flex * Automatic update checks for user apps.Because otherwise we'll have to do it, and it'll be a pain, even with pushdesktop tools like Zen.* Local file read/write, local file executionUnlimited interaction with anything else we might have installed. --Tom ChivertonHelping to evangelistically incubate essential environmentsThis email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.--Flexcoders Mailing 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/* Your email settings:Individual Email | Traditional * To change settings online go to:http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email: mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/-- j:pn http://www.lennel.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Q. How can I change the property of a row in a datagrid? Please help...
I have list that displays some values, now when i select some value from the list corresponding row in the grid should get highlighted. I have got the row number, and I want to change the alpha of that row. Method setPropertiesAt() is not present in this version of Flex, I am working on Flex 2. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] possible nested repeater bug??
I didn't have this problem Jaime.It's works for me.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hmmm, not sure what you mean Igor. Can you not get the app to compile or run for you? I just tested moving the script block up to the top on my machine and it still runs. Anyone else having issues running this sample app? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolutewidth=100% height=100% creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = Parent number + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id=main width=100% height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } / mx:Button id=btnAddChild label=Add a child to this parent node click=this.handleAddChildClick(event); / /mx:HBox mx:Repeater id=rpChildren dataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} / /mx:Repeater /mx:Repeater mx:ControlBar width=100% horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection(); / mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick(); / /mx:ControlBar/mx:Panel /mx:ApplicationRegards On 11/2/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hi flexcoders, I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong. I have an array of VOs where each VO has an array of children VOs. I'm using a nested repeater to represent this structure. The user can add parents and children- this is when some strange behavior occurs. Some repeater rows in the nested repeater appear blank. I tried the whole dummy UI object filler to no avail. Here's a sample app that illustrates the problem. Just add a few parents and then add children and you'll see a lot of repeated rows. Any help would be appreciated: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute width=100%height=100% creationComplete=init()mx:Panel id=mainwidth=100%height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } /mx:Button id=btnAddChild label=Add a child to this parent nodeclick=this.handleAddChildClick(event);/ /mx:HBoxmx:Repeater id=rpChildrendataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} //mx:Repeater /mx:Repeatermx:ControlBarwidth=100%horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection();/mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick();//mx:ControlBar/mx:Panelmx:Script![CDATA[import mx.collections.ArrayCollection;import mx.core.UIComponent;[Bindable]public var dpParent:ArrayCollection; public function init() : void{dpParent = new ArrayCollection();}public function handleAddParentClick():void {var newParent:Object = new Object();newParent.name = Parent number + (dpParent.length + 1);newParent.children = new ArrayCollection();this.dpParent.addItem(newParent);}public function handleAddChildClick(event:MouseEvent):void {var parent:Object = UIComponent(event.currentTarget).getRepeaterItem();var newChild:Object = new Object();newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children).addItem(newChild);}]]/mx:Script/mx:Application Thanks, Jaime -- Igor Costa www.igorcosta.com -- Igor Costawww.igorcosta.com __._,_.___ -- Flexcoders Mailing List FAQ:
RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe....
Correction! I was wrong about one of the open source 3D libraries for flash/flex, Papervision is aspiring to go open source but has not. According to the author, those hoping to use an open source Papervision will have to wait a while. Personally, I think its a shame to have two dualing open source 3D libraries for Actionscript. For what its worth, my vote is for sandy, which is available now: http://www.flashsandy.org/ :^) -Evan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Evan Gifford Sent: Thursday, November 02, 2006 8:48 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe Sandy, (http://www.flashsandy.org/) is an open source pseudo-3D API. That is to say, it uses the existing flash graphic distortion and rendering abilities to 'simulate' 3D (and it does this very well). The problem is, like Hank said, the rendering times are slow due to a number of limitations of the Flash player. I can envision a universal 3D API which would choose from two different models, textures and rendering engines based on weather or not hardware acceleration is available and/or a quick performance test (like a bandwidth test for choosing a streaming video rate). This would allow a Flex app which aspires to leverage hardware acceleration to also achieve universal compatibility. - If there is no hardware support, simplify the model and render it using something like sandy and papervision. - However, if there is hardware support (via Apollo), then use a more complex model, textures and really pump up the UI. (Remember, an occasionally connected client will be running next to Vista XAML soon) This would also be a draw for consumers to run the app in Apollo instead of always viewing on the web. For certain projects, this could be a really catalyst to migrating web apps to the occasionally connected client realm. :^) My $0.03 -Evan -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Tom Chiverton Sent: Thursday, November 02, 2006 7:44 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe On Thursday 02 November 2006 12:55, hank williams wrote: Currently flash does not have 3D graphics ... Flash does not have a 3D API, which would be necessary for 3D. What's this Sandy thing then ? -- Tom Chiverton Helping to advantageously implement distributed action-items This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.22/512 - Release Date: 11/1/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.22/512 - Release Date: 11/1/2006 __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group |
[flexcoders] selectedItem in Combo of a datagrid
Hi, problem is I have a combo in a datagrid. The reason of that is I have a database with just one table task which contains task (idTask, idProject, idUser...). The users are recorded in Ldap. I get my tasks list thank to fds. But I get idUser. So i fill a combo with my list of users which contains idUser, login, firstname... I would want that selected item in my combo be the user with the idUser returned by fds to display his login and not his idUser. How can i do ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Custom Component Question - array collection
Yes,So you are setting the dataProvider of the ComboBox in your custom component?If so, where are you setting it?Peace, MikeOn 11/3/06, Wally Randall [EMAIL PROTECTED] wrote: I have made a custom component from a standard combo box with an array collection of hours of the day. When used on an application form the contents of the array are not displayed. Are custom components not able to encapsulate the datasource in the array collection? -- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Componentshttp://www.flex2components.com You can find more by solving the problem then by 'asking the question'. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] x, y, width, and height in CSS
BrianAs in liveDocs says the values ( width, height, x,y ) doesn't support in an external CSS file, but you can also use as Manish J. saidhttp://mannu.livejournal.com/299285.html you can override the class and start doing this .I had a same situation last week when I was trying to get a designer to start doing the CSS code but with the width and height he couldn't do nothing I just searched in the google and found that link above too and did the same, worked but also isn't enough. I belive the in 2.1 version of Flex this will be fixed ( I guess).Regards.On 11/2/06, Brian Deitte [EMAIL PROTECTED] wrote: Is there any thoughts on having x, y, width, and height in CSS? I find it painful to not have the values there when working with a designer and using absolute positioning. My life would be much easier if I could simply set up the Flex application on the designer's machine, point him to the CSS, and let him make design changes himself. I've read Manish's posts on this (http://mannu.livejournal.com/359634.html, http://mannu.livejournal.com/299285.html) as well as Gordon's flexcoders post where he says this is by design. I assume this is by design for performance reasons, and that the framework would be slowed down by having to look up the values continuously to check for runtime changes. So how about special-casing these four values in CSS, and allowing them to continue to be properties? -Brian -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Custom Component Question - array collection
of course they are.If you could put the code here, maybe as my undrestand you're just with problem of scoping.Regards.On 11/3/06, Wally Randall [EMAIL PROTECTED] wrote: I have made a custom component from a standard combo box with an array collection of hours of the day. When used on an application form the contents of the array are not displayed. Are custom components not able to encapsulate the datasource in the array collection? -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Re: Cairngorm 2 with Data Management
The commit() method on the DataService return an AsyncToken which has a addResponder method that you set to "this" and then declare the result and fault handlers in your command. Example: public class MyCommand implements Command, IResponder { public function execute():void { var token:AsyncToken = ds.commit(); token.addResponder( this ); } } Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of laidezmonSent: Thursday, November 02, 2006 5:41 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 2 with Data Management Thanks for the reply. Basically I already understand how to declare a result and a fault onthe dataService object when I declare it on the view .mxml file thatis instantiating it. But using Cairngorm 2.0 or 2.1 the services arenot actually called on the view that is accessing the data. The viewcalls an actionscript function that creates an event, then the eventis fired, sent to the controller, the controller sends the event tothe command, a command calls a delegate which grabs an instance ofyour services declaration, where you actually declare the DataManagedservice. So the problem is, if I call the DataManaged service throughthat model, the actual service will have no idea how to pass back tothe command, the fault or result event. Jeremy.--- In [EMAIL PROTECTED]ups.com, Douglas McCarrollorg.yahoo_primary.[EMAIL PROTECTED] wrote: Laidezmon, I'm working on the same thing but am not much (any?) further along than you are. But hope to be making progress in the coming days and weeks! I'm taking the approach of getting the server-side connection set up first. I'm using Data Management Services and Hibernate. I'vedownloaded the MySQL Sakila sample database, and used HibernateTools in Eclipse to generate a bunch of Java files, Hibernate mapping files, and the Hibernate config file. Now I'm trying to adapt Marcel Boucher's Flex/Hibernate example to connect to one table in it. I haven't succeeded yet, but hope to do so soon. Once I do I'd be happy to zip up the entire webApp and send it to you. Note that the client side isn't Cairngorm-based yet - that will be my next step - to renovate theclient to a Cairngorm architecture... Douglas laidezmon wrote: Anyone? Anyone at all? --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com, "laidezmon" laidezmon@ ..wrote: Are there any examples out there on using Cairngorm and cairngorm events with the MVC and such, and using Data Manager. I heard atmax, that using Cairngorm with DMS is possible, but there dont seem to be any examples of its use out there. The reason I ask is because I understand with pointing grids andsuch at the model, as the dataprovider, how that works, and I understand calling an event which calls the data service indirectly, but where would the model come into play logically, when DMS is handlingso much of the work directly from the grid? So any help would be appreciated. AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- 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
Re: [flexcoders] possible nested repeater bug??
Try this:1) Add a parent node by clicking the button in lower right-hand corner2) Add a second parent node3) Add a child to the first parent nodeWhen I do this, I see that the child was added to both the first AND second parent nodes. What do you see? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: I didn't have this problem Jaime.It's works for me.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hmmm, not sure what you mean Igor. Can you not get the app to compile or run for you? I just tested moving the script block up to the top on my machine and it still runs. Anyone else having issues running this sample app? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolutewidth=100% height=100% creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = Parent number + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id=main width=100% height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } / mx:Button id=btnAddChild label=Add a child to this parent node click=this.handleAddChildClick(event); / /mx:HBox mx:Repeater id=rpChildren dataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} / /mx:Repeater /mx:Repeater mx:ControlBar width=100% horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection(); / mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick(); / /mx:ControlBar/mx:Panel /mx:ApplicationRegards On 11/2/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hi flexcoders, I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong. I have an array of VOs where each VO has an array of children VOs. I'm using a nested repeater to represent this structure. The user can add parents and children- this is when some strange behavior occurs. Some repeater rows in the nested repeater appear blank. I tried the whole dummy UI object filler to no avail. Here's a sample app that illustrates the problem. Just add a few parents and then add children and you'll see a lot of repeated rows. Any help would be appreciated: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute width=100%height=100% creationComplete=init()mx:Panel id=mainwidth=100%height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } /mx:Button id=btnAddChild label=Add a child to this parent nodeclick=this.handleAddChildClick(event);/ /mx:HBoxmx:Repeater id=rpChildrendataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} //mx:Repeater /mx:Repeatermx:ControlBarwidth=100%horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection();/mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick();//mx:ControlBar/mx:Panelmx:Script![CDATA[import mx.collections.ArrayCollection;import mx.core.UIComponent;[Bindable]public var dpParent:ArrayCollection; public function init() : void{dpParent = new ArrayCollection();}public function handleAddParentClick():void {var newParent:Object = new Object();newParent.name = Parent number + (dpParent.length + 1);newParent.children = new ArrayCollection();this.dpParent.addItem(newParent);}public function handleAddChildClick(event:MouseEvent):void {var parent:Object = UIComponent(event.currentTarget).getRepeaterItem();var newChild:Object = new Object();newChild.name = Child number + (ArrayCollection(parent.children).length + 1);
Re: [flexcoders] Detect scrollbar showing/not showing
Yep, that's a good thought... thanks. Now that my issue is solved, I would ljust like to comment that this is something that IMO should have been included in the framework. For example: Event.ScrollbarAdded, or something. Thanks again guys, Daniel On 11/3/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, A thought; If you used the ADDED event, in a handler once the scroll bar was created or destroyed, you could then dispatch an event to another handler that would then commit the logic you needed for existence changes in your tile layout. Then again I don't know exactly what you are doing. This way you could remove the logic from your layout. Peace, Mike On 11/3/06, Daniel Cascais [EMAIL PROTECTED] wrote: Michael, Karl, Thanks for your inputs. I'm doing some dynamic tile layout and sizing which requires me to set different params depending on the scrollbar availability and tile count. I also thought about the Event.RENDER but it seemed overkill. I'll look into the different options, but I'll probably end up checking for the existence of the scrollbar in each iteration of a loop (where I size and position the tiles) and break if the conditions change, recalling the method with new parameters... or something like that. Thanks guys, Daniel On 11/3/06, Karl Johnson [EMAIL PROTECTED] wrote: There are probably multiple ways to do this, but what about checking to see if myContainer.verticalScrollBar == null? Are you looking to do this at render time or is this something where the scroll bar could show at anytime after creationComplete and you need to be able to react immediately? According to the API Doc: verticalScrollBar property verticalScrollBar:ScrollBar [read-write] The vertical scrollbar used in this container. This property is null if no vertical scroll bar is currently displayed. | Karl Johnson Cynergy Systems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Cascais Sent: Thursday, November 02, 2006 10:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Detect scrollbar showing/not showing Is there any known event that is dispatched when the scrollbar is showing/not showing in a container, when the scroll policy is set to auto? In other words: How can I know when a container's srollbar is showing or not showing? (Apart from looking at the screen of course). Thanks, Daniel -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'. -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Chart XML Drill Down Problem
I'm having trouble displaying a subset of my XML data structure when I drill down in a simple Column Chart. I'm not sure if my problem is in my e4x notation, or possibly just miss management of my XMLList or XMLListCollection. What I'm trying to do is use a Bindable XMLListCollection to be displayed in a Column Chart. When a column is clicked a subset of the XML is shown based on the click (hits in a week to drill down to hits in a day). I have the data displaying correct at load, however on a click I catch the column click and the charts updates as desired... the problem is it uses incorrect data (lol... no data). Here is the code that creates the chart. __ mx:ColumnChart id=columnChart dataProvider={statCol} width=100% height=100% showDataTips=true itemClick=drillDown(event); mx:verticalAxis mx:LinearAxis/ /mx:verticalAxis mx:horizontalAxis mx:CategoryAxis dataProvider={statCol} categoryField=@date / /mx:horizontalAxis mx:series mx:ColumnSeries id=columnSeries showDataEffect=slideIn hideDataEffect=slideOut yField=@hits displayName=Hits/ /mx:series /mx:ColumnChart ___ Here is the action script that works with the chart to produce the drill down subset. The problem is that I can't display my subset of weeks - days. I believe my relationship to the attributes in the chart is correct and thus leads me to believe that my manipulation of the xml is incorrect. I have gotten the chart to work partically with a hardcoded XML dataset here, but it still was not completely correct. public function drillDown(e:ChartItemEvent):void { statCol = new XMLListCollection(e.hitData.item.week); } _ Here is an example of my XML Data. root week date=10/29/2006 hits=111 day date=10/29/2006 hits=10 / day date=10/30/2006 hits=12 / day date=10/31/2006 hits=15 / day date=11/01/2006 hits=19 / day date=11/02/2006 hits=22 / day date=11/03/2006 hits=11 / day date=11/04/2006 hits=22 / /week week date=11/05/2006 hits=148 day date=11/05/2006 hits=24 / day date=11/06/2006 hits=25 / day date=11/07/2006 hits=22 / day date=11/08/2006 hits=28 / day date=11/09/2006 hits=10 / day date=11/10/2006 hits=17 / day date=11/11/2006 hits=22 / /week . /root Thank you all so much for your help, Ryan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] need help on authentication
JByou can check out at my Blog, it's also in Portuguese, but the code MXML and Actionscript you will perfectly undrestand.Check http://www.igorcosta.com/blog/?p=98 Regards.On 11/3/06, jbbec_fr [EMAIL PROTECTED] wrote: Hi all, I want to diplay a box with a login form when my application load first with a blur effect behind the box. I don't know how to do Is someone here to explain me how to do ? Thank you JB -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] input type=reset
DJ Lift wrote: Hey there, Is there something in flex that's similar to the input type=reset in html? So that all the form fields will reset to the values they were created with? Or do you have to program this yourself? Not that I'm aware of. I recently had to do this and just ended up programming a reset function for the form. Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] selectedItem in Combo of a datagrid
just add idUser.login login it's the variable you return from your database, if is other you just change it.Regards.On 11/3/06, damien.cardine [EMAIL PROTECTED] wrote: Hi, problem is I have a combo in a datagrid. The reason of that is I have a database with just one table task which contains task (idTask, idProject, idUser...). The users are recorded in Ldap. I get my tasks list thank to fds. But I get idUser. So i fill a combo with my list of users which contains idUser, login, firstname... I would want that selected item in my combo be the user with the idUser returned by fds to display his login and not his idUser. How can i do ? -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] possible nested repeater bug??
I see each parent node with their subnodes for each of them.Regards.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Try this:1) Add a parent node by clicking the button in lower right-hand corner2) Add a second parent node3) Add a child to the first parent nodeWhen I do this, I see that the child was added to both the first AND second parent nodes. What do you see? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: I didn't have this problem Jaime.It's works for me.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hmmm, not sure what you mean Igor. Can you not get the app to compile or run for you? I just tested moving the script block up to the top on my machine and it still runs. Anyone else having issues running this sample app? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolutewidth=100% height=100% creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = Parent number + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id=main width=100% height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } / mx:Button id=btnAddChild label=Add a child to this parent node click=this.handleAddChildClick(event); / /mx:HBox mx:Repeater id=rpChildren dataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} / /mx:Repeater /mx:Repeater mx:ControlBar width=100% horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection(); / mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick(); / /mx:ControlBar/mx:Panel /mx:ApplicationRegards On 11/2/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hi flexcoders, I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong. I have an array of VOs where each VO has an array of children VOs. I'm using a nested repeater to represent this structure. The user can add parents and children- this is when some strange behavior occurs. Some repeater rows in the nested repeater appear blank. I tried the whole dummy UI object filler to no avail. Here's a sample app that illustrates the problem. Just add a few parents and then add children and you'll see a lot of repeated rows. Any help would be appreciated: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute width=100%height=100% creationComplete=init()mx:Panel id=mainwidth=100%height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } /mx:Button id=btnAddChild label=Add a child to this parent nodeclick=this.handleAddChildClick(event);/ /mx:HBoxmx:Repeater id=rpChildrendataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} //mx:Repeater /mx:Repeatermx:ControlBarwidth=100%horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection();/mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick();//mx:ControlBar/mx:Panelmx:Script![CDATA[import mx.collections.ArrayCollection;import mx.core.UIComponent;[Bindable]public var dpParent:ArrayCollection; public function init() : void{dpParent = new ArrayCollection();}public function handleAddParentClick():void {var newParent:Object = new Object();newParent.name = Parent number + (dpParent.length + 1);newParent.children = new ArrayCollection();this.dpParent.addItem(newParent);}public function handleAddChildClick(event:MouseEvent):void {var parent:Object =
Re: [flexcoders] Disabling button on buttonBar - error...
Try that.The problem it's because the buttonBar doesn't have the getChildAt properties it's only reserved to Containers. If you want to use that you have to create new a new override the mx.controls.buttonBar. But in other way you can try that.?xml version=1.0 encoding=utf-8?mx:Applicationxmlns:mx=http://www.adobe.com/2006/mxml layout=absolutewidth=100%height=100%mx:Script ![CDATA[ import mx.messaging.management.ObjectName; import mx.utils.UIDUtil ; import mx.core.UIComponent; import mx.events.ItemClickEvent; import mx.controls.Button; [Bindable] private function setAble (event:ItemClickEvent):void { var noAble:Object = this.enabled = false; Button(event.index = noAble.item); } ]]/mx:Scriptmx:ButtonBar id=controlBar height=20 width=100% horizontalGap=0 itemClick=setAble(event);mx:dataProvidermx:Arraymx:String New Topic/mx:Stringmx:StringReply/mx:Stringmx:StringEdit/mx:String mx:StringDelete/mx:Stringmx:StringSave/mx:String/mx:Array/mx:dataProvider/mx:ButtonBar/mx:ApplicationRegards. On 11/3/06, jamiebadman [EMAIL PROTECTED] wrote: Hi, I'm trying to disable a button on a buttonbar but I'm getting an error... here's what I have: mx:ButtonBar id=controlBar height=20 width=100% horizontalGap=0 itemClick=buttonBarClickHandler(event); mx:dataProvider mx:Array mx:StringNew Topic/mx:String mx:StringReply/mx:String mx:StringEdit/mx:String mx:StringDelete/mx:String mx:StringSave/mx:String /mx:Array /mx:dataProvider /mx:ButtonBar Then I have this: import mx.controls.Button; private function setAccess( accessLevel:String ):void { switch(accessLevel) { case core: Button(controlBar.getChildAt(1)).enabled = false; break; default: trace(Error setting button states: Out of range); } } The error I'm getting is: Call to a possibly undefined method getChildAt through a reference with static type mx.core:IUIcomponent. Does anyone know why I'm getting this error - and how I can resolve it please ?! Thanks, Jamie. -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Issue while tring to filter an arrayCollection...
Oops, yes it was a typo on my part, I tried to make a couple changes as I thought I had an idea. testFilter in the error message should be arrayFilter. When i sat down though this morning and looked at it again I realized the problem was in my yesterday I was trying to do things backwards and make a search() go through an int and converting the searchBar text to an int when I should have been converting the contactID to a string and leaving the searchBar alone. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Why is the error in a textFilter function when you're writing arrayFilter? Typo in your post? Run this in the debugger so you get more info including a line number in the error. You'll probably find the line and it may be that the contactID isn't an object with a search function or something like that? The debugger could be useful here too, put a breakpoint in your filter function and you'll see how things go. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of camlinaeizerous Sent: Thursday, November 02, 2006 8:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Issue while tring to filter an arrayCollection... my first attempt at this post got filtered out for some reason and the rich text editor just crashed on my when I attempted to submit so here is attempt 3. myParticipants and arrayColleciton is populated by a cfquery that pulls the entire contents of a sql table. There are 4 column one being contactID int/int and the 3 others are strings/varhchars. I also have searchBar a textInput that on change calls the filtering function so it filters as you type. I recieve the following runtime error when i attempt to filter comparing the contactID: TypeError: Error #1006: value is not a function. at views::viewParticipants_Contacts/::textFilter() at mx.collections::ListCollectionView/::internalRefresh() at mx.collections::ListCollectionView/refresh() at views::viewParticipants_Contacts/::filterHandler() at views::viewParticipants_Contacts/__searchBar_change() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven tFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.controls::TextInput/::textField_changeHandler() the following snipet is the code I'm using as the filter where (item.contactID.search(searchBar.text) = 0) is causing the issue but when I replace contactId with any of the other 3 columns it works just as intended. I attmepted changing seachBar.text as int and a few other things but without success. private function filterHandler():void { this.myParticipants.filterFunction = arrayFilter; this.myParticipants.refresh(); } private function arrayFilter(item:Object):Boolean { if((searchBar.text == ) || (item.contactID.search(searchBar.text) = 0)) {return true;} else {return false;} } Some help resolving this issue without changing the sql column to a string would be greatly appreciated. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Q. How can I change the property of a row in a datagrid? Please help...
Can you provide part of your code, it's hard to undrestand what you want to.Regards.On 11/3/06, arpan30_cs [EMAIL PROTECTED] wrote: I have list that displays some values, now when i select some value from the list corresponding row in the grid should get highlighted. I have got the row number, and I want to change the alpha of that row. Method setPropertiesAt() is not present in this version of Flex, I am working on Flex 2. -- Igor Costawww.igorcosta.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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: DataGrid with content spanning several columns
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts_in_flex_datagrids --- In flexcoders@yahoogroups.com, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi All, I need a DataGrid with the ability to have a row where some of the contents span across columns. It might sound a bit odd - here is maybe a bit more of a concrete example. The first column contains a zip code, 2nd column contains the name of a town, underneath both columns - i.e. spanning them - there is an address. So I still want the ability to e.g. sort on zip code etc, and all the nice things that the DataGrid gives me - drag and drop columns etc. Any ideas how to accomplish this? I have thought of maybe doing something in the drawRowBackgrounds() - but maybe there is a better or easier way. Thanks Jonathan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] security issues when capturing flex screens that contain other domain bitmaps
Yes, I did find the solution.You need to define a loadercontext. Create a loader context variable in you script section. [Bindable] private var loaderContext:LoaderContext; NOTE: I'm not sure that it needs to be bindable but thats what my code has, so to be safe I am showing it.Then, in some initialization code, initialize the variable loaderContext = new LoaderContext(true); Finally, when loading the graphic into an mx:image object, you must define a loaderContext and use the loader context that you just created, as below. mx:Image id=picture loaderContext={loaderContext} verticalAlign=middle horizontalAlign=middle source={picture_http} width =200 height=200 /mx:Image Hope this helps.Regards,HankOn 11/3/06, Andrew D. Goodfellow [EMAIL PROTECTED] wrote: I literally just hit this problem now too. Did you ever receive a solution Hank? Anyone else?-AndyOn 9/26/06, hank williams [EMAIL PROTECTED] wrote: I have a flex screen that I want to capture into a bitmap using the technique that Andrew Trice described earlier this week. it works as so: codeExample1 private function getUIComponentBitmapData(target:UIComponent):BitmapData{ var bd : BitmapData = new BitmapData( target.width, target.height ); var m : Matrix = new Matrix(); bd.draw(target,m); return bd; } /codeExample1 I am feeding that function a UIComponent that contains an image that looks like this: codeExample2 mx:Image id=picture verticalAlign=middle horizontalAlign=middle source={model.picture_http} width =200 height=200/ /codeExample2 The problem is that the model.picture_http is on another domain. The error I get is as follows: error SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://localhost:8080/elroyServer/songmail/songmail-debug.swf cannot access http://storage.elroynetworks.com/0922337203685477580744. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. /error This seems to suggest that I need a crossdomain.xml file, which is fine. I have that, and I believe it is in the right place. The problem is I am supposed to set a checkPolicyFile flag. The doc's explain how to do this, but not in the context of Flex. The docs say: docs When you load the image using the load() method of the Loader class, you can specify a context parameter, which is a LoaderContext object. If you set the checkPolicyFile property of the LoaderContext object to true, Flash Player checks for a cross-domain policy file on the server from which the image is loaded. If there is a cross-domain policy file, and the file permits the domain of the loading SWF file, the file is allowed to access data in the Bitmap object; otherwise, access is denied. You can also specify a checkPolicyFile property in an image loaded via an img tag in a text field. For details, see Loading SWF files and images using the img tag in a text field. /docs I dont know how one would use the load() command from MXML. Moreover, I would really like an MXMLish way to deal with cross domain issues. Has anybody dealt with this? Hank __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] possible nested repeater bug??
What version of the Flex 2 SDK are you running Igor?On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: I see each parent node with their subnodes for each of them.Regards.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Try this:1) Add a parent node by clicking the button in lower right-hand corner2) Add a second parent node3) Add a child to the first parent nodeWhen I do this, I see that the child was added to both the first AND second parent nodes. What do you see? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: I didn't have this problem Jaime.It's works for me.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hmmm, not sure what you mean Igor. Can you not get the app to compile or run for you? I just tested moving the script block up to the top on my machine and it still runs. Anyone else having issues running this sample app? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolutewidth=100% height=100% creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = Parent number + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id=main width=100% height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } / mx:Button id=btnAddChild label=Add a child to this parent node click=this.handleAddChildClick(event); / /mx:HBox mx:Repeater id=rpChildren dataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} / /mx:Repeater /mx:Repeater mx:ControlBar width=100% horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection(); / mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick(); / /mx:ControlBar/mx:Panel /mx:ApplicationRegards On 11/2/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hi flexcoders, I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong. I have an array of VOs where each VO has an array of children VOs. I'm using a nested repeater to represent this structure. The user can add parents and children- this is when some strange behavior occurs. Some repeater rows in the nested repeater appear blank. I tried the whole dummy UI object filler to no avail. Here's a sample app that illustrates the problem. Just add a few parents and then add children and you'll see a lot of repeated rows. Any help would be appreciated: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute width=100%height=100% creationComplete=init()mx:Panel id=mainwidth=100%height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } /mx:Button id=btnAddChild label=Add a child to this parent nodeclick=this.handleAddChildClick(event);/ /mx:HBoxmx:Repeater id=rpChildrendataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} //mx:Repeater /mx:Repeatermx:ControlBarwidth=100%horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection();/mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick();//mx:ControlBar/mx:Panelmx:Script![CDATA[import mx.collections.ArrayCollection;import mx.core.UIComponent;[Bindable]public var dpParent:ArrayCollection; public function init() : void{dpParent = new ArrayCollection();}public function handleAddParentClick():void {var newParent:Object = new Object();newParent.name = Parent number + (dpParent.length + 1);newParent.children = new ArrayCollection();this.dpParent.addItem(newParent);}public
RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?
Yes and no. We have hundreds of screens that we're putting inpop ups for the most part that the user can get to by using an application control bar navigation system. I want to give the user the ability to pin screens to thier "desktop" when they choose to so they can customize thier desktop with the applications they use most frequently. I have an array of the of screen names that I bind to the TileList. When a user pins a screen to thier desktop I wanted to just push it on the array and render the panel in the array. Or vice versa when a user "un-pins" a screen. They're not very large panels, mainly just small charts or other snippets of information. The actual panel being rendered would be a small or mini view of the application they were using, just enough to let them always know what's going on with that screen and allowing buttons or links back into the screen or application. Does that make more sense? Right now I'd settle on just being able to dynamically render panels. Thanks alot Dimitrios, I really appreciate you trying to help me out. Brian. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Friday, November 03, 2006 8:17 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? So the user sees like 4 panels in a tilelist and you want to make 3 disappear and only the selected one grow to full size? is that it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian HolmesSent: Thursday, November 02, 2006 12:16 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? Hi Dimitrios, Thanks for the reply. I have a list of configurable panels that I'm displaying in a TileList. The user needs to be able to choose which ones he/she would like to see. Based off this gesture I need a way to look up the appropriate panel and render it on thier screen.That's really what I'm trying to do. Thanks, Brian.. From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios GianninasSent: Thursday, November 02, 2006 7:49 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? We dont really advocate the use of the ViewHelper/ViewLocator any more, only in extreme cases. If you want to see an example, I believe if you download the Cairngorm 1.5 distribution it will contain it. But the real question is, why are you thinking of using it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian HolmesSent: Wednesday, November 01, 2006 12:23 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? Can someone point me to an implementation of a cairngorm view helper \ view locator example? Thanks, brian.. ***The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information.*** AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all
[flexcoders] Re: Event Listener Help!!!
Thanks everyone, all your advise was really helpful and the function is working like I want it to! Much props, thanks again! -Sal --- In flexcoders@yahoogroups.com, Dustin Mercer [EMAIL PROTECTED] wrote: There is some inefficiencies in this code, but this does work and its code to help you get started. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=doCreationComplete(); mx:Script ![CDATA[ import mx.controls.listClasses.BaseListData; import mx.events.CollectionEvent; import mx.collections.ArrayCollection; [Bindable] private var items : ArrayCollection; [Bindable] private var totalItems : int = 0; [Bindable] private var totalPrice : Number = 0; private function doCreationComplete() : void { items = new ArrayCollection(); items.addEventListener(CollectionEvent.COLLECTION_CHANGE, updateTotal ); var len : uint = 100; while (len--) { var item : Object = new Object(); item.label = Item + len; item.qty = 1; item.price = Math.round(Math.random() * 100); items.addItem(item); } } private function updateTotal( event : CollectionEvent ) : void { totalPrice = 0; totalItems = 0; for (var i : int = 0;iitems.length;i++) { var item : Object = items.getItemAt(i); totalItems += item.qty; totalPrice += item.qty * item.price; } } ]] /mx:Script mx:Label text={totalItems} / mx:Label text={totalPrice} / mx:DataGrid dataProvider={items} width=100% height=100% editable=true mx:columns mx:DataGridColumn dataField=label / !--mx:DataGridColumn dataField=qty itemEditor=mx.controls.NumericStepper editorDataField=value /-- mx:DataGridColumn dataField=qty editorDataField=value mx:itemEditor mx:Component mx:NumericStepper mx:Script ![CDATA[ import flash.events.Event; import mx.controls.DataGrid; override protected function initializationComplete():void { super.initializationComplete(); addEventListener( Event.CHANGE, updateDP ); } private function updateDP( event : Event ) : void { data.qty = value; DataGrid(listData.owner).dataProvider.itemUpdated(data); } ]] /mx:Script /mx:NumericStepper /mx:Component /mx:itemEditor /mx:DataGridColumn mx:DataGridColumn dataField=price / /mx:columns /mx:DataGrid /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of s_hernandez01 Sent: Thursday, November 02, 2006 1:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Event Listener Help!!! Thanks guys, I believe I would want the total to update itself as the user is changing the quantity, and not when they finish editing, but it's a temporary solution though. I didn't think about the editing part since I was stressing on the change event. If anyone else knows how I can code up the change event to my ArrayCollection
Re: [flexcoders] possible nested repeater bug??
the last oneOn 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: What version of the Flex 2 SDK are you running Igor?On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: I see each parent node with their subnodes for each of them.Regards.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Try this:1) Add a parent node by clicking the button in lower right-hand corner2) Add a second parent node3) Add a child to the first parent nodeWhen I do this, I see that the child was added to both the first AND second parent nodes. What do you see? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: I didn't have this problem Jaime.It's works for me.On 11/3/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hmmm, not sure what you mean Igor. Can you not get the app to compile or run for you? I just tested moving the script block up to the top on my machine and it still runs. Anyone else having issues running this sample app? On 11/3/06, Igor Costa [EMAIL PROTECTED] wrote: Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolutewidth=100% height=100% creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = Parent number + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = Child number + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id=main width=100% height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } / mx:Button id=btnAddChild label=Add a child to this parent node click=this.handleAddChildClick(event); / /mx:HBox mx:Repeater id=rpChildren dataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} / /mx:Repeater /mx:Repeater mx:ControlBar width=100% horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection(); / mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick(); / /mx:ControlBar/mx:Panel /mx:ApplicationRegards On 11/2/06, Jaime Bermudez [EMAIL PROTECTED] wrote: Hi flexcoders, I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong. I have an array of VOs where each VO has an array of children VOs. I'm using a nested repeater to represent this structure. The user can add parents and children- this is when some strange behavior occurs. Some repeater rows in the nested repeater appear blank. I tried the whole dummy UI object filler to no avail. Here's a sample app that illustrates the problem. Just add a few parents and then add children and you'll see a lot of repeated rows. Any help would be appreciated: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute width=100%height=100% creationComplete=init()mx:Panel id=mainwidth=100%height=100% title=Testing representing complex structure in nested repeater mx:Repeater id=rpParents dataProvider={this.dpParent} mx:HBox width=100% mx:Text id=txtParentName width=100% paddingLeft=100 text={rpParents.currentItem.name } /mx:Button id=btnAddChild label=Add a child to this parent nodeclick=this.handleAddChildClick(event);/ /mx:HBoxmx:Repeater id=rpChildrendataProvider={ rpParents.currentItem.children} mx:Text id=txtChildName width=100% paddingLeft=200 text={ rpChildren.currentItem.name} //mx:Repeater /mx:Repeatermx:ControlBarwidth=100%horizontalAlign=right mx:Button id=btnClearParents label=Clear all parents click=this.dpParent = new ArrayCollection();/mx:Button id=btnAddParentNode label=Add a new parent node click=handleAddParentClick();//mx:ControlBar/mx:Panelmx:Script![CDATA[import mx.collections.ArrayCollection;import mx.core.UIComponent;[Bindable]public var dpParent:ArrayCollection; public function init() : void{dpParent = new ArrayCollection();}public function handleAddParentClick():void {var newParent:Object = new Object();newParent.name = Parent number +
[flexcoders] Re: Disabling button on buttonBar - error...
Thanks Igor - but that generates a further error. In any case, I need to be able to enable/disable other buttons on the bar based on which button is clicked on etc... won't this approach only permit the enabling/disabling of the currently clicked button on the bar ? It's looking like perhaps the ButtonBar isn't the best thing to use here... this does seem like a bit of an oversight though - if you can't enable/disable buttons on the bar it's pretty awkward in a lot of instances. Anyway, thanks for taking a look - much appreciated. Jamie. --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: Try that. The problem it's because the buttonBar doesn't have the getChildAt properties it's only reserved to Containers. If you want to use that you have to create new a new override the mx.controls.buttonBar. But in other way you can try that. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=100% height=100% mx:Script ![CDATA[ import mx.messaging.management.ObjectName; import mx.utils.UIDUtil; import mx.core.UIComponent; import mx.events.ItemClickEvent; import mx.controls.Button; [Bindable] private function setAble (event:ItemClickEvent):void { var noAble:Object = this.enabled = false; Button(event.index = noAble.item); } ]] /mx:Script mx:ButtonBar id=controlBar height=20 width=100% horizontalGap=0 itemClick=setAble(event); mx:dataProvider mx:Array mx:String New Topic/mx:String mx:StringReply/mx:String mx:StringEdit/mx:String mx:StringDelete/mx:String mx:StringSave/mx:String /mx:Array /mx:dataProvider /mx:ButtonBar /mx:Application Regards. On 11/3/06, jamiebadman [EMAIL PROTECTED] wrote: Hi, I'm trying to disable a button on a buttonbar but I'm getting an error... here's what I have: mx:ButtonBar id=controlBar height=20 width=100% horizontalGap=0 itemClick=buttonBarClickHandler(event); mx:dataProvider mx:Array mx:StringNew Topic/mx:String mx:StringReply/mx:String mx:StringEdit/mx:String mx:StringDelete/mx:String mx:StringSave/mx:String /mx:Array /mx:dataProvider /mx:ButtonBar Then I have this: import mx.controls.Button; private function setAccess( accessLevel:String ):void { switch(accessLevel) { case core: Button(controlBar.getChildAt(1)).enabled = false; break; default: trace(Error setting button states: Out of range); } } The error I'm getting is: Call to a possibly undefined method getChildAt through a reference with static type mx.core:IUIcomponent. Does anyone know why I'm getting this error - and how I can resolve it please ?! Thanks, Jamie. -- Igor Costa www.igorcosta.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] httpservice method=DELETE does not work
DELETE is not supported. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brian.knorrSent: Friday, November 03, 2006 10:33 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] httpservice method="DELETE" does not work We are building REST apis in our Rails backend and for a delete action it expects to recieve a HTTP DELETE request, but with Flex2 when you set the method="DELETE" on an httpservice it doesn't send the DELETE, instead it sends a GET which causes our REST apis to fail. The documentation for httpservice says it supports method="DELETE".Any advise is greatly appreciated...thanks,Brian __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re-importing projects?
Hello, Ive got a problem that I cant find an EASY way around. Twice now, Ive accidentally launched FB2 while the source directory was not available. This causes FB2 to claim that the source files do NOT EXIST. (obviously). The PROBLEM is that once I get into this state, putting the files BACK doesnt cause the problem to be fixed!! I cant even IMPORT the project, because I get an error saying that the project already exists! The only way I can figure out to resurrect a project thats gotten into this state is to create a NEW project in a new folder and MANUALLY IMPORT ALL OF MY SOURCE CODE INTO NEW FILES. SURELY, this cant be the only way to do this in a Professional system, so what am I missing? Any input will be greatly appreciated. Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Change viewstack index from inside canvas
How can I change the Viewstack index from a page in the stack? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/