[flexcoders] Remote Desktop
Can we do Remote Desktop feature in Flex like one in GoToMeeting
Re: [flexcoders] difference between stage and application?
If memory serves, Container.addChild() overrides DisplayObject.addChild(), and requires that the argument implement the IUIComponent interface, which means only Flex components can be added. You need to use Container.rawChildren.addChild(Sprite) instead. You may also have to override updateDisplayList() to get it to layout correctly, because you're basically bypassing the Flex framework layout mechanism. So unless you really need to, using the Flex Integration Kit is much less hassle. What the kit does is wrap your Sprite or MovieClip object in a UIMovieClip class, which implements the bare bones interfaces required for a non-Flex object to work with the Flex framework, such as IUIComponent. You can also use the UIMovieClip class source to wrap your Sprite or non-Flex object without the Flex Integration Kit, this way you can bypass using Flash altogether if you find you don't need it. ___ Joseph Balderson, Flex Flash Platform Developer :: http://joeflash.ca Author, Professional Flex 3 :: http://tinyurl.com/profx3book Alex Harui wrote: You should use the Flash/Flex Component Kit to wrap your Flash content. Flash content won’t work well in Flex without being wrapped in some fashion. The minimum thing you could do is stick in an mx:UIComponent of the appropriate size in the application and addChild the sprite to it. Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *michaeljonknight *Sent:* Wednesday, April 22, 2009 2:33 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] difference between stage and application? Hello, I am somewhat new to flex. We are working on a project that uses an exported swc from Flash and running into some problems getting everything we want to show up layered correctly. I want to add a menu bar (mx.controls.MenuBar) on top of some content from the flash swc (flash.display.Sprite). I can only get the menu bar to show up if I call application.addChild and the sprite to show up if I call application.stage.addChild. But the menu bar popups are behind the sprite. I don't really understand the difference between the application and the stage either. Can anyone help? And is there an established way to work with mx.controls and flash.display.sprite data? thanks in advance, madmik3 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:flexcoders-dig...@yahoogroups.com mailto:flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] difference between stage and application?
Sorry, I realized you were talking about UIComponent.addChild(), not Container.addChild(), my bad. ___ Joseph Balderson, Flex Flash Platform Developer :: http://joeflash.ca Author, Professional Flex 3 :: http://tinyurl.com/profx3book Joseph Balderson wrote: If memory serves, Container.addChild() overrides DisplayObject.addChild(), and requires that the argument implement the IUIComponent interface, which means only Flex components can be added. You need to use Container.rawChildren.addChild(Sprite) instead. You may also have to override updateDisplayList() to get it to layout correctly, because you're basically bypassing the Flex framework layout mechanism. So unless you really need to, using the Flex Integration Kit is much less hassle. What the kit does is wrap your Sprite or MovieClip object in a UIMovieClip class, which implements the bare bones interfaces required for a non-Flex object to work with the Flex framework, such as IUIComponent. You can also use the UIMovieClip class source to wrap your Sprite or non-Flex object without the Flex Integration Kit, this way you can bypass using Flash altogether if you find you don't need it. ___ Joseph Balderson, Flex Flash Platform Developer :: http://joeflash.ca Author, Professional Flex 3 :: http://tinyurl.com/profx3book Alex Harui wrote: You should use the Flash/Flex Component Kit to wrap your Flash content. Flash content won’t work well in Flex without being wrapped in some fashion. The minimum thing you could do is stick in an mx:UIComponent of the appropriate size in the application and addChild the sprite to it. Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *michaeljonknight *Sent:* Wednesday, April 22, 2009 2:33 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] difference between stage and application? Hello, I am somewhat new to flex. We are working on a project that uses an exported swc from Flash and running into some problems getting everything we want to show up layered correctly. I want to add a menu bar (mx.controls.MenuBar) on top of some content from the flash swc (flash.display.Sprite). I can only get the menu bar to show up if I call application.addChild and the sprite to show up if I call application.stage.addChild. But the menu bar popups are behind the sprite. I don't really understand the difference between the application and the stage either. Can anyone help? And is there an established way to work with mx.controls and flash.display.sprite data? thanks in advance, madmik3 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:flexcoders-dig...@yahoogroups.com mailto:flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Dictionary vs Arraycollection
hi all, i want to collect data from Arraycollection to Dictinary(as map)...how to implement this...
[flexcoders] Re: Pass repeater data to headerrenderer
Without the headerReenderer I am able to use {repeatername.currentitem.datanode}in the label field of the Canvas but as the headerRender property is part of the Accordion and not the Canvas (and outside the repeater) I can't do that. I tried {data.datanode} but that didn't work. I suppose I could manually loop through the xmllistcollection and populate it that way? I probably should have tried that last night but I guess I was tired and wasn't thinking straight. I'll give it a shot and let you know. Thanks. Jack --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: How would you get the data into the headerRenderer if there was no repeater involved? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jack OMelia Sent: Friday, April 24, 2009 10:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Pass repeater data to headerrenderer Hi All, I have an accordion component, and I'm using a repeater to populate its children, with data coming from an XMLListCollection. I've created an external headerrenderer for the accordion header to display a multi-line title, but I cannot figure out how to pass the data for each repeated data element to the header renderer. The data inside the repeater is populated using {repeatername.currentitem.datanode} format but I can't use that for the renderer. I tried writing it inline but it has to be written outside the repeater. Any ideas how to accomplish this?
[flexcoders] How to rotate text while keeping one eng fixed
Hi All, I am trying it using mx:rotate but the text dissapears even on 1 degree rotation..and when it had rotated to 360 degree it again appear.. I am newbie to FLEx please do suggest me something.
[flexcoders] getItemIndex on filtered List
Hi all, I'm having some issues when calling getItemIndex on an ArrayCollection with a filterFunction set. I do something like myAC.removeItemAt(myAC.getItemIndex(myObject)), which works fine when the filtering hasn't been applied. As soon as filtering is applied, getItemIndex seems to return -1 in every case. Has anyone come across this before? What the best way to remove an item form a filtered ArrayCollection? Thanks a lot. - Evan
Re: [flexcoders] How to rotate text while keeping one eng fixed
Try embedding your font. Aaron shubhra wrote: Hi All, I am trying it using mx:rotate but the text dissapears even on 1 degree rotation..and when it had rotated to 360 degree it again appear.. I am newbie to FLEx please do suggest me something.
[flexcoders] DataGrid: How to Prevent Extra Space Allocation to Last Colum
Hi All, Please help me to get rid of extra space being allocated to the last column of DataGrid. Where does this extra come from ? whatever column I resize should actually be resized.Why does one column resize led to last column resize ? I have set horizontal policy to auto and resizable = true for all column.Also I cant make resizable = false for last column as It is not acceptable to my client Any help would be appreciated.
RE: [flexcoders] getItemIndex on filtered List
getItemIndex should not be returning -1 when filtered unless myObject is excluded by the filter function. I'd write a test that scans the filtered collection and compares it to myObject. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of evan_mcd Sent: Friday, April 24, 2009 8:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] getItemIndex on filtered List Hi all, I'm having some issues when calling getItemIndex on an ArrayCollection with a filterFunction set. I do something like myAC.removeItemAt(myAC.getItemIndex(myObject)), which works fine when the filtering hasn't been applied. As soon as filtering is applied, getItemIndex seems to return -1 in every case. Has anyone come across this before? What the best way to remove an item form a filtered ArrayCollection? Thanks a lot. - Evan
[flexcoders] Flex Menu Basic Question
I am posting a very basic question . I am trying to use Flex menus on my web page . I have built the menu but I am not sure how to do navigation . All i could do is if set Data for menu item i could do an alert to get Data . What I want is if user click on Menu A it should redirect or load a SWF file , similarly if user clicks on Menu B it should redirect or load a separate file. It similar to something link View Stack . But problem with View Stack is I cant define children for MX: View Stack .
RE: [flexcoders] Flex Menu Basic Question
On your menu, specify a handler for the itemClick event. That event will have a reference to the item clicked, fro mwhich you can determine what action to take. I typically include a command or action or index attribute in the menu data, then get that value in the handler, and use a switch() statement to define the processing. A side note, the top-level menu items do not dispatch itemClick events. If you want to take action from a top-level menu item, you also need to listen to the plain click event, and conditionally process only the correct clicks. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of myworld100us Sent: Saturday, April 25, 2009 11:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Menu Basic Question I am posting a very basic question . I am trying to use Flex menus on my web page . I have built the menu but I am not sure how to do navigation . All i could do is if set Data for menu item i could do an alert to get Data . What I want is if user click on Menu A it should redirect or load a SWF file , similarly if user clicks on Menu B it should redirect or load a separate file. It similar to something link View Stack . But problem with View Stack is I cant define children for MX: View Stack .
Re: [flexcoders] Flex Menu Basic Question
Thanks . I am so newbie. Can you provide me a sample example . From: Tracy Spratt tr...@nts3rd.com To: flexcoders@yahoogroups.com Sent: Saturday, April 25, 2009 8:10:58 PM Subject: RE: [flexcoders] Flex Menu Basic Question On your menu, specify a handler for the itemClick event. That event will have a reference to the item clicked, fro mwhich you can determine what action to take. I typically include a “command” or “action” or “index” attribute in the menu data, then get that value in the handler, and use a switch() statement to define the processing. A side note, the top-level menu items do not dispatch itemClick events. If you want to take action from a top-level menu item, you also need to listen to the plain click event, and conditionally process only the correct clicks. Tracy Spratt, Lariat Services, development services available From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On Behalf Of myworld100us Sent: Saturday, April 25, 2009 11:02 PM To: flexcod...@yahoogro ups.com Subject: [flexcoders] Flex Menu Basic Question I am posting a very basic question . I am trying to use Flex menus on my web page . I have built the menu but I am not sure how to do navigation . All i could do is if set Data for menu item i could do an alert to get Data . What I want is if user click on Menu A it should redirect or load a SWF file , similarly if user clicks on Menu B it should redirect or load a separate file. It similar to something link View Stack . But problem with View Stack is I cant define children for MX: View Stack .
Re: [flexcoders] Flex Menu Basic Question
To be precise what do i do on the click event . I got the value of Action set on the menu item . Can you kindly explain how do i recdirect to test.swf. menuitem label=Example data=top menuitem label=MenuItem A action=test.swf/ menuitem label=MenuItem B data=1B/ /menuitem // Event handler for the MenuBar controlapos;s itemClick event. private function menuHandler(event:MenuEvent):void { Alert.show(event.it...@action); } From: Tracy Spratt tr...@nts3rd.com To: flexcoders@yahoogroups.com Sent: Saturday, April 25, 2009 8:10:58 PM Subject: RE: [flexcoders] Flex Menu Basic Question On your menu, specify a handler for the itemClick event. That event will have a reference to the item clicked, fro mwhich you can determine what action to take. I typically include a “command” or “action” or “index” attribute in the menu data, then get that value in the handler, and use a switch() statement to define the processing. A side note, the top-level menu items do not dispatch itemClick events. If you want to take action from a top-level menu item, you also need to listen to the plain click event, and conditionally process only the correct clicks. Tracy Spratt, Lariat Services, development services available From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On Behalf Of myworld100us Sent: Saturday, April 25, 2009 11:02 PM To: flexcod...@yahoogro ups.com Subject: [flexcoders] Flex Menu Basic Question I am posting a very basic question . I am trying to use Flex menus on my web page . I have built the menu but I am not sure how to do navigation . All i could do is if set Data for menu item i could do an alert to get Data . What I want is if user click on Menu A it should redirect or load a SWF file , similarly if user clicks on Menu B it should redirect or load a separate file. It similar to something link View Stack . But problem with View Stack is I cant define children for MX: View Stack .
RE: [flexcoders] DataGrid: How to Prevent Extra Space Allocation to Last Colum
Add one more column with headerText= and labelFunction that returns Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dharmendra Chauhan Sent: Saturday, April 25, 2009 1:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid: How to Prevent Extra Space Allocation to Last Colum Hi All, Please help me to get rid of extra space being allocated to the last column of DataGrid. Where does this extra come from ? whatever column I resize should actually be resized.Why does one column resize led to last column resize ? I have set horizontal policy to auto and resizable = true for all column.Also I cant make resizable = false for last column as It is not acceptable to my client Any help would be appreciated.
Re: [flexcoders] Upgrading Flex Builder Pro (3.0.2) to SDK 3.3
I don't think Adobe actually updates FB docs/help, but they do provide updates on the web: http://livedocs.adobe.com/flex/3/langref/index.html -radley On Apr 23, 2009, at 2:02 PM, _estatica_ wrote: Does anyone know how to upgrade FB Pro to support 3.3 SDK? I added SDK to FBPro, but API docs, help files, etc are still outdated... ..hints?
RE: [flexcoders] Flex Menu Basic Question
So you question has nothing to do with menu, is that correct? What exactly do you mean by redirect to test.swf? What is you application architecture? Is test.swf an application, a component, a module, or what? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of guess what Sent: Saturday, April 25, 2009 11:26 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Menu Basic Question To be precise what do i do on the click event . I got the value of Action set on the menu item . Can you kindly explain how do i recdirect to test.swf. menuitem label=Example data=top menuitem label=MenuItem A action=test.swf/ menuitem label=MenuItem B data=1B/ /menuitem // Event handler for the MenuBar controlapos;s itemClick event. private function menuHandler(event:MenuEvent):void { Alert.show(event.it...@action); } _ From: Tracy Spratt tr...@nts3rd.com To: flexcoders@yahoogroups.com Sent: Saturday, April 25, 2009 8:10:58 PM Subject: RE: [flexcoders] Flex Menu Basic Question On your menu, specify a handler for the itemClick event. That event will have a reference to the item clicked, fro mwhich you can determine what action to take. I typically include a command or action or index attribute in the menu data, then get that value in the handler, and use a switch() statement to define the processing. A side note, the top-level menu items do not dispatch itemClick events. If you want to take action from a top-level menu item, you also need to listen to the plain click event, and conditionally process only the correct clicks. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On Behalf Of myworld100us Sent: Saturday, April 25, 2009 11:02 PM To: flexcod...@yahoogro ups.com Subject: [flexcoders] Flex Menu Basic Question I am posting a very basic question . I am trying to use Flex menus on my web page . I have built the menu but I am not sure how to do navigation . All i could do is if set Data for menu item i could do an alert to get Data . What I want is if user click on Menu A it should redirect or load a SWF file , similarly if user clicks on Menu B it should redirect or load a separate file. It similar to something link View Stack . But problem with View Stack is I cant define children for MX: View Stack .
[flexcoders] flex builder's message?
Hi, I just create a new Flex project with FB 3. I get following message when I switch the mxml to Design mode. This component is based on Application,which is not a visual component.Switch to source mode to edit it I can not add visual component from the component panel from design mode. why this happen?How to fix it.Please help. Thanks Mark