Re: [flexcoders] FlexPrintJob problem: application background colors showing in margins
can you send a the isolated printing code that you are seeing the problem in?Are you by any chance mentioning the corners that show the bg color, specially when the component has rounded corners?Thanks, -samOn 11/6/06, Tom Bray [EMAIL PROTECTED] wrote: The background color of my application is printing in the margins of the page when I print my component in landscape mode. In portrait mode, there's a tiny sliver of the bg color on each side. Is there a way to prevent that besides using a white background? It seems like a bug since I can't actually print my component in those areas (it gets cropped at the margins) but the background color shows anyway. Any thoughts? Thanks,Tom __._,_.___ -- 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 learn file upload result
i use file IO example class of adobe to upload files to my server (to a php file).i added a URLVariables object to the URLRequest to send additional variables with the file,but i could not find a way to get the result of my php.i mean, my php file outputs an xml (giving the result of move_upload and some additional values)but how can i read what my URLRequested php file returns?thanks...Yigit BoyarMiddle East Technical University / Undergraduate year 2 __._,_.___ -- 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] Cannot get any effects to work
it works. :) thanks for the guidance. On 11/5/06, Dustin Mercer [EMAIL PROTECTED] wrote: instead of the showEffect, use creationCompleteEffect. Show effect will only play when the control / container visible property is set to true, which doesn't happen on initial load. I have had this problem before and it seems confusing. Logically, one would think the show effect is the correct effect to use, but it really only works when the item is in a TabNavigator, Viewstack, Accordian... it's because those set the containers visible property when changing from one view to the other, in turn, causing the show effect to play. Play around with the show effect by putting some containers in a viewstack, you'll see the difference. Also, the creation complete only plays once. The showEffect can play as much as you move around in the viewstack :) From: flexcoders@yahoogroups.com on behalf of dorkie dork from dorktown Sent: Sat 11/4/2006 10:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cannot get any effects to work How come this code does not work? It seems straigt forward. I just want the header to fade in and slide in from the top when the application first starts. Why does flex hate me? I hope you can help or else I will be execute. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute backgroundColor=0xFF !--Effects-- mx:Move id=move1 yFrom=-100 yTo=0 duration=2000/ mx:Fade id=fade1 alphaFrom=0 alphaTo=1 duration=2000/ !--Layout-- mx:VBox x=0 y=0 width=100% height=100% showEffect={fade1} !--When the app loads I want the HBox to move in from off the screen and fade in-- mx:HBox width=100% backgroundColor=#00 height=100 verticalAlign=bottom paddingBottom=10 paddingLeft=10 showEffect={move1} mx:Image source=myimage.png width=100 height=80/ mx:Text text=Some Text fontSize=54 color=#ff fontFamily=Georgia textAlign=left/ /mx:HBox mx:HBox width=100% height=25 label=Menu bar backgroundColor=#9c1f4a verticalAlign=middle color=#ff /mx:HBox /mx:VBox /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 -- 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] A navigation question.. best practise?
Greetings, I am having a bit of a problem working out exactly how to navigate through my application which will be using the Cairngorm 2 architecture. It currently has the following views: a Login page, a Task List, a Task and a Finish page. The task list can have any where up to 8 tasks displayed so the user will be switching between Task List and Task quite often. The flow between these views will be accessed through button events (ie, login button, or a start button to start the task etc). There will be only one View shown to the user at any one time. I hope that all makes sense. Anyhoo. I have read about both the ModelLocator and also ViewHelper/ViewLocator, and am yet to have that warm and fuzzy moment where everything just suddenly makes sense, and thus know which is to be used where. So my question: What would be the best way to go about handling the change of Views within this application? Thanks in advance, Michelle -- 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: Unable to build application from flex buider
I tried project clean up, but i didnt help me? Could it be because of the memory too, I am running it on P4 1.6, 256 ddr RAM. But earlier version works on the same configuration. Again while uninstalling it gives error JVM not found. How I can proceed please help. Thanks in Advance Vijay -- 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] Changing mx:Application's width during runtime
Hi All, I've a similar requirement, but can we change the size of application using AS ? . Any ideas for changing the size of application when modules (Flex 2 Beta) are loaded . As observed, we can change the Flash size using js in the embedded HTML Thanks Joseph On 10/30/06, Igor Costa [EMAIL PROTECTED] wrote: PilThe problem it's that Flex changed your Application width size at run time, but also, when you tested in the browser it's still at same time due to the HTML it's still with Application width fixed. So, How to change that? Open your html-template base and change the _javascript_ in there, to 100%.Than, when you try again it will fix this issue. so, try to resize and it will happens the changes. Regards. On 10/29/06, pilby1 [EMAIL PROTECTED] wrote: When I run my application where mx:Application's width is 640x480, by default, it shows a gradient blue square depicting those screen dimensions.I then try to dynamically change the width to 1024 in actionscript when a button is clicked. I had trace'd the application width after changing it, and it does say the width is now 1024, but the screen still shows 640x480. How can I make the application refresh to reflect this new change in width? I tried invalidateSize(), invalidateProperties, but neither works.Thanks. -- Igor Costawww.igorcosta.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] uploading to Jrun 4.X
Hi is there any good samples in JSP for uploadign files and download files and maby som fileutil's Cato -- 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] Minimum size of a Flex 2.0 application
Thanks for your responses. I tried optimize=true, but that does not reduce the size (remains at 120K). Robert, I did not understand your reply. I do want to use Flex with mx:application (or it's AS equivalent) as the root tag. On 10/31/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 31 October 2006 00:06, Flex Learner wrote: compiler options we can use to minimize this further. I'm using Flex as a --optimize=true ?--Tom ChivertonHelping to competently foster eigth-generation contentThis email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required)* To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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] Large Cairngorm Directory structures
Hi, It's interesting topics. Now I'm planning the directory structure for the same kind of application. (300forms, 100reports, it's delphi c/s system) I'm planning it like followings. Main reason is that this application is characterized by wide and flat hierarchical structure (Each subapplication has just 3-4 forms), and they don't have so dependency between subapplications. In this case, I won't use Cairngorm. This directory archicture is so simple that programmers may be able to build their part (SubApplication) easily. - ProjectRoot \bin \flexapp [ApplicationRoot] \common \domain \SubApplication_1 \app [mx:ViewStack] \view [mx:VBox or mx:Canvas] \SubApplication_2 ... \html-template \WEB-INF \src \main \java ... - Regards, Kazuya --- In message --- 2006/11/02 22:27 Wally Randall [EMAIL PROTECTED] wrote: I need to construct a directory structure for a MONSTER Flex/CF application. (300 forms, 150 reports). Does anyone have large system directory structures they would be willing to share? We are attempting to divide the system into several separate applications (for obvious reasons). Assuming we have 8 to 10 sub- systems sharing a common front-end menu hierarchy, how should we construct a directory structure for cairngorm: applicationroot \assets \com \adobe [why is this node needed?] \subapp1 \business \comand \control \model \view \vo \subapp2 \business \comand \control \model \view \vo ...etc -- 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: DataGridColumn height set to height of first row.
Some more investigation showed that this issue happens when the data in the first column is shorter than the data in the subsequent columns. Apparently the hright is determinded by the height of the first row. The DataGridColumn doesn't appear to have a height attribute, only width (or I'm missing it ...). Can one change the height in an ItemRenderer, or is there another way to do this? Thanks! Paul --- In flexcoders@yahoogroups.com, Paul Dale [EMAIL PROTECTED] wrote: A Datagrid that was automatically setting the height to the actual height of the contents has started displaying the columns too short. If you click on the column you can scroll down, but I haven't been able to get it to set them automatically again. Has anyone else seen this? Any suggestions on how to fix this? Thanks! Paul -- 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: A navigation question.. best practise?
Hi Michelle, Have a go at using the viewStack container. create a property:Number in your modelLocator and bind the selectedIndex property of your viewstack to the property on your model Locator. for example mx:ViewStack selectedIndex={ModelLocator.getInstance().currentViewIndex} check out some of the examples on Alex Ulhmanns blog or try cairngormdocs.org :) Bjorn --- In flexcoders@yahoogroups.com, Michelle Grigg [EMAIL PROTECTED] wrote: Greetings, I am having a bit of a problem working out exactly how to navigate through my application which will be using the Cairngorm 2 architecture. It currently has the following views: a Login page, a Task List, a Task and a Finish page. The task list can have any where up to 8 tasks displayed so the user will be switching between Task List and Task quite often. The flow between these views will be accessed through button events (ie, login button, or a start button to start the task etc). There will be only one View shown to the user at any one time. I hope that all makes sense. Anyhoo. I have read about both the ModelLocator and also ViewHelper/ViewLocator, and am yet to have that warm and fuzzy moment where everything just suddenly makes sense, and thus know which is to be used where. So my question: What would be the best way to go about handling the change of Views within this application? Thanks in advance, Michelle -- 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: Minimum size of a Flex 2.0 application
120kb is about the smallest possible filesize for any flex app based off mx:Application that figure will rise quickly though. 120kb is a flex app with nothing Bjorn --- In flexcoders@yahoogroups.com, Flex Learner [EMAIL PROTECTED] wrote: Hi, What's the lightest Flex 2.0 app we can get ? . An empty app with just an mx:Application tag weighs in at 120 KB. It'll be great if there are any compiler options we can use to minimize this further. I'm using Flex as a Flash file generator that'll be embedded into a HTML page - and the entire page weight must be around 200 to 300KB. Let me know if Flex-generated swf is a viable option for me. Thanks, Joseph -- 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] Changing mx:Application's width during runtime
Have a look at overriding the measure() of the Application Class. I think that Application is listening for any browser window size changes and then updating the width and height. Your alternative, if you do not want to resize the actual browser window may be to create a container within mx:Applcation that you can then control. Otherwise you will have to look at resizing the actual browser window. Regards, Bjorn Schultheiss --- In flexcoders@yahoogroups.com, pilby1 [EMAIL PROTECTED] wrote: When I run my application where mx:Application's width is 640x480, by default, it shows a gradient blue square depicting those screen dimensions. I then try to dynamically change the width to 1024 in actionscript when a button is clicked. I had trace'd the application width after changing it, and it does say the width is now 1024, but the screen still shows 640x480. How can I make the application refresh to reflect this new change in width? I tried invalidateSize(), invalidateProperties, but neither works. 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] DataGridColumn height set to height of first row.
As a short reply i would perhaps suggest sub class the datagrid and create a custom component. Then you could override the measure() and updateDisplayList() methods to achieve your result. Perhaps someone else could suggest an easier way? Bjorn --- In flexcoders@yahoogroups.com, Paul Dale [EMAIL PROTECTED] wrote: Some more investigation showed that this issue happens when the data in the first column is shorter than the data in the subsequent columns. Apparently the hright is determinded by the height of the first row. The DataGridColumn doesn't appear to have a height attribute, only width (or I'm missing it ...). Can one change the height in an ItemRenderer, or is there another way to do this? Thanks! Paul --- In flexcoders@yahoogroups.com, Paul Dale paul.dale@ wrote: A Datagrid that was automatically setting the height to the actual height of the contents has started displaying the columns too short. If you click on the column you can scroll down, but I haven't been able to get it to set them automatically again. Has anyone else seen this? Any suggestions on how to fix this? Thanks! Paul -- 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: DataGridColumn height set to height of first row.
--- In flexcoders@yahoogroups.com, Paul Dale [EMAIL PROTECTED] wrote: Some more investigation showed that this issue happens when the data in the first column is shorter than the data in the subsequent columns. Apparently the hright is determinded by the height of the first row. The DataGridColumn doesn't appear to have a height attribute, only width (or I'm missing it ...). Can one change the height in an ItemRenderer, or is there another way to do this? Thanks! Paul --- In flexcoders@yahoogroups.com, Paul Dale paul.dale@ wrote: A Datagrid that was automatically setting the height to the actual height of the contents has started displaying the columns too short. If you click on the column you can scroll down, but I haven't been able to get it to set them automatically again. Has anyone else seen this? Any suggestions on how to fix this? Thanks! Paul -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] uploading to Jrun 4.X
There are no examples for this. One of our developers created their own servlet for this purpose, Which part did you need help with? Regards, Bjorn Schultheiss --- In flexcoders@yahoogroups.com, pauscato1 [EMAIL PROTECTED] wrote: Hi is there any good samples in JSP for uploadign files and download files and maby som fileutil's Cato -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Using DateField control to set birthday
If I disable dates greater than todayusingselectableRange, this restriction does not apply to the dates, entered by keyboard inside the TextInput. What is the best practice for this? On 9/1/06, Doug Arthur [EMAIL PROTECTED] wrote: I usually set the following to properties when dealing with DoB's. yearNavigationEnabled=true editable=true On 8/31/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All!DateField is a great control, though setting birthday even for peoplethat were born in 198* it takes minutes to move through the months inorder to get to the correct date. Does anybody have experience customizing this control for this particular need (selectingbirthday)?Sergey. __._,_.___ -- 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] AddChild() Exceptions
Forgot to mention it doesn't really matter about the image name - it doesn't have to exist. I just had it as a test image in my project directory... -Ciarán On 11/6/06, Ciarán [EMAIL PROTECTED] wrote: I fixed the problem by changing the way I was using the Image control (calling load() instead of changing the reference in the container). callLater() would solve the issue if it were caused by event timings, and I tried using that, so I don't think my problem is related. After much tinkering around I've reduced what's going wrong to a few lines. I've got a feeling it's more fundamental to the behaviour of addChild() and the arguments supplied. Intuitively (in my twisted brain), this should work - all I'm doing is using a reference to a control twice (in different containers). Remove the comment slashes to make it balk. package testspace { import mx.controls.*; import mx.containers.*; public class TestImage extends VBox { private var mainImage:Image = new Image(); public function TestImage() { mainImage.load(images/dvd_1.jpg); } override protected function createChildren():void { super.createChildren(); var tileDisplay:Tile = new Tile(); tileDisplay.addChild(mainImage); //addChild(mainImage); addChild(tileDisplay); } } } The documentation doesn't seem to indicate what behaviour would make this throw an exception (or am I being blind here?). If anyone can point me to whatever explains it, I'd be most appreciative. Many Thanks, Ciarán On 11/2/06, Jason Hawryluk [EMAIL PROTECTED] wrote: I'm having the exact same type of problem swapping containers in a TabNavigator using this type of command main.setChildIndex(main.getChildAt(2),1); The behind code seems to choke on the getChildAt of the container. I had the some index problems on other things with this component and for that one found that using callLater solved part of it. Perhaps you could give that a try, failing that if you find a simple answer to your problem I' d be interested in hearing about your solution. I'll do likewise if I find a solution to the current index problem. Anyway Frustrating to say the least. jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Ciarán Envoyé : jeudi 2 novembre 2006 14:29 À : flexcoders@yahoogroups.com Objet : [flexcoders] AddChild() Exceptions Hi All, I'm having a slight problem building a custom component. The basic idea is a combination of a primary image container, and a Tile() container providing a selection of images. When selected, each image would appear as a primary image. This sounds tediously simple. I'm implementing it upon the principle that a change event is broadcast when a setter is called, which has a registered listener that updates the component. It attempts to replace the at index 0. The annoying thing is that if I implement this from a vanilla perspective (blank text file), it works fine (making things much harder to debug since I can't reproduce the behaviour) - however in the context of the application I'm developing, it throws an exception: RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/getChildAt() at mx.core::Container/getChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container. as:2384] at mx.core::UIComponent/notifyStyleChangeInChildren()[C:\dev\GMC\sdk\frameworks \mx\core\UIComponent.as:7099] at mx.core::Container/mx.core:Container::commitProperties()[C:\dev\GMC\sdk\fram eworks\mx\core\Container.as:2680] at mx.core::UIComponent/validateProperties()[C:\dev\GMC\sdk\frameworks\mx\core\ UIComponent.as:5218] at mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties()[C :\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:517] at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation( )[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:628] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\ sdk\frameworks\mx\core\UIComponent.as:7789] at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\s dk\frameworks\mx\core\UIComponent.as:7732] This happens when the addChildAt() method gets called. Without divulging context, is there any obvious reason why I'm getting this exception? I've been battling this for hours now and it won't yield. If I'm not doing something incredibly stupid that would cause this, please let me know. Intuitively, it seems like the
[flexcoders] flex is capable for developing interactive flash games?
Hi Flex lovers, I am lover of flash. By reading the capabilies of flex,I am getting intrest towards flex. I have couple of doubts regarding developing Online games Subject:-Online gaming. Question:- Shall I use flex for developing online flash intractive games. if yes, 1. should i have to use flash ID to develop games or I can create with MXML to produce flash intractive games. 2. Is it necessary to use flash remoting software to conect remoting server,eventhough i am Useing flex? 3. How flex 2 it self can handle data processing(save,edit data to database). IMPORTANT: Main doubt is FLASH REMOTING AND MEDIA SERVER IS NECESSARY TO DEVELOPE ONLINE GAMES IF I USE FLEX? According to my Knowledge:I am planning like this. Please guide me Which is correct way. 1. Sun Game Server 2. Flex 2 3. Flex Data Services(remotint - connecting and accesing database) 4. flash and actionscript(creating user intractive for games) 5. Mysql or oracle Sorry for my english. Please guide me or provide me any url link where i can get this knowledge. Thanks and Regards, Kishore -- 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] AddChild() Exceptions
I fixed the problem by changing the way I was using the Image control (calling load() instead of changing the reference in the container). callLater() would solve the issue if it were caused by event timings, and I tried using that, so I don't think my problem is related. After much tinkering around I've reduced what's going wrong to a few lines. I've got a feeling it's more fundamental to the behaviour of addChild() and the arguments supplied. Intuitively (in my twisted brain), this should work - all I'm doing is using a reference to a control twice (in different containers). Remove the comment slashes to make it balk. package testspace { import mx.controls.*; import mx.containers.*; public class TestImage extends VBox { private var mainImage:Image = new Image(); public function TestImage() { mainImage.load(images/dvd_1.jpg); } override protected function createChildren():void { super.createChildren(); var tileDisplay:Tile = new Tile(); tileDisplay.addChild(mainImage); //addChild(mainImage); addChild(tileDisplay); } } } The documentation doesn't seem to indicate what behaviour would make this throw an exception (or am I being blind here?). If anyone can point me to whatever explains it, I'd be most appreciative. Many Thanks, Ciarán On 11/2/06, Jason Hawryluk [EMAIL PROTECTED] wrote: I'm having the exact same type of problem swapping containers in a TabNavigator using this type of command main.setChildIndex(main.getChildAt(2),1); The behind code seems to choke on the getChildAt of the container. I had the some index problems on other things with this component and for that one found that using callLater solved part of it. Perhaps you could give that a try, failing that if you find a simple answer to your problem I' d be interested in hearing about your solution. I'll do likewise if I find a solution to the current index problem. Anyway Frustrating to say the least. jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Ciarán Envoyé : jeudi 2 novembre 2006 14:29 À : flexcoders@yahoogroups.com Objet : [flexcoders] AddChild() Exceptions Hi All, I'm having a slight problem building a custom component. The basic idea is a combination of a primary image container, and a Tile() container providing a selection of images. When selected, each image would appear as a primary image. This sounds tediously simple. I'm implementing it upon the principle that a change event is broadcast when a setter is called, which has a registered listener that updates the component. It attempts to replace the at index 0. The annoying thing is that if I implement this from a vanilla perspective (blank text file), it works fine (making things much harder to debug since I can't reproduce the behaviour) - however in the context of the application I'm developing, it throws an exception: RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/getChildAt() at mx.core::Container/getChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container. as:2384] at mx.core::UIComponent/notifyStyleChangeInChildren()[C:\dev\GMC\sdk\frameworks \mx\core\UIComponent.as:7099] at mx.core::Container/mx.core:Container::commitProperties()[C:\dev\GMC\sdk\fram eworks\mx\core\Container.as:2680] at mx.core::UIComponent/validateProperties()[C:\dev\GMC\sdk\frameworks\mx\core\ UIComponent.as:5218] at mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties()[C :\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:517] at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation( )[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:628] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\ sdk\frameworks\mx\core\UIComponent.as:7789] at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\s dk\frameworks\mx\core\UIComponent.as:7732] This happens when the addChildAt() method gets called. Without divulging context, is there any obvious reason why I'm getting this exception? I've been battling this for hours now and it won't yield. If I'm not doing something incredibly stupid that would cause this, please let me know. Intuitively, it seems like the addChild() is triggering something at the wrong moment in time, giving something similar to an Array out of bounds as it looks for stuff to render. I understand most of the trace atomically speaking, but on the whole I have no idea how to remedy it. Also, I have an annoying problem with
Re: [flexcoders] How can I DISABLE THE STUPID SPACE BAR GLOBALLY?
On Saturday 04 November 2006 23:18, jpc14_99 wrote: mouseEnabled = false buttons!! (The last one has to be a bug, why would anyone want to allow keyboard 'clicks' on a button when they aren't allowing mouse clicks on it.) I have no idea, but it's not a bug - it does what it says on the tin. -- Tom Chiverton Helping to enthusiastically mesh robust portals This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] slider with 2 thumbs a 3 colors, how?
hello list, i have an HSlider with 2 thumbs: A-t1-t2-b now i want to have 3 colors: - A-t1 = red - t1-t2 = green - t2-b = blue how do i do that? (an example code will be greatly appreciated) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: uploading to Jrun 4.X
Hi I need help, with how to get the files/dir's from the server, like a filebrowser, so the user can create dir and etc. before uploade files. Cato --- In flexcoders@yahoogroups.com, bjorn.schultheiss [EMAIL PROTECTED] wrote: There are no examples for this. One of our developers created their own servlet for this purpose, Which part did you need help with? Regards, Bjorn Schultheiss --- In flexcoders@yahoogroups.com, pauscato1 cato1@ wrote: Hi is there any good samples in JSP for uploadign files and download files and maby som fileutil's Cato -- 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] RangeError: Error #2006 using menu !
[Flex 2.0.143459] I build a simple MenuBar example from the doc. then I clicked on the menubar to activate it. then I moved the mouse quickly to Open and close the menus (may be in a circular way, I don't know for instance...) after a few seconds, I have the following error: RangeError: Error #2006: L'index indiqué sort des limites. at flash.display::DisplayObjectContainer/addChildAt() at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()[C:\dev\GMC\sdk\frameworks\mx\managers\SystemManager.as:1578] at mx.managers::SystemManager/addChild()[C:\dev\GMC\sdk\frameworks\mx\managers\SystemManager.as:1190] at mx.managers::PopUpManager$/addPopUp()[C:\dev\GMC\sdk\frameworks\mx\managers\PopUpManager.as:221] at mx.controls::Menu/show()[C:\dev\GMC\sdk\frameworks\mx\controls\Menu.as:1027] at mx.controls::MenuBar/mx.controls:MenuBar::showMenu()[C:\dev\GMC\sdk\frameworks\mx\controls\MenuBar.as:1350] at mx.controls::MenuBar/mx.controls:MenuBar::mouseOverHandler()[C:\dev\GMC\sdk\frameworks\mx\controls\MenuBar.as:1431] what's wrong ? Here the code: ?xml version=1.0? !-- Simple example to demonstrate the MenuBar control. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initCollections(); mx:Script ![CDATA[ import mx.events.MenuEvent; import mx.controls.Alert; import mx.collections.*; [Bindable] public var menuBarCollection:XMLListCollection; private var menubarXML:XMLList = menuitem label=Menu1 menuitem label=MenuItem 1-A data=1A/ menuitem label=MenuItem 1-B data=1B/ /menuitem menuitem label=Menu2 menuitem label=MenuItem 2-A type=check data=2A/ menuitem type=separator / menuitem label=MenuItem 2-B menuitem label=SubMenuItem 3-A type=radio groupName=one data=3A/ menuitem label=SubMenuItem 3-B type=radio groupName=one data=3B/ /menuitem /menuitem /; // Event handler for the MenuBar control's itemClick event. private function menuHandler(event:MenuEvent):void { Alert.show(Label: + [EMAIL PROTECTED] + \n + Data: + [EMAIL PROTECTED], Clicked menu item); } // Event handler to initialize the MenuBar control. private function initCollections():void { menuBarCollection = new XMLListCollection(menubarXML); } ]] /mx:Script mx:Panel title=MenuBar Control Example height=75% width=75% paddingTop=10 paddingLeft=10 mx:Label width=100% color=blue text=Select a menu item./ mx:MenuBar labelField=@label itemClick=menuHandler(event); dataProvider={menuBarCollection} / /mx:Panel /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] Pie Chart display problem when the data is empty
Hi, I am trying to display a set of data to say number of fruits of different variety. I get a Pie chart when I have some values in each variety. But when there are no fruits (value is 0 in all) in every variety the obvious thing should be a blank chart. But the chart shows some display with a different kind of shape pointing to 0. to say a one sector pie with the center in the top end corner of the container prolonged to the center of the container with the color of the first pie. Can any one help me. It looks very ugly in the chart. Thanks Hara -- 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: Minimum size of a Flex 2.0 application
that is roughly the payload from the flex framework when you use the application tag. if you really want to use flex as flash-file-generator, compile an as3 swf file from flex based on the sprite class only and import only what you need. The way I understand it you mean swf loader when you say flash-file-generator? If that's the case, create an AS class in flex based on sprite, import the loader class (and loaderinfo class if you need that too) then compile. You should have roughly 500bytes to a little over 1 kilobyte if all you are after is dynamic swf loading. --- bjorn.schultheiss [EMAIL PROTECTED] wrote: 120kb is about the smallest possible filesize for any flex app based off mx:Application that figure will rise quickly though. 120kb is a flex app with nothing Bjorn --- In flexcoders@yahoogroups.com, Flex Learner [EMAIL PROTECTED] wrote: Hi, What's the lightest Flex 2.0 app we can get ? . An empty app with just an mx:Application tag weighs in at 120 KB. It'll be great if there are any compiler options we can use to minimize this further. I'm using Flex as a Flash file generator that'll be embedded into a HTML page - and the entire page weight must be around 200 to 300KB. Let me know if Flex-generated swf is a viable option for me. Thanks, Joseph Everyone is raving about the all-new Yahoo! Mail (http://advision.webevents.yahoo.com/mailbeta/) -- 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: Pie Chart display problem when the data is empty
i called it the pizza-slice effect. my solution was to check if all values equal zero and if true i displayed a message no data --- In flexcoders@yahoogroups.com, haravallabhan [EMAIL PROTECTED] wrote: Hi, I am trying to display a set of data to say number of fruits of different variety. I get a Pie chart when I have some values in each variety. But when there are no fruits (value is 0 in all) in every variety the obvious thing should be a blank chart. But the chart shows some display with a different kind of shape pointing to 0. to say a one sector pie with the center in the top end corner of the container prolonged to the center of the container with the color of the first pie. Can any one help me. It looks very ugly in the chart. Thanks Hara -- 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] Installing Data services 2
There are links for installation included in the article under 'Installation' - http://www.adobe.com/devnet/flex/articles/helloworld.html It is not necessary to install Flex Data Services to run that example. - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of davidgarcia41Sent: Friday, November 03, 2006 3:58 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Installing Data services 2 Hello my name is David i want to know how as to install data service and to run this example:http://www.adobe.com/devnet/flex/articles/helloworld.htmlplease let me know how install and configurate the data service 2 thank you very mutch , i will apreciate your help __._,_.___ -- 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] slider with 2 thumbs a 3 colors, how?
Hi,Check the Flex exchange, there is an example and download there.Peace, MikeOn 11/6/06, shemeshkale [EMAIL PROTECTED] wrote: hello list, i have an HSlider with 2 thumbs: A-t1-t2-b now i want to have 3 colors: - A-t1 = red - t1-t2 = green - t2-b = blue how do i do that? (an example code will be greatly appreciated) -- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Componentshttp://www.flex2components.com You can find more by solving the problem then by 'asking the question'. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: A navigation question.. best practise?
I've done what Bjorn recommends for a project and have a follow-up $0.02 or question. I created an event type NavigateURL which I broadcast from the event handlers for my buttons in the views. The command for this event type then updates my modelLocator property (app_State). Question is...Is this a case of loose coupling overkill or a worthwhile process??? The Command code: package com.post.commands { import com.adobe.cairngorm.business.Responder; import com.adobe.cairngorm.commands.Command; import com.adobe.cairngorm.control.CairngormEvent; import com.post.model.ModelLocator; public class NavigateCommand implements Command, Responder { public function execute(p_event:CairngormEvent):void { trace(NavigateCommand::execute function, p_event.type: + p_event.type); switch(p_event.type) { //Redirect the user to the Intro view - Intro.mxml case NavigateEvent.NAVIGATE_INTRO: ModelLocator.getInstance().app_state = ModelLocator.STATE_INTRO; break; //Redirect the user to the Register view - Register.mxml case NavigateEvent.NAVIGATE_REGISTER: ModelLocator.getInstance().app_state = ModelLocator.STATE_REGISTRATION; break; //Redirect the user to the Login view - Login.mxml case NavigateEvent.NAVIGATE_LOGIN: ModelLocator.getInstance().app_state = ModelLocator.STATE_LOGIN; break; } } And the event itself: package com.post.events { import com.adobe.cairngorm.control.CairngormEvent; public class NavigateEvent extends CairngormEvent { public static var NAVIGATE_INTRO:String = navigateIntro; public static var NAVIGATE_LOGIN:String = navigateLogin; public static var NAVIGATE_REGISTER:String = navigateRegister; public var strUser:String; public var strPass:String; public function NavigateEvent(p_NavType:String) { //Constructor function which receives the Navigation Type //from the view calling the event via the controller. //Results in a separate function in the NavigateCommand executing. super(p_NavType, false, true); } } } Add the events / command association in the controller: addCommand(NavigateEvent.NAVIGATE_REGISTER, NavigateCommand); addCommand(NavigateEvent.NAVIGATE_LOGIN, NavigateCommand); addCommand(NavigateEvent.NAVIGATE_INTRO, NavigateCommand); --- In flexcoders@yahoogroups.com, bjorn.schultheiss [EMAIL PROTECTED] wrote: Hi Michelle, Have a go at using the viewStack container. create a property:Number in your modelLocator and bind the selectedIndex property of your viewstack to the property on your model Locator. for example mx:ViewStack selectedIndex={ModelLocator.getInstance().currentViewIndex} check out some of the examples on Alex Ulhmanns blog or try cairngormdocs.org :) Bjorn --- In flexcoders@yahoogroups.com, Michelle Grigg michellejg@ wrote: Greetings, I am having a bit of a problem working out exactly how to navigate through my application which will be using the Cairngorm 2 architecture. It currently has the following views: a Login page, a Task List, a Task and a Finish page. The task list can have any where up to 8 tasks displayed so the user will be switching between Task List and Task quite often. The flow between these views will be accessed through button events (ie, login button, or a start button to start the task etc). There will be only one View shown to the user at any one time. I hope that all makes sense. Anyhoo. I have read about both the ModelLocator and also ViewHelper/ViewLocator, and am yet to have that warm and fuzzy moment where everything just suddenly makes sense, and thus know which is to be used where. So my question: What would be the best way to go about handling the change of Views within this application? Thanks in advance, Michelle -- 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] Login verfication
I am using the following HTTPservice request to query mySQL using PHP and return the users basic information into an array. mx:ArrayCollection id=userInfo source= {ArrayUtil.toArray(loginRequest.lastResult.records.record)}/ This is working fine since it will populate a form with their info, however I want to test the info that has been returned before displaying anything. Currently when I use the following I get an getItemAt() is out of bounds. I assume the userInfo array has not yet been populated. private function processLogin():void { loginRequest.send(); Alert.show(userInfo.getItemAt(0).id); } How do I prevent validating the results before the array is popuplated ? -- 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] Accessing Flex components via external actionscript - N00b Question :)
Ok, I'm making the move from Flash/PHP to Flex 2, but have run into a n00b question and I have been unable to find an answer. When I use actionscript via the mx:Script tag IN the mxml file, I can access the components without much problem. Example: public function getTestInput() { trace(Value of Text Input: + testInput.text); } In the MXML page I have a text input with an id of testInput. The moment I move this same code into an external actionscript class, I can no longer access this variable. I know, it certainly has to do with scope, but how do I directly access the mxml components from within my external actionscript class? I have seen mention of parentDocument and parentApplication, but I cannot seem to get this to work for me. Can anyone shed some light on this and perhaps provide an example, or a link to an example? Thanks! John Cornett -- 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/
FW: [flexcoders] Where are Bookmarks stored?
BUMP? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg @ Project SOC Sent: Sunday, November 05, 2006 10:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Where are Bookmarks stored? Hello, Ive had to re-import my project a couple of times because of system level problems. Each time this has happened, Ive lost all of my bookmarks. I assume that this is because the bookmarks are stored somewhere other than where Im expecting them. So, the question is, where are the bookmarks stored, so I can make sure they get added to our source repository, etc? Thanks in Advance, Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Login verfication
My suggestion would be in your loginRequest HTTPService, you need to set the result to notify you when you've loaded the information. As it stands right now you're asking to display information from a request that has just been sent... you need to have the Alert.show() in a separate function (called by a 'result' event). More like this AS: private function processLogin():void { loginRequest.send(); } private function initializeLoginRequest():void { Alert.show(userInfo.getItemAt(0).id); } With this MXML HTTPRequest: mx:HTTPRequest url=http://www.example.com; result=initializeLoginRequest()!-- Your info Here --! /mx:HTTPRequest Hopefully this helps! -Nathan --- In flexcoders@yahoogroups.com, pdflibpilot [EMAIL PROTECTED] wrote: I am using the following HTTPservice request to query mySQL using PHP and return the users basic information into an array. mx:ArrayCollection id=userInfo source= {ArrayUtil.toArray(loginRequest.lastResult.records.record)}/ This is working fine since it will populate a form with their info, however I want to test the info that has been returned before displaying anything. Currently when I use the following I get an getItemAt() is out of bounds. I assume the userInfo array has not yet been populated. private function processLogin():void { loginRequest.send(); Alert.show(userInfo.getItemAt(0).id); } How do I prevent validating the results before the array is popuplated ? -- 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: slider with 2 thumbs a 3 colors, how?
in case you pointed me to this http://www.visualconcepts.ca/flex2/dualslider2/DualSlideTest.html this is not what i meant. i didnt find anything to do with 3 colors in this component --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Check the Flex exchange, there is an example and download there. Peace, Mike On 11/6/06, shemeshkale [EMAIL PROTECTED] wrote: hello list, i have an HSlider with 2 thumbs: A-t1-t2-b now i want to have 3 colors: - A-t1 = red - t1-t2 = green - t2-b = blue how do i do that? (an example code will be greatly appreciated) -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'. -- 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] Trace(), not in debug mode? [Flex 2]
Hello, Is it possible to obtain trace output to the console or to a file when not running in debug mode? I have a sequence of events that works in debug mode but not in non-debug mode, I need to trace thru. Thanks, Ros -- 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] set one tab on tabnavigator without complete first
On Thursday 02 November 2006 19:34, Jesús Iglesias wrote: want creationComplete event on this first tab to be executed. I can change the default tab to see, but first tab is always created completely. So ? What problem are you trying to solve ? -- Tom Chiverton Helping to widespreadedly maintain 24/7 m-commerce This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Launching a details window
In my app, I'm looking up information on users within our database. the search results are loaded into a datagrid in the main application. When you click on one of those results, I'm using a popup title window component to show details about that user. the init function (via the creationcomplete event) loads all of the details about that user into an object and populates the overview screen. There are also 20+ windows that will contain all kinds of detailed information about the user - for example, addresses. Since I've already got the data completely loaded into an object in the overview window... How to I reference that object in the subsequent popup window? The overview window declares a private variable eInfo like this: private var eInfo:Object = null; A user can have more than one open overview window .. but the details windows will be modal. I'm launching the Details window like this: dataWindow = PopUpManager.createPopUp(tnDetails, DataSummary, true); In the details window (another titlewindow component, named DataSummary), I don't know how to properly access the eInfo object from the calling overview window. How do I connect the two? Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Accessing Flex components via external actionscript - N00b Question :)
Hey John,Aral Balkan has some examples that might prove helpful in your quest...=)http://www.adobe.com/devnet/flex/?tab:quickstart=1P E A C EHasanOn Nov 6, 2006, at 6:18 AM, mts_link wrote:Ok, I'm making the move from Flash/PHP to Flex 2, but have run into a "n00b" question and I have been unable to find an answer.When I use actionscript via the mx:Script tag IN the mxml file, I can access the components without much problem.Example: public function getTestInput(){trace("Value of Text Input: " + testInput.text);}In the MXML page I have a text input with an id of testInput. The moment I move this same code into an external actionscript class, I can no longer access this variable.I know, it certainly has to do with scope, but how do I directly access the mxml components from within my external actionscript class? I have seen mention of parentDocument and parentApplication, but I cannot seem to get this to work for me.Can anyone shed some light on this and perhaps provide an example, or a link to an example?Thanks!John Cornett __._,_.___ -- 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 to refresh a tree
You've probably solved this problem in the meantime, I post this since there's no answer provided (also, I'd like to know if anyone has a better solution). I had the same problem with you, the tree was going crazy when trying to add children to a node (well, I'm using ArrayCollections instead of XMLs, but I guess it's the same thing). The only way I could get it working was tree.dataProvider.removeItemAt(x) ; tree.dataProvider.addItemAt({label: oldLabel, children: result}, x) ; tree.invalidateDisplayList(); Regards, GK On 9/11/06, lyon.james [EMAIL PROTECTED] wrote: My problem isn't solved by your suggestion unfortunately. My tree shows the correct data but still doesn't update the scrollbar appropriately. And at times children nodes will overlap parent nodes further down the list. I've been calling validateDisplayList on the tree, but should I call it on something else? -- 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: Escaping textArea HTML to pass back to WebService...
I don't think you need to escape anything. The webservice should encode and decode the string correctly for you. I'd try it first without editing the data before you spend the effort doing it manually.- Dan On 11/5/06, jamiebadman [EMAIL PROTECTED] wrote: Yeah, I know I can do this but then I lose all the formatting. I wantto send the data back to a DB via a webservice so that I can thenretrieve it in the future. I believe that to do this I need to'escape' some of the characters in the HTML I retrieve from the textArea. Thinking about it, it may just be the '' and '' that Ineed to 'escape' in which case of course it's simple. My initialinstincts were that it might be more involved than that but perhaps not! Cheers,Jamie.--- In flexcoders@yahoogroups.com, Hilary Bridel [EMAIL PROTECTED] wrote: Hi Jamie, Not sure if I understand what you require, but did you know you can get a plain text representation of the html in the textarea using myTextArea.text Hilary -- On 11/5/06, jamiebadman [EMAIL PROTECTED] wrote: Hi, I need to 'escape' the html text from a textArea to pass back to a WebService. I wondered if anyone out there has already written a convenient function to accomplish this in its entirety ? If you have and you're willing to share, please let me know. If no one's done this yet (and I'm not barking up the wrong tree entirely!) then I'll share when I've done it. Anyway, let me know if you can help (or if I'm going in a wrong/stupid direction). Cheers, Jamie. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Hilary Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * Your email settings:Individual Email | Traditional* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required)* To change settings via email:mailto:[EMAIL PROTECTED]mailto: [EMAIL PROTECTED]* To unsubscribe from this group, send an email to:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ __._,_.___ -- 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] Logging with SOS
Hi, If you like to log with SOS I have build two little classes to log from Flex/AS3: http://soenkerohde.com/2006/11/06/flexas3-logging-with-sos/ It is very simple but will be extended in the future. Cheers, Sönke -- 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: Flex2 Docs font in Mac
Thanks for the feedback. We'll look into it. At first glance, it looks like our stylesheets aren't accounting for Safari. Can you please confirm that you're using Safari? Thanks, Randy Nielsen Flex Documentation Manager -- 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] Worksheet component in Flex
On Saturday 04 November 2006 00:35, jmorpher03 wrote: allows column/cells selection. I have worked with datagrid, but its always row-wise selection there. You might want to start over here http://falkensweb.com/SelectableCellDataGrid.as which allows cell selection. Extending it to allow column selection seems easy enough. -- Tom Chiverton Helping to biannually architect six-generation action-items This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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: Accessing Flex components via external actionscript - N00b Question :)
Thanks for responding Hasan! ;) I have been through a lot of those VERY helpful tutorials but for some reason can't find the answer to my very (seemingly) basic problem. I'll bet it is right under my nose, but I would very much appreciate a little direction from any Flex Gurus out there. :) Is there a quick example anyone can provide on how I can access a textinput component value (or any other one for that matter) from within an external class? Perhaps even a specific tutorial somewhere that deals with just this sort of issue? Thanks, John --- In flexcoders@yahoogroups.com, Hasan Otuome [EMAIL PROTECTED] wrote: Hey John, Aral Balkan has some examples that might prove helpful in your quest...=) http://www.adobe.com/devnet/flex/?tab:quickstart=1 P E A C E Hasan On Nov 6, 2006, at 6:18 AM, mts_link wrote: Ok, I'm making the move from Flash/PHP to Flex 2, but have run into a n00b question and I have been unable to find an answer. When I use actionscript via the mx:Script tag IN the mxml file, I can access the components without much problem. Example: public function getTestInput() { trace(Value of Text Input: + testInput.text); } In the MXML page I have a text input with an id of testInput. The moment I move this same code into an external actionscript class, I can no longer access this variable. I know, it certainly has to do with scope, but how do I directly access the mxml components from within my external actionscript class? I have seen mention of parentDocument and parentApplication, but I cannot seem to get this to work for me. Can anyone shed some light on this and perhaps provide an example, or a link to an example? Thanks! John Cornett -- 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] How do I add superscript text in Flex?
Hi, My Flex app will have lots of text that must be footnoted on the screen. Some of the text includes dynamically generated numbers, so the size of the textbox is indeterminate at design-time. I have read that superscript/subscript HTML tags are not supported in the HtmlText sections of the text controls. And, because the text fields are dynamically sized, I can't just pop a shrunken footnote image or text control on the canvas overlaying the textbox. Does anyone know of a way I could dynamically add superscript to a line of text generated at runtime? Thanks, Pete -- 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: FilteredLineSeries and Printing - ChartMan Ely, we need you!
Here's the easiest way to explain it. Dataprovider: (x y filter) {a 1 red} {b 2 red} (c 3 red} {a 4 blue} {b 5 blue} {c 6 blue} LineChart with 2 FilteredLineSeries - one for red and one for blue. Right now... -With no category axis, I have on the x-axis: a b c a b c, with red on the first set and blue on the second set. -With a category axis and dataprovider of (a b c), my x-axis has: a b c, with only showing red. What I need is a combo of the two with my x-axis only showing: a b c, but both red/blue showing on that line. ideas? It looks like my only option is too alter the data to be: {a red1 blue4} {b red2 blue5} {c red3 blue6} Unless you know some charting voodoo :) Thanks again for the help... -jon On 11/5/06, Ely Greenfield [EMAIL PROTECTED] wrote: Jonathan -- The Category Axis maps values to catgegories...it can't know how to map the same value to multiple categories. What's the behavior you're looking for? Let me suggest one possibility. In a fully specified situation, the series names its xField, loads the value out of that field, and uses the category axis to map it to a category. But most of the time, developers don't bother to specify an xField. When that happens, the series just assumes that the data appears in the same order as the categories, and maps the nth item to the nth category. In that case, it's theoretically possible to have multiple categories representing the same value, since no one is actually trying to map values against the categories. If that's the case you're looking for, then I would suggest you: 1) remove the categoryFIeld from the category axis. 2) add a lableFuntion to the cat axis that pulls the name field out of the data and uses it as the label. Ely. -Original Message- From: Jonathan Miranda [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 3:28 PM To: Ely Greenfield; flexcoders@yahoogroups.com Subject: FilteredLineSeries and Printing - ChartMan Ely, we need you! Alright, I've got it working - so for those following along, here's a working filter at a LineSeries not LineChart levelbut hit another framework show-stopper and need your expertise Ely (sorry for bugging ya directly Ely, thought ya missed my reply earlier and getting slammed with a deadline - I promise I'll share my Gantt when its finished :). Anyways, below is my FilteredLineSeries (which works) and my mxml file I'm using to test it. My problem is the horizontalAxis/categoryAxis isn't smart when it filters data - if you change the dataprovider of the categoryAxis back between the hAxisData and the alteredData, you will see what the problem is. In a nut shell, the categoryAxis is filtering the data completely meaning that once it sees a value for the x-axis, it clips/skips the other instances of it - aka, even though I have a number:1 for blue and red, I only see blue. How do I get around this? I need to show both lines for red/blue starting at 1. If you uncomment the basic LineSeries addition, you can see it easier. In pure basic terms: If I have in my dataProvider: name=1 amount=200 brand=blue name=1 amount=400 brand=red how do I get 2 lines starting at name=1 and not two entries for 1 in the x-axis? I'm assuming this is a change on CategoryAxis, not the FilteredLineSeries I'll need to mess with. **Also** Side note: Printing of Charts, usually with PrintJobs you have to create a sprite and do an addChild - but a problem in the FlexFramework, is that if I do an addChild of something I'm displaying, I'll lose it because of parenting problems. Is there some nice way to print charts ala cacheAsBitmap or something similar? I'd rather not recreate charts via actionscript for each print job. I know there's some way to say take what I see and make it a bitmap but I'm not savy to that and I'm guessing Ely you know how to print charts :) Some advice? FilteredLineSeries package com.NoTouchie.chart { import mx.charts.series.LineSeries; import mx.charts.ChartItem; import mx.charts.series.items.LineSeriesSegment; import mx.graphics.IStroke; import mx.charts.series.renderData.LineSeriesRenderData; public class FilteredLineSeries extends LineSeries{ public function FilteredLineSeries(customFilters:Array = null) { super(); this._customFilters = customFilters; } public function set customFilters(newFilterSet:Array):void { _customFilters = newFilterSet; invalidateData(); } override protected function updateFilter():void { super.updateFilter(); // No customFilters, then don't run if(_customFilters.length 0) { var validSegments :Array = new Array();
[flexcoders] Re: Flex 2 and maps
http://www1.arcwebservices.com/v2006/solutions/awx.jsp --- In flexcoders@yahoogroups.com, brian.knorr [EMAIL PROTECTED] wrote: I have been struggling to find a clean way to integrate mapping into a flex 2 app. I know you can use the legacy Yahoo Maps Api (Flex 1.5 / AS2) and via a LocalConnection communicate with it, but this is a big hack. Does anyone know of a mapping component that supports Flex 2 / AS3? Thanks, Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] File I/O Error - Error #2038
I've seen a few posts on this error but none of them seem to solve my issue. I'm trying to upload some files via a FileReference object, with a CF backend. The CFC works fine with smaller files (eg under 300k), but with files over this size, sometimes it works, sometimes it doesn't. When it doesn't work, I get the following I/O Error: IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2038: File I/O Error. URL: my URL The server side script is working, as I can try and upload a smaller file, and it works. But when I'm getting the I/O error, the app stops before it even reaches the CFC. I've set a Progress listener to the FileUpload object, and it seems to just slow down and eventually stop, throwing the I/O error before file upload has reacherd the total bytes of the file. Does anyone know what might be going on here? Thanks, K. -- 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: Accessing Flex components via external actionscript - N00b Question :)
Hi John. There are numerous amounts of ways to accomplish the scope you need. After initial thought the way I would do it is pass your testInput to your external class as a constructer parameter. In your constructor equate this parameter to a local variable of that class. ex. Class MyCode { private var localVar:TextInput; public function MyCode(ptrInput:TextInput){ localVar = ptrInput; } public var testScope(){ localVar.text = This is my text input component; } } - In MXML: mx:Script import path.to.MyCode; public var myclass:MyCode; public function initApp(){ myclass = new MyCode(testInput); myclass.testScope(); } /mx:Script -- Correct me if I am wrong but that should do it. Hope that helps. Nick nickgs.com --- In flexcoders@yahoogroups.com, mts_link [EMAIL PROTECTED] wrote: Ok, I'm making the move from Flash/PHP to Flex 2, but have run into a n00b question and I have been unable to find an answer. When I use actionscript via the mx:Script tag IN the mxml file, I can access the components without much problem. Example: public function getTestInput() { trace(Value of Text Input: + testInput.text); } In the MXML page I have a text input with an id of testInput. The moment I move this same code into an external actionscript class, I can no longer access this variable. I know, it certainly has to do with scope, but how do I directly access the mxml components from within my external actionscript class? I have seen mention of parentDocument and parentApplication, but I cannot seem to get this to work for me. Can anyone shed some light on this and perhaps provide an example, or a link to an example? Thanks! John Cornett -- 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] Linking Components Between MXML ViewStack Components
On Saturday 04 November 2006 14:59, pioplacz wrote: Simply explain is that i want the main.mxml to notice the changes in the textinput located in diffrent mxml file. Have you seen Cairngorm ? -- Tom Chiverton Helping to greatly reinvent wireless ROI This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Accessing Flex components via external actionscript - N00b Question :)
Another option is to pass a reference to the entire parent scope into the as class. That gives you access to any variable function in the parent. A third option is to use Application.application to get to the main app scope. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nick Sent: Monday, November 06, 2006 10:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Accessing Flex components via external actionscript - N00b Question :) Hi John. There are numerous amounts of ways to accomplish the scope you need. After initial thought the way I would do it is pass your testInput to your external class as a constructer parameter. In your constructor equate this parameter to a local variable of that class. ex. Class MyCode { private var localVar:TextInput; public function MyCode(ptrInput:TextInput){ localVar = ptrInput; } public var testScope(){ localVar.text = This is my text input component; } } -- In MXML: mx:Script import path.to.MyCode; public var myclass:MyCode; public function initApp(){ myclass = new MyCode(testInput); myclass.testScope(); } /mx:Script -- Correct me if I am wrong but that should do it. Hope that helps. Nick nickgs.com --- In [EMAIL PROTECTED]ups.com, mts_link john.cornett@... wrote: Ok, I'm making the move from Flash/PHP to Flex 2, but have run into a n00b question and I have been unable to find an answer. When I use actionscript via the mx:Script tag IN the mxml file, I can access the components without much problem. Example: public function getTestInput() { trace(Value of Text Input: + testInput.text); } In the MXML page I have a text input with an id of testInput. The moment I move this same code into an external actionscript class, I can no longer access this variable. I know, it certainly has to do with scope, but how do I directly access the mxml components from within my external actionscript class? I have seen mention of parentDocument and parentApplication, but I cannot seem to get this to work for me. Can anyone shed some light on this and perhaps provide an example, or a link to an example? Thanks! John Cornett __._,_.___ -- 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 learn file upload result
At this time the flash player only returns a status code. I was stuck on this myself I got around it by storing the result in a session variable and retrieving it via separate remote call to the server. Caution: this workaround will only function in IE. Please submit an enhancement request via this form: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform I will do my best to lobby for this in-house! ;-) Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Yiðit Boyar Sent: Monday, November 06, 2006 5:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to learn file upload result i use file IO example class of adobe to upload files to my server (to a php file). i added a URLVariables object to the URLRequest to send additional variables with the file, but i could not find a way to get the result of my php. i mean, my php file outputs an xml (giving the result of move_upload and some additional values) but how can i read what my URLRequested php file returns? thanks... Yigit Boyar Middle East Technical University / Undergraduate year 2 __._,_.___ -- 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 do I add superscript text in Flex?
to the best of my knowledge, there's not a great way to do this. My best idea would be to create a footnote swf and embed it in the textbox with the img tag. Each swf could be passed a number (and/or possibly some formating information) and would simply display that number in a small font in a textfield (autosize left). you would need to keep track of the number within the textbox so that if one gets deleted the rest get renumbered automatically (or i guess you could let them edit it manually too). - DanOn 11/6/06, thegators_2002 [EMAIL PROTECTED] wrote: Hi,My Flex app will have lots of text that must be footnoted on thescreen.Some of the text includes dynamically generated numbers, sothe size of the textbox is indeterminate at design-time.I have read that superscript/subscript HTML tags are not supported in the HtmlText sections of the text controls.And, because the textfields are dynamically sized, I can't just pop a shrunken footnoteimage or text control on the canvas overlaying the textbox.Doesanyone know of a way I could dynamically add superscript to a line of text generated at runtime?Thanks,Pete--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* 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] Re: Pie Chart display problem when the data is empty
oh I over saw some words in your suggestion.. Ok I shall try implement it.Thanks --- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote: i called it the pizza-slice effect. my solution was to check if all values equal zero and if true i displayed a message no data --- In flexcoders@yahoogroups.com, haravallabhan haravallabhan@ wrote: Hi, I am trying to display a set of data to say number of fruits of different variety. I get a Pie chart when I have some values in each variety. But when there are no fruits (value is 0 in all) in every variety the obvious thing should be a blank chart. But the chart shows some display with a different kind of shape pointing to 0. to say a one sector pie with the center in the top end corner of the container prolonged to the center of the container with the color of the first pie. Can any one help me. It looks very ugly in the chart. Thanks Hara -- 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] Linking Components Between MXML ViewStack Components
The phrase, notice the changes just screams event. Have the change event of the textinput cause the Movieview component to dispatch an event, and have main.mxml listen for it. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pioplacz Sent: Saturday, November 04, 2006 9:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Linking Components Between MXML ViewStack Components H! Just wondering if anybody know how i can connect actionscript located in main.mxml to textinput box located in MovieView.mxml. I have a filterFunction located in my main.mxml to refers to textinput located in the MovieView (ViewStack) components. But i don't know how i can get them to communicate. Anybody have a solution? Simply explain is that i want the main.mxml to notice the changes in the textinput located in diffrent mxml file. __._,_.___ -- 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: Login verfication
Thanks Nathan - I used the 'result' event and it worked like a charm ! --- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: My suggestion would be in your loginRequest HTTPService, you need to set the result to notify you when you've loaded the information. As it stands right now you're asking to display information from a request that has just been sent... you need to have the Alert.show() in a separate function (called by a 'result' event). More like this AS: private function processLogin():void { loginRequest.send(); } private function initializeLoginRequest():void { Alert.show(userInfo.getItemAt(0).id); } With this MXML HTTPRequest: mx:HTTPRequest url=http://www.example.com; result=initializeLoginRequest()!-- Your info Here --! /mx:HTTPRequest Hopefully this helps! -Nathan --- In flexcoders@yahoogroups.com, pdflibpilot flex@ wrote: I am using the following HTTPservice request to query mySQL using PHP and return the users basic information into an array. mx:ArrayCollection id=userInfo source= {ArrayUtil.toArray(loginRequest.lastResult.records.record)}/ This is working fine since it will populate a form with their info, however I want to test the info that has been returned before displaying anything. Currently when I use the following I get an getItemAt() is out of bounds. I assume the userInfo array has not yet been populated. private function processLogin():void { loginRequest.send(); Alert.show(userInfo.getItemAt(0).id); } How do I prevent validating the results before the array is popuplated ? -- 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: flex is capable for developing interactive flash games?
While I can not answer all of your questions I can help you a bit with question 3. 3. How flex 2 it self can handle data processing(save,edit data to database). There is a great wizard that helps with creating CRUD interfaces with databases. While I decided not to follow the way the wizard does things completely it did give me a very good starting point on how to transfer data back and forth form a SQL database. Assuming your using Flex Builder 2 you will first need a Data Source set up in ColdFusion through the Admin Panel (If you need help with that I'll let someone else help as I know less about ColdFusion then Flex).When you have the data source set in ColdFusion go back to Flex Builder 2 and go File New Other. A window pops up with the available other templates and use the ColdFusion Wizards ColdFusion/Flex Application Wizard. Go through the wizard carefully and make sure your targets are sources are correct as it can overwrite existing projects if you set the wrong target. When your finished with the wizard you will now have a small generated database access application with auto created files. These files were a great starting point to understanding how to do database access within flex. And for the most part unless your streaming video or making multi player games I think you can work around media server but don't quote me on that. --- In flexcoders@yahoogroups.com, satyakishore [EMAIL PROTECTED] wrote: Hi Flex lovers, I am lover of flash. By reading the capabilies of flex,I am getting intrest towards flex. I have couple of doubts regarding developing Online games Subject:-Online gaming. Question:- Shall I use flex for developing online flash intractive games. if yes, 1. should i have to use flash ID to develop games or I can create with MXML to produce flash intractive games. 2. Is it necessary to use flash remoting software to conect remoting server,eventhough i am Useing flex? 3. How flex 2 it self can handle data processing(save,edit data to database). IMPORTANT: Main doubt is FLASH REMOTING AND MEDIA SERVER IS NECESSARY TO DEVELOPE ONLINE GAMES IF I USE FLEX? According to my Knowledge:I am planning like this. Please guide me Which is correct way. 1. Sun Game Server 2. Flex 2 3. Flex Data Services(remotint - connecting and accesing database) 4. flash and actionscript(creating user intractive for games) 5. Mysql or oracle Sorry for my english. Please guide me or provide me any url link where i can get this knowledge. Thanks and Regards, Kishore -- 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.1?
I am interested in when/if Flex 2.1/2.0.1 is around the corner? I'm taking my cue from Coldfusion MX 6 on this which only really became viable with the release of 6.1. I have noticed a number of bug posts, but nothing critical which is great. I'm unfortunately being very pragmatic about this and am planning to begin serious development when I get the time (hard part) and ideally once there has been at least one 'patch' to Flex 2. So if anybody has any information that would be greatly appreciated. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Focus manager component inside scrollable container
Hi All! If user is pressing Tab key, scrollable container does not move its content to make focused component visible. It remains invisible in some cases, because it's out of the visible part of scrollable content. How to implement this behaviour (actually native for most users)? Sergey. -- 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] to invoke RemoteObjects
Because it sends the following message in the console, when I invoke an object in a class java. error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found And in the explorer show Send Failed. Somebody knows as they are the steps to invoke a remote method in java, to correct my error? NOTE: Excuse my English bad __._,_.___ -- 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] Pie Chart display problem when the data is empty
Can you post a simple sample, no server required, that demonstrates the problem? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haravallabhanSent: Monday, November 06, 2006 4:03 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Pie Chart display problem when the data is empty Hi,I am trying to display a set of data to say number of fruits of different variety. I get a Pie chart when I have some values in each variety. But when there are no fruits (value is 0 in all) in every variety the obvious thing should be a blank chart. But the chart shows some display with a different kind of shape pointing to 0. to say a one sector pie with the center in the top end corner of the container prolonged to the center of the container with the color of the first pie.Can any one help me. It looks very ugly in the chart.ThanksHara __._,_.___ -- 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: Accessing Flex components via external actionscript - N00b Question :)
As long as you have... mx:Script source=the path to the action script file/ In your as file you should have no problem accessing the mxml components from your action script file after doing that and rebuilding your project. To check and make sure this. works great for making sure the scope is correct. --- In flexcoders@yahoogroups.com, mts_link [EMAIL PROTECTED] wrote: Ok, I'm making the move from Flash/PHP to Flex 2, but have run into a n00b question and I have been unable to find an answer. When I use actionscript via the mx:Script tag IN the mxml file, I can access the components without much problem. Example: public function getTestInput() { trace(Value of Text Input: + testInput.text); } In the MXML page I have a text input with an id of testInput. The moment I move this same code into an external actionscript class, I can no longer access this variable. I know, it certainly has to do with scope, but how do I directly access the mxml components from within my external actionscript class? I have seen mention of parentDocument and parentApplication, but I cannot seem to get this to work for me. Can anyone shed some light on this and perhaps provide an example, or a link to an example? Thanks! John Cornett -- 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] LinkButton - Style without surrounding color.
Although it's a work around, you can set the alpha of the linkButton itself to zero, assuming that you are not using an embedded font. The reason this works is because the transparency won't apply to device fonts, so it show's through regardless of the zero alpha value. Otherwise, you can create a custom component. -p On 11/6/06 12:13 AM, lostinrecursion [EMAIL PROTECTED] wrote: Hi all, I suspect this could be simple, although no results yielded when I searched the group (The Few. The Proud. The Searchers, LOL) I want to style a LinkButton in my application similar to an HTML link. For example, when the user rolls over the button, I would it to ONLY change the text color. Basically I am looking to set the selectionColor and rollOverColor properties to a zero alpha since I have varying background colors throughout the app. I'm sure it's right in front of my face. Thanks for any help you can offer. -Kenny -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: slider with 2 thumbs a 3 colors, how?
Well, this isn't quite what you're looking for, but it may be close enough without having to go custom-component-crazy. Setting the track-colors gradient to red and blue will create your two track colors, although it does leave some purple in the middle, when it's not otherwise covered over by the green. mx:Style HSlider { showTrackHighlight: true; trackColors: #ff, #ff; themeColor: #33ff00; fillAlphas: 1, 1, 1, 1; } /mx:Style mx:HSlider minimum=0 maximum=100 values=[33, 66] thumbCount=2 / -p On 11/6/06 10:14 AM, shemeshkale [EMAIL PROTECTED] wrote: in case you pointed me to this http://www.visualconcepts.ca/flex2/dualslider2/DualSlideTest.html this is not what i meant. i didnt find anything to do with 3 colors in this component --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Check the Flex exchange, there is an example and download there. Peace, Mike On 11/6/06, shemeshkale [EMAIL PROTECTED] wrote: hello list, i have an HSlider with 2 thumbs: A-t1-t2-b now i want to have 3 colors: - A-t1 = red - t1-t2 = green - t2-b = blue how do i do that? (an example code will be greatly appreciated) -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'. -- 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] Re: Accessing Flex components via external actionscript - N00b Question :)
That actually helps a lot, thanks! What other methods can I use, or must pass all components to the class in order to use them? Is there a way I can pass a reference to the application scope so I can reference all the components in that app? In flash, I would just use _parent.variable, but I haven't found a way to do this yet in flex and I am sure there is a way. :) Again, thanks for the example code as it certainly helps shed some light on the scope model. John -- 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 learn file upload result
I will fill out the form too but I really, really hope this changes soon. FileReference is near pointless with this arbitrary limitation. Would love to hear the rationale for it. Thanks, Ben --- In flexcoders@yahoogroups.com, Stacy Young [EMAIL PROTECTED] wrote: At this time the flash player only returns a status code. I was stuck on this myself ...I got around it by storing the result in a session variable and retrieving it via separate remote call to the server. Caution: this workaround will only function in IE. Please submit an enhancement request via this form: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform I will do my best to lobby for this in-house! ;-) Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yiðit Boyar Sent: Monday, November 06, 2006 5:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to learn file upload result i use file IO example class of adobe to upload files to my server (to a php file). i added a URLVariables object to the URLRequest to send additional variables with the file, but i could not find a way to get the result of my php. i mean, my php file outputs an xml (giving the result of move_upload and some additional values) but how can i read what my URLRequested php file returns? thanks... Yigit Boyar Middle East Technical University / Undergraduate year 2 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Command line compilation
I have been using Flex Builder for the compilation of my components but now I need to incorporate this in my build process so I need to start using the command line. My app is very simple I have a library (SWC) and I have all the classes in a folder structure mimicking the packages I have an app (MXML) that references that component. I need to compile this application but I guess I need to compile the component first compc -source-path c:/rootfolder/src -output MyLib.swc mxmlc -file-specs c:/myappfolder/MyApp.mxml I just do not seem to be able to make sense of the compiler settings. Is there a way to use the project files from Flex Builder? Thanks Albert -- 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] to invoke RemoteObjects
Your /WEB-INF/flex/services-config.xml file probably contains channel-definitions with endpoints that contain the {context.root} token. If so, you must specify the context root on the command line using the --context-root=/yourcontextroot in addition to the -services command line switch. Otherwise you'll need to remove this token and hard code the correct path. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Juan Carlos B²Sent: Monday, November 06, 2006 11:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] to invoke RemoteObjects Because it sends the following message in the console, when I invoke an object in a class java.error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not foundAnd in the explorer show Send Failed.Somebody knows as they are the steps to invoke a remote method in java, to correct my error? NOTE: Excuse my English bad __._,_.___ -- 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] Trace(), not in debug mode? [Flex 2]
On 11/6/06, Roscoe P Coltrane [EMAIL PROTECTED] wrote: Hello, Is it possible to obtain trace output to the console or to a file when not running in debug mode? I have a sequence of events that works in debug mode but not in non-debug mode, I need to trace thru. I have been using the Flash Tracer Firefox plugin with great success and haven't had to run in debug mode for my trace() statements to run. You still need the debug player installed, but I have been able to simply hit the non-Debug Run button in Flash Builder and I've been good to go: http://www.sephiroth.it/firefox/ 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] Overcoming device font alpha or How to Embeded system fonts in all controls.
My problem is that I would like to fade controls in and out elegantly, this doesn't work with a control that uses text as the device fonts can't have a modified alpha value. I understand why this is but what I don't understand is why when I embed a system font and use it for my controls to overcome this limitation it doesn't work in most controls that use text. For example the label does support the embedded font but the progressBar doesn't. What really confuses me is if I set a dataGrid control to my embedded font the text in the rows do use the embedded font however the headerText does not. How do i access the font properties of these controls so that I can fade the text along with the control? Leo -- 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] edit Datagrid selected cell in seperate component
Hi All Im doing some pretty simple stuff but having a couple of issues with binding the content of a selected datagrid cell (selectedItem) with the RichTextEditor in a separate component. Pseudo code App myDataGridComp id=mydatagrid myTextEditComp id=textEdit /App When I select an editable cell in a datagrid I want to be able to also manipulate it using the RichTextEditor component within myTextEditComp. Has anyone had any luck doing this? Any decent examples? Ive gone someway towards achieving this, I havent been able to bind any changes back to the cell though. Is it possible to bind the text property of the richtexteditor to a specific datafield within the bound data of the selected cell in the datagrid? Thanks Emile __._,_.___ -- 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: uploading to Jrun 4.X
To get this kind of information you're going need to run some server-side code (be it Java, CF) to traverse a directory structure and create a data representation of it (such as a hierarchal xml) and pass that back to the client. This could be used to drive an editable tree component with change events being fired to update the directory structure on the server. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pauscato1 Sent: Monday, November 06, 2006 7:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: uploading to Jrun 4.X Hi I need help, with how to get the files/dir's from the server, like a filebrowser, so the user can create dir and etc. before uploade files. Cato --- In flexcoders@yahoogroups.com, bjorn.schultheiss [EMAIL PROTECTED] wrote: There are no examples for this. One of our developers created their own servlet for this purpose, Which part did you need help with? Regards, Bjorn Schultheiss --- In flexcoders@yahoogroups.com, pauscato1 cato1@ wrote: Hi is there any good samples in JSP for uploadign files and download files and maby som fileutil's Cato -- 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] Web Service Authentication - SOAP header?
-- 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] sending messages
Do i need to request permission to post questions on the flex coders forum, was a little confused by the sign up email. Leo -- 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] to invoke RemoteObjects
This issue and the resolution and discussed in the following tech note - http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e329643d - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Juan Carlos B²Sent: Monday, November 06, 2006 11:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] to invoke RemoteObjects Because it sends the following message in the console, when I invoke an object in a class java.error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not foundAnd in the explorer show Send Failed.Somebody knows as they are the steps to invoke a remote method in java, to correct my error? NOTE: Excuse my English bad __._,_.___ -- 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: Pie Chart display problem when the data is empty
:) good choice of name.. But How do you check that. You specify the data Provider and namefield and filed will take of the display and How do you check for the value. Even if you do it through the Action script How do you set the condition in the Pie chart. Thanks Hara --- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote: i called it the pizza-slice effect. my solution was to check if all values equal zero and if true i displayed a message no data --- In flexcoders@yahoogroups.com, haravallabhan haravallabhan@ wrote: Hi, I am trying to display a set of data to say number of fruits of different variety. I get a Pie chart when I have some values in each variety. But when there are no fruits (value is 0 in all) in every variety the obvious thing should be a blank chart. But the chart shows some display with a different kind of shape pointing to 0. to say a one sector pie with the center in the top end corner of the container prolonged to the center of the container with the color of the first pie. Can any one help me. It looks very ugly in the chart. Thanks Hara -- 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] to invoke RemoteObjects
Hi Peter Farland; Thanks for your responses But i already did it, but to me it continues sending he himself error, I feel that this forgetting something to me important to manage to invoke a remote method, is why if knows in where I can find example on this subject. Thanks De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Peter Farland Enviado el: Lunes, 06 de Noviembre de 2006 12:11 pm Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] to invoke RemoteObjects Your /WEB-INF/flex/services-config.xml file probably contains channel-definitions with endpoints that contain the {context.root} token. If so, you must specify the context root on the command line using the --context-root=/yourcontextroot in addition to the -services command line switch. Otherwise you'll need to remove this token and hard code the correct path. From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Juan Carlos B² Sent: Monday, November 06, 2006 11:45 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] to invoke RemoteObjects Because it sends the following message in the console, when I invoke an object in a class java. error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found And in the explorer show Send Failed. Somebody knows as they are the steps to invoke a remote method in java, to correct my error? NOTE: Excuse my English bad __._,_.___ -- 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: Accessing Flex components via external actionscript - N00b Question :)
Good to hear that helps. Honestly I really never liked using the _parent (although I have many times)... it seems to break the loose coupling I am always trying to achieve with my components. By using the method I outlined above you can easily reuse the MyCode class for any other MXML file you write without having to explicitly link it into the application... in other words your MyCode object only knows it needs a TextInput component as input. It doesn't need to know anything about the display list config etc. By using _parent, _root, etc you are constraining the flexibility of your components. Anyone else have any other methods that are of interest? Nick nickgs.com --- In flexcoders@yahoogroups.com, mts_link [EMAIL PROTECTED] wrote: That actually helps a lot, thanks! What other methods can I use, or must pass all components to the class in order to use them? Is there a way I can pass a reference to the application scope so I can reference all the components in that app? In flash, I would just use _parent.variable, but I haven't found a way to do this yet in flex and I am sure there is a way. :) Again, thanks for the example code as it certainly helps shed some light on the scope model. John -- 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] mx:renderer not found
Hi, I am trying to remove dropshadows from my line series chart. I am trying this: mx:LineSeries id=lineSeries mx:renderer mx:SimpleLineRenderer / /mx:renderer mx:lineStroke mx:Stroke weight=1 color=black /mx:Stroke /mx:lineStroke /mx:LineSeries and my flexbuilder shows an error: Could not resolve mx: renderer to a component implentation. I have seen this same code posted in this group, with commments thatit is working. What am I doing wrong? Chris -- 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 License
Hi All, I have been developing one order placing application in flex for one of my client. I need to know what type of flex license required for my client. I am not using flex data services feature, though i am using third party remoting service like AMFPHP along with the flex. Do my client require any kind of license to run the application because flex sdk is free. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] to invoke RemoteObjects
I don't have enough information to help you. What does your FDS deployment look like? How are you compiling the .mxml file? How are you loading the .swf file? Have you checked whether the URL for the endpoint exists? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Juan Carlos B²Sent: Monday, November 06, 2006 1:46 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] to invoke RemoteObjects Hi Peter Farland;Thanks for your responses But i already did it, but to me it continues sending he himself error, I feel that this forgetting something to me important to manage to invoke a remote method, is why if knows in where I can find example on this subject.Thanks De: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] En nombre de Peter FarlandEnviado el: Lunes, 06 de Noviembre de 2006 12:11 pmPara: [EMAIL PROTECTED]ups.comAsunto: RE: [flexcoders] to invoke RemoteObjects Your /WEB-INF/flex/services-config.xml file probably contains channel-definitions with endpoints that contain the {context.root} token. If so, you must specify the context root on the command line using the --context-root=/yourcontextroot in addition to the -services command line switch. Otherwise you'll need to remove this token and hard code the correct path. From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Juan Carlos B²Sent: Monday, November 06, 2006 11:45 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] to invoke RemoteObjects Because it sends the following message in the console, when I invoke an object in a class java.error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not foundAnd in the explorer show Send Failed.Somebody knows as they are the steps to invoke a remote method in java, to correct my error? NOTE: Excuse my English bad __._,_.___ -- 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] RangeError: Error #2006 using menu !
Hi, I found this difficult to reproduce. I'm a bit of a flex rookie, but given the exception I think flex is complaining after it's looked for something and not found it because it hasn't been initialized (yet). To my understanding, creationComplete is dispatched after initialization of components. I haven't yet experienced the error since I changed: creationComplete=initCollections(); to initialize=initCollections() But since it's hard to reproduce I can't tell for sure if this is at all related to anything happening here... - Ciarán On 11/6/06, droopyflex [EMAIL PROTECTED] wrote: [Flex 2.0.143459] I build a simple MenuBar example from the doc. then I clicked on the menubar to activate it. then I moved the mouse quickly to Open and close the menus (may be in a circular way, I don't know for instance...) after a few seconds, I have the following error: RangeError: Error #2006: L'index indiqué sort des limites. at flash.display::DisplayObjectContainer/addChildAt() at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()[C:\dev\GMC\sdk\frameworks\mx\managers\SystemManager.as:1578] at mx.managers::SystemManager/addChild()[C:\dev\GMC\sdk\frameworks\mx\managers\SystemManager.as:1190] at mx.managers::PopUpManager$/addPopUp()[C:\dev\GMC\sdk\frameworks\mx\managers\PopUpManager.as:221] at mx.controls::Menu/show()[C:\dev\GMC\sdk\frameworks\mx\controls\Menu.as:1027] at mx.controls::MenuBar/mx.controls:MenuBar::showMenu()[C:\dev\GMC\sdk\frameworks\mx\controls\MenuBar.as:1350] at mx.controls::MenuBar/mx.controls:MenuBar::mouseOverHandler()[C:\dev\GMC\sdk\frameworks\mx\controls\MenuBar.as:1431] what's wrong ? Here the code: ?xml version=1.0? !-- Simple example to demonstrate the MenuBar control. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initCollections(); mx:Script ![CDATA[ import mx.events.MenuEvent; import mx.controls.Alert; import mx.collections.*; [Bindable] public var menuBarCollection:XMLListCollection; private var menubarXML:XMLList = menuitem label=Menu1 menuitem label=MenuItem 1-A data=1A/ menuitem label=MenuItem 1-B data=1B/ /menuitem menuitem label=Menu2 menuitem label=MenuItem 2-A type=check data=2A/ menuitem type=separator / menuitem label=MenuItem 2-B menuitem label=SubMenuItem 3-A type=radio groupName=one data=3A/ menuitem label=SubMenuItem 3-B type=radio groupName=one data=3B/ /menuitem /menuitem /; // Event handler for the MenuBar control's itemClick event. private function menuHandler(event:MenuEvent):void { Alert.show(Label: + [EMAIL PROTECTED] + \n + Data: + [EMAIL PROTECTED], Clicked menu item); } // Event handler to initialize the MenuBar control. private function initCollections():void { menuBarCollection = new XMLListCollection(menubarXML); } ]] /mx:Script mx:Panel title=MenuBar Control Example height=75% width=75% paddingTop=10 paddingLeft=10 mx:Label width=100% color=blue text=Select a menu item./ mx:MenuBar labelField=@label itemClick=menuHandler(event); dataProvider={menuBarCollection} / /mx:Panel /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 -- 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] Simple CairngormStore Question
Hi All, In the CairngormStore example's ProductsAndCheckoutViewStack.mxml file, it's obvious that it is its bodyViewToShow() method that switches the displayed view. But how is bodyViewToShow() called? I can't find any method that it is called from. I've also tried placing breakpoints in it, then switching views while running in debug mode. Nothing happens - the debugger doesn't get activated. Anyone care to explain this? TIA! Douglas -- 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] Uploading
What type of images are you uploading? If you are displaying them within Flex/Flash it has to be an image type supported by Flash/Flex. I know that in earlier versions of Flash, you could not load progressive JPEGs and no CMYK images whatsoever, and AFAIK this hasn't changed but I'm new to AS3 and Flex too so I could be wrong :) HTH Rachel MaximOn 11/3/06, kumar [EMAIL PROTECTED] wrote: I am using flex2.0 trial, i have designed the page and upload thefiles i cant see the picture images, what is the problem. send my mailid. __._,_.___ -- 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] State Changing Error
Hi all, I've encountered this before, but I cannot for the life of me recall what the cause and fix is: I have the following states (represented with respect to heirachy: - base state - - - home - - - login (start) The change from login to home occurs correctly, once verification of the login details has taken place. This is done with a 'currentState=home ' after checking the login details. When I click the logout button whose click attribute is 'currentState=home ' I get the following error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/removeChild() at mx.core::Container/removeChild() at mx.states::AddChild/remove() at mx.core::UIComponent/::removeState() at mx.core::UIComponent/::commitCurrentState() at mx.core::UIComponent/setCurrentState() at mx.core::UIComponent/set currentState() at main/___Button2_click() Any help appreciated. Regards, Graham Weldon Software Engineer -- 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 is capable for developing interactive flash games?
Hope this helps...1. should i have to use flash ID to develop games or I can createwith MXML to produce flash intractive games.- Most likely you will want to continue to develop games in Flash, unless your games consist of things like form controls and charts or data manipulation :) Flex's real value lies in the ease with which it allows you to create application interfaces. If you were to attempt to create games in Flex, you would still need to do a lot of custom component development in AS3 and/or Flash, and Flex could be more of a wrapper, perhaps an interface to browse games, register, configure game settings, etc. 2. Is it necessary to use flash remoting software to conect remotingserver,eventhough i am Useing flex?-You can use a web service (standard WSDL/SOAP) instead of RPC/Remoting/AMF.. Remoting is binary so it's fastest in many cases, although proprietary. There's always a trade-off! But Remoting comes with ColdFusion... You only need remoting if you are going to be interacting with a server, database, etc...such as saving game stats and player info. If you just want to create the game interaction with no server back end, no remoting is needed. 3. How flex 2 it self can handle data processing(save,edit data todatabase).Flex calls methods and services from an application server like ColdFusion to make calls to a database, Flex doesn't do any of its own database interaction. Java seems to be one of the more popular back ends for Flex but IMO ColdFusion is the fastest and easiest way. -RachelOn 11/6/06, camlinaeizerous [EMAIL PROTECTED] wrote: While I can not answer all of your questions I can help you a bit withquestion 3. 3. How flex 2it self can handle data processing(save,edit data to database).There is a great wizard that helps with creating CRUD interfaces with databases. While I decided not to follow the way the wizard doesthings completely it did give me a very good starting point on how totransfer data back and forth form a SQL database. Assuming your usingFlex Builder 2 you will first need a Data Source set up in ColdFusion through the Admin Panel (If you need help with that I'll let someoneelse help as I know less about ColdFusion then Flex).When you have thedata source set in ColdFusion go back to Flex Builder 2 and go File New Other. A window pops up with the available other templates anduse the ColdFusion Wizards ColdFusion/Flex Application Wizard. Gothrough the wizard carefully and make sure your targets are sources are correct as it can overwrite existing projects if you set the wrongtarget. When your finished with the wizard you will now have a smallgenerated database access application with auto created files. Thesefiles were a great starting point to understanding how to do database access within flex.And for the most part unless your streaming video or making multiplayer games I think you can work around media server but don't quoteme on that.--- In flexcoders@yahoogroups.com, satyakishore [EMAIL PROTECTED] wrote: Hi Flex lovers, I am lover of flash. By reading the capabilies of flex,I am getting intrest towards flex. I have couple of doubts regarding developing Online games Subject:-Online gaming. Question:- Shall I use flex for developing online flash intractive games. if yes, 1. should i have to use flash ID to develop games or I can create with MXML to produce flash intractive games. 2. Is it necessary to use flash remoting software to conect remoting server,eventhough i amUseing flex? 3. How flex 2it self can handle data processing(save,edit data to database). IMPORTANT: Main doubt is FLASH REMOTING AND MEDIA SERVER IS NECESSARY TO DEVELOPE ONLINE GAMES IF I USE FLEX? According to my Knowledge:I am planning like this. Please guide me Which is correct way. 1. Sun Game Server 2. Flex 2 3. Flex Data Services(remotint - connecting and accesing database) 4. flash and actionscript(creating user intractive for games) 5. Mysql or oracle Sorry for my english. Please guide me or provide me any url link where i can get this knowledge. Thanksand Regards, Kishore --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * Your email settings:Individual Email | Traditional* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required)* To change settings via email:mailto:[EMAIL PROTECTED]mailto: [EMAIL PROTECTED]* To unsubscribe from this group, send an email to:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ __._,_.___ -- 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
[flexcoders] any way to make VDividedBox remove splitter on child being hidden?
Is there any way to make a VDividedBox hide the splitter control when there is only one child visible? I have a splitter than splits two sections. But the second section isn't always visible. However, the VDividedBox insists on always showing the splitter and letting the user drag it around. I would rather not have to kludge around it by pulling the second child in and out of the VDB.-- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Flex License
No, no license required. -- 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] cross/component communication - need code example
There has been a lot of discussion recently about how components should talk to each other but no code samples. I have attempted to get answers to these questions but noone has provided a coding example: Application Main includes two sub-components (A and B) which are canvases included in the Main viewstack. 1. The 'A' component needs to be capable of enabling a button on the 'B' component. 2. The 'B' component needs to be able to alter the viewstack index on Main. How should these two problems be coded? Thanks for your patience. -- 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] LineSeries Stroke with special colorfamiliy
Hi, I have to change the default weight of a LineChart Series (LineSeries). When setting the new Stroke-style I also have to set a new color but I want to keep the default one. How do I do that? As the color itself is of no importance I tried to use a random color (Math.random() * 0xff) but the resulting colors look a kind of ugly. It would look better to take e.g. websave colors. Anyone ran into something similar? Thanks, Sönke -- 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] to invoke RemoteObjects
Hi Cathy and Peter F. Thanks for everything, will check it. De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Cathy Reilly Enviado el: Lunes, 06 de Noviembre de 2006 12:16 pm Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] to invoke RemoteObjects This issue and the resolution and discussed in the following tech note - http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e329643d - Cathy From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Juan Carlos B² Sent: Monday, November 06, 2006 11:45 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] to invoke RemoteObjects Because it sends the following message in the console, when I invoke an object in a class java. error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not found And in the explorer show Send Failed. Somebody knows as they are the steps to invoke a remote method in java, to correct my error? NOTE: Excuse my English bad __._,_.___ -- 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] Dynamically size a tile-list?
Is there a way to size a tileList based on the contents inside, instead of setting a static height and width or min/max height and width? I'm mostly interested in just having the tile list height only as high as the tiles within it. I think I could manually calculate the height based on the number of tiles within it to determine the number of rows, and thus the height...but I'm hoping there is a built-in way to do it.ThanksRachel __._,_.___ -- 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] Dynamically size a tile-list?
Hi,Try using the measureWidthOfItems(index:int = -1, count:int = 0):Number and measureHeightOfItems(index:int = -1, count: int = 0):Number of the ListBase class.I have had good luck using these methods. The calculations are based off of the dataProvider. I think this is what you are looking for. Peace, MikeOn 11/6/06, Rachel Maxim [EMAIL PROTECTED] wrote: Is there a way to size a tileList based on the contents inside, instead of setting a static height and width or min/max height and width? I'm mostly interested in just having the tile list height only as high as the tiles within it. I think I could manually calculate the height based on the number of tiles within it to determine the number of rows, and thus the height...but I'm hoping there is a built-in way to do it.ThanksRachel -- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Componentshttp://www.flex2components.com You can find more by solving the problem then by 'asking the question'. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] custom Panels original size
I was wondering if any has come across this problem or solution. I have create a custom component that is resizable. I am able to make the panel smaller, but when I want it to restore back to the original size it end ups 500+ pixels long. To make it smaller I am using minimize=getStyle('headerHeight') but my restore function doesn't work. Is there a way to capture the original size of the panel on creationComplete? I tried restoring the height to the Panels child Vbox component, but it didn't work either. Any help or a tutorial would be greatly appreciated. Thanks, 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/
Re: [flexcoders] Re: how to learn file upload result
i submitted the form...in addition, i found an inefficient way to do the job..i first send a request to the server, without the file, only with necessary data; the server replies this with sending a uniq upload ticket (key),then i use this key to upload the file... in this way, i can control file properties in the server, so i know what happens to the file in the server by the first request result.i know this is not a efficient way, but at least it does what i want to do...Yigit BoyarMiddle East Technical University / Sophomore- Original Message From: ben.clinkinbeard [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Monday, November 6, 2006 7:56:42 PMSubject: [flexcoders] Re: how to learn file upload result I will fill out the form too but I really, really hope this changes soon. FileReference is near pointless with this arbitrary "limitation" . Would love to hear the rationale for it. Thanks, Ben --- In [EMAIL PROTECTED] ups.com, "Stacy Young" [EMAIL PROTECTED] wrote: At this time the flash player only returns a status code. I was stuck on this myself ...I got around it by storing the result in a session variable and retrieving it via separate remote call to the server. Caution: this workaround will only function in IE. Please submit an enhancement request via this form: http://www.adobe. com/cfusion/ mmform/index. cfm?name= wishform I will do my best to lobby for this in-house! ;-) Stace _ _ __ From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Yiðit Boyar Sent: Monday, November 06, 2006 5:05 AM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] how to learn file upload result i use file IO example class of adobe to upload files to my server (to a php file). i added a URLVariables object to the URLRequest to send additional variables with the file, but i could not find a way to get the result of my php. i mean, my php file outputs an xml (giving the result of move_upload and some additional values) but how can i read what my URLRequested php file returns? thanks... Yigit Boyar Middle East Technical University / Undergraduate year 2 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] possible nested repeater bug??
Jaime, It does seem to be a bug in Repeater. You can set recycleChildren to true on both repeaters and it should work around the problem for now. -John From: John Zhao Sent: Friday, November 03, 2006 3:40 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] possible nested repeater bug?? Hi Jaime, I did reproduce the problem. While debugging, I notice that the arrayCollection does get populate properly. So it might be a bug with the display in the nested repeater. Still checking to see if there is any workaround. -John From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jaime BermudezSent: Friday, November 03, 2006 2:22 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] possible nested repeater bug?? Igor, I appreciate you trying to help but I still think the behavior of the nested repeater is buggy. I've had some co-workers run this example and they see the same behavior as me. Can someone from Adobe please run this code and help me get it to work as expected? - Thanks On 11/3/06, Igor Costa [EMAIL PROTECTED]com wrote: the last one On 11/3/06, Jaime Bermudez jaime.bermudez@gmail.com wrote: What version of the Flex 2 SDK are you running Igor? On 11/3/06, Igor Costa [EMAIL PROTECTED]com wrote: I see each parent node with their subnodes for each of them.Regards. On 11/3/06, Jaime Bermudez jaime.bermudez@gmail.com wrote: Try this:1) Add a parent node by clicking the button in lower right-hand corner2) Add a second parent node3) Add a child to the first parent nodeWhen I do this, I see that the child was added to both the first AND second parent nodes. What do you see? On 11/3/06, Igor Costa [EMAIL PROTECTED]com wrote: I didn't have this problem Jaime.It's works for me. On 11/3/06, Jaime Bermudez jaime.bermudez@gmail.com wrote: Hmmm, not sure what you mean Igor. Can you not get the app to compile or run for you? I just tested moving the script block up to the top on my machine and it still runs. Anyone else having issues running this sample app? On 11/3/06, Igor Costa [EMAIL PROTECTED]com wrote: Jaime I just tested your code and I saw that if you put the mx:script tag after your usage of implementation doesn't work.Just try this one.?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute"width="100%" height="100%" creationComplete="init()" mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.core.UIComponent; [Bindable] public var dpParent:ArrayCollection; public function init() : void { dpParent = new ArrayCollection(); } public function handleAddParentClick():void { var newParent:Object = new Object(); newParent.name = "Parent number " + ( dpParent.length + 1); newParent.children = new ArrayCollection(); this.dpParent.addItem(newParent); } public function handleAddChildClick(event:MouseEvent):void { var parent:Object = UIComponent( event.currentTarget).getRepeaterItem(); var newChild:Object = new Object(); newChild.name = "Child number " + (ArrayCollection(parent.children).length + 1); ArrayCollection(parent.children ).addItem(newChild); } ]]/mx:Scriptmx:Panel id="main" width="100%" height="100%" title="Testing representing complex structure in nested repeater" mx:Repeater id="rpParents" dataProvider="{this.dpParent}" mx:HBox
[flexcoders] DataGrid Scroll Size
I have a DataGrid that is 400 px in height but many of the rows in the DataGrid are taller than 400 px. When viewing a tall row, I scroll the DataGrid down to see the rest of the row but it skips to the next row instead of scrolling through it. Is there a way to make the DataGrid scroll according to the height of the DataGrid rather than the height of its rows? CHAD CALLAHAN PROGRAMMER T8DESIGN.COM | P 319.266.7574 - x195 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] custom Panels original size
I'm a little confused at what you are doing. Posting code would probably help. But if I understand what you're trying to do correctly, you can probably add the following code to the panel. It should create save the hight before minimizing and then restore it later. You just need to call the two functions when you want to restore/minimize the panel. - Danmx:Script ![CDATA[ public var originalHeight:Number; public function minimize(event:Event):void { originalHeight = this.height; height = getStyle(headerHeight); } public function restore(event:Event):void { height = originalHeight; } ]]/mx:ScriptOn 11/6/06, jnewport [EMAIL PROTECTED] wrote: I was wondering if any has come across this problem or solution.Ihave create a custom component that is resizable.I am able to makethe panel smaller, but when I want it to restore back to the originalsize it end ups 500+ pixels long. To make it smaller I am usingminimize=getStyle('headerHeight')but my restore function doesn't work. Is there a way to capture theoriginal size of the panel on creationComplete? I tried restoring the height to the Panels child Vbox component, but it didn't work either.Any help or a tutorial would be greatly appreciated.Thanks, J--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * Your email settings:Individual Email | Traditional * To change settings online go to:http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required)* To change settings via email: mailto:[EMAIL PROTECTED]mailto: [EMAIL PROTECTED] * To unsubscribe from this group, send an email to:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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] Detect assignments to property marked [Bindable] affected by package
Hello, I have a property in my model called currentBatch, which is an instance of my Batch class. I also have my Batch class marked [Bindable] (just like the model class itself). If Batch resides in the vo package, I am getting the famous will not be able to detect assignments... warning when attempting to bind to model.currentBatch.batchName. However, moving the Batch class to the model package eliminates this warning. Why is that? Thanks, Ben -- 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/