[flexcoders] Re: Fw: WatcherSetupUtil issue
Hey!! Flex framework developers. Can you give some information about *WatcherSetupUtil.as? I really want for what it's generated? --- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote: Any ideas??? --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote: Hi, coders. I'm trying to create multimodule (multi swf) application. I'm using next approach: I create flex library for every component. In runtime main application loads needed library then gets needed component definition using ApplicationDomain.getDefinition(). I have next issue: some of components are not properly initialized and null pointer exception is thrown. For each of these components flex generates _{packageName}_{className}WatcherSetupUtil.as class. Other components work fine. I found some logic in SystemManager that can correct this: // trace(initializing mixin + mixinList[i]); var c:Class = Class(getDefinitionByName(mixinList[i])); c[init](this); If I add such logic for every class that has *WatcherSetupUtil.as generated, everything works fine. Of course I can try to initialize *WatcherSetupUtil for every class that I get from external ApplicationDomain, but if component has child component with *WatcherSetupUtil it will not work. Because I cannot proxy child creation in mxml component. So the question is: How i can determine classes with *WatcherSetupUtil.as generated in runtime?, and What the *** is WatcherSetupUtil? I cannot find any reference in help, livedocs, flexcoders, google.. Thanx in advance for any help, ideas. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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.0 logging
Dear all, Can someone tell we that how i can get logging of the Httpservice result . I remember that i can find it in flex.log in Flex 1.5 after the config the xml file. But i dont know that i can do it in Flex 2.0 thx capho Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: Dynamic assign itemRenderer to DataGridColumn
var aux:TextInput = new TextInput(); columna.itemRenderer = aux as IFactory; can you do this instead columna.itemRenderer = new ClassFactory(TextInput); --- In flexcoders@yahoogroups.com, Daniel [EMAIL PROTECTED] wrote: Hello! This time Im trying to assing an itemRenderer to a DataGridColumn using this: -- var columna:DataGridColumn = new DataGridColumn(); columna.headerText = something columna.dataField = something else columna.editable = true; columna.rendererIsEditor = true; var aux:TextInput = new TextInput(); columna.itemRenderer = aux as IFactory; columna.editorDataField=text; -- The above code doesnt work, although it doesnt present any errors. The reason why I need to do that this way is that I can dynamically change properties in the itemRenderer. Any Ideas Thanks! Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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 final - TextInput focusRoundedCorners
Mike, Adam A textinput can have rounded corners try this. mx:TextInput cornerRadius=10 borderStyle=solid/ without the borderStyle set to solid it doesn't work. .but i'll still need to use your (Mike) 'quick/right fix' for my issue. thanks bod --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: BTW, The 'right fix' is to create yourself a new border class that does this and controls all rounded corners. The 'quick fix' is to put the TextInput in a Box. Peace, Mike On 9/6/06, bhaq1972 [EMAIL PROTECTED] wrote: thanks for the clarification. --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: I think there is a bug which prevents the TextField from having roundedCorners. There is no bug, the HaloBorder specifications do not allow a TextInput to have rounded corners. The only styles it allows are none, solid, inset. And in those render methods, it only calls draw3dBorder() which does not implement rounded corners. This is an enhancement not a bug issue. Peace, Mike On 9/6/06, bhaq1972 mbhaque@ wrote: thanks for the advice. it does look like a bug. your suggestion nearly works for me except i dont want all the corners to be rounded (only the right hand side) focusRoundedCorners=tr br has the right idea but whats the point if it doesn't match the shape of the textinput/textarea try this mx:TextArea cornerRadius=10 focusRoundedCorners=tr br height=22 / or mx:TextInput cornerRadius=10 focusRoundedCorners=tr br/ regrds bod --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Adam Royle adam@ wrote: I experienced the same issue. I think there is a bug which prevents the TextField from having roundedCorners. You can, however, use (or extend) TextArea and make the height 22 pixels (and prevent newlines being created, etc), however I'm not sure any flex purists would encourage that... maybe just wait until the bug is fixed and use external CSS to style the elements. BTW, not sure if anyone has filed it as a bug or not. Cheers, Adam - Original Message - From: bhaq1972 mbhaque@ To: flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders%40yahoogroups.com Sent: Tuesday, September 05, 2006 11:59 PM Subject: [flexcoders] Re: flex2 final - TextInput focusRoundedCorners i think i need to rephrase my question how can i create a textinput where the bottom -right and top- right corners are rounded thanks --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, bhaq1972 mbhaque@ wrote: How do i apply the focusRoundedCorners effect during normal display (and not just when i'm focusing on the textinput) mx:TextInput text=0123 cornerRadius=10 focusRoundedCorners=tr br/ any ideas? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% http://www.mail-archive.com/flexcoders%25 http://www.mail-archive.com/flexcoders%25 40yahoogroups.com Yahoo! Groups Links -- What goes up, does come down. -- What goes up, does come down. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: flex2 final - TextInput focusRoundedCorners
without the borderStyle set to solid it doesn't work. Oh, pie on my face :)I thought only containers could do that. wow, I just learned something new ! ;-)Thanks, Mike On 9/7/06, bhaq1972 [EMAIL PROTECTED] wrote: Mike, Adam A textinput can have rounded corners try this. mx:TextInput cornerRadius=10 borderStyle=solid/ without the borderStyle set to solid it doesn't work. .but i'll still need to use your (Mike) 'quick/right fix' for my issue. thanks bod --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: BTW, The 'right fix' is to create yourself a new border class that does this and controls all rounded corners. The 'quick fix' is to put the TextInput in a Box. Peace, Mike On 9/6/06, bhaq1972 [EMAIL PROTECTED] wrote: thanks for the clarification. --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: I think there is a bug which prevents the TextField from having roundedCorners. There is no bug, the HaloBorder specifications do not allow a TextInput to have rounded corners. The only styles it allows are none, solid, inset. And in those render methods, it only calls draw3dBorder() which does not implement rounded corners. This is an enhancement not a bug issue. Peace, Mike On 9/6/06, bhaq1972 mbhaque@ wrote: thanks for the advice. it does look like a bug. your suggestion nearly works for me except i dont want all the corners to be rounded (only the right hand side) focusRoundedCorners=tr br has the right idea but whats the point if it doesn't match the shape of the textinput/textarea try this mx:TextArea cornerRadius=10 focusRoundedCorners=tr br height=22 / or mx:TextInput cornerRadius=10 focusRoundedCorners=tr br/ regrds bod --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Adam Royle adam@ wrote: I experienced the same issue. I think there is a bug which prevents the TextField from having roundedCorners. You can, however, use (or extend) TextArea and make the height 22 pixels (and prevent newlines being created, etc), however I'm not sure any flex purists would encourage that... maybe just wait until the bug is fixed and use external CSS to style the elements. BTW, not sure if anyone has filed it as a bug or not. Cheers, Adam - Original Message - From: bhaq1972 mbhaque@ To: flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders%40yahoogroups.com Sent: Tuesday, September 05, 2006 11:59 PM Subject: [flexcoders] Re: flex2 final - TextInput focusRoundedCorners i think i need to rephrase my question how can i create a textinput where the bottom -right and top- right corners are rounded thanks --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, bhaq1972 mbhaque@ wrote: How do i apply the focusRoundedCorners effect during normal display (and not just when i'm focusing on the textinput) mx:TextInput text=0123 cornerRadius=10 focusRoundedCorners=tr br/ any ideas? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% http://www.mail-archive.com/flexcoders%25 http://www.mail-archive.com/flexcoders%25 40yahoogroups.com Yahoo! Groups Links -- What goes up, does come down. -- What goes up, does come down. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo!
Re: [flexcoders] mxmlc -increment not working.
Hi,As far as I know, this should work for UNC paths also. If things have changed I don't know. I was QA on this feature for sometime, while my time in Adobe..-abdulOn 9/6/06, Ralf Bokelberg [EMAIL PROTECTED] wrote: Do you compile to a network filesystem? Btw. is there any possibility to tell the compiler where to put the cache files? Cheers,Ralf. On 9/6/06, Matt Chotin [EMAIL PROTECTED] wrote: I sent this on to the engineer and he thinks it should work. If you can send us more details as a bug filed via the wish page (http://www.adobe.com/go/wish) we can take a look. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Lance Linder Sent: Friday, September 01, 2006 1:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mxmlc -increment not working. I am getting the following message from the MXMLC compiler when calling it from NAnt using the –increment parameter. [exec] Failed to match the compile target with myApp_411843.cache. The cache file will not be reused. I don' t see any reason why this wouldn't work if I run multiple compiles back to back using the –increment parameter and I don't even change any code. I do see _x.cache files showing up but as you can see the compiler refuses to use them. Any ideas? -- Ralf Bokelberg [EMAIL PROTECTED]Flex Flash Consultant based in Cologne/Germany __._,_.___ -- 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] Spacing stacked columns
Ely and Brendan - Thanks to both of you - that worked. Now I have another problem - how to get data interpolation to work in that context. I'll put it in a fresh posting. - Tom Brendan Meutzner wrote: Too lazy to figure out how to find link to groups message in Gmail, so here's the message you're referring to... Hi Ben. When a set of column series is clustered, the chart (or columnSet) is setting the columnWidthRatio and offset properties to do it. So if you wanted to cluster differently, you could put the columnSeries inside a CartesianChart and set those properties yourself. To figure out how wide each column should be, you first need to decide how wide you want the total cluster to be, and how much each column should overlap. Then your formula would be: columnWidth = clusterWidth / (overlap + (series count)*(1-overlap)); the offset is the offset of the middle of the column from the middle of the category. given the clusterWidth and columnWidthRatio, the offset for each series is: seriesOffset(N) = -clusterWidth/2 + (1-overlap)*columnWidthRatio*(N) + columnWidthRatio/2; So if you have three series, and your total width is 75%, and the overlap should be 50%, then columnWdithRatio = .75 / (.5 + 3*(1-.5)) columnWdithRatio = .75 / 2; columnWdithRatio = .375 given that, seriesOffset(0) = -.75/2 + (.5)*.375*0 + .375/2; seriesOffset(0) = -.1875; seriesOffset(1) = -.75/2 + (.5)*.375*1 + .375/2; seriesOffset(1) = 0; seriesOffset(2) = -.75/2 + (.5)*.375*2 + .375/2; seriesOffset(2) = -.75/2 + .375 + .375/2;; seriesOffset(2) = .1875; Putting that into practice, the markup would be CartesianChart series ColumnSeries columnWidthRatio=.375 offset=-.1875 / ColumnSeries columnWidthRatio=.375 offset=0 / ColumnSeries columnWidthRatio=.375 offset=.1875 / /CartesianChart (You may need to reverse the order of those, I don't remember) Ely. On 9/6/06, *Ely Greenfield* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Tom. To do that you should ditch the top level columnSet, put your two sub-column sets directly in a CartesianChart, and manage the offset and columnWidthRatio properties yourself. As an example, if you want each stack to be a quarter width of the column with a quarter-width gap between them, you'd do something like: ColumnSet offset=-.375 columnWidthRatio=.25 ... / ColumnSet offset=.375 columnWidthRatio=.25 ... / A while back I worked out some equations for what these values should be based on your desired width/gap, but I can't remember off the top of my head. They should be in the group archives if you do some creative searching. Ely. *From:* flexcoders@yahoogroups.com http://ups.com [mailto:flexcoders@ mailto:flexcoders@yahoogroups.com http://yahoogroups.com] *On Behalf Of *Tom Fitzpatrick *Sent:* Wednesday, September 06, 2006 9:03 AM *To:* flexcoders@yahoogroups.com http://ups.com *Subject:* [flexcoders] Spacing stacked columns In a Cartesian chart, I have defined two stacked Column Sets that each contain two ColumnSeries. These two ColumnSets are contained in a ColumnSet with type set to clustered. Kind of like this: mx:CartesianChart mx:series mx:ColumnSet type=clustered mx:ColumnSet type=stacked mx:ColumnSeries yField=revenue / mx:ColumnSeries yField=overhead / /mx:ColumnSet mx:ColumnSet type=stacked mx:ColumnSeries yField=costs / mx:ColumnSeries yField=oneTime/ /mx:ColumnSet /mx:ColumnSet /mx:series /mx:CartesianChart This is working fine. What I'd like to do is put a space between each pair of stacked columns, whose edges are now touching. It appears that the properties offset and columnWidthRatio are available on the stacked ColumnSets, but I've tried various combinations and can't make it work. How can I calculate and set the column spacing in this situation? - Tom Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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
[flexcoders] Data interpolation in ColumnSets
I have a Cartesian chart containing two ColumnSeries in two ColumnSets, like this: mx:series mx:ColumnSet columnWidthRatio=.375 offset=-.21 type=stacked mx:ColumnSeries alpha=.6 yField=costs / mx:ColumnSeries alpha=.6 yField=oneTime/ /mx:ColumnSet mx:ColumnSet columnWidthRatio=.375 offset=0.21 type=stacked mx:ColumnSeries yField=revenue / mx:ColumnSeries yField=overhead / /mx:ColumnSet /mx:series My problem is that data interpolation doesn't seem to work in this context. I set up an interpolation like this: mx:SeriesInterpolate id=moveData duration=500 minimumElementDuration=200 elementOffset=0/ But when I try to call it either from the individual ColumnSeries or the ColumnSets, using: showDataEffect=moveData I get an error message: Cannot access a property or method of a null object reference. Can anyone spot the problem - or is this not possible in this setup? - Tom Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: mx.effects.tween
Thank you Eric :) This is cool. efeminella wrote: Hey Sammi, I had the same problem so I wrote a simple Tween API of my own. You can download the .swc from my blog at: http://www.ericfeminella.com/blog/2006/09/04/as3-custom-tween-api/ http://www.ericfeminella.com/blog/2006/09/04/as3-custom-tween-api/ Below is a very simple usage example: ?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 width=927 height=610 mx:Script ![CDATA[ import mx.controls.Alert; import com.ericfeminella.effects.Tween; import com.ericfeminella.effects.TweenType; private function createTween():void { var tween:Tween = new Tween(this.panel, alpha, TweenType.BASIC_EASEIN, 1, 0, .5); } ]] /mx:Script mx:Panel x=338.5 y=104 width=343 height=306 layout=absolute id=panel /mx:Panel mx:Button id=btn click=this.createTween(); x=338.5 y=418 label=tween alpha / /mx:Application If you have any questions feel free to send me an email at: [EMAIL PROTECTED] mailto:eric%40ericfeminella.com Hope this helps, - Eric Feminella --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Samúel Jónasson [EMAIL PROTECTED] wrote: Hi, Do you know of any AS3 libraries that I can use instead mx.effects.tween? Are there any available tweening engines for AS3. I am using Flex Builder 2 to build my Actionscript 3 project and I thought I could use the mx.effects.Tween class but it looks like I can't. I get errors like this one when I try: *Unable to resolve a class for ResourceBundle: core.* Sammi Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: mouse cursor management
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: I would create a singleton class called CursorPool. Where I would register different UIComponent with the cursor types.. Showing and hiding cursor would be taken care by this class. great, thanks. my last question would be if the app has to keep changing the cursor based on user selected tools, would this be a memory or performance hit? i've heard that custom cursors were sluggish in flash, so i was wondering if we need to make this optional. thanks again. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] Cairngorm Tree selectedIndex
Hi there, I'm developinga Flex 2 app using Cairngorm and I wanted to check the best practice for this problem: I'm retrieving the XML structure for a Tree component from ColdFusion and I'm using the Tree component as a navigation menu. I'm also retrieving from ColdFusion the Tree item that the user last accessed. When both results are returned I want to manually select the Tree item that the user last accessed. Does anyone have any ideas on the best method to solve this problem? Thanks in advance, Pete Pete CapraInformation Systems CoordinatorCapra Ryan Online Learningp. (617) 3208 9455m. 0411 043 305f. (617) 3208 9855a. PO Box 1744 Springwood Q 4127www.capraryan.com[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: webservice in a ComboBox
Hi Kristian, I don't know much about the webservices but I'll try to help... java.utils.list is basically an ArrayList object. ArryList is converted into Array type Actionscript object by Flex. Before attaching this Array as dataprovider to combobox u need to convert it to ArrayCollection. U can do so by providing it as source to Array Collection Object and then provide this arrayCollection as dataprovider to ComboBox. I know this is so generick info but I can help u more if u can post some of ur java as well as flex code... Cheers!!! --- In flexcoders@yahoogroups.com, Kristian [EMAIL PROTECTED] wrote: Hi.Hope someone can help me. I need to put the result from a webservice in a ComboBox.The webservice method returns a java.util.List. Any one who can show me how please? _ Try Live.com - din egen kjappe hjemmeside med alle tingene du bryr deg om, på ett sted. http://www.live.com/getstarted Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Setting rollOverColor
Abdul: I will try it this way. I replied twice earlier today but neither has shown up. Your code worked. Thanks for your patience. John Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Setting RollOverColor in LinkBar
Abdul: Again, I replied over 7 hours ago. I do not know why it takes so long to have my message posted. What's wrong with Yahoo Group? Anyway, I wanted you to know your code worked and wanted to say thanks. John --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: My mistake... I think, it would be: linkBar.setStyle (overSkin, null); try this.. -abdul On 9/6/06, jdixon428 [EMAIL PROTECTED] wrote: Abdul: Tried your code, but the backgroundColor becomes Black when I put the mouse on the menu choice. Other ideas? John --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Abdul Qabiz abdul.qabiz@ wrote: Following example code might give you idea, how to do it: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onAppInit () mx:Script function onAppInit ():void { linkBar.setStyle (rollOverSkin, null); } /mx:Script mx:LinkBar id=linkBar / /mx:Application -abdul On 9/6/06, jdixon428 jdixon@ wrote: --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Abdul Qabiz abdul.qabiz@ wrote: Abdul: Where do I put this code? Is the linkBarInstance the id of the LinkBar? Regards, John linkBarInstance.setStyle (overSkin, null); That should work.. Later if you want to show something else, you can create a programmatic skin or CSS based to override the inherited one.. -abdul On 9/6/06, jdixon428 jdixon@ wrote: Hi, I posted this yesterday, but did not see it show up. Maybe everyone was enjoying the long holiday weekend. So I will try again. I have an HBox with a backgroundImage. I then have a LinkBar with several menu choices on top of the HBox. How can I set the LinkBar RollOverColor to NOT display any color. I guess I am saying transparent or something of that nature. Bottom line, I can't figure out how to do it. Any suggestions? Regards, John Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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 Drill down Charts
Hi, I am sure many of you have worked on Drill Down Charts. Can someone share his/her work (with view source functionality enabled)? Any pointers to tutorials will be appreciated. Thanks a lot and hoping to find some good links. regards, Pramod Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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 and datagrid
Hi , I have a webservice created with AXIS Java, and I try to get the result . The result of the webservice is a XML Document. I have an Object wsQryProgress that is my webservice wsQryProgress.doQueryWS is the only method in my webservice , and too I have a datagrid and binding with dataProvider={wsQryProgress.doQueryWS.lastResult} I don't know why the datagrid is empty Here is my code I hope you can help me quote: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:WebService id=wsQryProgress wsdl=http://localhost/axis/services/QryProgress?wsdl; useProxy=false result=fin(event); fault=falla(event); mx:operation name=doQueryWS mx:request in0for each tblcredencial where chrusername = '[EMAIL PROTECTED]' no-lock/in0 in1Credenciales/in1 in2Credencial/in2 in3idcredencial,chrusername/in3 in4http://www.toditocard.com/cgi-bin/tcardB/util/XML/wGenXml.p/in4 /mx:request /mx:operation /mx:WebService mx:Panel x=10 y=10 width=400 height=300 layout=absolute title=Usuarios tcard mx:TextInput x=10 y=23 id=txtUser/ mx:Button x=198 y=23 label=Enviar id=btnSend click=SendUser();/ mx:DataGrid x=10 y=70 id=dgUsuario dataProvider={wsQryProgress.doQueryWS.lastResult} mx:columns mx:DataGridColumn headerText=idCredencial dataField=idcredencial/ mx:DataGridColumn headerText=Username dataField=chrusername/ /mx:columns /mx:DataGrid mx:Label x=10 y=229 text=quot; quot; id=lblqry/ /mx:Panel mx:Script ![CDATA[ import mx.utils.ArrayUtil; import mx.controls.Alert; public var strQry:String; public var strUrl:String = http://www.toditocard.com/cgi-bin/tcardB/util/XML/wGenXml.p;; public var strRoot:String = Credenciales; public var strRow:String = Credencial; public var strCampos:String = chrusername,idcredencial; [Bindable] public var credenciales:Array; public function EnviaQry(strUser:String):void { strQry = for each tblcredencial where chrusername = ' + strUser + ' no-lock:; wsQryProgress.doQueryWS.send(); } public function SendUser():void { EnviaQry(txtUser.text); } public function fin(e:Object):void{ Alert.show(e.result,Result XML,Alert.OK,this,null,null,Alert.OK); } public function falla(e:Event):void { txtUser.text=e.toString(); } ]] /mx:Script /mx:Application ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Setting RollOverColor in LinkBar
Abdul: That works. Thanks for your patience. John --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: My mistake... I think, it would be: linkBar.setStyle (overSkin, null); try this.. -abdul On 9/6/06, jdixon428 [EMAIL PROTECTED] wrote: Abdul: Tried your code, but the backgroundColor becomes Black when I put the mouse on the menu choice. Other ideas? John --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Abdul Qabiz abdul.qabiz@ wrote: Following example code might give you idea, how to do it: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onAppInit () mx:Script function onAppInit ():void { linkBar.setStyle (rollOverSkin, null); } /mx:Script mx:LinkBar id=linkBar / /mx:Application -abdul On 9/6/06, jdixon428 jdixon@ wrote: --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Abdul Qabiz abdul.qabiz@ wrote: Abdul: Where do I put this code? Is the linkBarInstance the id of the LinkBar? Regards, John linkBarInstance.setStyle (overSkin, null); That should work.. Later if you want to show something else, you can create a programmatic skin or CSS based to override the inherited one.. -abdul On 9/6/06, jdixon428 jdixon@ wrote: Hi, I posted this yesterday, but did not see it show up. Maybe everyone was enjoying the long holiday weekend. So I will try again. I have an HBox with a backgroundImage. I then have a LinkBar with several menu choices on top of the HBox. How can I set the LinkBar RollOverColor to NOT display any color. I guess I am saying transparent or something of that nature. Bottom line, I can't figure out how to do it. Any suggestions? Regards, John Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: Setting RollOverColor in LinkBar
Hi jdixon428, I think you may try creating empty image with transperent bg and then setting up rollover skin as that image. Hope this helps Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] ADOBE: Version of Distributable Player is Incorrect
Tariq, Can you share your experiences with this? I have to convert from anything below version 9 on our novell network;-) On 9/2/06, Tariq Ahmed [EMAIL PROTECTED] wrote: Adobe,- I'm working with my customer to get Flash 9 installed on all theirdesktops.- It took our I.T dept days to get a push package going that silentlyuninstalled Flash 8 and installed Flash 9The problem now is the distributable version of the Flash Player is9.0.0.296, and Flex requires 9.0.16.0.Can you update that?Thanks.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Hilary-- __._,_.___ -- 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: 9-Slice scaling problem with Skinning
This seems to happen only with bitmap images. If I draw something into symbols in flash they are scaled correctly but if I place bitmaps into symbols then scaling does not work. Wonder what is wrong with my setup.. On 9/6/06, [sami] [EMAIL PROTECTED] wrote: Hello,been struggling with 9-Slice scaling and Skinning. Downloaded Abobe's example from http://www.adobe.com/devnet/flex/articles/flex_skins.html . Then edited Skin template with Flash 8 (also tried 9 beta) and made sure 9-Slice is turned on. I replaced many of the symbols with gifs and pngs inside the flex_skins.swf. Button.skinned works fine but Button does not use 9-Slice scaling. So if I use images directly from files and add scale grid through code no problem. Anyone had the same behavior? Here's the code example:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute mx:Style Button { disabledSkin: Embed(source=swc/Button_disabledSkin.png, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); downSkin: Embed(source=swc/Button_downSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); overSkin: Embed(source=swc/Button_overSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); upSkin: Embed(source=swc/Button_upSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); } Button.skinned { disabledSkin: Embed(source=swc/flex_skins.swf, symbol=Button_disabledSkin); downSkin: Embed(source=swc/flex_skins.swf, symbol=Button_downSkin); overSkin: Embed(source=swc/flex_skins.swf, symbol=Button_overSkin); upSkin: Embed(source=swc/flex_skins.swf, symbol=Button_upSkin); } /mx:Style mx:Button x=10 y=10 label=Small / mx:Button x=10 y=40 label=Bit Bigger / mx:Button x=10 y=70 label=Getting Near Large / mx:Button x=10 y=100 label=Friggin Huge Extravaganza Notification Button / mx:Button styleName=skinned x=10 y=150 label=Small / mx:Button styleName=skinned x=10 y=180 label=Bit Bigger / mx:Button styleName=skinned x=10 y=210 label=Getting Near Large / mx:Button styleName=skinned x=10 y=240 label=Friggin Huge Extravaganza Notification Button //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 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: Flex + .NET Web Services irritations
Which code are you referring to seeing? I can't pass the WS code or url. As for the Flex code, it is based 100% off of the livedocs example but with our url's, etc.We don't use .NET datasets. We are returning VO's (classes) or Listclassname. This is .NET 2.0 so generics are used semi-heavily.Thanks.On 9/5/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi John, Without seeing the code, the first error seems E4X related. I'm not sure if this will help you with the second error, but natively Flex doesn't accept .Net datasets without receiving this error. If that's the case, you can solve this by casting the dataset to a class that is returned by the webservice. Here's an ASP.Net webservice code sample: http://www.cflex.net/showFileDetails.cfm?ObjectID=418Object=FileChannelID=1 -TH--- In [EMAIL PROTECTED]ups.com, John C. Bland II [EMAIL PROTECTED] wrote: Flex seems to have problems hitting .NET web services. Specifically, it has problems handling method overloads and, for whatever reason, can't seem to work with working .NET WS's. I setup the operation, etc just as examples showed to make sure my own knowledge wasn't lacking and it still didn't work right. The errors are as follows (extracted from my Google searches the other day): * The Proxy class does not implement getDescendants. It must be overridden by a subclass. * [WSDLError faultString=Element :SiteProvider_GetBySiteID not resolvable faultCode=WSDL.BadElement faultDetail=null] The second one is odd because I KNOW the method is there AND that it works. I can hit the wsdl with another tool and it works perfectly fine. Any ideas? -- John C. Bland II Chief Developer Katapult Media, Inc. - www.katapultmedia.com --- Biz Blog - http://blogs.katapultmedia.com/jb2 Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoands top.org Home of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Assets with timeline code in Actionscript projects
Thank you, this is a very good article. Sammi Tim Hoff wrote: Sammi, You can read a good article, with examples, how to handle the Flash AS. Scroll down to August 27th, 2006. HTH. http://www.jessewarden.com/ -TH --- In [EMAIL PROTECTED]ups.com, Samel Jnasson [EMAIL PROTECTED] wrote: Thanks, ok, so one can not simply put a stop statement on some frame of an animation. Understoodso the only way I can use a simple swf animation that has a stop action is to load it at runtime - right? I can't see how I would make a stop action on frame 10 for an example in an animation a class :) For me this is a showstopper :( I am afraid I will have to continue to use the Flash 9 IDE / SEPY for my development. To bad cause I was so exited when I read about using Flex Builder for Actionscript projects. Sammi Tim Hoff wrote: Hi Samel, Actionscript that is placed on the timeline (FP9) is ignored by Flex. However, if you place your AS in a class it will work. -TH --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com, Samel Jnasson sambo@ wrote: Hi, I am trying to use the Flex Builder 2 to create Action Script projects (not Flex) so maybe this list is not the one to post this question to. However... I was hoping someone could tell me if there are some limitations with embedded assets created in Flash 9 IDE. In my case stop(); is not working on assets timelines. It is simply ignored. Regards, Sammi __._,_.___ -- 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: Confirmed Bug: SOAP request construction with .NET web service... again
thanks for sharing this information!!!On 9/5/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Just minutes after posting my last message I received another emailfrom Adobe confirming that engineering is working on fixes to all 3 bugs I've encountered while dealing with .NET web services. They'veassured me that they'll be fixed in the first update release for Flex2 and possibly even sooner via a hotfix.It really is encouraging to see Adobe's willingness and ability to make improvements and ensure Flex is as rock solid as possible. ThanksAdobe!Ben--- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Just for the sake of record, Adobe has just notified me that this is indeed a bug. I sure hope some WebService fixes are in that dotrelease... Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: I have already come across a couple of (confirmed by Adobe support) bugs with the way Flex constructs SOAP requests when using .NET web services and am wondering if I've found a third. I suppose this could be the expected behavior but it seems awfully weird to me. Part of the request that my web service expects is a ContainersToRetrieve node, which contains 1 or more child ContainerType nodes. Like this: ContainersToRetrieve ContainerTypeIndustryTrends/ContainerType ContainerTypeRPRSelections/ContainerType /ContainersToRetrieve When constructing the request in MXML, I have discovered that if I am only sending one ContainerType argument that I need to omit the ContainerType node and put the contents directly inside ContainersToRetrieve. Like this: ContainersToRetrieve IndustryTrends /ContainersToRetrieve But if I need to send more than one I have to include the ContainerType nodes in my MXML, like this: ContainersToRetrieve ContainerType IndustryTrends /ContainerType ContainerType RPRSelections /ContainerType /ContainersToRetrieve Is this how this should work? I am including my entire WebService tag below. Thanks in advance. Ben mx:WebService id=ws wsdl= http://mysite.com/WebService.asmx?WSDL useProxy=false fault=getTrendsFault(event) result=getTrendsResult(event) mx:operation name=GetDocument resultFormat=e4x mx:request EnterpriseId1/EnterpriseId DocumentTypeRPR-EBD/DocumentType ContainersToRetrieve ContainerType IndustryTrends /ContainerType ContainerType RPRSelections /ContainerType /ContainersToRetrieve MetadataToRetrieve RPRDocumentHistory /MetadataToRetrieve /mx:request /mx:operation /mx:WebService --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/-- j:pn http://www.lennel.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Posts not showing up
Moderator: I have replied to a post twice today more than 11 hours ago and neither has shown up. Can you tell me why? Regards, John Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex + .NET Web Services irritations
FLIPPIN' NAMESPACEI set the namespace and I'm rollin'! Now I can finish this app. :-) Thanks.On 9/5/06, John C. Bland II [EMAIL PROTECTED] wrote:Which code are you referring to seeing? I can't pass the WS code or url. As for the Flex code, it is based 100% off of the livedocs example but with our url's, etc. We don't use .NET datasets. We are returning VO's (classes) or Listclassname. This is .NET 2.0 so generics are used semi-heavily.Thanks.On 9/5/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi John, Without seeing the code, the first error seems E4X related. I'm not sure if this will help you with the second error, but natively Flex doesn't accept .Net datasets without receiving this error. If that's the case, you can solve this by casting the dataset to a class that is returned by the webservice. Here's an ASP.Net webservice code sample: http://www.cflex.net/showFileDetails.cfm?ObjectID=418Object=FileChannelID=1 -TH--- In [EMAIL PROTECTED] ups.com, John C. Bland II [EMAIL PROTECTED] wrote: Flex seems to have problems hitting .NET web services. Specifically, it has problems handling method overloads and, for whatever reason, can't seem to work with working .NET WS's. I setup the operation, etc just as examples showed to make sure my own knowledge wasn't lacking and it still didn't work right. The errors are as follows (extracted from my Google searches the other day): * The Proxy class does not implement getDescendants. It must be overridden by a subclass. * [WSDLError faultString=Element :SiteProvider_GetBySiteID not resolvable faultCode=WSDL.BadElement faultDetail=null] The second one is odd because I KNOW the method is there AND that it works. I can hit the wsdl with another tool and it works perfectly fine. Any ideas? -- John C. Bland II Chief Developer Katapult Media, Inc. - www.katapultmedia.com --- Biz Blog - http://blogs.katapultmedia.com/jb2 Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoands top.org Home of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: mouse cursor management
great, thanks. my last question would be if the app has to keep i lied. i have one more question. how do you handle busy cursors? using custom cursors seems to override all the showBusyCursor=true bits (ie the image these tools can be used on is dynamic). the busy cursor shows up in the mouse is off the image but it's never seen with mouseOver. any ideas? thanks. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: SWFLoader related query / challenge
I've had some major problems implementing this type of solution -- hoping somebody might have some ideas as to why this won't work in my situation. I've got a multi-user application that has an application shell (a Flex app with only an SWFLoader in it), a login page (a Flex app with a simple login form that goes out to a servlet with an HTTPService to authenticate a user) and the main application (a fairly large Flex app that sits at about 550kb when compiled). I'm doing a process identical to the one below to load the login page in to the application shell, upon authentication success it attempts to load the main application in to the application shell. The problem is, I enter the login credentials, hit the service, but the app just sits there forever essentially. At first I thought this might be due to some type of timeout, but this even happens locally, where a load should be pretty much instant. I have tested the login service manually through the browser and it is not experiencing any slowdowns or issues. Any ideas would be appreciated. Thanks, Brian --- In flexcoders@yahoogroups.com, Vishwajit Girdhari [EMAIL PROTECTED] wrote: Hey Sam , Thanks for the interest show in resolving my query. Actually I wanted to dynamically load / unload my 'sub applications' (compiled swf) but user feel should be as if only one mxml has been loaded. Two days after making this post I figured out a simple way to achieve this. Code below demonstrates the my approach. Thanks, Vishwajit Girdhari Flexblog : http://flexiness.blogspot.com Main.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init(event) mx:Script ![CDATA[ import mx.controls.Alert; import flash.events.Event; private function init(e:Event):void { //doing nothing } public function loadSWF (filename : String) : void { swfLoader.source=filename; } ]] /mx:Script mx:SWFLoader id=swfLoader source=one.swf /mx:SWFLoader /mx:Application one.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.controls.Alert; public function handleOne ( event : Event ) :void { mx.core.Application.application.loadSWF(two.swf); } ]] /mx:Script mx:Button id=btnOne label=Button One click={handleOne(event)} y=200/mx:Button /mx:Application two.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import flash.profiler.showRedrawRegions; import mx.controls.Alert; public function handleTwo ( event : Event ) :void { mx.core.Application.application.loadSWF(one.swf); } ]] /mx:Scriptmx:Button id=btnTwo label=Button Two click=handleTwo(event) x=300/mx:Button /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Samuel Reuben Sent: Tuesday, July 25, 2006 12:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] SWFLoader related query / challenge Do you want to interaction between the swf's? You most probably will run into problems here. If you don't mind what are you trying to achive? Thanks, -sam On 7/24/06, Vishwajit Girdhari [EMAIL PROTECTED] wrote: One problem in flex... You have 3 .mxmls that get compiled into .swf ( Say A , B , C . ) step1 You have to load B inside A step2 In B there is a button on click you have to unload B from A and load C step3 Also in C there is a button on click you have to unload C from A and load B --- My approach for Step1 : cool! I am loading B in A using SWFLoader. for step2 : stuck! I am not able get hold of the instance A from which i can change source property of swfLoader (instance) to C.swf for step : whatever works for step 2 :-( -- your thoughts please. thanks vishwajit Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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
[flexcoders] Flex Training/Tutorials
I am new to Flex 2. I have a strong ColdFusion background and some Flash experience as well. Does anyone know of a good place to find tutorials and other means to learn Flex? I have checked the usual places, i.e. Adobe, flex.org, and used the Lynda series. Hope someone has some good information! Thanks, Justin Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] Cairngorm... Where should this go?
Hi I am building an assessment application with Cairngorm. All is going swimmingly but I am wondering where I should put the following. The view collects the respondents answers and fires off an event, containing them. The Controller picks this up and updates the Model... Pretty standard stuff. My problem is that I need to validate the number of answers given. I'm new to the MVC pattern so I am not sure where this should go on. I want to give an alert or something like that to the user if the answers aren't valid. Should I just create the alert in the command that lives in the controller? This doesn't really seem right. Should I raise an event from the model and subscribe to this in the view. This seems more in keeping with what I perceive the roles of each aspect of the architecture to be but seems a bit convoluted. At the end of the day I can get it to work in either of these and probably a few other ways but as I have embarked on this architecture I would like to make sure that I am doing it 'properly'... Thanks in advance... Graham Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm... Where should this go?
Put a method to handle the validation of the form or forms in the view. Then when the user presses thebutton, validate the form(s) and if all is ok then fire the event that calls your command to do whatever you want. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grahampengellySent: Thursday, September 07, 2006 8:41 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm... Where should this go? HiI am building an assessment application with Cairngorm. All is goingswimmingly but I am wondering where I should put the following.The view collects the respondents answers and fires off an event,containing them. The Controller picks this up and updates the Model...Pretty standard stuff.My problem is that I need to validate the number of answers given. I'mnew to the MVC pattern so I am not sure where this should go on. Iwant to give an alert or something like that to the user if theanswers aren't valid. Should I just create the alert in the commandthat lives in the controller? This doesn't really seem right. Should Iraise an event from the model and subscribe to this in the view. Thisseems more in keeping with what I perceive the roles of each aspect ofthe architecture to be but seems a bit convoluted.At the end of the day I can get it to work in either of these andprobably a few other ways but as I have embarked on this architectureI would like to make sure that I am doing it 'properly'...Thanks in advance...Graham AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Component Required
Hi All, I want some example for stock ticker or component for the same if some one has already created that or have some API through which I can implement stock ticker in flex. For refrence (yahoo stock ticker). Thanks Kumar __._,_.___ -- 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: mx.effects.tween
No problem, glad I could help. - Eric --- In flexcoders@yahoogroups.com, Samúel Jónasson [EMAIL PROTECTED] wrote: Thank you Eric :) This is cool. efeminella wrote: Hey Sammi, I had the same problem so I wrote a simple Tween API of my own. You can download the .swc from my blog at: http://www.ericfeminella.com/blog/2006/09/04/as3-custom-tween-api/ http://www.ericfeminella.com/blog/2006/09/04/as3-custom-tween-api/ Below is a very simple usage example: ?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 width=927 height=610 mx:Script ![CDATA[ import mx.controls.Alert; import com.ericfeminella.effects.Tween; import com.ericfeminella.effects.TweenType; private function createTween():void { var tween:Tween = new Tween(this.panel, alpha, TweenType.BASIC_EASEIN, 1, 0, .5); } ]] /mx:Script mx:Panel x=338.5 y=104 width=343 height=306 layout=absolute id=panel /mx:Panel mx:Button id=btn click=this.createTween(); x=338.5 y=418 label=tween alpha / /mx:Application If you have any questions feel free to send me an email at: [EMAIL PROTECTED] mailto:eric%40ericfeminella.com Hope this helps, - Eric Feminella --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Samúel Jónasson sambo@ wrote: Hi, Do you know of any AS3 libraries that I can use instead mx.effects.tween? Are there any available tweening engines for AS3. I am using Flex Builder 2 to build my Actionscript 3 project and I thought I could use the mx.effects.Tween class but it looks like I can't. I get errors like this one when I try: *Unable to resolve a class for ResourceBundle: core.* Sammi Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cairngorm... Where should this go?
Thanks for your suggestion Dimitrios... I had thought of that too but in the MVC architecture, doesn't that put logic into the view? My impression of the architecture is that you should be able to create a different view over the same model without duplicating code. I mean, I don't want to have another view and am more or less positive I never will but looking at it from a purist's point of view is this the 'correct' way to do it? I suppose if the rules that you validate against are kept within the model ie. min and max allowable responses for the current question in my case then your suggestion would be the 'correct' way of doing it. I think I will go with your suggestion but I would be interested to hear if you, or anyone else had any further opinions... Thanks again... Graham --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Put a method to handle the validation of the form or forms in the view. Then when the user presses the button, validate the form(s) and if all is ok then fire the event that calls your command to do whatever you want. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grahampengelly Sent: Thursday, September 07, 2006 8:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm... Where should this go? Hi I am building an assessment application with Cairngorm. All is going swimmingly but I am wondering where I should put the following. The view collects the respondents answers and fires off an event, containing them. The Controller picks this up and updates the Model... Pretty standard stuff. My problem is that I need to validate the number of answers given. I'm new to the MVC pattern so I am not sure where this should go on. I want to give an alert or something like that to the user if the answers aren't valid. Should I just create the alert in the command that lives in the controller? This doesn't really seem right. Should I raise an event from the model and subscribe to this in the view. This seems more in keeping with what I perceive the roles of each aspect of the architecture to be but seems a bit convoluted. At the end of the day I can get it to work in either of these and probably a few other ways but as I have embarked on this architecture I would like to make sure that I am doing it 'properly'... Thanks in advance... Graham -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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,
Re: [flexcoders] Flex Training/Tutorials
On 9/7/06, justin.aloha [EMAIL PROTECTED] wrote: I am new to Flex 2. I have a strong ColdFusion background and some Flash experience as well. Does anyone know of a good place to find tutorials and other means to learn Flex? I have checked the usual places, i.e. Adobe, flex.org, and used the Lynda series. Hope someone has some good information! This was phenomenal too: http://www.totaltraining.com/prod/adobe/flex2_ria.asp I've done both the Lynda.com and the Total Training tutorials, and the Total Training one was much more complete, in my opinion. The Lynda.com set was great to get your feet wet, but you build some nicely advanced components in the Total Training series, which is definitely a best practice when it comes to breaking up your code. Also, I know you said you went to Adobe's site, but Aral Balkan is kicking butt with his continuing Quick Start series: http://www.adobe.com/devnet/flex/?tab:quickstart=1 Make sure to check those out. I can't think of much more for him to cover at this point. Regards, Dave. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] help with uploading file
I have been trying to set up a simple application that allows customer to upload file to particular are of webpage so they can print it. Ex. card, flyer, poster I cannot get it to work. I have watched online demo's etc, but still can't master it. Has anyone done this and could they share with me. I am self taught, and finding this to be a challange. Thanks! Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] Public getter, private setter?
Hi,Ironically, I just ran into this same issue the other day.I had a post I didn't finish yesterday and what you just wrote about Java style was what I was going to say I did. :)This is just a guess but, I would be willing to bet this is a Player bug. If you think about the error, it is the same error you would get if you hadpublic function get height():Numberandpublic var height:Number;... ambiguousSo, I would bet this will be working, right around the time they make private constructors. ;-) Peace, Mike private var _loadedState:int = ConfigModelLocator.LOAD_STATE_UNLOADED; [Bindable(event=loadStateChanged)] public function get loadState():int { return _loadedState; } private function set loadState(state:int):void { _loadedState = state; this.dispatchEvent(new Event(loadStateChanged)); }On 9/7/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Just wondering why I can't declare a property getter as public, and the property setter as protected or private? When I do so, I get 1000 Ambiguous reference to loadState Any work-arounds? I want to have the setter so that I can raise the property change event when I set the state, but I'd rather not make it public. thanks. Thunder see code: private var _loadedState:int = ConfigModelLocator.LOAD_STATE_UNLOADED; [Bindable(event=loadStateChanged)] public function get loadState():int { return _loadedState; } private function set loadState(state:int):void { _loadedState = state; this.dispatchEvent(new Event(loadStateChanged)); } -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Public getter, private setter?
opps,I meantprivate var height:Number;Peace, MikeOn 9/7/06, Michael Schmalle [EMAIL PROTECTED] wrote:Hi,Ironically, I just ran into this same issue the other day. I had a post I didn't finish yesterday and what you just wrote about Java style was what I was going to say I did. :)This is just a guess but, I would be willing to bet this is a Player bug. If you think about the error, it is the same error you would get if you hadpublic function get height():Numberandpublic var height:Number;... ambiguousSo, I would bet this will be working, right around the time they make private constructors. ;-) Peace, Mike private var _loadedState:int = ConfigModelLocator.LOAD_STATE_UNLOADED; [Bindable(event=loadStateChanged)] public function get loadState():int { return _loadedState; } private function set loadState(state:int):void { _loadedState = state; this.dispatchEvent(new Event(loadStateChanged)); }On 9/7/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Just wondering why I can't declare a property getter as public, and the property setter as protected or private? When I do so, I get 1000 Ambiguous reference to loadState Any work-arounds? I want to have the setter so that I can raise the property change event when I set the state, but I'd rather not make it public. thanks. Thunder see code: private var _loadedState:int = ConfigModelLocator.LOAD_STATE_UNLOADED; [Bindable(event=loadStateChanged)] public function get loadState():int { return _loadedState; } private function set loadState(state:int):void { _loadedState = state; this.dispatchEvent(new Event(loadStateChanged)); } -- What goes up, does come down. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Flex Training/Tutorials
I'd suggest these:Flex Whitepapers: http://www.adobe.com/products/flex/whitepapers/ Flex Developer Center: http://www.adobe.com/devnet/flex/ Flex Developer Center--Data Integration: http://www.adobe.com/devnet/flex/data_services.html(the article by JEff Vroom on Architecting RIA is a good start) Flex Developer Center--Flex and AJAX: http://www.adobe.com/devnet/flex/flex_ajax.html All the Flex documentation is linked from: www.flex.org-Mete"justin.aloha" [EMAIL PROTECTED] wrote: I am new to Flex 2. I have a strong ColdFusion background and some Flash experience as well. Does anyone know of a good place to find tutorials and other means to learn Flex? I have checked the usual places, i.e. Adobe, flex.org, and used the Lynda series. Hope someone has some good information! Thanks, Justin Get your email and more, right on the new Yahoo.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] AS3 Project directory structure question
I'm working on an AS3 project, using FB2. It's a library. I want to include a separate demos folder within the project. The demos would use the library, for testing as I write it, and later as examples for people who will use the library. I can't seem to figure out how to have my application classes in the demo folder properly access the source of my library. My directory structure is: myproject --demos --com mysite --projectname All my library source files are in projectname. I can only seem to get demo/test classes to work when they are at the top level within the myproject directory. Basically I would like to import com.mysite.projectname.* into the various test and demo classes within the demo folder. TIA (I accidentally posted this without a subject -- this is a repost, sorry if it appears twice) Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex Training/Tutorials
- Original Message - From: Dave Carabetta [EMAIL PROTECTED] snip This was phenomenal too: http://www.totaltraining.com/prod/adobe/flex2_ria.asp Just like to say that UK developers can get this directly in the UK from http://www.cvision.co.uk/ . I'm not affiliated to this company except as a customer, but they do stock the flex training, but it's not yet on their website.. Paul Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] Dynamic Checkboxes
I am running into a bit of a problem here and could use a nudge to get going again. My problem is that I have a list of Users in a left hand panel of a HBox canvas. In the right hand panel I want to have a bunch of Security Roles the User can be assigned to. I want the right hand panel to show all of the Security Roles that are available, in a listing of checkboxes, but not have any of the boxes checked until I select a User from the list in the left hand panel. When I select a User from the list I want to have a check mark placed in all the boxes that the User is currently associated to. I.E. I have 4 security roles (Sec_Role_1, Sec_Role_2, Sec_Role_3, and Sec_Role_4) and User_A is associated to Sec_Role_2 and Sec_Role_3. When I select User_A from the list in the left hand panel I want a check to appear in the checkbox for Sec_Role_2 and Sec_Role_3 but not Sec_Role_1 or Sec_Role_4. Then I want to be able to make changes to the Security Role to User association (I.E. remove the check from Sec_Role_2 and put a check on Sec_Role_1), hit a button, and save the results back to my database. My questions are as follows. First of all I am not really sure if I should try to place the checkboxes inside a repeater or inside of a data grid using a rendering of a component inside a data grid. The second problem I am having is the list of Security Roles is created by one query (because the number of Security Roles can change) and the association between Security Roles and Users is created by another query. How do I first create the checkboxes and then loop through the second query to check or uncheck the checkboxes? Or do I need to write my CFC so it returns all Security Roless for each User along with if there is an association between the two or not? Any ideas on how I would accomplish this??? I've seen plenty of examples on how you use checkboxes to have forms do things but I haven't seen an example where the checkbox is reflecting data already in a database! Thanks in advance for any help you can offer!!! Have an Ordinary Day... KomputerMan ~|:-) Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] DragEnter and Panels
I am still battling a drag drop issue with panels. It seems, that when the parent of a panel is a valid drop target, but the panel is not, that the panel's DragEnter event isn't fired (which ultimately changes the cursor), until the dragged element crosses over a child of the panel. This is causing us some odd issues. One pattern I've found to this bug is that it only appears when the Panel is launched via the popup manager. Here is a simple test case: TestPanel.mxml ?xml version=1.0 encoding=utf-8? mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; title=Lalala width=400 height=300 dragEnter=doDragEnter(event) mx:Text width= 350 text=jadfh asdfkjh akjfahkjh asdkfh kasdjfhk ajhfkj adhfkjhasdfk jhasdfkj ahs dfk jsd hf kjasd hfkja sdhfk jsdah fkj sdh k kfjsdhf/ mx:TextInput/ mx:Label text=lalala/ mx:Script ![CDATA[ import mx.events.DragEvent; private function doDragEnter(event:DragEvent):void{ trace(this.className + .doDragEnter); } ]] /mx:Script /mx:Panel MainApp.mxml == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=popup() dragEnter=DragManager.acceptDragDrop(event.target as IUIComponent) mx:Script ![CDATA[ import mx.managers.PopUpManager; import mx.core.IUIComponent; import mx.managers.DragManager; import mx.core.DragSource; private function popup():void{ var win:TestPanel = PopUpManager.createPopUp (this,TestPanel,false) as TestPanel; win.x = 200; win.y= 200; } private function doDrag(event:MouseEvent):void{ var ds:DragSource = new DragSource(); var dragInitiator:*= event.currentTarget; ds.addData(data,format); DragManager.doDrag(dragInitiator,ds,event); } ]] /mx:Script mx:Box backgroundColor=#ff mouseDown=doDrag(event) height=50 width=50/ /mx:Application If you run this app, you'll notice that dragging the red box over the borders or title area do not show the appropriate feedback (red x cursor), but it will, if you drag over the children of the panel (Text, TextInput or Label). Has anyone found a valid work around for this? Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] help with uploading file
What is the exact problem?On 9/7/06, familypetdetective [EMAIL PROTECTED] wrote: I have been trying to set up a simple application that allows customer to upload file to particular are of webpage so they can print it. Ex. card, flyer, poster I cannot get it to work. I have watched online demo's etc, but still can't master it. Has anyone done this and could they share with me. I am self taught, and finding this to be a challange. Thanks! __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Embeding Font unicodeRange Bug?
I'm trying to embed a font in an actionscript project. That works fine, but if I try to set a specific a unicode range I start fo have problems. The code and error follows: [Embed(systemFont='Arial', fontName='myArial', mimeType='application/x-font', unicodeRange='U+-U+007F,U+0080–U+00FF' )] public var Font:Class; Error: invalid Unicode range '0080–U+00FF'Note that if I change the range to 'U+-U+007F,U+00FF' it works fine. Anyone seen this before? Is it a bug?- Dan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] FLEX Developer: Telecommute or in Jacksonville, FL
Logix3 is a leading edge services organization specializing in the dedicated to providing quality data solutions to retail and wholesale distribution companies. We are currently expanding our product line to include a series of RIA based solutions and have an immediate requirement for 2 business oriented Flex developers. These positions are available as either in-house or as a telecommuting position. Developer This position requires a senior level developer skilled in rapid development of FLEX applications. The ideal candidate will thrive in a work environment that requires strong problem solving skills and independent self-direction. The candidate will also have extensive experience in a fast-paced and innovative development environment. The ideal candidate would have senior level proficiency in the following areas: FLEX ActionScript 3.0 Rich Internet Application development Candidates having experience with the following are preferred: Component development based on the MX architecture Working knowledge of Flex integration C# / WebOrb Flex Demonstrated capability to effectively produce quality business applications/components with limited guidance. Microsoft .Net C# To be considered for this position, please e-mail your resume and code samples to [EMAIL PROTECTED] Telecommute candidates must have a development grade system and high speed internet access. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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 config Flex Messaging with Sun One Java System Application server?
--- In flexcoders@yahoogroups.com, flexhtoo [EMAIL PROTECTED] wrote: I want to use flex's messaging service in Sun One application server which is developed by Sun Microsystem. I want to implyment Chat program with Flex. So I need to know how to config and how to add lib files of Flex components into appliacation server? There are sample cconfiguration file but it doesn't work? What worng is it. services service id=message-service class=flex.messaging.services.MessageService messageType=flex.messaging.services.AsyncMessage adapter adapter-definition id=actionscript class=flex.messaging.services.messaging.adapters.ActionScriptAdapter default=false /adapter-definition adapter-definition id=jms class=flex.messaging.services.messaging.adapters.JMSAdapter default=true /adapter-definition /adapter destination id=chat-topic-jms properties jms destination-typeTopic/destination-type message-typejavax.jms.TextMessage/message- type connection- factoryjms/ConnectionFactoryconnection-factory destination-jndi- namequeue/LogWriter/destination-jndi-name destination-namequeue/LogWriter/destination- name delivery-modeNON_PERSISTENT/delivery-mode message-priorityDEFAULT_PRIORITY/message- priority acknowledge-modeAUTO_ACKNOWLEDGE/acknowledge- mode transacted-sessionsfalse/transacted-sessions !-- (Optional) JNDI environment. Use when using JMS on a remote JNDI server. Used to specify the JNDI environment to access an external JMS provider. -- initial-context-environment property nameContext.SECURITY_PRINCIPAL/name valueanonymous/value /property property nameContext.SECURITY_CREDENTIALS/name valueanonymous/value /property property nameContext.PROVIDER_URL/name valuehttp://{server.name}:1856/value /property property nameContext.INITIAL_CONTEXT_FACTORY/name valuefiorano.jms.runtime.naming.FioranoInitialContextFactory /value /property /initial-context-environment /jms /properties /destination /services Please give how to set classpath of flex messaging in web application. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: 9-Slice scaling problem with Skinning
works fine for me. i set all my scale 9 guides in flash, export the swf and it works fine.On Sep 6, 2006, at 11:30 PM, [sami] wrote:This seems to happen only with bitmap images. If I draw something into symbols in flash they are scaled correctly but if I place bitmaps into symbols then scaling does not work. Wonder what is wrong with my setup..On 9/6/06, [sami] flex.archives@gmail.com wrote:Hello,been struggling with 9-Slice scaling and Skinning. Downloaded Abobe's example from http://www.adobe.com/devnet/flex/articles/flex_skins.html .. Then edited Skin template with Flash 8 (also tried 9 beta) and made sure 9-Slice is turned on. I replaced many of the symbols with gifs and pngs inside the flex_skins.swf. Button.skinned works fine but Button does not use 9-Slice scaling. So if I use images directly from files and add scale grid through code no problem. Anyone had the same behavior? Here's the code example:?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" mx:Style Button { disabledSkin: Embed(source="swc/Button_disabledSkin.png", scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); downSkin: Embed(source="swc/Button_downSkin.gif", scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); overSkin: Embed(source="swc/Button_overSkin.gif", scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); upSkin: Embed(source="swc/Button_upSkin.gif", scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); } Button.skinned { disabledSkin: Embed(source="swc/flex_skins.swf", symbol="Button_disabledSkin"); downSkin: Embed(source="swc/flex_skins.swf", symbol="Button_downSkin"); overSkin: Embed(source="swc/flex_skins.swf", symbol="Button_overSkin"); upSkin: Embed(source="swc/flex_skins.swf", symbol="Button_upSkin"); } /mx:Style mx:Button x="10" y="10" label="Small" / mx:Button x="10" y="40" label="Bit Bigger" / mx:Button x="10" y="70" label="Getting Near Large" / mx:Button x="10" y="100" label="Friggin Huge Extravaganza Notification Button" / mx:Button styleName="skinned" x="10" y="150" label="Small" / mx:Button styleName="skinned" x="10" y="180" label="Bit Bigger" / mx:Button styleName="skinned" x="10" y="210" label="Getting Near Large" / mx:Button styleName="skinned" x="10" y="240" label="Friggin Huge Extravaganza Notification Button" //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 SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Re: Cairngorm... Where should this go?
I always do "what simply works". Sometimes I do something, and days/weeks/months review it and see that it could be better/or is causing a problem, so I refactor. I dont think there is one perfect way, it also depends on the project as well sometimes. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grahampengellySent: Thursday, September 07, 2006 9:39 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm... Where should this go? Thanks for your suggestion Dimitrios...I had thought of that too but in the MVC architecture, doesn't thatput logic into the view? My impression of the architecture is that youshould be able to create a different view over the same model withoutduplicating code. I mean, I don't want to have another view and ammore or less positive I never will but looking at it from a purist'spoint of view is this the 'correct' way to do it?I suppose if the rules that you validate against are kept within themodel ie. min and max allowable responses for the current question inmy case then your suggestion would be the 'correct' way of doing it.I think I will go with your suggestion but I would be interested tohear if you, or anyone else had any further opinions...Thanks again...Graham--- In [EMAIL PROTECTED]ups.com, "Dimitrios Gianninas"dimitrios.giannina[EMAIL PROTECTED] wrote: Put a method to handle the validation of the form or forms in theview. Then when the user presses the button, validate the form(s) andif all is ok then fire the event that calls your command to dowhatever you want. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]On Behalf Of grahampengelly Sent: Thursday, September 07, 2006 8:41 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Cairngorm... Where should this go? Hi I am building an assessment application with Cairngorm. All is going swimmingly but I am wondering where I should put the following. The view collects the respondents answers and fires off an event, containing them. The Controller picks this up and updates the Model... Pretty standard stuff. My problem is that I need to validate the number of answers given. I'm new to the MVC pattern so I am not sure where this should go on. I want to give an alert or something like that to the user if the answers aren't valid. Should I just create the alert in the command that lives in the controller? This doesn't really seem right. Should I raise an event from the model and subscribe to this in the view. This seems more in keeping with what I perceive the roles of each aspect of the architecture to be but seems a bit convoluted. At the end of the day I can get it to work in either of these and probably a few other ways but as I have embarked on this architecture I would like to make sure that I am doing it 'properly'... Thanks in advance... Graham -- WARNING --- This electronic message and its attachments may containconfidential, proprietary or legally privileged information, which issolely for the use of the intended recipient. No privilege or otherrights are waived by any unintended transmission or unauthorizedretransmission of this message. If you are not the intended recipientof this message, or if you have received it in error, you shouldimmediately stop reading this message and delete it and allattachments from your system. The reading, distribution, copying orother use of this message or its attachments by unintended recipientsis unauthorized and may be unlawful. If you have received this e-mailin error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir desrenseignements confidentiels, exclusifs ou légalement privilégiésdestinés au seul usage du destinataire visé. L'expéditeur original nerenonce à aucun privilège ou à aucun autre droit si le présent messagea été transmis involontairement ou s'il est retransmis sans sonautorisation. Si vous n'êtes pas le destinataire visé du présentmessage ou si vous l'avez reçu par erreur, veuillez cesserimmédiatement de le lire et le supprimer, ainsi que toutes ses piècesjointes, de votre système. La lecture, la distribution, la copie outout autre usage du présent message ou de ses pièces jointes par despersonnes autres que le destinataire visé ne sont pas autorisés etpourraient être illégaux. Si vous avez reçu ce courrier électroniquepar erreur, veuillez en aviser l'expéditeur. AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis
[flexcoders] Datagrid: Setting verticalscrollposition to where selectedIndex is
Hello all, I have a question about our favorite topic -- datagrids! This is with Flex 2. Let's say that I have 2 identical datagrids, both with the same dataprovider. What I want to accomplish is when a user selects something in datagrid1, I want that same item to be selected in datagrid2, INCLUDING scrolling down to where that item exists. Here's the code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.events.ListEvent; public function keepSelected(event:ListEvent):void { if (grid1.selectedIndex = 0) { var i:int, len:int; len = grid2.dataProvider.length; for (i=0; ilen; i++) { if (grid2.dataProvider[i].oid == grid1.selectedItem.oid) { grid2.selectedIndex = i; // -- [TODO -- // Figure out how to get the verticalScrollPosition set correctly. break; } } } } ]] /mx:Script mx:Array id=myData mx:Object oid=1 region=North newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=2 region=South newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=3 region=East newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=4 region=West newsales=60 usedsales=20 parts=15 accessories=5 / mx:Object oid=5 region=North_NEW newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=6 region=South_NEW newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=7 region=East_NEW newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=8 region=West_NEW newsales=60 usedsales=20 parts=15 accessories=5 / mx:Object oid=9 region=North_OLD newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=10 region=South_OLD newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=11 region=East_OLD newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=12 region=West_OLD newsales=60 usedsales=20 parts=15 accessories=5 / /mx:Array mx:DataGrid x=10 y=10 id=grid1 itemClick=keepSelected(event) height=199 dataProvider={myData} mx:columns mx:DataGridColumn headerText=Region dataField=region/ mx:DataGridColumn headerText=New Sales dataField=newsales/ mx:DataGridColumn headerText=Used Sales dataField=usedsales/ /mx:columns /mx:DataGrid mx:DataGrid x=320 y=10 id=grid2 height=199 dataProvider={myData} mx:columns mx:DataGridColumn headerText=Region dataField=region/ mx:DataGridColumn headerText=New Sales dataField=newsales/ mx:DataGridColumn headerText=Used Sales dataField=usedsales/ /mx:columns /mx:DataGrid /mx:Application --- Any ideas? I just want to scroll the user down to the place where the selectedItem is displayed. Is this even possible? Thanks, Jacob Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: Cairngorm... Where should this go?
Yes, Im with you on the what simply works attitude. I just thought that maybe the MVC pattern had some direction on this kind of scenario. I have implemented your earlier suggestion and it is working fine Thanks for your help. Graham Blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: 07 September 2006 15:29 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Cairngorm... Where should this go? I always do what simply works. Sometimes I do something, and days/weeks/months review it and see that it could be better/or is causing a problem, so I refactor. I dont think there is one perfect way, it also depends on the project as well sometimes. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of grahampengelly Sent: Thursday, September 07, 2006 9:39 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Cairngorm... Where should this go? Thanks for your suggestion Dimitrios... I had thought of that too but in the MVC architecture, doesn't that put logic into the view? My impression of the architecture is that you should be able to create a different view over the same model without duplicating code. I mean, I don't want to have another view and am more or less positive I never will but looking at it from a purist's point of view is this the 'correct' way to do it? I suppose if the rules that you validate against are kept within the model ie. min and max allowable responses for the current question in my case then your suggestion would be the 'correct' way of doing it. I think I will go with your suggestion but I would be interested to hear if you, or anyone else had any further opinions... Thanks again... Graham --- In [EMAIL PROTECTED]ups.com, Dimitrios Gianninas dimitrios.giannina[EMAIL PROTECTED] wrote: Put a method to handle the validation of the form or forms in the view. Then when the user presses the button, validate the form(s) and if all is ok then fire the event that calls your command to do whatever you want. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of grahampengelly Sent: Thursday, September 07, 2006 8:41 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Cairngorm... Where should this go? Hi I am building an assessment application with Cairngorm. All is going swimmingly but I am wondering where I should put the following. The view collects the respondents answers and fires off an event, containing them. The Controller picks this up and updates the Model... Pretty standard stuff. My problem is that I need to validate the number of answers given. I'm new to the MVC pattern so I am not sure where this should go on. I want to give an alert or something like that to the user if the answers aren't valid. Should I just create the alert in the command that lives in the controller? This doesn't really seem right. Should I raise an event from the model and subscribe to this in the view. This seems more in keeping with what I perceive the roles of each aspect of the architecture to be but seems a bit convoluted. At the end of the day I can get it to work in either of these and probably a few other ways but as I have embarked on this architecture I would like to make sure that I am doing it 'properly'... Thanks in advance... Graham -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de
RE: [flexcoders] Data interpolation in ColumnSets
Hi Tom. chances are you're running into the same bug (stacked series + interpolation effects) that a number of people have hit. Can you send a longer stack trace? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom FitzpatrickSent: Thursday, September 07, 2006 5:07 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Data interpolation in ColumnSets I have a Cartesian chart containing two ColumnSeries in two ColumnSets, like this:mx:seriesmx:ColumnSet columnWidthRatio=".375" offset="-.21" type="stacked"mx:ColumnSeries alpha=".6" yField="costs" /mx:ColumnSeries alpha=".6" yField="oneTime"//mx:ColumnSetmx:ColumnSet columnWidthRatio=".375" offset="0.21" type="stacked"mx:ColumnSeries yField="revenue" /mx:ColumnSeries yField="overhead" //mx:ColumnSet/mx:seriesMy problem is that data interpolation doesn't seem to work in this context.I set up an interpolation like this:mx:SeriesInterpolate id="moveData"duration="500"minimumElementDuration="200"elementOffset="0"/But when I try to call it either from the individual ColumnSeries or the ColumnSets, using:showDataEffect="moveData"I get an error message: "Cannot access a property or method of a null object reference."Can anyone spot the problem - or is this not possible in this setup?- 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] using application.callLater from a non-UI component?
Hi all, I need to use the equivalent of UIComponent.callLater() but from a non-UIComponent class. I've tried using the top level application using mx.core.Application.application.callLater() but that doesn't seem to work to call my non-ui object's method. Does that function only work if you're calling it from the same class as the callback method? Does anyone know of another way to do this? thanks, Thunder see code example import mx.core.Application; public class nonUIClass { public function invalidateSomething():void { // try to call the update function on next update mx.core.Application.application.callLater(updateSomething); // I've tried both of these methods.. // shouldn't make a difference right? mx.core.Application.application.callLater(this.updateSomething); } public function updateSomething():void { // not being called by callLater in invalidateSomething() } } Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] DataGrid DataProvider question
I think the service object is already at the root (result) node, try: dg.dataProvider = service.function_set; Also, I am surprised lastResult works in the AS code. As I understand, you should only use lastResult in binding expressions, but use event.result in handler functions. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Wednesday, September 06, 2006 11:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid DataProvider question Dear all, i have face a problem about dataprovider .Actually it is about data model For example i can run this with no problem dg.dataProvider = exec_function.lastResult // HttpService result But when i assign it to a model , say: mx:Model id=service result function_set{exec_function.lastResult}/function_set /result /mx:Model and then assign it to the datagrid dg.dataProvider = service.result.function_set Nothing have been show. Can someone help me? thx capho __._,_.___ -- 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] web service and datagrid
What happens in the result handler fin()? By the way, you should type the event object more specifically, RPCEvent I believe Also in a trace or alert, you will want use e.result.toXMLString() in order to see the xml. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ing.Sist, Rafael Briones Sent: Wednesday, September 06, 2006 7:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] web service and datagrid Hi , I have a webservice created with AXIS Java, and I try to get the result . The result of the webservice is a XML Document. I have an Object wsQryProgress that is my webservice wsQryProgress.doQueryWS is the only method in my webservice , and too I have a datagrid and binding with dataProvider={wsQryProgress.doQueryWS.lastResult} I don't know why the datagrid is empty Here is my code I hope you can help me quote: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:WebService id=wsQryProgress wsdl=http://localhost/axis/services/QryProgress?wsdl useProxy=false result=fin(event); fault=falla(event); mx:operation name=doQueryWS mx:request in0for each tblcredencial where chrusername = '[EMAIL PROTECTED]com' no-lock/in0 in1Credenciales/in1 in2Credencial/in2 in3idcredencial,chrusername/in3 in4http://www.toditocard.com/cgi-bin/tcardB/util/XML/wGenXml.p/in4 /mx:request /mx:operation /mx:WebService mx:Panel x=10 y=10 width=400 height=300 layout=absolute title=Usuarios tcard mx:TextInput x=10 y=23 id=txtUser/ mx:Button x=198 y=23 label=Enviar id=btnSend click=SendUser();/ mx:DataGrid x=10 y=70 id=dgUsuario dataProvider={wsQryProgress.doQueryWS.lastResult} mx:columns mx:DataGridColumn headerText=idCredencial dataField=idcredencial/ mx:DataGridColumn headerText=Username dataField=chrusername/ /mx:columns /mx:DataGrid mx:Label x=10 y=229 text=quot; quot; id=lblqry/ /mx:Panel mx:Script ![CDATA[ import mx.utils.ArrayUtil; import mx.controls.Alert; public var strQry:String; public var strUrl:String = http://www.toditocard.com/cgi-bin/tcardB/util/XML/wGenXml.p; public var strRoot:String = Credenciales; public var strRow:String = Credencial; public var strCampos:String = chrusername,idcredencial; [Bindable] public var credenciales:Array; public function EnviaQry(strUser:String):void { strQry = for each tblcredencial where chrusername = ' + strUser + ' no-lock:; wsQryProgress.doQueryWS.send(); } public function SendUser():void { EnviaQry(txtUser.text); } public function fin(e:Object):void{ Alert.show(e.result,Result XML,Alert.OK,this,null,null,Alert.OK); } public function falla(e:Event):void { txtUser.text=e.toString(); } ]] /mx:Script /mx:Application __ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx __._,_.___ -- 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: webservice in a ComboBox
Set up a result handler function so that you can inspect and manipulate the web service result data. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of omkarjoe Sent: Thursday, September 07, 2006 6:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: webservice in a ComboBox Hi Kristian, I don't know much about the webservices but I'll try to help... java.utils.list is basically an ArrayList object. ArryList is converted into Array type Actionscript object by Flex. Before attaching this Array as dataprovider to combobox u need to convert it to ArrayCollection. U can do so by providing it as source to Array Collection Object and then provide this arrayCollection as dataprovider to ComboBox. I know this is so generick info but I can help u more if u can post some of ur java as well as flex code... Cheers!!! --- In flexcoders@yahoogroups.com, Kristian [EMAIL PROTECTED] wrote: Hi.Hope someone can help me. I need to put the result from a webservice in a ComboBox.The webservice method returns a java.util.List. Any one who can show me how please? __ Try Live.com - din egen kjappe hjemmeside med alle tingene du bryr deg om, på ett sted. http://www.live.com/getstarted __._,_.___ -- 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] using application.callLater from a non-UI component?
Hey,Try this;import mx.core.UIComponent;public class nonUIClass{ private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } engine.callLater(func); } public function invalidateSomething():void { engine.callLater(updateSomething); } public function updateSomething():void { }}Peace, MikeOn 9/7/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi all, I need to use the equivalent of UIComponent.callLater() but from a non-UIComponent class. I've tried using the top level application using mx.core.Application.application.callLater() but that doesn't seem to work to call my non-ui object's method. Does that function only work if you're calling it from the same class as the callback method? Does anyone know of another way to do this? thanks, Thunder see code example import mx.core.Application; public class nonUIClass { public function invalidateSomething():void { // try to call the update function on next update mx.core.Application.application.callLater(updateSomething); // I've tried both of these methods.. // shouldn't make a difference right? mx.core.Application.application.callLater(this.updateSomething); } public function updateSomething():void { // not being called by callLater in invalidateSomething() } } -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] using application.callLater from a non-UI component?
sent it to soon;import mx.core.UIComponent;public class nonUIClass{ private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { callLaterObject.callLater (updateSomething); } public function updateSomething():void { }}Peace, Mike __._,_.___ -- 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] using application.callLater from a non-UI component?
Hmm.. my post didn't seem to send...import mx.core.UIComponent;public class nonUIClass{ private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { invalidate(updateSomething); } public function updateSomething():void { }}Peace, MikeOn 9/7/06, Michael Schmalle [EMAIL PROTECTED] wrote: sent it to soon;import mx.core.UIComponent;public class nonUIClass{ private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { callLaterObject.callLater (updateSomething); } public function updateSomething():void { }}Peace, Mike -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Controlling Position of mx.controls.Alert
Can the position of an Alert window be controlled? Rather than centered, I would like my Alert box to be positioned 20 pixels from the top of the stage. When I have created an Alert instance, I have been unable to get move() or setting x and y to control the position of the Alert window.I see that the position of a TitleWindow can be controlled.LiveDocs for TitleWindow has an example using localToGlobal() at the bottom of this page: http://livedocs.macromedia.com/flex/2/langref/mx/containers/TitleWindow.htmlWhen modifying that TitleWindow example to use an Alert instead, the same code fails to control the position of the Alert window (where it did control the TitleWindow).Following below is the TitleWindow example modified to use an Alert.I appreciate assistance understanding this. Pete** TitleWindow example modified to use an Alert **?xml version="1.0" encoding="utf-8"? !-- Main application to demonstrate TitleWindow layout container. -- mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[import mx.controls.Alert; //import mx.managers.PopUpManager; //import mx.containers.TitleWindow; import flash.geom.Point; private var point1:Point = new Point(); // Open the TitleWindow container. // Cast the return value of the createPopUp() method // to SimpleTitleWindowExample, the name of the// component containing the TitleWindow container. private function showWindow():void { var login:Alert;//var login:SimpleTitleWindowExample=SimpleTitleWindowExample(PopUpManager.createPopUp( this, SimpleTitleWindowExample , true)); // Calculate position of TitleWindow in Application's coordinates.point1.x=myButton.x;point1.y=myButton.y; point1=myButton.localToGlobal(point1); login = Alert.show('Hello World!', 'Message'); login.x=point1.x+25; login.y=point1.y+25; // Pass a reference to the TextInput control// to the TitleWindow container so that the // TitleWindow container can return data to the main application. //login.loginName=returnedName; } ]] /mx:Script mx:Panel title="TitleWindow Container Example" height="75%" width="75%"paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" mx:Button id="myButton" label="Click to open the TitleWindow container"click="showWindow();"/ mx:Text id="returnedName" text="" width="100%"/ /mx:Panel /mx:Application Stay in the know. Pulse on the new Yahoo.com. Check it out. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: Dynamic assign itemRenderer to DataGridColumn
Ok, I get your idea, however, what if I need a custome component to be placed in the itemrenderer, so I can dynamically assing it special feature? Lets say I want to set the text attribute to Write something here... when the component initializes. Thanks! --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: var aux:TextInput = new TextInput(); columna.itemRenderer = aux as IFactory; can you do this instead columna.itemRenderer = new ClassFactory(TextInput); --- In flexcoders@yahoogroups.com, Daniel danboh@ wrote: Hello! This time Im trying to assing an itemRenderer to a DataGridColumn using this: -- var columna:DataGridColumn = new DataGridColumn(); columna.headerText = something columna.dataField = something else columna.editable = true; columna.rendererIsEditor = true; var aux:TextInput = new TextInput(); columna.itemRenderer = aux as IFactory; columna.editorDataField=text; -- The above code doesnt work, although it doesnt present any errors. The reason why I need to do that this way is that I can dynamically change properties in the itemRenderer. Any Ideas Thanks! Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: Dynamic assign itemRenderer to DataGridColumn
Ok, I get your idea, however, what if I need a custome component to be placed in the itemrenderer, so I can dynamically assing it special feature? Lets say I want to set the text attribute to Write something here... when the component initializes. Thanks! --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: var aux:TextInput = new TextInput(); columna.itemRenderer = aux as IFactory; can you do this instead columna.itemRenderer = new ClassFactory(TextInput); --- In flexcoders@yahoogroups.com, Daniel danboh@ wrote: Hello! This time Im trying to assing an itemRenderer to a DataGridColumn using this: -- var columna:DataGridColumn = new DataGridColumn(); columna.headerText = something columna.dataField = something else columna.editable = true; columna.rendererIsEditor = true; var aux:TextInput = new TextInput(); columna.itemRenderer = aux as IFactory; columna.editorDataField=text; -- The above code doesnt work, although it doesnt present any errors. The reason why I need to do that this way is that I can dynamically change properties in the itemRenderer. Any Ideas Thanks! Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Datagrid: Setting verticalscrollposition to where selectedIndex is
Hi Jacob, This should do the trick; without using a loop: public function keepSelected(event:ListEvent):void { if (grid1.selectedIndex = 0) { grid2.selectedItem = grid1.selectedItem; grid2.verticalScrollPosition = grid1.verticalScrollPosition; } } -TH --- In flexcoders@yahoogroups.com, j_sevlie [EMAIL PROTECTED] wrote: Hello all, I have a question about our favorite topic -- datagrids! This is with Flex 2. Let's say that I have 2 identical datagrids, both with the same dataprovider. What I want to accomplish is when a user selects something in datagrid1, I want that same item to be selected in datagrid2, INCLUDING scrolling down to where that item exists. Here's the code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.events.ListEvent; public function keepSelected(event:ListEvent):void { if (grid1.selectedIndex = 0) { var i:int, len:int; len = grid2.dataProvider.length; for (i=0; ilen; i++) { if (grid2.dataProvider[i].oid == grid1.selectedItem.oid) { grid2.selectedIndex = i; // -- [TODO -- // Figure out how to get the verticalScrollPosition set correctly. break; } } } } ]] /mx:Script mx:Array id=myData mx:Object oid=1 region=North newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=2 region=South newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=3 region=East newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=4 region=West newsales=60 usedsales=20 parts=15 accessories=5 / mx:Object oid=5 region=North_NEW newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=6 region=South_NEW newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=7 region=East_NEW newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=8 region=West_NEW newsales=60 usedsales=20 parts=15 accessories=5 / mx:Object oid=9 region=North_OLD newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=10 region=South_OLD newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=11 region=East_OLD newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=12 region=West_OLD newsales=60 usedsales=20 parts=15 accessories=5 / /mx:Array mx:DataGrid x=10 y=10 id=grid1 itemClick=keepSelected(event) height=199 dataProvider={myData} mx:columns mx:DataGridColumn headerText=Region dataField=region/ mx:DataGridColumn headerText=New Sales dataField=newsales/ mx:DataGridColumn headerText=Used Sales dataField=usedsales/ /mx:columns /mx:DataGrid mx:DataGrid x=320 y=10 id=grid2 height=199 dataProvider={myData} mx:columns mx:DataGridColumn headerText=Region dataField=region/ mx:DataGridColumn headerText=New Sales dataField=newsales/ mx:DataGridColumn headerText=Used Sales dataField=usedsales/ /mx:columns /mx:DataGrid /mx:Application --- Any ideas? I just want to scroll the user down to the place where the selectedItem is displayed. Is this even possible? Thanks, Jacob Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] Datagrid: Setting verticalscrollposition to where selectedIndex is
Hi Jacob, Try this: grid2.verticalScrollPosition = grid1.verticalScrollPosition; regards, peter From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of j_sevlie Sent: Thursday, September 07, 2006 11:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid: Setting verticalscrollposition to where selectedIndex is Hello all, I have a question about our favorite topic -- datagrids! This is with Flex 2. Let's say that I have 2 identical datagrids, both with the same dataprovider. What I want to accomplish is when a user selects something in datagrid1, I want that same item to be selected in datagrid2, INCLUDING scrolling down to where that item exists. Here's the code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import mx.events.ListEvent; public function keepSelected(event:ListEvent):void { if (grid1.selectedIndex = 0) { var i:int, len:int; len = grid2.dataProvider.length; for (i=0; ilen; i++) { if (grid2.dataProvider[i].oid == grid1.selectedItem.oid) { grid2.selectedIndex = i; // -- [TODO -- // Figure out how to get the verticalScrollPosition set correctly. break; } } } } ]] /mx:Script mx:Array id=myData mx:Object oid=1 region=North newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=2 region=South newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=3 region=East newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=4 region=West newsales=60 usedsales=20 parts=15 accessories=5 / mx:Object oid=5 region=North_NEW newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=6 region=South_NEW newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=7 region=East_NEW newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=8 region=West_NEW newsales=60 usedsales=20 parts=15 accessories=5 / mx:Object oid=9 region=North_OLD newsales=50 usedsales=25 parts=15 accessories=10 / mx:Object oid=10 region=South_OLD newsales=40 usedsales=35 parts=10 accessories=15 / mx:Object oid=11 region=East_OLD newsales=65 usedsales=15 parts=10 accessories=10 / mx:Object oid=12 region=West_OLD newsales=60 usedsales=20 parts=15 accessories=5 / /mx:Array mx:DataGrid x=10 y=10 id=grid1 itemClick=keepSelected(event) height=199 dataProvider={myData} mx:columns mx:DataGridColumn headerText=Region dataField=region/ mx:DataGridColumn headerText=New Sales dataField=newsales/ mx:DataGridColumn headerText=Used Sales dataField=usedsales/ /mx:columns /mx:DataGrid mx:DataGrid x=320 y=10 id=grid2 height=199 dataProvider={myData} mx:columns mx:DataGridColumn headerText=Region dataField=region/ mx:DataGridColumn headerText=New Sales dataField=newsales/ mx:DataGridColumn headerText=Used Sales dataField=usedsales/ /mx:columns /mx:DataGrid /mx:Application --- Any ideas? I just want to scroll the user down to the place where the selectedItem is displayed. Is this even possible? Thanks, Jacob __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?
Thanks Darron! That works beautifully. Although I can't believe you don't think SuperCheckBox is an accurate name :) Michael, I would be interested in hearing your rationale, because so far it seems like a perfectly valid way of dealing with the underlying processes of Flash/Flex. Thanks all, Ben --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: It's not actually the events that are giving you a problem, but rather it's the tricky nature of dealing with auto-sizing text measurement. Add this statement to your measure function: trace( textHeight = + textField.textHeight ); trace( height = + textField.height ); When the components are first added into your VBox, you'll see that their textHeight is actually 0 and the textField height is 4. Now, when you roll over the checkboxes and measure is called again, you'll see those numbers change to be the actual values, and that's when they're drawn correctly. Here's what I changed your code to to get something that works. It's a bit of a hack in that it just calls measure again in the constructor after things have had time to measure, and I cleaned it up a bit to not rely on those events (you should override createChildren, as I've done below). Note I've also re-named the class to describe its purpose better: package { import mx.controls.CheckBox; import flash.text.TextFieldAutoSize; public class MultiLineCheckBox extends CheckBox { public function MultiLineCheckBox() { super(); callLater( measure ); } override protected function createChildren():void { super.createChildren(); textField.wordWrap = true; textField.autoSize = TextFieldAutoSize.LEFT; textField.border = true; } override protected function measure():void { super.measure(); // Make sure the text field has measured itself if ( textField.height 4 ) { measuredMinHeight = minHeight = textField.height; } } } } I hope this helps! -d ben.clinkinbeard wrote: Thanks for the reply Abdul. However, if I remove the FlexEvent.CREATION_COMPLETE listener, the checkboxes overlap each other. Until I roll over them that is... once I roll over them they each pop into the correct, non-overlapping position. I believe the problem is that the textbox has not yet resized when INITIALIZE is called. The behavior is virtually identical if I remove the INITIALIZE listener, leaving only CREATION_COMPLETE; the items overlap until they are rolled over. Very strange. Any ideas? Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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] Embedding Arial Unicode
Hello; I'm trying to embed a single font that can render Roman and non- Roman scripts. I think that Arial Unicode should be able to do this, so I'm trying to embed the font with the entry in my style sheet: @font-face { src:url( fonts/arialuni.ttf ); fontStyle: normal; fontWeight: normal; fontFamily: embeddedVerdana; } But I get this error: exception during transcoding: Unexpected exception encountered while reading font file :/PerforceDepot/galiano/Galiano.Tobias_Patton/Client/DashboardJo bsView/fonts/arialuni.ttf' Any advice? Tobias. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing 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: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?
Hi Ben,Well you know what, people have called me extreme, can you believe that?! ;-)Anyway, I am totally an advocate of callLater(), just not using callLater() with the framework template methods.IE - commitProperties()- measure()- updateDisplayList()Think about it this way, the LayoutManager that is the scheduler for the whole framework uses callLater(), but it schedules all calls to the above methods in a very methodical, sequential order. Order, the is what is beautiful about the template method pattern, you can always count on the order of things happening.When you add a call like callLater(measure) that messes things up.Example, you always run the chance of calling measure() in a component and it could call another invalidation method. Essentially calling callLater(measure) is the equivalent of the framework calling invalidateSize().The difference is the invalidateSize() schedules the measure() call based on nets level and other invalidation factors. The last statement is my rationale for not doing it. :)Peace, MikeOn 9/7/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Thanks Darron! That works beautifully. Although I can't believe you don't think SuperCheckBox is an accurate name :) Michael, I would be interested in hearing your rationale, because so far it seems like a perfectly valid way of dealing with the underlying processes of Flash/Flex. Thanks all, Ben --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: It's not actually the events that are giving you a problem, but rather it's the tricky nature of dealing with auto-sizing text measurement. Add this statement to your measure function: trace( textHeight = + textField.textHeight ); trace( height = + textField.height ); When the components are first added into your VBox, you'll see that their textHeight is actually 0 and the textField height is 4. Now, when you roll over the checkboxes and measure is called again, you'll see those numbers change to be the actual values, and that's when they're drawn correctly. Here's what I changed your code to to get something that works. It's a bit of a hack in that it just calls measure again in the constructor after things have had time to measure, and I cleaned it up a bit to not rely on those events (you should override createChildren, as I've done below). Note I've also re-named the class to describe its purpose better: package { import mx.controls.CheckBox; import flash.text.TextFieldAutoSize; public class MultiLineCheckBox extends CheckBox { public function MultiLineCheckBox() { super(); callLater( measure ); } override protected function createChildren():void { super.createChildren(); textField.wordWrap = true; textField.autoSize = TextFieldAutoSize.LEFT; textField.border = true; } override protected function measure():void { super.measure(); // Make sure the text field has measured itself if ( textField.height 4 ) { measuredMinHeight = minHeight = textField.height; } } } } I hope this helps! -d ben.clinkinbeard wrote: Thanks for the reply Abdul. However, if I remove the FlexEvent.CREATION_COMPLETE listener, the checkboxes overlap each other. Until I roll over them that is... once I roll over them they each pop into the correct, non-overlapping position. I believe the problem is that the textbox has not yet resized when INITIALIZE is called. The behavior is virtually identical if I remove the INITIALIZE listener, leaving only CREATION_COMPLETE; the items overlap until they are rolled over. Very strange. Any ideas? -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Data interpolation in ColumnSets
OK - assuming the right way to do this is to call the showDataEffect functon on the ColumnSet, here's the error message I receive: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.effects.effectClasses::SeriesInterpolateInstance/play() at mx.effects::EffectInstance/startEffect() at mx.effects.effectClasses::ParallelInstance/play() at mx.charts.chartClasses::ChartBase/::advanceEffectState() at mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::updateDisplayList() at mx.charts.chartClasses::CartesianChart/mx.charts.chartClasses:CartesianChart::updateDisplayList() at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/::validateDisplayList() at mx.managers::LayoutManager/::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() The error alert is shown while the app is starting up. I get a different error when I call the showDataEffect function on the individual ColumnSeries in the ColumnSets. If that's helpful I can send that as well. - Tom Ely Greenfield wrote: Hi Tom. chances are you're running into the same bug (stacked series + interpolation effects) that a number of people have hit. Can you send a longer stack trace? Ely. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Tom Fitzpatrick *Sent:* Thursday, September 07, 2006 5:07 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Data interpolation in ColumnSets I have a Cartesian chart containing two ColumnSeries in two ColumnSets, like this: mx:series mx:ColumnSet columnWidthRatio=.375 offset=-.21 type=stacked mx:ColumnSeries alpha=.6 yField=costs / mx:ColumnSeries alpha=.6 yField=oneTime/ /mx:ColumnSet mx:ColumnSet columnWidthRatio=.375 offset=0.21 type=stacked mx:ColumnSeries yField=revenue / mx:ColumnSeries yField=overhead / /mx:ColumnSet /mx:series My problem is that data interpolation doesn't seem to work in this context. I set up an interpolation like this: mx:SeriesInterpolate id=moveData duration=500 minimumElementDuration=200 elementOffset=0/ But when I try to call it either from the individual ColumnSeries or the ColumnSets, using: showDataEffect=moveData I get an error message: Cannot access a property or method of a null object reference. Can anyone spot the problem - or is this not possible in this setup? - Tom -- Flexcoders Mailing 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] help with uploading file
Are you using Internet Explorer or Firefox, and have you tried it in both. We had some problems uploading files to a php script using firefox as the browser. The problem was the PHP session ID. Try your movie in both browsers and post a copy of your code to the mailing list. Ethan -- Flexcoders Mailing 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] Centering a checbox in a datagrid column
Hi All, I'm new to Flex and having a blast learning it but every now and then I run into small things that make me scratch my head. I have a column in a datagrid that uses an itemRenderer to fill the cells with checkboxes. The checkboxes are flush left against the wall of the cell. In searching your threads, it seems most of you position the checkbox by wrapping the checkbox in another component, usuaully an HBox or VBox, in the itemRenderer. That worked for me except that I lose the selected property for each row. The datagrid is populated with data from an XML file, and the first attribute for each node is either true or false, which then sets the checkbox as checked or not. Once I add aVBox or HBox to my itemRenderer, I lose this and none of the checkboxes are checked. It would seem a custom script is needed to ensure the checkboxes are checked. All I want to do is center my checkboxes. There must be a simple way of doing this without writing another 50 to 100 lines of code. Am I missing something? Thanks, Jack -- Flexcoders Mailing 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: Which chart was clicked
Ely: Thanks alot. Worked fine and I learned something about closures. Dave --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: You've got three options: 1) shove the id off into a member field, and grab it when the RO returns. This is the least well designed response, since it can break in use cases where you've got multiple requests out and you don't just want last-out-wins. Might be OK for your use case though. 2) send the id up to the RO, and have it include it in the response. A little wasteful, since the RO doesn't care about the id, but in general this 'cookie' pattern is a way to maintain state across RO calls. 3) use closures. you could do something like this: private function chartClickHandler(e:MouseEvent):void { var id:String = UIComponent(e.currentTarget).id; var roCB:Function = function(e:ResultEvent):void { nameList = event.result as ArrayCollection; currentState = showNames; gridPanel.title = id; myRemoteObject.getNomeForNames.removeEventListener (result,roCB); } myRemoteObject.getNomeForNames.addEventListener(result,roCB); myRemoteObject.getNomeForNames(id); } PieChart id=... click=chartClickHandler(event); ... / Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dffmyco Sent: Tuesday, September 05, 2006 8:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Which chart was clicked I have 3 pie charts which when clicked run the same remoteObject method. Is there a way within the method that I can determine which pie chart was clicked. I want to pass the id of the clicked chart as a variable in the result function of the remoteObject method. Thanks, Dave mx:PieChart id=Citrus click=myRemoteObject.getNomeforNames('Citrus') showDataTips=true dataProvider={citrusData}/ mx:RemoteObject id=myRemoteObject destination=ColdFusion showBusyCursor=true source=fungaldatabases.fungaldatabasesstats.stats fault=Alert.show(event.fault.faultString, 'Error'); mx:method name=getNomeforNames result=showNames(event) /mx:method /mx:RemoteObject public function showNames(event:ResultEvent):void{ nameList=event.result as ArrayCollection currentState = showNames; gridPanel.title = 'whould like to use the id of the chart selected' } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: using application.callLater from a non-UI component?
hmm... still no go... any ideas why this wouldn't work? does the UIComponent actually need to be added to a parent UIComponent? Does it have to do with the fact that the UIComponent is private? I'm kinda at a loss. Thunder --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hmm.. my post didn't seem to send... import mx.core.UIComponent; public class nonUIClass { private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { invalidate(updateSomething); } public function updateSomething():void { } } Peace, Mike On 9/7/06, Michael Schmalle [EMAIL PROTECTED] wrote: sent it to soon; import mx.core.UIComponent; public class nonUIClass { private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { callLaterObject.callLater (updateSomething); } public function updateSomething():void { } } Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: Could not load WSDL of .NET WebService in Flex 1.5
Hi Pablo, No, I did not. I stored your WSDL in a separate file and downloaded it from there (so, within the scope of my Flex project). Unless you have a crossdomain.xml file set up, I can impossibly load the WSDL from the original URL. Cheers, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek Sent: Wednesday, September 06, 2006 8:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5 Franck, did you try downloading it from the original URL inside Flex? Thanks, -Pablo Gustavo Apanasionek __._,_.___ -- 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: Which chart was clicked
Yup. Closures are confusing at first, but very very cool. And a great way to maintain local state in a way that makes it much easier to write sequential code in an asynchronous event driven way (i.e., when making remote calls, or tracking mouse movement, etc). Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dffmycoSent: Thursday, September 07, 2006 11:48 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Which chart was clicked Ely:Thanks alot. Worked fine and I learned something about closures.Dave--- In [EMAIL PROTECTED]ups.com, "Ely Greenfield" [EMAIL PROTECTED]. wrote: You've got three options: 1) shove the id off into a member field, and grab it when the RO returns. This is the least well designed response, since it can break in use cases where you've got multiple requests out and you don't just want last-out-wins. Might be OK for your use case though. 2) send the id up to the RO, and have it include it in the response. A little wasteful, since the RO doesn't care about the id, but in general this 'cookie' pattern is a way to maintain state across RO calls. 3) use closures. you could do something like this: private function chartClickHandler(e:MouseEvent):void { var id:String = UIComponent(e.currentTarget).id; var roCB:Function = function(e:ResultEvent):void { nameList = event.result as ArrayCollection; currentState = "showNames"; gridPanel.title = id; myRemoteObject.getNomeForNames.removeEventListener("result",roCB); } myRemoteObject.getNomeForNames.addEventListener("result",roCB); myRemoteObject.getNomeForNames(id); } PieChart id="..." click="chartClickHandler(event);" ... / Ely. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of dffmyco Sent: Tuesday, September 05, 2006 8:28 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Which chart was clicked I have 3 pie charts which when clicked run the same remoteObject method. Is there a way within the method that I can determine which pie chart was clicked. I want to pass the id of the clicked chart as a variable in the result function of the remoteObject method. Thanks, Dave mx:PieChart id="Citrus" click="myRemoteObject.getNomeforNames('Citrus')" showDataTips="true" dataProvider="{citrusData}"/ mx:RemoteObject id="myRemoteObject" destination="ColdFusion" showBusyCursor="true" source="fungaldatabases.fungaldatabasesstats.stats" fault="Alert.show(event.fault.faultString, 'Error');" mx:method name="getNomeforNames" result="showNames(event)" /mx:method /mx:RemoteObject public function showNames(event:ResultEvent):void{ nameList=event.result as ArrayCollection currentState = "showNames"; gridPanel.title = 'whould like to use the id of the chart selected' } __._,_.___ -- 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: using application.callLater from a non-UI component?
OK GOT ITNeeded the systemManager ref.. this does work;package{import mx.core.UIComponent;import mx.core.Application;public class Test{ private var callLaterObject:UIComponent; public function invalidate(func:Function):void { trace(invalidate()) if (!callLaterObject) { callLaterObject = new UIComponent(); callLaterObject.systemManager = Application.application.systemManager; } callLaterObject.callLater(func); } public function invalidateSomething():void { trace(invalidateSomething()) invalidate(updateSomething); } public function updateSomething():void { trace(updateSomething()) }}}Peace, Mike On 9/7/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: hmm... still no go... any ideas why this wouldn't work? does the UIComponent actually need to be added to a parent UIComponent? Does it have to do with the fact that the UIComponent is private? I'm kinda at a loss. Thunder --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hmm.. my post didn't seem to send... import mx.core.UIComponent; public class nonUIClass { private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { invalidate(updateSomething); } public function updateSomething():void { } } Peace, Mike On 9/7/06, Michael Schmalle [EMAIL PROTECTED] wrote: sent it to soon; import mx.core.UIComponent; public class nonUIClass { private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { callLaterObject.callLater (updateSomething); } public function updateSomething():void { } } Peace, Mike -- What goes up, does come down. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Embedding Arial Unicode
I had this exact same issue. I solved it by using the local(Arial Unicode MS) and specifying a subset of unicode characters to embed. We should report this. tobiaspatton wrote: Hello; I'm trying to embed a single font that can render Roman and non- Roman scripts. I think that Arial Unicode should be able to do this, so I'm trying to embed the font with the entry in my style sheet: @font-face { src: url( fonts/arialuni.ttf ); fontStyle: normal; fontWeight: normal; fontFamily: embeddedVerdana; } But I get this error: exception during transcoding: Unexpected exception encountered while reading font file :/PerforceDepot/galiano/Galiano.Tobias_Patton/Client/DashboardJo bsView/fonts/arialuni.ttf' Any advice? Tobias. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
Franck, one word made it: "crossdomain.xml"! I knew I was missing the obvious here! As I always used Webservices of my own server, the crossdomain.xml definition had never been a problem. It worked perfectly, thanks for everything and for your patience too! -Pablo Gustavo Apanasionek __._,_.___ -- 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5
LOL: never expected that crossdomain.xml would solve your problem :) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek Sent: Thursday, September 07, 2006 9:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5 Franck, one word made it: crossdomain.xml! I knew I was missing the obvious here! As I always used Webservices of my own server, the crossdomain.xml definition had never been a problem. It worked perfectly, thanks for everything and for your patience too! -Pablo Gustavo Apanasionek __._,_.___ -- 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Centering a checbox in a datagrid column
Hi Jack, Placing the CheckBox in a VBox or HBox shouldn't affect the data object. Here is an example: http://www.cflex.net/showFileDetails.cfm?ObjectID=443Object=FileChannelID=1 However, if you just want to adjust the positioning of the CheckBox, you can use paddingLeft in the DataGridColumn tag, to move it to the center. -TH--- In flexcoders@yahoogroups.com, "Jack OMelia" [EMAIL PROTECTED] wrote: Hi All, I'm new to Flex and having a blast learning it but every now and then I run into small things that make me scratch my head. I have a column in a datagrid that uses an itemRenderer to fill the cells with checkboxes. The checkboxes are flush left against the wall of the cell. In searching your threads, it seems most of you position the checkbox by wrapping the checkbox in another component, usuaully an HBox or VBox, in the itemRenderer. That worked for me except that I lose the selected property for each row. The datagrid is populated with data from an XML file, and the first attribute for each node is either true or false, which then sets the checkbox as checked or not. Once I add aVBox or HBox to my itemRenderer, I lose this and none of the checkboxes are checked. It would seem a custom script is needed to ensure the checkboxes are checked. All I want to do is center my checkboxes. There must be a simple way of doing this without writing another 50 to 100 lines of code. Am I missing something? Thanks, Jack __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Why is import mandatory?
Hi, Just a small actionscript question. I have the following interface definition: package a.b.c { public interface SecurityWebservice { function findUser(userId:String):d.e.f.UserDto; } } It does not compile (1046: Type was not found), which I find strange since I specify the fully qualified name of the type. When I include the statement import d.e.f.UserDto; it compiles. Can someone explain why this is? Thanks, Franck __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: using application.callLater from a non-UI component?
Awesome dude! That got it. Thanks for the tip. This is definitely a useful one! Thunder --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: OK GOT IT Needed the systemManager ref.. this does work; package { import mx.core.UIComponent; import mx.core.Application; public class Test { private var callLaterObject:UIComponent; public function invalidate(func:Function):void { trace(invalidate()) if (!callLaterObject) { callLaterObject = new UIComponent(); callLaterObject.systemManager = Application.application.systemManager; } callLaterObject.callLater(func); } public function invalidateSomething():void { trace(invalidateSomething()) invalidate(updateSomething); } public function updateSomething():void { trace(updateSomething()) } } } Peace, Mike On 9/7/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: hmm... still no go... any ideas why this wouldn't work? does the UIComponent actually need to be added to a parent UIComponent? Does it have to do with the fact that the UIComponent is private? I'm kinda at a loss. Thunder --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hmm.. my post didn't seem to send... import mx.core.UIComponent; public class nonUIClass { private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { invalidate(updateSomething); } public function updateSomething():void { } } Peace, Mike On 9/7/06, Michael Schmalle teoti.graphix@ wrote: sent it to soon; import mx.core.UIComponent; public class nonUIClass { private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function invalidateSomething():void { callLaterObject.callLater (updateSomething); } public function updateSomething():void { } } Peace, Mike -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] RemoteObject Setup
Very cool, thanks again Gred :-) Darren From: greg h [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] RemoteObject Setup Date: Wed, 6 Sep 2006 21:02:21 -0700 Darren, Glad to hear that you got Ben's Phone Selector Sample Application up and going. It is pretty sweet, isn't it? Now that you have your basic CF/Flex Builder 2/mx:RemoteObject configuration working, you might want to also check out some of the other amazing goodies that the good folks at Adobe put together specifically for CF developers moving to Flex 2 and using mx:RemoteObject First on my list is the Flex Builder 2 ColdFusion/Flex Application Wizard. Essentially it is a code generator. You use a visual query builder that is provided to build SQL against any tables in your datasources, and off the Wizard goes to create everything else: CFCs and MXML. (And of course the MXML uses mx:RemoteObject to call the methods on the CFCs that are generated. Pretty much RAD at its finest!) There are two links for Captivate demos that provide introductions to using the App Gen Wizard at the following link (total runtime of the two demos combined is about 23 minutes): www.adobe.com/devnet/coldfusion/articles/wizards.html (There is also a link there for a third Captivate demo of Other Wizards and Utilities that are also a part of the ColdFusion Extensions for Flex Builder 2.) fyi ... At the end of your Flex Builder 2 installation a pop-up prompted you to install the ColdFusion Extensions for Flex Builder 2. You can check if you have them installed by going to the main menu in Flex Builder 2 and going to either: 1) File -- New -- Other -- ColdFusion Wizards 2) Window -- Other Views -- ColdFusion If you do not see either of these, post back and I will dig up the instructions on how to install the Extensions. The documentation for the ColdFusion Extensions for Flex Builder 2 is in Chapter 5 of the documentation that can be download from here: http://download.macromedia.com/pub/documentation/en/flex/2/using_cf_with_flex2.pdf Lastly, Nahuel Foronda and Laura Arguello published an article last month in the ColdFusion Developer's Journal that also focuses on using mx:RemoteObject and is entitled Your First Flex Application with a ColdFusion Backend: The wow factor plus usability http://coldfusion.sys-con.com/read/256076_1.htm I have not yet had a chance to go through this article, but Nahuel and Laura do top notch work, so I expect that this article will be another great resource. Happy Flexing! g On 9/6/06, Darren Houle [EMAIL PROTECTED] wrote: Greg, where do I send the check? :-) It did work, although I had to tweak a little... the CFIDE.samples.Phones.CF.Catalog path is hard-coded all over the place and I used a different path. Ben also forgot a file in his instructions (you have to copy over the Thumbs.mxml file too) but that was obvious and I got it working. Now I get to take it apart and learn how to plug RemoteObjects into my own projects. Thanks Greg!! -- Flexcoders Mailing 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: Passing variables from Flex to swf
thanx for the tips. been tinkering with it but can't figure it out. I'm a novice at best but don't mind tinkeringIf the loaded swf was created with FlashMX, would the syntax be the same as if it was generated by Flex (as in the example)? I think thats where I'm losing it. heres a snipit from the example, if the Loaded App (loadedSM) was created with MX does the syntax change? public function updateNestedLabels():void { loadedSM.application["lblOne"].text = "I was just updated"; loadedSM.application["varOne"] = "I was just updated"; }Bill Lane [EMAIL PROTECTED] wrote: If you loaded the swf using swfLoader you need to use the SystemManagerto comunicate with the loaded swf. You'll find a good example in thedocs at:Flex 2 Developer's Guide Building User Interfaces for FlexApplications Using ControlsSWFLoader controlBill Lane--- In [EMAIL PROTECTED]ups.com, "Marcelo de Moraes Serpa"[EMAIL PROTECTED].. wrote: I think you'll need to use LocalConnection... On 9/4/06, robavey [EMAIL PROTECTED] wrote: Hi there, Just wondering if its possible to pass a selected item object (froma tilelist) to a flash movie which has been loaded into the Flex app? thanx ahead of time aVe __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?
I think I understand your point, but those events are also called at random by rolling over elements and such, aren't they? I guess the way I see it is that we are just faking a rollOver :) Ben --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi Ben, Well you know what, people have called me extreme, can you believe that?! ;-) Anyway, I am totally an advocate of callLater(), just not using callLater() with the framework template methods. IE - commitProperties() - measure() - updateDisplayList() Think about it this way, the LayoutManager that is the scheduler for the whole framework uses callLater(), but it schedules all calls to the above methods in a very methodical, sequential order. Order, the is what is beautiful about the template method pattern, you can always count on the order of things happening. When you add a call like callLater(measure) that messes things up. Example, you always run the chance of calling measure() in a component and it could call another invalidation method. Essentially calling callLater(measure) is the equivalent of the framework calling invalidateSize(). The difference is the invalidateSize() schedules the measure() call based on nets level and other invalidation factors. The last statement is my rationale for not doing it. :) Peace, Mike On 9/7/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Thanks Darron! That works beautifully. Although I can't believe you don't think SuperCheckBox is an accurate name :) Michael, I would be interested in hearing your rationale, because so far it seems like a perfectly valid way of dealing with the underlying processes of Flash/Flex. Thanks all, Ben --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Darron J. Schall darron@ wrote: It's not actually the events that are giving you a problem, but rather it's the tricky nature of dealing with auto-sizing text measurement. Add this statement to your measure function: trace( textHeight = + textField.textHeight ); trace( height = + textField.height ); When the components are first added into your VBox, you'll see that their textHeight is actually 0 and the textField height is 4. Now, when you roll over the checkboxes and measure is called again, you'll see those numbers change to be the actual values, and that's when they're drawn correctly. Here's what I changed your code to to get something that works. It's a bit of a hack in that it just calls measure again in the constructor after things have had time to measure, and I cleaned it up a bit to not rely on those events (you should override createChildren, as I've done below). Note I've also re-named the class to describe its purpose better: package { import mx.controls.CheckBox; import flash.text.TextFieldAutoSize; public class MultiLineCheckBox extends CheckBox { public function MultiLineCheckBox() { super(); callLater( measure ); } override protected function createChildren():void { super.createChildren(); textField.wordWrap = true; textField.autoSize = TextFieldAutoSize.LEFT; textField.border = true; } override protected function measure():void { super.measure(); // Make sure the text field has measured itself if ( textField.height 4 ) { measuredMinHeight = minHeight = textField.height; } } } } I hope this helps! -d ben.clinkinbeard wrote: Thanks for the reply Abdul. However, if I remove the FlexEvent.CREATION_COMPLETE listener, the checkboxes overlap each other. Until I roll over them that is... once I roll over them they each pop into the correct, non-overlapping position. I believe the problem is that the textbox has not yet resized when INITIALIZE is called. The behavior is virtually identical if I remove the INITIALIZE listener, leaving only CREATION_COMPLETE; the items overlap until they are rolled over. Very strange. Any ideas? -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cairngorm... Where should this go?
Sorry but I have to interject on this. Intsrestingly enough I asked a similar question some days ago and did not receive a response from a design pettern perspective, but from a what works perspective. I am actually 85% of the tim all about what works, so not there is anything wrong with it. But, I would like to hear some other rhoughts on it since Validation is integral to just about every RIA that accepts data on the planet. In MVC, the Validators seem to be more of a middle ground issue. Since the Model contains the business logic and is fed data to process and the controller merely acts as waystation back and forth from view to model, it would seem to me that there should almost be another letter in MVC since validation doesn't really fit anywhere. However, it would seem to me that a Validation function would be placed in the model itself. Since the view should only query the model to get its current state and accept the user input, it seems it should not be in the View to promote modularity. {myModel.dataIsValid == true} Because what if you wanted to add another View to the application?? (As the OP mentioned) Seems to me like it would be malformed in the View. H... Perhaps MVCV - ;) -- Flexcoders Mailing 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 App Without Toolbars, Address Bar, etc.
Title: Launching App Without Toolbars, Address Bar, etc. Hi, Looking at Adobe's JamJar example . . . . http://labs.adobe.com/technologies/jamjar/ Is there a way to launch an application into the browser(IE) from FlexBuilder where it loads in the IE browser without the toolbar, address bar, menus, etc. I understand you can load the application/swf from a web page via _javascript_ - window.open. But for testing, it would be much easier from FlexBuilder. Can it be done from FlexBuilder? If so, what changes need to be made? Thanks, Jack __._,_.___ -- 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] File Download: Can scriptTimeLimit only be set globally?
I've got a flex UI driving a reporting tool in which some reports can take as long as 30 mins. Flash times out at 15 seconds by default. I can set the scriptTimeLimit in the application tag but that will apply to the whole app ...which I'm not very keen on. Anyone know of another solution? I will be at MAX and will pay for the answer in cold beers. Cheers, Stace -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?
Well,I was speaking of calling the callLater() in the constructor.Anyway, things mess up when they get complicated, you are not doing anything complicated.My main point is, if I had time, I could find the bug and fix it using the framework and callLater(measure) does not need to be used. Sorry, you are talking with a major perfectionist. ;-)Peace, MikeOn 9/7/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: I think I understand your point, but those events are also called at random by rolling over elements and such, aren't they? I guess the way I see it is that we are just faking a rollOver :) Ben --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi Ben, Well you know what, people have called me extreme, can you believe that?! ;-) Anyway, I am totally an advocate of callLater(), just not using callLater() with the framework template methods. IE - commitProperties() - measure() - updateDisplayList() Think about it this way, the LayoutManager that is the scheduler for the whole framework uses callLater(), but it schedules all calls to the above methods in a very methodical, sequential order. Order, the is what is beautiful about the template method pattern, you can always count on the order of things happening. When you add a call like callLater(measure) that messes things up. Example, you always run the chance of calling measure() in a component and it could call another invalidation method. Essentially calling callLater(measure) is the equivalent of the framework calling invalidateSize(). The difference is the invalidateSize() schedules the measure() call based on nets level and other invalidation factors. The last statement is my rationale for not doing it. :) Peace, Mike On 9/7/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Thanks Darron! That works beautifully. Although I can't believe you don't think SuperCheckBox is an accurate name :) Michael, I would be interested in hearing your rationale, because so far it seems like a perfectly valid way of dealing with the underlying processes of Flash/Flex. Thanks all, Ben --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Darron J. Schall darron@ wrote: It's not actually the events that are giving you a problem, but rather it's the tricky nature of dealing with auto-sizing text measurement. Add this statement to your measure function: trace( textHeight = + textField.textHeight ); trace( height = + textField.height ); When the components are first added into your VBox, you'll see that their textHeight is actually 0 and the textField height is 4. Now, when you roll over the checkboxes and measure is called again, you'll see those numbers change to be the actual values, and that's when they're drawn correctly. Here's what I changed your code to to get something that works. It's a bit of a hack in that it just calls measure again in the constructor after things have had time to measure, and I cleaned it up a bit to not rely on those events (you should override createChildren, as I've done below). Note I've also re-named the class to describe its purpose better: package { import mx.controls.CheckBox; import flash.text.TextFieldAutoSize; public class MultiLineCheckBox extends CheckBox { public function MultiLineCheckBox() { super(); callLater( measure ); } override protected function createChildren():void { super.createChildren(); textField.wordWrap = true; textField.autoSize = TextFieldAutoSize.LEFT; textField.border = true; } override protected function measure():void { super.measure(); // Make sure the text field has measured itself if ( textField.height 4 ) { measuredMinHeight = minHeight = textField.height; } } } } I hope this helps! -d ben.clinkinbeard wrote: Thanks for the reply Abdul. However, if I remove the FlexEvent.CREATION_COMPLETE listener, the checkboxes overlap each other. Until I roll over them that is... once I roll over them they each pop into the correct, non-overlapping position. I believe the problem is that the textbox has not yet resized when INITIALIZE is called. The behavior is virtually identical if I remove the INITIALIZE listener, leaving only CREATION_COMPLETE; the items overlap until they are rolled over. Very strange. Any ideas? -- What goes up, does come down. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software
RE: [flexcoders] Why is import mandatory?
I cant say why, but import IS mandatory, per the docs (migration pdf?), and the fully qualified path should only be used for disambiguation. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Franck de Bruijn Sent: Thursday, September 07, 2006 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Why is import mandatory? Hi, Just a small actionscript question. I have the following interface definition: package a.b.c { public interface SecurityWebservice { function findUser(userId:String):d.e.f.UserDto; } } It does not compile (1046: Type was not found), which I find strange since I specify the fully qualified name of the type. When I include the statement import d.e.f.UserDto; it compiles. Can someone explain why this is? Thanks, Franck __._,_.___ -- 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] File Download: Can scriptTimeLimit only be set globally?
I am pretty sure this can only be set globally. Possibly you could set/reset it in code before/after your long process. You are probably going to also be unhappy to hear that as of FP 8, the scriptTimeLimit can only be set for a maximum of 60 seconds. This is per the docs (Application) and I have verified it directly. I am very unhappy about this, as it has frozen one of my apps into using FP 7. I also have a very long running process that can take many minutes. I am going to have to port this process to the server before I can move this app to Flex 2, FP 9. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Thursday, September 07, 2006 4:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] File Download: Can scriptTimeLimit only be set globally? I've got a flex UI driving a reporting tool in which some reports can take as long as 30 mins. Flash times out at 15 seconds by default. I can set the scriptTimeLimit in the application tag but that will apply to the whole app ...which I'm not very keen on. Anyone know of another solution? I will be at MAX and will pay for the answer in cold beers. Cheers, Stace -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Centering a checbox in a datagrid column
Jack, check out this thread: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg34180.html It's pretty much along the same lines as what you want, but with the extra code to handle1 or 0instead of selected. You can probably modify that to accept the words "true" and "false" instead. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack OMeliaSent: Thursday, September 07, 2006 1:47 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Centering a checbox in a datagrid column Hi All,I'm new to Flex and having a blast learning it but every now and thenI run into small things that make me scratch my head.I have a column in a datagrid that uses an itemRenderer to fill thecells with checkboxes. The checkboxes are flush left against the wallof the cell. In searching your threads, it seems most of you positionthe checkbox by wrapping the checkbox in another component, usuaullyan HBox or VBox, in the itemRenderer.That worked for me except that I lose the selected property for eachrow. The datagrid is populated with data from an XML file, and thefirst attribute for each node is either true or false, which then setsthe checkbox as checked or not. Once I add aVBox or HBox to myitemRenderer, I lose this and none of the checkboxes are checked. Itwould seem a custom script is needed to ensure the checkboxes are checked.All I want to do is center my checkboxes. There must be a simple wayof doing this without writing another 50 to 100 lines of code. Am Imissing something?Thanks,Jack --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 9/6/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 9/6/2006
RE: [flexcoders] Re: Cairngorm... Where should this go?
It's quite simple. Validation is half of what business rules are. Validating that information is of a necessary format. The data format (and thus, it's validation rules) are technology and presentation agnostic. The model should have the final say on whether it's contents are currently valid or not. Ruby on Rails has validation in the model, and the view has helper functionality which makes presenting validation errors easily... But the actual validation itself happens on the model. In Flex, the reason validators are in the views is because that's where we can -do- something about invalid data easily, ie highlight a field, point a help bubble at it, stop the form from submitting etc. I guess because Flex is a presentation framework, the emphasis is on the display of/interaction with data. The V is the primary aspect. With Rails, since it's a full web stack, the validation sits where it logically should; in the model. As to what to actually do with this information; go with the convention: stick it in the view. That's the way the framework has been designed, and everything should fall into place with it. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lostinrecursion Sent: 07 September 2006 10:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm... Where should this go? Sorry but I have to interject on this. Intsrestingly enough I asked a similar question some days ago and did not receive a response from a design pettern perspective, but from a what works perspective. I am actually 85% of the tim all about what works, so not there is anything wrong with it. But, I would like to hear some other rhoughts on it since Validation is integral to just about every RIA that accepts data on the planet. In MVC, the Validators seem to be more of a middle ground issue. Since the Model contains the business logic and is fed data to process and the controller merely acts as waystation back and forth from view to model, it would seem to me that there should almost be another letter in MVC since validation doesn't really fit anywhere. However, it would seem to me that a Validation function would be placed in the model itself. Since the view should only query the model to get its current state and accept the user input, it seems it should not be in the View to promote modularity. {myModel.dataIsValid == true} Because what if you wanted to add another View to the application?? (As the OP mentioned) Seems to me like it would be malformed in the View. H... Perhaps MVCV - ;) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 2006/09/06 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 2006/09/06 -- Flexcoders Mailing 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: Problem with Sortable Draggable DataGrid
Here's another question... when I drag a row to a different spot in the datagrid... how can I figure out where in the grid it landed? I need to be able to have a user drag and drop rows to order the datagrid to their liking and then be able to get the current order of the rows. Is this possible? ~harris --- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED] wrote: Hi there. I am having a problem with a DataGrid that allows users to drag items in the control to new positions with the list. Dragging items works when the control is initially loaded, but stops working after a column header is clicked that sorts the items using the default mechanism. Is there a way to have dragging items to other positions within the grid still work after sorting on the columns? thanks, ~harris -- Flexcoders Mailing 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] Why is import mandatory?
Even when you fully qualify it, the compiler does NOT know about that type. It needs to be imported.Thanks. -- Anas MughalTracy Spratt [EMAIL PROTECTED] wrote: I cant say why, but import IS mandatory, per the docs (migration pdf?), and the fully qualified path should only be used for disambiguation.TracyFrom: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Franck de BruijnSent: Thursday, September 07, 2006 3:27 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Why is import mandatory?Hi,Just a small actionscript question.I have the following interface definition:package a.b.c { public interface SecurityWebservice { function findUser(userId:String):d.e.f.UserDto; } } It does not compile (1046: Type was not found), which I find strange since I specify the fully qualified name of the type.When I include the statement import d.e.f.UserDto; it compiles. Can someone explain why this is?Thanks, Franck Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. __._,_.___ -- 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: Passing variables from Flex to swf
If it was created by Flash MX then it is AS2 and you can only communicate with it via localConnection: http://www.adobe.com/go/749eaa47 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rob Sent: Thursday, September 07, 2006 3:58 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Passing variables from Flex to swf thanx for the tips. been tinkering with it but can't figure it out. I'm a novice at best but don't mind tinkering If the loaded swf was created with FlashMX, would the syntax be the same as if it was generated by Flex (as in the example)? I think thats where I'm losing it. heres a snipit from the example, if the Loaded App (loadedSM) was created with MX does the syntax change? public function updateNestedLabels():void { loadedSM.application[lblOne].text = I was just updated; loadedSM.application[varOne] = I was just updated; } Bill Lane [EMAIL PROTECTED]edu.au wrote: If you loaded the swf using swfLoader you need to use the SystemManager to comunicate with the loaded swf. You'll find a good example in the docs at: Flex 2 Developer's Guide Building User Interfaces for Flex Applications Using ControlsSWFLoader control Bill Lane --- In [EMAIL PROTECTED]ups.com, Marcelo de Moraes Serpa [EMAIL PROTECTED].. wrote: I think you'll need to use LocalConnection... On 9/4/06, robavey [EMAIL PROTECTED] wrote: Hi there, Just wondering if its possible to pass a selected item object (from a tilelist) to a flash movie which has been loaded into the Flex app? thanx ahead of time aVe __._,_.___ -- 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Loading Language
Good day I was wondering if it's possible to change the application Loading and Initializing image language or text. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Loading Language
Here's a good article with examples. http://www.onflex.org/ted/2006/07/flex-2-custom-preloaders.php -TH--- In flexcoders@yahoogroups.com, "Daniel" [EMAIL PROTECTED] wrote: Good day I was wondering if it's possible to change the application Loading and Initializing image language or text. Thanks. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Loading Language
Yes, check out the mx.preloaders.DownloadProgressBar class. The Dev guide also has a very good chapter on this. Jason From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Sent: Thursday, September 07, 2006 1:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Loading Language Good day I was wondering if it's possible to change the application Loading and Initializing image language or text. Thanks. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Why is import mandatory?
IMO, without importing, the compiler has no way of knowing anything about our custom data types, etc (fully-qualified or not). That's how I look @ it anyway, plus its "best practice" (a/k/a less debugging). If you notice, Flex Builder will auto-insert import statements for you when you make reference to a built-in class without importing first. With custom stuff it's up to us. JM2C...=) P E A C E Hasan hasan.otuome.com www.marxmedia.net thesourcecode.org Adobe Certified Professional (Flash MX2004 Developer) Anas Mughal wrote: Even when you fully qualify it, the compiler does NOT know about that type. It needs to be imported. Thanks. -- Anas Mughal __._,_.___ -- 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: Launching App Without Toolbars, Address Bar, etc.
Hello Everyone Sounds interesting. Any ideas on how this can work? J --- In flexcoders@yahoogroups.com, Jack Caldwell [EMAIL PROTECTED] wrote: Hi, Looking at Adobe's JamJar example . . . . http://labs.adobe.com/technologies/jamjar/ Is there a way to launch an application into the browser(IE) from FlexBuilder where it loads in the IE browser without the toolbar, address bar, menus, etc. I understand you can load the application/swf from a web page via javascript - window.open. But for testing, it would be much easier from FlexBuilder. Can it be done from FlexBuilder? If so, what changes need to be made? Thanks, Jack -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] flex 2.0 logging
On the client, this shows up if you just turn on the client side logging facility. You can do this by adding the MXML tag: mx:TraceTarget/ It then goes into the flashlog.txt which lives in %HOMEDRIVE%\%HOMEPATH% by default. A couple of other notes on flashlog.txt it only shows up with the debug player and its location can be overridden if you have an mm.cfg in that folder which specifies a TraceOutputFileName property. If you are talking about server side logging using the FDS server, you go into WEB-INF/flex/services-config.xml, find the line which says level= and change that attributes value to Debug. Then make sure you have Message.* enabled as one of the patterns below. This logs a debug message in the app servers log file before and after each message processed by the server for each client. Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sinacapho Sent: Thursday, September 07, 2006 12:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex 2.0 logging Dear all, Can someone tell we that how i can get logging of the Httpservice result . I remember that i can find it in flex.log in Flex 1.5 after the config the xml file. But i dont know that i can do it in Flex 2.0 thx capho __._,_.___ -- 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 __,_._,___