RE: [flexcoders] script running structure
Hi, These are full classes so there isnt code that executes outside of the class initialization. You should use the different events like creationComplete on the Application to kick off your code. Check the explorer and other samples to see examples. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Varun Shetty Sent: Monday, September 18, 2006 5:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] script running structure What is the script running structure? Will the MX:Script run and load first before the flex structure loads.. ? Or does the flex structure load first ? I am trying to load an XML using AS 3.0 and then populate it to an datagrid obj on screen? Any good example for that been trying it for sometime..!! And can I load an image in the header tab of the datagrid component? Thank you, Regards, VARUNSHETTY. __._,_.___ -- 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] flash player 9 security?
Yep, -use-network is still a valid flag and depending on where your data is located youll need to set it to true or false. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: Monday, September 18, 2006 2:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flash player 9 security? Hey question about the flash player and loading xml / security. I saw this comment by Mike Chambers on Kuwomot's blog, this is what the comment said: After installing the new Beta 3 I'm having trouble with loading local XML files In the project setting for your project, select the Flex Compiler section and add the following to Additional compiler args: usenetwork=false This is due to security changes in beta 3 where SWFs can talk to the local machine or the network, but not both. Is this something that is still in place? if it is that would explain why I can't load local XML. I've known about the usenetwork switch but people told me you still can load local and over http with URLLoader and URLRequest, I haven't been able to do it though. So is this something that is still in place, and I need to use -usenetwork=false if loading local XML? thanks, smith __._,_.___ -- 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] Scrollbar thickness
Yep, its a constant and weve filed a bug to get it exposed better. In the meantime you can see some of the work we did in another app to get the scrollbar thinner, youll need to adjust. (three files attached) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Wabyick Sent: Monday, September 18, 2006 3:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Scrollbar thickness I am creating a touchscreen app that requires thick scrollbars. I noticed a static constant in the Scrollbar class - THICKNESS set to 16 pixels. Are scrollbars fixed to that size, or is there some way to change that through the skinning mechanism? __._,_.___ -- 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 __,_._,___ ScrollArrowSkin.as Description: ScrollArrowSkin.as ScrollTrackSkin.as Description: ScrollTrackSkin.as ListThinScroll.as Description: ListThinScroll.as
[flexcoders] Re: criticla problem charting component - coding axis
Hi all! Thank you for your help ! I finally found the problem: The series creation was wrong : my way : aa:AreaSet=new AreaSet(); aa.series=new Array(); //--inserting series this.series=aa; correct way: aa:AreaSet=new AreaSet(); aa.series=[]; //--inserting series this.series=aa; Using this way, all my problems are resolved. series=new Array()- series=[]; Lack of documentation ? Olivier --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Olivier. it's hard to diagnose your problem, or even what behavior you're seeing, without a more details description of what you're trying to do, what you're doing, and what the actual behavior you're seeing is. Sample code would help too. Flex 1, or Flex 2? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of olivier Sent: Wednesday, September 13, 2006 2:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] criticla problem charting component - coding axis Hi, I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success. I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect. Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advance O. -- 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: How can I block a TabNavigator ?
Okay, Agree with many here that not allowing the tabs to be clickable in a tabNavigator is a little uncommon usecase, I have a solution for the problem. I have extended TabNavigator to make TabNavigatorX, which achieves exactly what the requirement here is . Use the following code: Main.mxml?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* layout=absolute TabNavigatorX x=88 id=tab y=59 width=496 height=200 mx:Canvas label=Tab 1 width=100% height=100% mx:Button label=Next gt; click=tab.selectedIndex=1 x=419 y=135/ /mx:Canvas mx:Canvas label=tab2 width=100% height=100% mx:Button label=lt; Back x=419 y=135 click= tab.selectedIndex=0/ /mx:Canvas /TabNavigatorX /mx:ApplicationTabNavigatorX.as--- package{ import mx.containers.TabNavigator; import mx.core.Container; import mx.controls.TabBar import flash.events.Event public class TabNavigatorX extends TabNavigator { public function TabNavigatorX() { } override protected function createChildren():void { super.createChildren(); if (!tabBar) {tabBar = new TabBar();tabBar.name = tabBar;tabBar.focusEnabled = false;tabBar.styleName = this; tabBar.setStyle(borderStyle, none);tabBar.setStyle(paddingTop, 0);tabBar.setStyle(paddingBottom, 0); } } override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {super.updateDisplayList(unscaledWidth,unscaledHeight) rawChildren.addChild(tabBar);tabBar.setStyle(disabledOverlayAlpha,1);tabBar.setStyle(disabledColor,0x00); tabBar.enabled=false; } } } Hope this helps!ThanksHarish __._,_.___ -- 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: How can I block a TabNavigator ?
PS: Deepa's method will work too, but that would mean the dev needs to write some code on to the main application __._,_.___ -- 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] DragDrop doesn't work properly if component contains SWF Image
Hi all, I have a component like this: mx:Box xmlns:mx=”http://www.adobe.com/2006/mxml” dragEnter=doDragEnter(event) dragDrop=doDragDrop(event) mouseChildren=”false” mx:Image source=@Embed[“icon.SWF”] width=48 height=48/ mx:Text textAlign=left width=100% selectable=false text={data.name}/ mx:Script ![CDATA[ import mx.core.IUIComponent; import mx.managers.DragManager; import mx.events.DragEvent; private function doDragEnter(event:DragEvent):void { DragManager.acceptDragDrop(IUIComponent(event.target)); } private function doDragDrop(event:DragEvent):void { var item:Object = event.dragSource.dataForFormat(item); if (item == null) { item = event.dragSource.dataForFormat(items)[0]; } trace(item); } ]] /mx:Script /mx:Box If “icon.SWF” will be replaced with “icon.PNG” then DragDrop works if mouse is over any pixel of the component. But here DragDrop doesn’t work if mouse is over Image component with loaded SWF. Does anybody know how I can repair that? Thanks a lot __._,_.___ -- 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: How can I block a TabNavigator ?
Nice component Harish! I could see where this could come in handy for self-guilded or step-based use cases. Perhaps a quiz that only allows you to move forward, but shows your progress via tabs. In fairness to Paul's suggestions though, traditionally people like to be able to navigate using the tabs. A solution might be to enable previous tabs, but keep subsequent tabs disabled. You know, it all depends. -TH --- In flexcoders@yahoogroups.com, Harish Sivaramakrishnan [EMAIL PROTECTED] wrote: PS: Deepa's method will work too, but that would mean the dev needs to write some code on to the main application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Video Conf with Flex
Hi guys, does anyone know of a flex app which uses FMS and full video conf? Or even a flex component for FMS like the video conf component for Flash and FMS. Ive developed a video conf app using Flash and I want to now use Flex to do the same thing. Cheers David -- 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] Example: Creating and using custom tooltips
Hello, Somebody asked me to provide an example of how to use arbirary components as tool tips. So here goes: Notes - For a component to be used as a tooltip it must implement the IToolTip interface. I've used a base class (CustomToolTip) for the custom tooltips in this example that takes care of implementing the interface, and a few other things as documented within the code. Just like when using standard tooltips, you need to set the toolTip property of a component for a tooltip to be displayed for it. This is true even if you don't actually use the value in your tooltip component. That's why I set the toolTip variables to in the example. When a tooltip is to be displayed for a component, that component fires a toolTipCreate event. To use your custom tooltip component you need to intercept this event and set its toolTip property to an instance of your custom tooltip component. The main application code - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; verticalGap=20 mx:Script ![CDATA[ import mx.events.*; import CustomToolTips.*; ]] /mx:Script mx:Label text=Component1 id=Component1 toolTip= toolTipCreate=event.toolTip=new Component1ToolTip();/ mx:Button label=Component2 id=Component2 toolTip= toolTipCreate=event.toolTip=new Component2ToolTip();/ /mx:Application A base class for components to be used as tooltips -- package CustomToolTips { import mx.core.*; import mx.containers.*; public class CustomToolTip extends VBox implements IToolTip { public function CustomToolTip() { // Make the ToolTip invisible to the mouse so that it doesn't // interfere with the ToolTipManager's mouse- tracking. mouseEnabled = false; mouseChildren=false; //Add padding to prevent the component from //touching the sides of the application, which //looks untidy setStyle(paddingBottom, 10); setStyle(paddingRight, 10); } //IToolTip functions - unused in this case public function get text():String { return null; } public function set text(value:String):void {} } } A couple of custom tooltips extending the above class - ?xml version=1.0 encoding=utf-8? ctt:CustomToolTip xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:ctt=CustomToolTips.* width=150 backgroundColor=#FF dropShadowEnabled=true borderColor=black borderThickness=1 borderStyle=solid mx:Label text=Custom Tooltip 1 fontSize=14 fontWeight=bold/ mx:Text text=This is the custom tooltip for component 1 width=100%/ /ctt:CustomToolTip ?xml version=1.0 encoding=utf-8? ctt:CustomToolTip xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:ctt=CustomToolTips.* width=225 backgroundColor=white dropShadowEnabled=true borderColor=black borderThickness=1 borderStyle=solid mx:Label text=Custom Tooltip 2 fontSize=14 fontWeight=bold color=blue/ mx:Text text=This is the custom tooltip for component 2 width=100%/ /ctt:CustomToolTip Regards, Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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: ToolTip Timers
Title: quote Tim - I have it working now with custom components and effects (just like JamJar). I have it setup now where I can create as many custom tooltips as I want. It also uses the various errorTipBorderStyles. This what I did: 1.) I created my own ToolTip class which extends UIComponent and implements IToolTips. It has a constructor and empty get/set text methods. 2.) I create my custom component classes which always extend my custom ToolTip class. I overrride several methods the two most important are createChildren() and updateDisplayList(). In these methods I build my components (createChildren) and handle the various styles including the nice errorTipBorderStyles. I also have various eventListeners to handle mouse clicks to call destroyToolTip method. 3.) I have a custom tooltip manager which extends ToolTipManager. In this class I have a createCustomToolTip and a destroyToolTip. The createCustomToolTip is like the createToolTip signature except instead of passing text, I just pass the class reference (in its place) described in step 1. The problem with createToolTip is it uses ToolTip class in the addChild() call. So there was no way to override it. This way any component class which extends my extended ToolTip class will work. 4.) For effects I just do a createInstance passing the ToolTip returned from the createCustomToolTip. I'm not sure I made this more difficult that it should have been but it is flexible and it works?? Thanks. .j Tim Hoff said the following: Hi John, Sam's suggestion to use the ToolTipManager's createToolTip and destroyToolTip methods would allow you to use your custom ToolTip component. But, since you would manually have to position and destroy the component anyway, have you considered using a popup instead? -TH --- In [EMAIL PROTECTED]ups.com, John Kirby [EMAIL PROTECTED] wrote: Sam - Thanks... I've looked at that. The problem is I'm creating custom components in my tooltip. So I was trapping the create event to use my own custom tooltip which implements IToolTip. This worked fine. Where I got stuck was on how to intercept the hide event. Nothing I tried seem to work which would allow the tooltip to continue showing once the mouse was moved off the target. I was trying to recreate the tooltips used in Adobe's JamJar application. So now my approach is to create my own class which extends ToolTipManager. I want added another method (createCustomToolTip) where I pass the custom tooltip class and try to override some methods so I can control when to call destroytooltip? Not sure this is the best approach? .j Samuel Reuben said the following: Hi J, You could look into the documentation for ToolTipManager and use the methods (createToolTip and destroyToolTip) that are listed there to achieve what you are trying to do. Hope this helps, -sam On 9/16/06, *josiah_kirby* [EMAIL PROTECTED] mailto:jjkirby@... wrote: I'm building a custom tooltip (implements IToolTip) which will have components in it. Once the tooltip is shown I want to keep it shown until I trigger an event to hide it. I have created a listener on the component for the tooltipHide to keep it from hiding with no luck. Anyone know how keep a tooltip open until you want to close/hide it? Thanks. .j -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford -- Whether you think that you can, or that you can't, you are usually right. - Henry Ford __._,_.___ -- 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] how to set 1px width image to be a 200width application control bar 's backgroundImage
Hello ,everyone: I wanna to know how to set 1px width image to be a 200width application control bar 's backgroundImage. i'm sorry for my poor english. __._,_.___ -- 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] log console
i use SOS , it's really cool :)On 9/19/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote: That productwas severely updated - I believed the version on ajaxmaker predates Flex release one as you could of guessed based on the name ;-).Release version is posted on the Flex Exchange (under name of the XPanel) and here: http://flexblog.faratasystems.com/?p=5 or you can go directly to download: http://www.faratasystems.com/xpanel/xp3.zip That release isalso is kind of dated - beginning of July. Here is what coming up in the next month - to be released on Max'06: XPanel for Flex with: - Complete UI for logger state management - with TreeView of Loggable classes and interactive markup - Per application persistence of levels/classes in the local storage - Additional adapters : local Windows application, server side Log4J logger, remote console via ActionScript messaging, regular trace, Apollo application (when available), etc - whatever else we have time tostuff in Bad news is that it most likelywill come with some time of licensing - but given the available alternatives I am sure it will be reasonable. Please drop me a line if you want to beta test it before the official release in October. Thank you, Anatole Tartakovsky www.faratasystems.com On 9/18/06, aaron smith [EMAIL PROTECTED] wrote: check out XPanel.http://www.ajaxmaker.com/xpanel/xpanel.htmsmith On 9/18/06, Diego Guebel [EMAIL PROTECTED] wrote: Hi there,just wondering what log console you guys prefer.is log4f still live? I was about to download the latest version from sourceforge and it was from late 2004... cheers, Diego--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 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] Problems with TextInput
hi,I have been working on a form where i have to take the id and password from the user validate them.I used 2 TextInput Controls and i have written the followinf code for validationimport mx.controls.TextInput; public function LoginCheck():void{ if((uid.text=='1') (pwd.text=='admin123')){mx.controls.Alert.show("Successfully Logged in...");} else{mx.controls.Alert.show("Login Failed!!");}} This code is giving me an error like1119: Access of possibly undefined property text through a reference with static type String. Kindly HelpThanks Madhuri All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. __._,_.___ -- 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] call function (how-to)
Hi, I'm trying to use and understand Flex Builder. I made up this test function but I don't understand how it can be called onLoad: mx:Script ![CDATA[ import flash.display.*; public function drawer():void{ var mySprite:Sprite = new Sprite(); mySprite.graphics.beginFill(0xffcc00); mySprite.graphics.drawCircle(30,30,30); var lab:TextField = new TextField(); lab.text = hello; lab.x = 300; lab.y = 300; mySprite.addChild(lab); addChild(mySprite); } ]] /mx:Script Could you gently tell me how can I call it? Thanks. :-) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex + .NET Web Services irritations
John, I know you had said you were using webServices...but if you can possibly refactor, using WebOrb.NET Standard (free), you can transfer back and forth classes/objects..For more info you can check out http://blog.shrefler.net/?p=6 Hope that could help... Sam On 9/18/06, John C. Bland II [EMAIL PROTECTED] wrote: I don't have a problem getting data. Sending native classes/objects is a problem. :-) On 9/18/06, barry.beattie [EMAIL PROTECTED] wrote: John, the July issue of ColdFusion Developers Journal has an article onusing Flex's class introspection to automate getting strong typed datafrom webservices (to get close to the transfer object idea of remoting, but with webservices). not quite remoting but getting there.(ignore the CF bit, it's the Flex code in the article/the techniqueyou may be interested in)just a quick thought.cheers barry.b -- John C. Bland IIChief DeveloperKatapult 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 __._,_.___ -- 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] how to set 1px width image to be a 200width application control bar 's backgroundImage
set the backgroundSize property to 100%, not sure, worth a try!On 9/19/06, saicn [EMAIL PROTECTED] wrote: Hello ,everyone: I wanna to know how to set 1px width image to be a 200width application control bar 's backgroundImage. i'm sorry for my poor english. __._,_.___ -- 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] call function (how-to)
Hi,You could use;mx:Application ... creationComplete=drawer() .../mx:ApplicationPeace, MikeOn 9/19/06, caruso_canepari [EMAIL PROTECTED] wrote: Hi, I'm trying to use and understand Flex Builder. I made up this test function but I don't understand how it can be called onLoad: mx:Script ![CDATA[ import flash.display.*; public function drawer():void{ var mySprite:Sprite = new Sprite(); mySprite.graphics.beginFill(0xffcc00); mySprite.graphics.drawCircle(30,30,30); var lab:TextField = new TextField(); lab.text = hello; lab.x = 300; lab.y = 300; mySprite.addChild(lab); addChild(mySprite); } ]] /mx:Script Could you gently tell me how can I call it? Thanks. :-) -- 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 __,_._,___
Re: [flexcoders] call function (how-to)
BTW,Looking at your code, you cannot do this; mySprite.addChild(lab); addChild(mySprite);You need at least; mySprite.addChild(lab);var wrapper:UIComponent = new UIComponent();wrapper.addChild(mySprite); addChild(wrapper);Peace, MikeOn 9/19/06, Michael Schmalle [EMAIL PROTECTED] wrote:Hi,You could use;mx:Application ... creationComplete=drawer() .../mx:ApplicationPeace, MikeOn 9/19/06, caruso_canepari [EMAIL PROTECTED] wrote: Hi, I'm trying to use and understand Flex Builder. I made up this test function but I don't understand how it can be called onLoad: mx:Script ![CDATA[ import flash.display.*; public function drawer():void{ var mySprite:Sprite = new Sprite(); mySprite.graphics.beginFill(0xffcc00); mySprite.graphics.drawCircle(30,30,30); var lab:TextField = new TextField(); lab.text = hello; lab.x = 300; lab.y = 300; mySprite.addChild(lab); addChild(mySprite); } ]] /mx:Script Could you gently tell me how can I call it? Thanks. :-) -- What goes up, does come down. -- 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] create a research function though google's api,but failed to get any results...
i used fb2 to create a page that can use google's search webservice,and i think i had wrote the script correctly,but can't get any result,the flex codes are below: mx:WebService id=ws wsdl=http://api.google.com/GoogleSearch.wsdl; result={ti.text='yes'} fault={ti.text='no'} mx:operation name=doGoogleSearch mx:request key/key //and i also had got my key written correctly!! start0/start maxResults10/maxResults filtertrue/filter safeSearchtrue/safeSearch q{searchTerm}/q /mx:request /mx:operation /mx:WebService and i use a button to do ws.doGoogleSearch.send(),and i'd bind the result to a datagrid component,ti is a textinput component,and everytime i click this send button,all i got is the fault feedback(a no in the textinput) which means didn't receive any search result from google soap research api...can't any flexcoder help me to solve this problem?thanks a lot!! -- 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] Passing Embedded object into Grid Component.
OK here is what i am trying to do. I have a grid component, and I wanted to display on the grid, a list of ship objects. Think of this like a cruise liner. I am retrieving these objects from a java/hybernate/spring adapter using remote object, and it works ok. I get back an arrayCollection, then I build a new array, populatate it with Actionscript ship objects, which has an embedded port object. Ship has attributes like Name, id, comments etc. And it has an embedded homeport object also. The port, has name, country and comments too. I can get the object to come back, and its being built correctly. I have ship objects and each one has its own port object, I see in the debugger the objects and thier embedded objects and the embedded object values. So I know the constructor is working fine. Here is the problem. I set the dataprovider attribute to match the array of completed ships, and I can get the grid, to display all the ship data, but not the port data. So Here is my code: mx:DataGrid id=ShipListDataGrid width=978 height=190 dataProvider={initDG} creationComplete=loadAllShips() selectedIndex=0 mx:columns mx:DataGridColumn headerText=Name dataField=name/ mx:DataGridColumn headerText=Class dataField=clazz/ mx:DataGridColumn headerText=Comments dataField=comments/ mx:DataGridColumn headerText=Port Country dataField=port.country / /mx:columns /mx:DataGrid Now the colums name, clazz, comments all work perfectly, as they are attributes of ship. However, port.country does not work, it just shows a blank column, even though that is the correct notation to get to that data field, for the attribute of that ships port home country. Its just a string, so for the port called miami, the country is USA. This does not display. However if I remove port.country, and only put in port, then it shows that whats in that column displays as Object : Port. So it seems that the grid knows theres an object in there. But not what to do with it? I have created a masterViewList and a masterDetails component, and the viewList is the grid, and the details is the details section of the ship. So there it shows a form, and the form shows all the details of the ship selected in the list above. Heres the interesting thing. using a label field, I can change the selected list item on the grid, and show the ship.port.country in a label on the bottom, so it can transverse the ship object, but just not seemingly in the grid. What can I do? Why does it work with a label field, and not in the grid? Why will the grid not show an embedded string attribute for an embedded object, but a label or text box will? What am I doing wrong? At the prompting of someone from the Flex Developer forums on adobes site, I implemented this also. On the column I put this as the datafield: (instead of the above port.country, or port) mx:DataGridColumn headerText=Port Country dataField={calcPortCountry} / And created this function: private function calcPortCountry(item:Object, col:DataGridColumn):String { return item.port.country; } But this also gets me the same result. Nothing inside the grid column. All the tutorials seem to be for passing simple objects which only contain simple attributes, strings ints, and stuff like that. Nothing with embedded objects. This is a ship object, which has an embedded port object inside it. I have tried debugging this new function, and I cannot even get into the function above to see whats being passed. -- 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[2]: [flexcoders] how to set 1px width image to be a 200width application control bar 's backgroundImage
Hello Harish, Tuesday, September 19, 2006, 3:56:03 PM, you wrote: set the backgroundSize property to 100%, not sure, worth a try! I just tried this path just to validate this approach and it failed to me. I applied the following CSS style to the application: Application { background-image: mainBackground2.swf; background-size: 100%; } I got the result that mainBackground2.swf with original 50x50 size was resized to occupy the whole 100% surface of the screen. I am currently thinking of publishing SWF file with Flash IDE 9 alpha, where I will use some AS3 based code to replicate the single image all along the screen in a grid fashion and use this resulted SWF file as a background-image for my Flex 2 application. And, I believe, the supprot of CSS attribute background-repeat did not make it to be available with Flex 2 release. -- Best regards, Andriymailto:[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Example: Creating and using custom tooltips
Nick - Great example! One question. I've used your example to implement a custom tooltip on a component that also contains a pie chart. The pie chart has a tooltip as well. Is there any way to temporarily disable to component's overall tooltip while the pie chart tooltip is displaying - thereby avoiding the dreaded battle of the tooltips. - Tom n51red wrote: Hello, Somebody asked me to provide an example of how to use arbirary components as tool tips. So here goes: Notes - For a component to be used as a tooltip it must implement the IToolTip interface. I've used a base class (CustomToolTip) for the custom tooltips in this example that takes care of implementing the interface, and a few other things as documented within the code. Just like when using standard tooltips, you need to set the toolTip property of a component for a tooltip to be displayed for it. This is true even if you don't actually use the value in your tooltip component. That's why I set the toolTip variables to in the example. When a tooltip is to be displayed for a component, that component fires a toolTipCreate event. To use your custom tooltip component you need to intercept this event and set its toolTip property to an instance of your custom tooltip component. The main application code - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml verticalGap=20 mx:Script ![CDATA[ import mx.events.*; import CustomToolTips.*; ]] /mx:Script mx:Label text=Component1 id=Component1 toolTip= toolTipCreate=event.toolTip=new Component1ToolTip();/ mx:Button label=Component2 id=Component2 toolTip= toolTipCreate=event.toolTip=new Component2ToolTip();/ /mx:Application A base class for components to be used as tooltips -- package CustomToolTips { import mx.core.*; import mx.containers.*; public class CustomToolTip extends VBox implements IToolTip { public function CustomToolTip() { // Make the ToolTip invisible to the mouse so that it doesn't // interfere with the ToolTipManager's mouse- tracking. mouseEnabled = false; mouseChildren=false; //Add padding to prevent the component from //touching the sides of the application, which //looks untidy setStyle(paddingBottom, 10); setStyle(paddingRight, 10); } //IToolTip functions - unused in this case public function get text():String { return null; } public function set text(value:String):void {} } } A couple of custom tooltips extending the above class - ?xml version=1.0 encoding=utf-8? ctt:CustomToolTip xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml xmlns:ctt=CustomToolTips.* width=150 backgroundColor=#FF dropShadowEnabled=true borderColor=black borderThickness=1 borderStyle=solid mx:Label text=Custom Tooltip 1 fontSize=14 fontWeight=bold/ mx:Text text=This is the custom tooltip for component 1 width=100%/ /ctt:CustomToolTip ?xml version=1.0 encoding=utf-8? ctt:CustomToolTip xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml xmlns:ctt=CustomToolTips.* width=225 backgroundColor=white dropShadowEnabled=true borderColor=black borderThickness=1 borderStyle=solid mx:Label text=Custom Tooltip 2 fontSize=14 fontWeight=bold color=blue/ mx:Text text=This is the custom tooltip for component 2 width=100%/ /ctt:CustomToolTip Regards, Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Setting new dataProvider and selectedIndex properties to HorizontalList simultaneously
Hi All! Unfortunately, setting new dataProvider and selectedIndex properties to HorizontalList simultaneously does not always result in actually selecting particular item. Sometimes the dataProvider changes, but nothing is selected. You could find the simple code sample below. What's wrong with it? Sergey. ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onCreationComplete() horizontalAlign=center verticalAlign=middle mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.controls.Alert; private var _dataProviders : ArrayCollection = new ArrayCollection(); [Bindable] private var _dataProvider : ArrayCollection = new ArrayCollection(); [Bindable] private var _selectedIndex : int; private function onCreationComplete() : void { _dataProviders.addItem(new ArrayCollection([1, 2, 3])); _dataProviders.addItem(new ArrayCollection([4, 5, 6])); _dataProviders.addItem(new ArrayCollection([7, 8, 9, 10])); } private function onSelectButtonClick() : void { _dataProvider = _dataProviders[Math.floor(Math.random() * _dataProviders.length)]; _selectedIndex = Math.floor(Math.random() * _dataProvider.length); } ]] /mx:Script mx:HorizontalList id=horizontalList dataProvider={_dataProvider} selectedIndex={_selectedIndex} mx:itemRenderer mx:Component mx:Box width=50 height=50 mx:Label text={data} / /mx:Box /mx:Component /mx:itemRenderer /mx:HorizontalList mx:Button label=Select click=onSelectButtonClick() / /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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 an OCX with Flex
I am considering re-writing a traditional client-server application in Flex. This will be an INTRANET application and all of the clients have a registered OCX that my app has to communicate with (Interfaces with a phone dialer). My 2 part question is: 1). Am I silly to try to build a feature-rich application in Flex? Am I losing any features compared to traditional CS development tools? 2). Most important, how does one instantiate an OCX and use it in flex? Thanks Bruce -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Implementation of Concept: Grid
Hi all, I wrote up this question a while ago but I realized, after looking at it, that it was poorly posed. As such, it was buried among the graveyard of unanswered posts. I think I have a much better way to represent it: I have a database table which holds the following fields: width length pricenumber group The concept is that for each width and length in a given group, there is a corresponding pricenumber value. On the client's source documents (one for each group) this is represented by a simple grid which has width along the X axis of the grid and length along the Y axis. Following the width across and the length down gives you the pricenumber you are looking for. I need a way to represent this in Flex so that it can be edited, but I am not sure if the DataGrid is the right approach. In HTML, this seems like it would be fairly simple. Could someone point me in the right direction to accomplish this task? -- 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] Architecting a large, modular Flex application
I just want to bounce this idea/concept off the larger Flex community to see if there are any holes or possibly better solutions. I am currently working with a team of developers on a large, modular Flex application based on the Cairngorm framework. One issue that we are trying to get our heads around is creating the application in a modular fashion (ie seperate SWFs for application modules). Each module will only get loaded as needed by the main shell application in order to keep the overall size and memory use as small as possible. The big issue that we are running into is how to setup and develop the module flex projects in Flex Builder. We need to give the module projects access to the models, value objects etc (especially bindable properties) that they need from the main application without having the actual application implemented version of those classes get compiled into the module swfs and causing problems when they get loaded into the main application. Our current thinking is that in order to allow the modules to have full access to the models, value objects, etc that have been defined in the main application we create Abstract versions of those classes and put them in a seperate flex library project which will get compiled as an SWC and get included into the seperate modules as a runtime shared library (RSL), basically an library of Abstract classes only (and maybe some Interfaces). The module projects will also include the Cairngorm.swc as an RSL in order to have access to the interfaces etc that are defined there and provide the neccessary hooks into the main application. The main application will have all of it's models, value objects etc extend the abstract classes that are defined in the Abstract RSL library. The main application will also use the cairngorm.swc as an RSL to ensure that the module swfs load properly when called upon (ie they won't throw a run time shared library error because they can't find the cairngorm.swc). This results in a download hit because the entire flex framework gets downloaded in the cairngorm.swc but we do not see any way around that. Any feedback, comments, etc from any of you would be greatly appreciated. Regards, Derrick -- 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: Compiler warning about unused CSS type selector
That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one. Tobias. --- In flexcoders@yahoogroups.com, Hilary Bridel [EMAIL PROTECTED] wrote: Tobias, You are probably referencing an external .css file in your code which has a reference to a style for ComboBox, but you are not using a combobox in your app??? Hilary www.bridel.org On 9/19/06, tobiaspatton [EMAIL PROTECTED] wrote: Anyone know how to get rid this warning? Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. Thanks. Tobias. -- 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 -- Hilary -- -- 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: idiotic flex fires 2 event handlers for buttons of a substate !!!
Thanks Matt. It is an easy workaround, I probably could've fixed it faster if it hadn't of been so late. Sorry for any frustration driven rudeness in my original post. -- 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] Flex 2 courses in Ottawa
Hey all, I'm new to the list and thought I would take thise opportunity to introduce myself to the group. If there are any other people here from the Ottawa region, I will be attending courses by the New Toronto Group, next week. If you are also attending, feel free to introduce yourselves! Take care, Jen -- 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] Search Engine
My skill level in flex 2.0 is intermediate and I was wondering if anyone knew of any resources on how I can build a search engine with the products that I use in my app. I've been reading that the Ajax Bridge is nice to use, but I can not find any getting started tutorials. If anyone knows of a different approach, resources, or examples you could show me, I'd appreciate it. Ciao Sal -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex + .NET Web Services irritations
I have heard a lot of good things about WebOrb. The next version of the app will be rid of the web services so we'll see what works best.On 9/19/06, Sam Shrefler [EMAIL PROTECTED] wrote: John, I know you had said you were using webServices...but if you can possibly refactor, using WebOrb.NET Standard (free), you can transfer back and forth classes/objects..For more info you can check out http://blog.shrefler.net/?p=6 Hope that could help... Sam On 9/18/06, John C. Bland II [EMAIL PROTECTED] wrote: I don't have a problem getting data. Sending native classes/objects is a problem. :-) On 9/18/06, barry.beattie [EMAIL PROTECTED] wrote: John, the July issue of ColdFusion Developers Journal has an article onusing Flex's class introspection to automate getting strong typed datafrom webservices (to get close to the transfer object idea of remoting, but with webservices). not quite remoting but getting there.(ignore the CF bit, it's the Flex code in the article/the techniqueyou may be interested in)just a quick thought.cheers barry.b -- John C. Bland IIChief DeveloperKatapult 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 -- 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 __._,_.___ -- 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] Data Binding Question - will both work?
Hi, I've just seen part of a Flex training video that I think is incorrect or outdated (beta 3 was being used at the time)I just want to double-check that this really is the case.The video says that the code below would *not* take full advantage of data binding (ie the data will initially appear in the DataGrid, but it will not stay updated): mx:HTTPService id=heroesDataRequest url="" / mx:DataGrid dataProvider={heroesDataRequest.lastResult.superheroes.hero} /However, I read in the Flex 2 docs that an HTTPService request will, by deault return an ArrayCollection (makeObjectsBindable is true by default), and I am using the data binding syntax in the form of the curly braces. Furthermore, in order to try and test, I used buttons to change the data in the HTTPService's lastResult object, and the changes do always seem to be reflected in my DataGrid: mx:HTTPService id=heroesDataRequest url="" makeObjectsBindable=true / mx:DataGrid dataProvider={heroesDataRequest.lastResult.superheroes.hero } /mx:Button label=button 1 click=heroesDataRequest.lastResult.superheroes.hero[0].name = 'AAA'; /mx:Button label=button 2 click=heroesDataRequest.lastResult.superheroes.hero [0].name = 'BBB'; /The tutorial goes on to say that to make binding work properly I should use the HTTPServices 'result' event handler, and assign the data to a bindable ArrayCollection variable that I create - this is probably my preferred choice anyway, but I am curious to know whether both ways are equally appropriate. Can I safely say that data binding is working fully in the first example, or could there be scenarios in which it will not work but where the alternative method would? If so, could someone enlighten me? I'm not yet confident of the best way to check/debug this kind of thing myself. Cheers,Neil __._,_.___ -- 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] Adding buttons to RTE control area.
OK so I need to add a Rich Text area to my app. It is going to appear in a popup window. Ideally I would like to make the RTE the popup panel on its own and add in a cancle and save button to the area that has the front controls, is this possible?? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Passing Embedded object into Grid Component.
Have you tried to use labelFunction ? private function labelFanctionCountry(item:Object):String { return item.port.country; } mx:DataGridColumn headerText=Port Country labelFunction=labelFanctionCountry/ Irina --- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote: OK here is what i am trying to do. I have a grid component, and I wanted to display on the grid, a list of ship objects. Think of this like a cruise liner. I am retrieving these objects from a java/hybernate/spring adapter using remote object, and it works ok. I get back an arrayCollection, then I build a new array, populatate it with Actionscript ship objects, which has an embedded port object. Ship has attributes like Name, id, comments etc. And it has an embedded homeport object also. The port, has name, country and comments too. I can get the object to come back, and its being built correctly. I have ship objects and each one has its own port object, I see in the debugger the objects and thier embedded objects and the embedded object values. So I know the constructor is working fine. Here is the problem. I set the dataprovider attribute to match the array of completed ships, and I can get the grid, to display all the ship data, but not the port data. So Here is my code: mx:DataGrid id=ShipListDataGrid width=978 height=190 dataProvider={initDG} creationComplete=loadAllShips() selectedIndex=0 mx:columns mx:DataGridColumn headerText=Name dataField=name/ mx:DataGridColumn headerText=Class dataField=clazz/ mx:DataGridColumn headerText=Comments dataField=comments/ mx:DataGridColumn headerText=Port Country dataField=port.country / /mx:columns /mx:DataGrid Now the colums name, clazz, comments all work perfectly, as they are attributes of ship. However, port.country does not work, it just shows a blank column, even though that is the correct notation to get to that data field, for the attribute of that ships port home country. Its just a string, so for the port called miami, the country is USA. This does not display. However if I remove port.country, and only put in port, then it shows that whats in that column displays as Object : Port. So it seems that the grid knows theres an object in there. But not what to do with it? I have created a masterViewList and a masterDetails component, and the viewList is the grid, and the details is the details section of the ship. So there it shows a form, and the form shows all the details of the ship selected in the list above. Heres the interesting thing. using a label field, I can change the selected list item on the grid, and show the ship.port.country in a label on the bottom, so it can transverse the ship object, but just not seemingly in the grid. What can I do? Why does it work with a label field, and not in the grid? Why will the grid not show an embedded string attribute for an embedded object, but a label or text box will? What am I doing wrong? At the prompting of someone from the Flex Developer forums on adobes site, I implemented this also. On the column I put this as the datafield: (instead of the above port.country, or port) mx:DataGridColumn headerText=Port Country dataField={calcPortCountry} / And created this function: private function calcPortCountry(item:Object, col:DataGridColumn):String { return item.port.country; } But this also gets me the same result. Nothing inside the grid column. All the tutorials seem to be for passing simple objects which only contain simple attributes, strings ints, and stuff like that. Nothing with embedded objects. This is a ship object, which has an embedded port object inside it. I have tried debugging this new function, and I cannot even get into the function above to see whats being passed. -- 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: Passing Embedded object into Grid Component.
As a simple approach to this I'd create an inline renderer for this column as: mx:DataGridColumn headerText=Port Country mx:itemRenderer mx:Component mx:Label text={data.port.country} / /mx:Component /mx:itemRenderer /mx:DataGridColumn In this case the 'data' object is replicated for each row of your collection. You can then drill down in the usual fashion to retrieve embeded objects and their contained values. The same could be done in an external item renderer written in mxml or actionscript. --- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote: OK here is what i am trying to do. I have a grid component, and I wanted to display on the grid, a list of ship objects. Think of this like a cruise liner. I am retrieving these objects from a java/hybernate/spring adapter using remote object, and it works ok. I get back an arrayCollection, then I build a new array, populatate it with Actionscript ship objects, which has an embedded port object. Ship has attributes like Name, id, comments etc. And it has an embedded homeport object also. The port, has name, country and comments too. I can get the object to come back, and its being built correctly. I have ship objects and each one has its own port object, I see in the debugger the objects and thier embedded objects and the embedded object values. So I know the constructor is working fine. Here is the problem. I set the dataprovider attribute to match the array of completed ships, and I can get the grid, to display all the ship data, but not the port data. So Here is my code: mx:DataGrid id=ShipListDataGrid width=978 height=190 dataProvider={initDG} creationComplete=loadAllShips() selectedIndex=0 mx:columns mx:DataGridColumn headerText=Name dataField=name/ mx:DataGridColumn headerText=Class dataField=clazz/ mx:DataGridColumn headerText=Comments dataField=comments/ mx:DataGridColumn headerText=Port Country dataField=port.country / /mx:columns /mx:DataGrid Now the colums name, clazz, comments all work perfectly, as they are attributes of ship. However, port.country does not work, it just shows a blank column, even though that is the correct notation to get to that data field, for the attribute of that ships port home country. Its just a string, so for the port called miami, the country is USA. This does not display. However if I remove port.country, and only put in port, then it shows that whats in that column displays as Object : Port. So it seems that the grid knows theres an object in there. But not what to do with it? I have created a masterViewList and a masterDetails component, and the viewList is the grid, and the details is the details section of the ship. So there it shows a form, and the form shows all the details of the ship selected in the list above. Heres the interesting thing. using a label field, I can change the selected list item on the grid, and show the ship.port.country in a label on the bottom, so it can transverse the ship object, but just not seemingly in the grid. What can I do? Why does it work with a label field, and not in the grid? Why will the grid not show an embedded string attribute for an embedded object, but a label or text box will? What am I doing wrong? At the prompting of someone from the Flex Developer forums on adobes site, I implemented this also. On the column I put this as the datafield: (instead of the above port.country, or port) mx:DataGridColumn headerText=Port Country dataField={calcPortCountry} / And created this function: private function calcPortCountry(item:Object, col:DataGridColumn):String { return item.port.country; } But this also gets me the same result. Nothing inside the grid column. All the tutorials seem to be for passing simple objects which only contain simple attributes, strings ints, and stuff like that. Nothing with embedded objects. This is a ship object, which has an embedded port object inside it. I have tried debugging this new function, and I cannot even get into the function above to see whats being passed. -- 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: Compiler warning about unused CSS type selector
Have you tried the -compiler.keep-all-type-selectors flag or keep-all-type-selectorstrue/keep-all-type-selectors tag? It might add a tiny bit to the file size (since unused types won't be pruned), but it might eliminate the warnings. There doesn't seem to be a specific compiler option to disable the css warning. -d tobiaspatton wrote: That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one. Tobias. -- 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] What happened to getTreeNodeAt??
Well, now I'm stymied. With Flex 1.5, I was able to expand all the nodes of an mx:Tree with something like: function setOpenAll(aryNodes):Void{ var childNode = aryNodes.getTreeNodeAt(0); var aryChildren = aryNodes.getChildNodes(); for (var i = 0;i aryChildren.length;i = i + 1){ childNode = aryNodes.getTreeNodeAt(i); treeElem.setIsOpen( myNode, true, false, false); if ( childNode.hasChildNodes() ){ setOpenAll(childNode ); } } } and invoke it with a button function like click=setOpenAll(treeElem.dataProvider) But this throws an error in Flex 2. Near as I can tell... there's no getTreeNodeAt() function anymore. Anyone know how to go about expanding all the nodes of a tree, now, in Flex 2? I'm continually surprised there are no methods openAll()/closeAll() for the Tree. Seems like the new expandChildrenOf() method would make things easier... but not quite sure how to use it. Thanks in advance, -Carl -- 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: Problems with TextInput
I've most often encountered this type of error when I am setting state based properties in mxml. It generally means that I've coded target=someThing instead of target={someThing}. The target wants an object with {} not a string with . I suggest you look at your code to see if you haven't done somthing similar. --- In flexcoders@yahoogroups.com, Madhuri Chamarty [EMAIL PROTECTED] wrote: hi, I have been working on a form where i have to take the id and password from the user validate them. I used 2 TextInput Controls and i have written the followinf code for validation import mx.controls.TextInput; public function LoginCheck():void{ if((uid.text=='1') (pwd.text=='admin123')) { mx.controls.Alert.show(Successfully Logged in...); } else { mx.controls.Alert.show(Login Failed!!); } } This code is giving me an error like 1119: Access of possibly undefined property text through a reference with static type String. Kindly Help Thanks Madhuri - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. -- 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: how to set 1px width image to be a 200width application control bar 's backg
Try CSS setting repeat-x (horizontal) or repeat-y (vertical) Jack --- In flexcoders@yahoogroups.com, Andriy Panas [EMAIL PROTECTED] wrote: Hello Harish, Tuesday, September 19, 2006, 3:56:03 PM, you wrote: set the backgroundSize property to 100%, not sure, worth a try! I just tried this path just to validate this approach and it failed to me. I applied the following CSS style to the application: Application { background-image: mainBackground2.swf; background-size: 100%; } I got the result that mainBackground2.swf with original 50x50 size was resized to occupy the whole 100% surface of the screen. I am currently thinking of publishing SWF file with Flash IDE 9 alpha, where I will use some AS3 based code to replicate the single image all along the screen in a grid fashion and use this resulted SWF file as a background-image for my Flex 2 application. And, I believe, the supprot of CSS attribute background-repeat did not make it to be available with Flex 2 release. -- Best regards, Andriymailto:[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: Passing Embedded object into Grid Component.
Ah found the problem. Instead of using the dataField attribute for the column, you are supposed to use the labelFunction=calcPortCountry attribute. That was my problem. So in short I still have to create the calcPortFunction, pass in the item in the grid, find the embedded port attribute and return it as a string. Then on the gridColumn, you must set the labelFunction attribute, not the dataField attribute. This fixes it. --- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote: OK here is what i am trying to do. I have a grid component, and I wanted to display on the grid, a list of ship objects. Think of this like a cruise liner. I am retrieving these objects from a java/hybernate/spring adapter using remote object, and it works ok. I get back an arrayCollection, then I build a new array, populatate it with Actionscript ship objects, which has an embedded port object. Ship has attributes like Name, id, comments etc. And it has an embedded homeport object also. The port, has name, country and comments too. I can get the object to come back, and its being built correctly. I have ship objects and each one has its own port object, I see in the debugger the objects and thier embedded objects and the embedded object values. So I know the constructor is working fine. Here is the problem. I set the dataprovider attribute to match the array of completed ships, and I can get the grid, to display all the ship data, but not the port data. So Here is my code: mx:DataGrid id=ShipListDataGrid width=978 height=190 dataProvider={initDG} creationComplete=loadAllShips() selectedIndex=0 mx:columns mx:DataGridColumn headerText=Name dataField=name/ mx:DataGridColumn headerText=Class dataField=clazz/ mx:DataGridColumn headerText=Comments dataField=comments/ mx:DataGridColumn headerText=Port Country dataField=port.country / /mx:columns /mx:DataGrid Now the colums name, clazz, comments all work perfectly, as they are attributes of ship. However, port.country does not work, it just shows a blank column, even though that is the correct notation to get to that data field, for the attribute of that ships port home country. Its just a string, so for the port called miami, the country is USA. This does not display. However if I remove port.country, and only put in port, then it shows that whats in that column displays as Object : Port. So it seems that the grid knows theres an object in there. But not what to do with it? I have created a masterViewList and a masterDetails component, and the viewList is the grid, and the details is the details section of the ship. So there it shows a form, and the form shows all the details of the ship selected in the list above. Heres the interesting thing. using a label field, I can change the selected list item on the grid, and show the ship.port.country in a label on the bottom, so it can transverse the ship object, but just not seemingly in the grid. What can I do? Why does it work with a label field, and not in the grid? Why will the grid not show an embedded string attribute for an embedded object, but a label or text box will? What am I doing wrong? At the prompting of someone from the Flex Developer forums on adobes site, I implemented this also. On the column I put this as the datafield: (instead of the above port.country, or port) mx:DataGridColumn headerText=Port Country dataField={calcPortCountry} / And created this function: private function calcPortCountry(item:Object, col:DataGridColumn):String { return item.port.country; } But this also gets me the same result. Nothing inside the grid column. All the tutorials seem to be for passing simple objects which only contain simple attributes, strings ints, and stuff like that. Nothing with embedded objects. This is a ship object, which has an embedded port object inside it. I have tried debugging this new function, and I cannot even get into the function above to see whats being passed. -- 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: Problems with TextInput
I've most often encountered this type of error when I am setting state based properties in mxml. It generally means that I've coded target=someThing instead of target={someThing}. The target wants an object with {} not a string with . I suggest you look at your code to see if you haven't done somthing similar. --- In flexcoders@yahoogroups.com, Madhuri Chamarty [EMAIL PROTECTED] wrote: hi, I have been working on a form where i have to take the id and password from the user validate them. I used 2 TextInput Controls and i have written the followinf code for validation import mx.controls.TextInput; public function LoginCheck():void{ if((uid.text=='1') (pwd.text=='admin123')) { mx.controls.Alert.show(Successfully Logged in...); } else { mx.controls.Alert.show(Login Failed!!); } } This code is giving me an error like 1119: Access of possibly undefined property text through a reference with static type String. Kindly Help Thanks Madhuri - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. -- 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] Adding buttons to RTE control area.
Yes it is. See this article on programming controls in RTE in the livedocs for an example of how it can be done: http://livedocs.macromedia.com/flex/2/docs/0570.html -Peter On 9/19/06 11:40 AM, mthielman11 [EMAIL PROTECTED] wrote: OK so I need to add a Rich Text area to my app. It is going to appear in a popup window. Ideally I would like to make the RTE the popup panel on its own and add in a cancle and save button to the area that has the front controls, is this possible?? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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] FP 9 Sandbox Bug Between Firefox and IE?
Hi. I was wondering if somebody can confirm for me whether or not I've stumbled upon a Flash Player 9 bug. The source code is simply the source code from Ted Patrick's Flex Builder 101 Breeze demo located at http://www.adobe.com/devnet/flex/articles/flextv_flexbuilder101.html. I've also pasted it below for cut-and-paste purposes. Essentially, the bug problem statement is that the Firefox plugin's default security context seems to differ from the IE plugin's default context. When I try to do a View Source on the published SWF, Firefox pops up the #2148 local file access error that many have seen while IE happily displays the resulting source code SWF. Here's the source code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundGradientColors=[#ff, #ff] viewSourceURL=srcview/index.html mx:Button label=Say Hello height=60 width=168 horizontalCenter=0 verticalCenter=0 click=Alert.show('Hello Flex World!') / mx:Script ![CDATA[ import mx.controls.Alert; ]] /mx:Script /mx:Application As you can see, it's very plain stuff. If I right-click and do a subsquent View Source in Firefox, this AS error pops up and no source code is displayed: SecurityError: Error #2148: SWF file file:///D:/flex_projects/MyFirstFlex/bin/MyFirstFlex.swf cannot access local resource srcview/index.html. Only local-with-filesystem and trusted local SWF files may access local resources. at global/flash.net::navigateToURL() at mx.core::Application/::menuItemSelectHandler() Internet Explorer displays everything just fine. But the plot thickens... I know about the -use-network=false switch to add to the compiler settings so that local access is granted, so I added that and re-published the project. Upon clicking the View Source option, this time the source code is displayed in the right frame, but I get this AS error popup when the SWF in the left frame tries to load the source tree: [RPC Fault faultString=Error #2148: SWF file file:///D:/flex_projects/MyFirstFlex/bin/srcview/SourceTree.swf cannot access local resource SourceIndex.xml. Only local-with-filesystem and trusted local SWF files may access local resources. faultCode=InvokeFailed faultDetail=null] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke() at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke() at mx.rpc.http::HTTPService/send() at mx.rpc.http.mxml::HTTPService/send() at SourceTree/::startApplication() at SourceTree/___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() And, again, IE is fine and displays both pages in the frameset without issue. My next thought was to verify the version of the Flash Player that I'm running and they're both properly at 9,0,16, so that eliminates that possibility. Any ideas as to why there is an apparent difference in the default security context between the two players? Is this, in fact, a bug or known issue? Regards, Dave. -- 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] Scale-9 Guide
Does scale-9 only apply to how Flex deals with ordinary (single) images, or can graphic components be preapared in different slices for use with scale-9? -- 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: Compiler warning about unused CSS type selector
Thanks for the reply Darron; I had high hopes that you were right, but sadly the warning still appears: mxmlc -source- path=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client/classes - compiler.keep-all-type-selectors -include- libraries=locale\EN\lib\Galiano.swc,D:\PerforceDepot\galiano\Galiano. Tobias_Patton\tools\compiler\Flex2frameworks\locale\en_US\framework_r b.swc DashboardDiag.mxml [mxmlc] Loading configuration file D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2 \frameworks\flex-config.xml [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.mxml: Warning: The type selector 'Alert' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.mxml: Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.swf (252655 bytes) --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: Have you tried the -compiler.keep-all-type-selectors flag or keep-all-type-selectorstrue/keep-all-type-selectors tag? It might add a tiny bit to the file size (since unused types won't be pruned), but it might eliminate the warnings. There doesn't seem to be a specific compiler option to disable the css warning. -d tobiaspatton wrote: That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one. Tobias. -- 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: datagrid, custom editRenderer, and labelFunction
Heres the info from the flex component reference: dataChange event Event object type: mx.events.FlexEvent FlexEvent.type property = mx.events.FlexEvent.DATA_CHANGE Dispatched when the data property changes. When you use a component as an item renderer, the data property contains an item from the dataProvider. You can listen for this event and update the component when the data property changes. The FlexEvent.DATA_CHANGE constant defines the value of the type property of the event object for a dataChange event. The properties of the event object have the following values: PropertyValue bubbles false cancelable false currentTarget The Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget. target The Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event. --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: bump! Any ideas? On 9/17/06, Douglas Knudsen [EMAIL PROTECTED] wrote: Ok, I have a datagrid setup with using a combobox as a editRenderer. The column using this renderer displays its data using a labelFunction. When a edit takes place, the labelFunction is not kicked off again. If I remove the label function and just output data direct from the dataProvider I can see that the editRenderer indeed sets the value correctly after the edit mode is complete. Is there some way to kick off the labelFunction with a event or something? how the column is defined: mx:DataGridColumn id=gradeColumn headerText=Grade width=65 editable=true rendererIsEditor=false itemEditor=com.myco.view.renderers.GradeChoiceRenderer dataField=grade editorDataField=newgrade labelFunction=displayGrade / -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] syntax issue
i am trying to use a query as follows SELECT * FROM tblUserDirectory, tblUser, tblTeamMember WHERE tblUserDirectory.intUserID = tblUser.intUserID AND tblTeamMember.intUserID = tblUser.intUserID ORDER BY strUserLastName selecting everything form 3 differnt tables, using a master data grid and the SelectedItem command i am able to populate fields in a custom tab component, no problem, the problem is that only one table seems to be acceisble in using the SelectedItem: command when i call mx:GridItem width=100% height=100% mx:TextArea width=400 htmlText={masterList.selectedItem.strUserFirstName} height=19/ /mx:GridItem it works, but when it gets to another element; mx:GridItem width=100% height=100% mx:TextArea width=400 htmlText={masterList.selectedItem.strAddrLine1} height=19/ /mx:GridItem i have no luck populating note: strAddrLine1 is fouind in table tblUserDirectory note: strUserFirstName is found in table tblUser any ideas? thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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: syntax issue
When in doubt dump your data to make sure you are getting what you think you are (in a change event handler for instance): import mx.utils.ObjectUtil; trace(ObjectUtil.toString(masterList.selectedItem)); --- In flexcoders@yahoogroups.com, bghoward3 [EMAIL PROTECTED] wrote: i am trying to use a query as follows SELECT * FROM tblUserDirectory, tblUser, tblTeamMember WHERE tblUserDirectory.intUserID = tblUser.intUserID AND tblTeamMember.intUserID = tblUser.intUserID ORDER BY strUserLastName selecting everything form 3 differnt tables, using a master data grid and the SelectedItem command i am able to populate fields in a custom tab component, no problem, the problem is that only one table seems to be acceisble in using the SelectedItem: command when i call mx:GridItem width=100% height=100% mx:TextArea width=400 htmlText={masterList.selectedItem.strUserFirstName} height=19/ /mx:GridItem it works, but when it gets to another element; mx:GridItem width=100% height=100% mx:TextArea width=400 htmlText={masterList.selectedItem.strAddrLine1} height=19/ /mx:GridItem i have no luck populating note: strAddrLine1 is fouind in table tblUserDirectory note: strUserFirstName is found in table tblUser any ideas? thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] syntax issue
When you run that query in Query Analyzer or its equivalent, do you get a table that looks like you expect? If so, then move down the line and in a result handler function, inspect the actual structure and content of the result object. You need to make sure you have the data you expect. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bghoward3 Sent: Tuesday, September 19, 2006 1:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] syntax issue i am trying to use a query as follows SELECT * FROM tblUserDirectory, tblUser, tblTeamMember WHERE tblUserDirectory.intUserID = tblUser.intUserID AND tblTeamMember.intUserID = tblUser.intUserID ORDER BY strUserLastName selecting everything form 3 differnt tables, using a master data grid and the SelectedItem command i am able to populate fields in a custom tab component, no problem, the problem is that only one table seems to be acceisble in using the SelectedItem: command when i call mx:GridItem width=100% height=100% mx:TextArea width=400 htmlText={masterList.selectedItem.strUserFirstName} height=19/ /mx:GridItem it works, but when it gets to another element; mx:GridItem width=100% height=100% mx:TextArea width=400 htmlText={masterList.selectedItem.strAddrLine1} height=19/ /mx:GridItem i have no luck populating note: strAddrLine1 is fouind in table tblUserDirectory note: strUserFirstName is found in table tblUser any ideas? thanks __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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, custom editRenderer, and labelFunction
In the comboBox object, there is an event called 'dataChange'. It is used when the data changes, it fires an event for it. I have not played with this much yet, but I think it might be the path you need to follow to get this thing working. Play with that event on your item renderer object, and tell it the labelFunction you are calling when the data changes. See what happens. Hope this helps. Jeremy. --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: bump! Any ideas? On 9/17/06, Douglas Knudsen [EMAIL PROTECTED] wrote: Ok, I have a datagrid setup with using a combobox as a editRenderer. The column using this renderer displays its data using a labelFunction. When a edit takes place, the labelFunction is not kicked off again. If I remove the label function and just output data direct from the dataProvider I can see that the editRenderer indeed sets the value correctly after the edit mode is complete. Is there some way to kick off the labelFunction with a event or something? how the column is defined: mx:DataGridColumn id=gradeColumn headerText=Grade width=65 editable=true rendererIsEditor=false itemEditor=com.myco.view.renderers.GradeChoiceRenderer dataField=grade editorDataField=newgrade labelFunction=displayGrade / -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flash 8 swc into Flex 1.5
You need to use compc to compile a swc for Flex. The UIObject class Flex 1.5 uses is different from the one Flash put into your swc causing the errors you see. -Sam shawnb457 wrote: I'm tring to install a flash swc into flex 1.5 and I'm getting the error. A linked symbol is incompatible with a referenced version. The linked symbol WEB- INF\flex\frameworks\mx.swc:__Packages.mx.core.UIObject (modified 10/7/04 2:37 PM, priority 2) is incompatible with Searchbox.swc:__Packages.mx.core.UIObject (modified 9/3/03 2:49 AM, priority 2) The symbol is incompatible because: property top is missing. property createAccessibilityImplementation is missing. property embedFonts is missing. property bottom is missing. property left is missing. property right is missing. The incompatible symbol is referenced by: Searchbox.swc:__Packages.CustomSearchbox (modified 9/19/06 10:10 AM, priority 2) Can someone help Thanks Shawn -- 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: criticla problem charting component - coding axis
Hmmm. That shouldn't work either. It should be: this.series = [aa]; Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of olivierSent: Tuesday, September 19, 2006 1:20 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: criticla problem charting component - coding axis Hi all!Thank you for your help !I finally found the problem:The series creation was "wrong" :my way :aa:AreaSet=new AreaSet();aa.series=new Array();//--inserting seriesthis.series=aa;correct way:aa:AreaSet=new AreaSet();aa.series=[];//--inserting seriesthis.series=aa;Using this way, all my problems are resolved.series=new Array()- series=[];Lack of documentation ?Olivier--- In [EMAIL PROTECTED]ups.com, "Ely Greenfield" [EMAIL PROTECTED]. wrote: Hi Olivier. it's hard to diagnose your problem, or even what behavior you're seeing, without a more details description of what you're trying to do, what you're doing, and what the actual behavior you're seeing is. Sample code would help too. Flex 1, or Flex 2? Ely. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of olivier Sent: Wednesday, September 13, 2006 2:11 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] criticla problem charting component - coding axisHi, I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success. I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect. Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advance O. __._,_.___ -- 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] Help on a general way to serialize a model and its contents
I have a number of models in my app and as a debugging help have an alert fired by a button, which gives me the content of a model. For example mx:Model id=product product name{fName.text}/name code{fCode.text}/code discountGroup{fGroup.text}/discount /product /mx:Model Would give a string: name: value, code: value, discountGroup: value I do this the long way: m += name: + product.name; m += , code: + product.code; m += , discountGroup: + discountGroup; Is there an easier way to achieve this? Thanks 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: Compiler warning about unused CSS type selector
Hi Tobias, Instead of using the default ComboBox CSS, you could change it to a custom styleName. You would have to code styleName properties for all of the comboBoxes, but the warning should go away. Looks like you have the same problem with Alert. Of course, you could always cheat by placing an invisible ComboBox somewhere in your application. -TH --- In flexcoders@yahoogroups.com, tobiaspatton [EMAIL PROTECTED] wrote: Thanks for the reply Darron; I had high hopes that you were right, but sadly the warning still appears: mxmlc -source- path=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client/classes - compiler.keep-all-type-selectors -include- libraries=locale\EN\lib\Galiano.swc,D:\PerforceDepot\galiano\Galiano. Tobias_Patton\tools\compiler\Flex2frameworks\locale\en_US\framework_r b.swc DashboardDiag.mxml [mxmlc] Loading configuration file D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2 \frameworks\flex-config.xml [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.mxml: Warning: The type selector 'Alert' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.mxml: Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. [mxmlc] [mxmlc] D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsVi ew\DashboardDiag.swf (252655 bytes) --- In flexcoders@yahoogroups.com, Darron J. Schall darron@ wrote: Have you tried the -compiler.keep-all-type-selectors flag or keep-all-type-selectorstrue/keep-all-type-selectors tag? It might add a tiny bit to the file size (since unused types won't be pruned), but it might eliminate the warnings. There doesn't seem to be a specific compiler option to disable the css warning. -d tobiaspatton wrote: That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one. Tobias. -- 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] FDS Running as a Service?
Hello All, I don't recall this topic ever coming up - but is there a way, rather than double-clicking the FDS Icon to launch the FDS Server, to have it startup on it's own as a service? Of course, in a Server Environment, having to launch a server in this manner is just not realistic - as it actually requires a user to Login, then launch it in an Explorer Shell. I am not sure if this is just specific to the free version of FDS, and that the Commercial Version actually does install as a service? Could anybody shed some light on this? Thanks in advance, Mike -- 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] parsing xml, simple question
look at this example::?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=init() mx:Model id=txml employees employeefirstnameAaron/firstname /employee employeefirstnameD/firstname /employee /employees /mx:Model mx:Script private function init():void { XPLogger.info( txml.employees.employee[0].firstname ); } /mx:Script /mx:Application ::This generates a runtine error: Cannot access a property or method of a null object reference.Why exactly is this generating a runtime error? I can't figure it out.. even when you try this:: XPLogger.info( txml.employees.employee[0] )now the other thing is this. when i do an XPLogger.info( txml.employees ) it traces as [object]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 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: How do I invoke debug version of a flex app from web browser URL
What does it mean to alert the index.template page?On 9/15/06, Johannes Nel [EMAIL PROTECTED] wrote: try altering the index.template.html page and then running in debug mode from eclipse?On 9/15/06, hank williams [EMAIL PROTECTED] wrote: Someone must know the answer to this!On 9/14/06, hank williams [EMAIL PROTECTED] wrote: I need to be able to invoke the debug version of my flex app from the browser URL bar. If I take the URL that the debug app is at, and instead of running via the eclipse run debug version button, I paste the URL into the browser,I get that dialog box that asks where the debugger is. Of course this dialog never actually lets you connect to any debugger. So I am wondering if there is some trick to making this work. The reason I need to do this is I am passing parameters via flashvars into the app and I need to be able to test with the paramters. Hank--Flexcoders Mailing ListFAQ: 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/ -- 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 __,_._,___
RE: [flexcoders] Architecting a large, modular Flex application
Hi, I think you have setup things pretty much the same way I would. Although I have never gone that far... yet :) One thing I did notice which you can change is that you said the entire flex framework gets included in the cairngorm.swc ... doesn't have to be. I build the carngorm.swc using the command-line compiler and made sure to exclude the framework.swc, this did reduce the size and is basically what I think you want to do. Don't remember the exact switch, will have to get that to you tomorrow once I'm back in the office. Regards, Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of derrickgrigg Sent: Tue 9/19/2006 11:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Architecting a large, modular Flex application I just want to bounce this idea/concept off the larger Flex community to see if there are any holes or possibly better solutions. I am currently working with a team of developers on a large, modular Flex application based on the Cairngorm framework. One issue that we are trying to get our heads around is creating the application in a modular fashion (ie seperate SWFs for application modules). Each module will only get loaded as needed by the main shell application in order to keep the overall size and memory use as small as possible. The big issue that we are running into is how to setup and develop the module flex projects in Flex Builder. We need to give the module projects access to the models, value objects etc (especially bindable properties) that they need from the main application without having the actual application implemented version of those classes get compiled into the module swfs and causing problems when they get loaded into the main application. Our current thinking is that in order to allow the modules to have full access to the models, value objects, etc that have been defined in the main application we create Abstract versions of those classes and put them in a seperate flex library project which will get compiled as an SWC and get included into the seperate modules as a runtime shared library (RSL), basically an library of Abstract classes only (and maybe some Interfaces). The module projects will also include the Cairngorm.swc as an RSL in order to have access to the interfaces etc that are defined there and provide the neccessary hooks into the main application. The main application will have all of it's models, value objects etc extend the abstract classes that are defined in the Abstract RSL library. The main application will also use the cairngorm.swc as an RSL to ensure that the module swfs load properly when called upon (ie they won't throw a run time shared library error because they can't find the cairngorm.swc). This results in a download hit because the entire flex framework gets downloaded in the cairngorm.swc but we do not see any way around that. Any feedback, comments, etc from any of you would be greatly appreciated. Regards, Derrick -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. -- 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 |
RE: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about unused CSS type selector
Perhaps more importantly, why the warning? Is there a performance or (significant) filesizepenalty for having unused styles in Flex? I remember styles were an issue with CFFORM. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspattonSent: Tuesday, September 19, 2006 11:00 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] Re: Compiler warning about unused CSS type selector That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning, but can't find one.Tobias.--- In [EMAIL PROTECTED]ups.com, "Hilary Bridel" [EMAIL PROTECTED] wrote: Tobias, You are probably referencing an external .css file in your code which has a reference to a style for ComboBox, but you are not using a combobox in your app??? Hilary www.bridel.org On 9/19/06, tobiaspatton tobias.patton@... wrote: Anyone know how to get rid this warning? Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. Thanks. Tobias. -- 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 -- Hilary -- --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/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 | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006
[flexcoders] Custom Component Updates...
Hi All, I have a custom component, a combo box that I have applied an ArrayCollection filter to that accepts a variable to filter on. I am able to trigger and filter the combo box externally but what I would like to do is have the combo box listen for when its binding changes and then update the filter all within the component. What would be the best practice for doing this?? I have looked at ChangeWatcher and this does seem like it could work Does anyone have suggestions or examples??? -Ken __._,_.___ -- 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] Help on a general way to serialize a model and its contents
In Flex 1.5: for( var i in product ) { trace( i + - + product[i] ); } In Flex 2.0: trace( dump: + ObjectUtils.toString( product ) ); Enjoy! Dimitrios Gianninas Optimal Payments Inc -Original Message- From: flexcoders@yahoogroups.com on behalf of greenfishinwater Sent: Tue 9/19/2006 3:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Help on a general way to serialize a model and its contents I have a number of models in my app and as a debugging help have an alert fired by a button, which gives me the content of a model. For example mx:Model id=product product name{fName.text}/name code{fCode.text}/code discountGroup{fGroup.text}/discount /product /mx:Model Would give a string: name: value, code: value, discountGroup: value I do this the long way: m += name: + product.name; m += , code: + product.code; m += , discountGroup: + discountGroup; Is there an easier way to achieve this? Thanks Andrew -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. -- 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/ winmail.dat
[flexcoders] Re: parsing xml, simple question
ok, so i figured out my first question but I have another question about parsing xml...look at this xmlrss version=2.0 xmlns:dc= http://purl.org/dc/elements/1.1/ xmlns:sy=http://purl.org/rss/1.0/modules/syndication/ xmlns:content= http://purl.org/rss/1.0/modules/content/ employees employee id=1266 employee_id1266/employee_id picturesomepicture location/picture firstnameAaron/firstname lastnameSmith/lastname displaynameAaron Smith/displayname titledev/title departmentInteractive/department deskphone5812456545/deskphone mobile786547852562/mobile email[EMAIL PROTECTED]/email screennameaaronsmithcpb/screenname /employee /employees/rsswhen I try an trace out the first name of the employee node, i have ot use the toString() method in order to actually see the name (Aaron), when i use employees.employee[0].firstname.toString() = Aaronnow if i do: employees.employee[0].firstname = firstname xmlns:dc=http://purl.org/dc/elements/1.1/ xmlns:sy= http://purl.org/rss/1.0/modules/syndication/ xmlns:content=http://purl.org/rss/1.0/modules/content/ Aaron/firstnamewhat is the deal with that??? that node doesn't even have any xmlns declarations in the defined XML, why would accessing just the firstname property tag all that on there? Should'nt the second one be giving me just Aaron as well?? thanks..On 9/19/06, aaron smith [EMAIL PROTECTED] wrote:look at this example::?xml version= 1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=init() mx:Model id=txml employees employeefirstnameAaron/firstname /employee employeefirstnameD/firstname /employee /employees /mx:Model mx:Script private function init():void { XPLogger.info( txml.employees.employee[0].firstname ); } /mx:Script /mx:Application ::This generates a runtine error: Cannot access a property or method of a null object reference.Why exactly is this generating a runtime error? I can't figure it out.. even when you try this:: XPLogger.info( txml.employees.employee[0] )now the other thing is this. when i do an XPLogger.info( txml.employees ) it traces as [object]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 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] Printing/addChild dilemma
Hi, In my application I have a chart and a datagrid. I wish to print this in the following order. header(which includes info about the data presented) graph datagrid I know I could have the graph and datagrid printed on seprate pages, but I want it to look better so.I'm using the FormPrintView and the FormPrintHeader. I then added a FormPrintChart. Now I have everything printing correctly and it looks perfect, except it removes the chart from my application. I believe this is because in the FormPrintChart I use addChild(parentAplication.report.state.chrStates) to have my graph show. Does anyone know how to simply copy the chart into the FormPrintChart.mxml or how to put it back when it done? I even try to reload the data to get the graph back and still nothing. I have to sign out of the application and then log back in. Thanks for any help provided, Josh -- 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] Flex 2.0 Hosting ( Cheap / Inexpensive )
Paul Andrews wrote: Hosting Flex isn't a problem, it's FDS that's the problem. ;-) Are there any solutions available for FDS? It sounds like there aren't. :-( Could someone from Adobe comment on whether Adobe is working on this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Dyamically selecting Items in a list
I am trying to dynamically select the items in a multi select list component. The list that should be selected comes back to me from my database as a comma delimited list, which I convert to an array. I am then trying to compare the array that I made from my list, against a static array of objects which as used as the dataprovider to my list component. I have tried everything I can think of to automatically select the items in the static list, but everything has failed. Can someone give me a hand with this. HEre is the code that I am currently working with. statesDP is the static data provider for my list component. var licenseArray = result.licenseStates.split(,); for(var i = 0; i licenseArray.length; i++){ for(var j = 0; j statesDP.length; j++){ if(licenseArray[i] == statesDP[j].label){ Alert.show(licenseArray[i]); parentApplication.mainDisplay.rtvr.licenseStates.selectedItems.index = j; } } } -- 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] Flex 2 RPC SSL
I cannot seem to get Flex 2 Remote Objects to work over SSL, I've got a wildcard cert setup with host headers in IIS6.0 and have SSL working properly and confirmed. The problem now is when I try to make a Remote Object call. I've added the SecureAMFChannel SecureAMFEndpoint classes and thes to httpin the uri. When I browse to https://dev.mydomain.com/flex2gateway/ I get a blank page as expected. But I still get the following error: (mx.rpc:Fault)#0 errorID = 0 faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed faultString = Send failed message = faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed' name = Error rootCause = (Object)#1 code = NetConnection.Call.Failed description = HTTP: Failed details = https://dev.mydomain.com/flex2gateway/ level = error Thanks! - Doug __._,_.___ -- 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] Flex 2.0 Hosting ( Cheap / Inexpensive )
I've heard that CFDyanmics is considering it... worth posing the question to them...BrendanOn 9/19/06, Douglas McCarroll [EMAIL PROTECTED] wrote: Paul Andrews wrote: Hosting Flex isn't a problem, it's FDS that's the problem. ;-) Are there any solutions available for FDS? It sounds like there aren't. :-( Could someone from Adobe comment on whether Adobe is working on this? __._,_.___ -- 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] Dyamically selecting Items in a list
Try this What you need to do is add the index to be selected to the selectedIndices array. Here is an example, I didnt try this, but it should work. Let me know if you have problems. var licenseArray : Array = result.licenseStates.split(,); for (var i : int = 0;istatesDP.length;i++) { for (var j : int = 0;jlicenseArray.length;j++) { if (statesDP[i] == licenseArray[j].label) parentApplication.mainDisplay.rtvr.licenseStates.selectedIndices.push(i); } } From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman Sent: Tuesday, September 19, 2006 3:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dyamically selecting Items in a list I am trying to dynamically select the items in a multi select list component. The list that should be selected comes back to me from my database as a comma delimited list, which I convert to an array. I am then trying to compare the array that I made from my list, against a static array of objects which as used as the dataprovider to my list component. I have tried everything I can think of to automatically select the items in the static list, but everything has failed. Can someone give me a hand with this. HEre is the code that I am currently working with. statesDP is the static data provider for my list component. var licenseArray = result.licenseStates.split(,); for(var i = 0; i licenseArray.length; i++){ for(var j = 0; j statesDP.length; j++){ if(licenseArray[i] == statesDP[j].label){ Alert.show(licenseArray[i]); parentApplication.mainDisplay.rtvr.licenseStates.selectedItems.index = j; } } } __._,_.___ -- 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] Why are is the Component loader no longer caching objects?
All of a sudden our flex objects are not getting cached when the swf is loaded: 13:46:41,519 INFO [STDOUT] 09/19 13:46:41 INFO Cached Component Loader: component com.sf.sfv4.view.sharkfin.form.SelectReview cannot be cached.13:46:41,597 INFO [STDOUT] 09/19 13:46:41 INFO Cached Component Loader: component com.sf.sfv4.view.sharkfin.note.EditNoteViewHelper cannot be cached.13:46:41,660 INFO [STDOUT] 09/19 13:46:41 INFO Cached Component Loader: component com.sf.sfv4.view.sharkfin.form.goals.RateGoalsPanelViewHelper cannot be cached.13:46:41,738 INFO [STDOUT] 09/19 13:46:41 INFO Cached Component Loader: component com.sf.sfv4.view.sharkfin.form.SelectReviewViewHelper cannot be cached.13:46:42,347 INFO [STDOUT] 09/19 13:46:42 DEBUG Mxml Base Servlet: keep generated SWFs = true What causing these classes to not be cached? I could not find out any info on the component loader and cache settings. 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 __,_._,___
[flexcoders] Remote Object caching the results?
Hi everyone, I have a page that makes a Remote Object call to the server. Since it's taking too long, i split it up with 2 separate remote object calls. One call will return the summary (which is really fast), while the other RO call will retrieve the detail status (longer). If i look at the call ouput, it looks as if Flex cache the faster, wait for the slower one, and return both at the same time. Output is as follow: [Flex] Serializing AMF/HTTP response Version: 3 (Message #0 targetURI=/151/onResult, .) (Message #1 targetURI=/159/onResult, .) Message #0 is the summary, and message #1 is the detail call. This happen most of the time, but sometimes they do return separately, which resulted in the behavior that I want (faster one return first, slower later) Does anyone know if this is the default Remote Object behavior? For performance purposes? If so, how do I disable this feature and have Remote Object call return as soon as they are completed? Many thanks Vu -- 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] HistoryManagement Problem
Hi, I can't see what i've missed here. In this code i have a trace in saveState that nevers appears in the console panel. mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" implements="mx.managers.IHistoryManagerClient"width="400" height="100"initialize="init()" mx:Script![CDATA[import mx.collections.ArrayCollection;import mx.managers.HistoryManager; import com.xxx.admin.model.AdminModelLocator ; / // IHistoryState methods / public function loadState(state:Object):void { if (state) { _selectedIndex = state.selectedIndex; _dataProvider = state.dataProvider; } } public function saveState():Object { trace('saveState!'); var state:Object = {}; state.selectedIndex = _selectedIndex; state.dataProvider = _dataProvider; return state; }public function init():void{ HistoryManager.register(this);} public function set dataProvider(value:ArrayCollection):void { _dataProvider = value;HistoryManager.save();} public function set selectedIndex(value:Number):void {_selectedIndex = value;HistoryManager.save(); }[Bindable] private var model:AdminModelLocator = AdminModelLocator.getInstance(); [Bindable] private var _dataProvider:ArrayCollection;[Bindable] private var _selectedIndex:Number;]]/mx:Script __._,_.___ -- 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: What happened to getTreeNodeAt??
You really don't need to do all that. Try this: private function autoExpand():void { assemblyTree.expandChildrenOf(tree.dataProvider[0],true); } Wayne --- In flexcoders@yahoogroups.com, Darin Kohles [EMAIL PROTECTED] wrote: I encountered the same problem and wrote my own version. public var categoryNodes:XML = new XML(); // xml data of the tree set elsewhere public var arrayFromNodes:ArrayCollection = new ArrayCollection(); public var nodeCount:Number = 0; /** * returns an xml node based on a tree index */ public function getNodeAt(index:Number):XML{ arrayFromNodes = new ArrayCollection(); nodeCount=0; arrayFromNodes.addItem(categoryNodes[nodeCount]); getNodeList(XMLList(categoryNodes)); return XML(arrayFromNodes.getItemAt(index)); } /** * returns a flattend node listing from an xml tree */ private function getNodeList(currentList:XMLList):void{ for each(var childIndex:XML in XMLList(currentList.children())){ nodeCount++ arrayFromNodes.addItem(childIndex); if(XMLList(childIndex).children().length()){ getNodeList(XMLList(childIndex)) } } } As to the expandChildrenOf() function it works for me by passing in the root node for the tree dataProvider. --- In flexcoders@yahoogroups.com, carl_steinhilber carl_steinhilber@ wrote: Well, now I'm stymied. With Flex 1.5, I was able to expand all the nodes of an mx:Tree with something like: function setOpenAll(aryNodes):Void{ var childNode = aryNodes.getTreeNodeAt(0); var aryChildren = aryNodes.getChildNodes(); for (var i = 0;i aryChildren.length;i = i + 1){ childNode = aryNodes.getTreeNodeAt(i); treeElem.setIsOpen( myNode, true, false, false); if ( childNode.hasChildNodes() ){ setOpenAll(childNode ); } } } and invoke it with a button function like click=setOpenAll(treeElem.dataProvider) But this throws an error in Flex 2. Near as I can tell... there's no getTreeNodeAt() function anymore. Anyone know how to go about expanding all the nodes of a tree, now, in Flex 2? I'm continually surprised there are no methods openAll()/closeAll() for the Tree. Seems like the new expandChildrenOf() method would make things easier... but not quite sure how to use it. Thanks in advance, -Carl -- 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] Flex 2 courses in Ottawa
Hi Jen, Not sure if they are on this list, but we (Adobe) have about 300 people in Ottawa and a few of them are doing great things with Flex :) Hope the class is great, do report back to the list with feedback. -David -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jenunderscore Sent: Tuesday, September 19, 2006 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 courses in Ottawa Hey all, I'm new to the list and thought I would take thise opportunity to introduce myself to the group. If there are any other people here from the Ottawa region, I will be attending courses by the New Toronto Group, next week. If you are also attending, feel free to introduce yourselves! Take care, Jen -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] UserTransaction JNDI syntax for FDS/Hibernate support
I'm trying to configure the integrated JRun to use it's built-in transaction manager with Data Services. I get a Unable to access UserTransaction error. I suspect that I need to specify the JNDI parameters in jrun-resources.xml. I just need the correct syntax so that Data Services can work with Hibernate (which apparently will not work without a Transaction Manager). Also, what are the entries to make in hibernate.cfg.xml...ie. what are the values for the property hibernate.transaction.factory_class and property hibernate.transaction.manager_lookup_class? Any examples from anyone who has successfully configured JRun, Hibernate, FDS with transaction support would be really useful. The examples I've found don't help me find the solution. Any help greatly appreciated! Aubrey -- 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] UserTransaction JNDI syntax for FDS/Hibernate support
This error is occuring either because the JNDI lookup for the Transaction Manager is failing, or because the begin call on the UserTransaction is failing. Did you get a stack trace with that exception? You would need to turn on debug logging for the Message.* and DataService.* categories (search for level= in WEB-INF/flex/services-config.xml) and that might provide a little more info. FDMS does require a JTA based transaction manager I could not find the factory_class set on our QA apps but some of the samples we have did have these lines hibernate.cfg: !-- Use JRun's JTA support -- property name=transaction.factory_classorg.hibernate.transaction.JTATransactionFactory/property property name=transaction.manager_lookup_classorg.hibernate.transaction.JRun4TransactionManagerLookup/property so that might help. Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of amalabie Sent: Tuesday, September 19, 2006 4:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] UserTransaction JNDI syntax for FDS/Hibernate support I'm trying to configure the integrated JRun to use it's built-in transaction manager with Data Services. I get a Unable to access UserTransaction error. I suspect that I need to specify the JNDI parameters in jrun-resources.xml. I just need the correct syntax so that Data Services can work with Hibernate (which apparently will not work without a Transaction Manager). Also, what are the entries to make in hibernate.cfg.xml...ie. what are the values for the property hibernate.transaction.factory_class and property hibernate.transaction.manager_lookup_class? Any examples from anyone who has successfully configured JRun, Hibernate, FDS with transaction support would be really useful. The examples I've found don't help me find the solution. Any help greatly appreciated! Aubrey __._,_.___ -- 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 __,_._,___