[flexcoders] Coming from Laszlo background - anyone know some migration tips?
I've been living in the Laszlo world for a few years now, and coming around to Flex has been pretty jarring. While the languages are somewhat similar, I keep bumping into differences and am kind lost in kinda grokking Flex. Anyone know enough about both to post a comment like It's like Laszlo only with namespaces and a stricter scripting language or something like that?
[flexcoders] Games in Flex / Apollo?
I'm working on a new blog that will center around game creation using Flex and Apollo. So far it seems that everyone has focused on traditional applications using Flex. I'm hoping to shake that up a bit with not only blogging about Flex-based games but helping to create some game libraries for Flex. I was wondering if anyone here is contemplating doing any game building using Flex/Apollo.
[flexcoders] Re: Games in Flex / Apollo?
Yeah any examples, links or other descriptions would be great. Can't wait to see what you are working on. mx:Platformer mx:world level='mario001' mx:player id='mario'/ mx:enemy id='Koopa'/ /mx:world /mx:Platformer :) -Andrew --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: (There is a nice little categories thing on the side that lists Flash, but what the heck, I'm feeling generous... ;-)): General commentary on the wonders of Flex: http://troygilbert.com/2007/01/18/flex-rhymes-with/ Creating a better game development framework (or what games can learn from web 2.0): http://troygilbert.com/2006/03/01/what-games-can-learn-from-web-20/ Okay, so not that much Flex-specific stuff... most of my work was originally in Flash, but have since moved it to Flex after drinking the kool-aid. But the conceptual stuff about GameDev 2.0, while not saying it directly, is all in Flex. So, I guess I should probably start posting some more, huh? But to whet your appetite, just think how easy it is to make RIA's with MXML, wouldn't it be nice if there was a whole set of MXML tags dedicated to games? (Or before I knew about MXML, what I referred to as using XAML for games.) Troy. On 4/27/07, Scott Hoff [EMAIL PROTECTED] wrote: How about a direct link to something for those of us who are too lazy to search through your blog? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Troy Gilbert troy.gilbert@ wrote: Check out my blog, http://troygilbert.com/. I'm doing some *big* stuff with games and Flex. Troy. On 4/27/07, Erik Price erikprice@ wrote: On 4/27/07, André Rodrigues Pena andre.ufrj@ wrote: I was also considering to develop something for flex-based games. But I think that, the only reason that could lead someone to do this would be the AS3 capabilities but now Flash CS3 has come up with this technology, and it has a bunch of other functionalities to help with gaming. (True, but Flash CS3 is $699 more than the cost of the Flex SDK.) e
[flexcoders] Re: Games in Flex / Apollo?
--- In flexcoders@yahoogroups.com, Andrew [EMAIL PROTECTED] wrote: I'm working on a new blog that will center around game creation using Flex and Apollo. So far it seems that everyone has focused on traditional applications using Flex. I'm hoping to shake that up a bit with not only blogging about Flex-based games but helping to create some game libraries for Flex. I was wondering if anyone here is contemplating doing any game building using Flex/Apollo. BTW the blog is located here: http://apollogames.blogspot.com/ If you encounter game+flex/apollo related news please feel free to ping me and I'll cite you as the source, etc.
[flexcoders] Custom Components Data
Hello, i am new to flex and im just starting to get the hang of it. Currently i am working on a project that requires a custom component. The problem i am having is how to get data to that component. I am trying to read tutorials but i must be missing something. Currently it my main movie that has a data grid that is updated by a xml file. Now when a user click on a name the into will be displayed to the right of it in the custom component, i just dont know how to get the data from the grid to the custom component. Any help would be great. Thanks... -Andrew
[flexcoders] Re: Custom Components Data
Well the datagrid on the main movie is fine, but my fields in the custom componet do not update or obtain information. mx:TextArea x=10 y=10 width=225 htmlText={teams.selectedItem.team_name} height=29 editable=false fontSize=21 fontWeight=bold borderStyle=solid backgroundAlpha=0.0 color=#00/ Thats in the component but will not show data --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Usually by binding to the datagrid's selectedItem. mx:TextInput text={myDg.selectedItem.name} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Sent: Friday, September 21, 2007 3:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom Components Data Hello, i am new to flex and im just starting to get the hang of it. Currently i am working on a project that requires a custom component. The problem i am having is how to get data to that component. I am trying to read tutorials but i must be missing something. Currently it my main movie that has a data grid that is updated by a xml file. Now when a user click on a name the into will be displayed to the right of it in the custom component, i just dont know how to get the data from the grid to the custom component. Any help would be great. Thanks... -Andrew
[flexcoders] Re: Custom Components Data
Here i am kinda confused so here is the code so you can see what i mean. Code of Main app.mxml [Code] ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=teamRequest.send() layout=absolute xmlns:ns1=bin.myComponents.* xmlns:ns2=myComponents.* mx:HTTPService id=teamRequest url=./data.php useProxy=false/ mx:Script ![CDATA[ import mx.controls.Alert; ]] /mx:Script mx:Panel width=35% layout=absolute id=teamDB left=10 top=10 height=50% mx:DataGrid id=teams width=100% height=100% dataProvider={teamRequest.lastResult.teams.item} textAlign=center itemClick=currentState='details' mx:columns mx:DataGridColumn headerText=Teams Number dataField=team_number/ mx:DataGridColumn headerText=Team Name dataField=team_name/ /mx:columns /mx:DataGrid /mx:Panel mx:VBox y=10 width=60% height=95% borderStyle=solid cornerRadius=6 backgroundColor=#FF backgroundAlpha=0.4 right=10 ns2:details /ns2:details /mx:VBox /mx:Application [/Code] Now Details Component Code [Code] ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% mx:TextArea x=109.5 y=224 width=311 htmlText={teams.selectedItem.info} height=91 editable=false/ mx:Button x=6 label=lt;- Back id=back click=currentState='' bottom=9/ mx:Image x=265 y=10 width=200 height=200 scaleContent=true data={teams.selectedItem.picture}/ mx:Text x=2 y=48 text=Team Number: fontFamily=Verdana fontWeight=bold/ mx:Text x=2 y=74 text=Height / Weight: fontFamily=Verdana fontWeight=bold/ mx:Text x=2 y=100 text=Drivetrain: fontFamily=Verdana fontWeight=bold width=67/ mx:Text x=2 y=126 text=Autonomous: fontFamily=Verdana fontWeight=bold/ mx:Text x=23.5 y=225 text=Extra Info: fontFamily=Verdana fontWeight=bold/ mx:TextArea x=10 y=10 width=225 htmlText={teams.selectedItem.team_name} height=29 editable=false fontSize=21 fontWeight=bold borderStyle=solid backgroundAlpha=0.0 color=#00/ mx:TextArea x=109.5 y=47 width=125.5 htmlText={teams.selectedItem.team_number} height=19 editable=false/ mx:TextArea x=109.5 y=73 width=125.5 htmlText={teams.selectedItem.autonomous} height=19 editable=false/ mx:TextArea x=109.5 y=99 width=125.5 htmlText={teams.selectedItem.drivetrain} height=19 editable=false/ mx:TextArea x=109.5 y=125 width=125.5 htmlText={teams.selectedItem.height_weight} height=19 editable=false/ /mx:Canvas [/Code] Now what i am trying to do is get it so that when i click on the infomation in the main datagrid that i will show it in the custom component. Thanks.
[flexcoders] Re: Custom Components Data
Thank You So Much I just could not figure that out, you have been a great help. Thanks Alot!!!
[flexcoders] Reading an UTF-8 document
Please forgive me if the is a post about this already but i can't seem to find it. I am creating an AIR app to convert characters into their HTML entity, hex and dec value and I have just come across an issue. I am reading in xml files which contain the data, these files are saved in a UTF-8 format. When I open it using a Filestream it stops after the first 3 characters ÿþ. I know that these characters are the start of a unicode document, but I can't figure out why it is stopping reading the file there. Any help would be greatly appreciated.
[flexcoders] Instant messaging example
Hi all, I am hoping for some help on this one as it has me beat. I have been looking around this group trying to find an answer but everything I try fails. This site is running on localhost in IIS7 on Windows 7 using a Website from a Visual Studio template. The site is running with the classic pipeline. I have changed the services to point at 'weborb-services-config.xml' and not 'services-config.xml' and I have change the compiler to look at webord30 dir instead of the one in the create website. I have posted the flex error below. Any help would be appreciated. Thanks [MessagingError message='Channel 'weborb-rtmp' does not exist in the configuration.'] at mx.messaging.config::ServerConfig$/createChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:486] at mx.messaging.config::ServerConfig$/getChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:222] at Chat/establishConnection()[C:\Users\Andrew\Documents\Flex Builder 3\Chat\src\Chat.mxml:15] at Chat/___Chat_Application1_creationComplete()[C:\Users\Andrew\Documents\Flex Builder 3\Chat\src\Chat.mxml:2] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298] at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]
[flexcoders] Re: Instant messaging example
. --- In flexcoders@yahoogroups.com, Andrew roly445@ wrote: Hi all, I am hoping for some help on this one as it has me beat. I have been looking around this group trying to find an answer but everything I try fails. This site is running on localhost in IIS7 on Windows 7 using a Website from a Visual Studio template. The site is running with the classic pipeline. I have changed the services to point at 'weborb-services-config.xml' and not 'services-config.xml' and I have change the compiler to look at webord30 dir instead of the one in the create website. I have posted the flex error below. Any help would be appreciated. Thanks [MessagingError message='Channel 'weborb-rtmp' does not exist in the configuration.'] at mx.messaging.config::ServerConfig$/createChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:486] at mx.messaging.config::ServerConfig$/getChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:222] at Chat/establishConnection()[C:\Users\Andrew\Documents\Flex Builder 3\Chat\src\Chat.mxml:15] at Chat/___Chat_Application1_creationComplete()[C:\Users\Andrew\Documents\Flex Builder 3\Chat\src\Chat.mxml:2] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298] at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]
[flexcoders] Re: Instant messaging example
Ok cool thank you. How do I go about defining one? --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Well, from that file, there is no channel defined as weborb-rtmp. --- In flexcoders@yahoogroups.com, Andrew roly445@ wrote: Hi valdhor, thanks for any help you can give me. From the custom site: 'services-config.xml' ?xml version=1.0 encoding=UTF-8? services-config services service-include file-path=remoting-config.xml / service-include file-path=data-management-config.xml / /services channels channel-definition id=my-amf class=mx.messaging.channels.AMFChannel endpoint uri=weborb.aspx class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition channel-definition id=amf-sessionactivation class=mx.messaging.channels.AMFChannel endpoint uri=weborb.aspx?activate=session class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition channel-definition id=amf-singletonactivation class=mx.messaging.channels.AMFChannel endpoint uri=weborb.aspx?activate=application class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition channel-definition id=my-secure-amf class=mx.messaging.channels.SecureAMFChannel endpoint uri=weborb.aspx class=flex.messaging.endpoints.SecureAMFEndpoint/ /channel-definition channel-definition id=air-http class=mx.messaging.channels.AMFChannel endpoint uri=http://localhost:80/weborb30/weborb.aspx; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition /channels /services-config 'remoting-config.xml' ?xml version=1.0 encoding=UTF-8? service id=remoting-service class=Weborb.V3Types.Core.RemotingHandler messageTypes=flex.messaging.messages.RemotingMessage adapters / default-channels channel ref=my-amf/ channel ref=my-secure-amf/ /default-channels destination id=computerinfo properties sourceGettingStarted.Examples.ComputerInfoService/source /properties /destination destination id=autoupdater properties sourceWeborb.Service.AutoUpdater/source /properties /destination destination id=ApplicationManager properties sourceFlexStore.ApplicationManager.ProductFetcher/source /properties /destination destination id=WeborbSecurity properties sourceWeborb.Management.SecurityService/source /properties /destination destination id=WeborbManagement properties sourceWeborb.Management.ManagementService/source /properties /destination destination id=WeborbConfiguration properties sourceWeborb.Management.ConfigurationService/source /properties /destination destination id=SecureTest properties sourceWeborb.Examples.InvocationTests.SecureTest/source /properties security security-constraint auth-methodCustom/auth-method roles roleadministrator/role /roles /security-constraint /security /destination destination id=AccountBalanceDestination properties sourceWeborb.Examples.AccountBalance/source /properties security security-constraint auth-methodCustom/auth-method roles roleexamplesuser/role /roles /security-constraint /security /destination destination id=WDMFCodeGen properties sourceWeborb.Management.DataManagement.Codegen.AppHandler/source /properties /destination destination id=GenericDestination properties source*/source /properties /destination destination id=BusinessIntelligenceDestination properties sourceWeborb.Management.RBIManagementService/source /properties /destination destination channels=amf-sessionactivation id=SessionGenericDestination
[flexcoders] Re: Instant messaging example
Thanks valdhor. I have double checked but I am already referencing 'weborb-services-config.xml' and i and still having the same issue. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: It looks like you are referencing services-config.xml instead of weborb-services-config.xml in your compilere settings. weborb-rtmp should be defined in that file. --- In flexcoders@yahoogroups.com, Andrew roly445@ wrote: Ok cool thank you. How do I go about defining one? --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: Well, from that file, there is no channel defined as weborb-rtmp.
[flexcoders] Large number of view states
I am building a complex form, where what you choose in the first dropdown menu determines whether the next control is a text field, number picker, or menu; and the choice there governs the type and options of the third control; and so on to a maximum of six input controls in a single row. The full form has thirty rows. I want to manage the appearance of the controls through states, as that seems to give me the simplest development path. Each row will be a component with a ton of view states. So here's my question: is there a recommended maximum number of states for a single component? Thanks in advance. Andrew
[flexcoders] Re: Showing the hand icon over an image that links somewhere
Each image object has a Boolean value useHandCursor. You can set it to true right in the properties panel for the image, or set it dynamically as needed. --- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote: I have 3 little icons on a site I am developing (as well as the logo) that when clicked either move the views on the site or send you to another site (Twitter, Facebook, etc). Is there a way to show the hand (clickable icon) without having to manually change the cursor?
[flexcoders] Re: Setting preferences on the browser in the release folder
I don't know how to override the settings, but I'll tell you what I do to handle this. After I have compiled the release build for the first time, I do a save-as on the html file that was created. I save the copy as index.html, since that is what I typically use (it simplifies the url, as you probably know: if I put an index.html file in a folder 'bla' at the sight 'boo.com', its url is simply 'boo.com/bla' [unless someone has changed the server settings]). Then I adjust the index.html file, giving it the title I want and resizing the flash movie if I need to, adding metadata and so on, and save it. That's the file I post to wherever I am putting the project, along with the other generated files in the bin/release folder. When you do another 'export release build', FlashBuilder ignores index.html, so you don't have a problem with it being overwritten. I hope that helps. Andrew --- In flexcoders@yahoogroups.com, Quintjer quintj...@... wrote: Hello All, I am trying to set up my browser in the bin-debug folder to scroll properly when I set a specific width and height to my swf file but Flex will overwrite it every time with defaults setting. I am then forced to export the swf file to Dreamweaver so that I can configure my HTML page. Does anyone know how to stop Flex from overwriting the HTML every time I run the app within Flexbuilder? Thanks in advance!
[flexcoders] getting added values out of a combobox
Hi: My form has a number of fields, and I use the Change event to trigger event handlers to see whether enough fields have been populated that I should enable the Submit button. I am using a combobox for one of the fields, so users can type in a value if I have not included it in the list. However, how do I get a typed-in value back out again? When the user types in a value rather than selecting an existing one, the change handler does not recognize that the combobox's selectedIndex is -1, and there does not seem to be a label field I can check (if != null != ''). The example in Tour de Flex is not illuminating, for it only shows adding a value to a combo box, not doing anything with the value afterwards. Thanks in advance for your help. Andrew
[flexcoders] Re: getting added values out of a combobox
Okay, I have found a discussion of this. Getting the value seems to hinge on checking: spark.components.ComboBox.CUSTOM_SELECTED_ITEM. The added item has a nominal index value of -3, I guess until it is added to the data provider. --- In flexcoders@yahoogroups.com, Andrew cottag...@... wrote: Hi: My form has a number of fields, and I use the Change event to trigger event handlers to see whether enough fields have been populated that I should enable the Submit button. I am using a combobox for one of the fields, so users can type in a value if I have not included it in the list. However, how do I get a typed-in value back out again? When the user types in a value rather than selecting an existing one, the change handler does not recognize that the combobox's selectedIndex is -1, and there does not seem to be a label field I can check (if != null != ''). The example in Tour de Flex is not illuminating, for it only shows adding a value to a combo box, not doing anything with the value afterwards. Thanks in advance for your help. Andrew
[flexcoders] changing view state in an item renderer
Hiya: My current project is a turn builder for a role playing game. Each turn has 30 actions, and each action may have up to 6 entry fields, which may be dropdown menus, number spinners, text fields and like that. The actions are in a list, rendered by a complex itemRenderer. There are about 80 combinations of itemRenderer controls that I am managing by view states, and that part is going very well. Where I am puzzled is this: how do I talk to the list's itemRenderers from parentApplication? When the turn has been assembled and submitted, I want all 30 itemRenderers to switch back to the basic viewState. I tried something like this: for (var i:int = 0; i 30; i++){ theList[i].itemRenderer.currentState = 'action'; } but the system does not like it. Any ideas how the parent application can change viewState in a list's item renderer? Thanks. a
[flexcoders] Re: Capturing ENTER key in a Numeric Stepper
In my applications I use the change event to fire events( like change='doThisThing()'). Seems to work for the number stepper just fine. --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hello, I've got a form with a few fields on, one being a numeric stepper. On the TextInput, I can test the enter key being pressed using the enter event but there doesn't appear to be an equivalent for the numericstepper...
[flexcoders] Re: Capturing ENTER key in a Numeric Stepper
I would probably have an event handler to deal with ALL keystrokes, and within that have a switch statement. One case of the switch statement would be case '13': var searchValue:int = myNumericStepper.value; doTheSearch(searchValue); break; So when the enter key click is captured, the code goes and looks at the number stepper and sends whatever its current value is to the search function. a --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hi Andrew. Can you trap the ENTER (keyCode = 13) on a Numeric Stepper? I've been failing to do this... :( When a user presses the ENTER key, I want to perform an operation, such as a search... So I'm thinking I need to somehow trap the ENTER key and dispatch a custom event.
[flexcoders] Re: data passing between datagrid column
Use a labelFunction. In a script block have something like this: function showTotal(item:Object):String { return $ + (item.qty*item.price).toString(); } and then your column would have labelFunction=showTotal as an attribute. I havent tested this code but something like this should work. Andrew. www.flexdaddy.info --- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi, How can I calculate values of datagrid column based on other datagrid columns. i.e., mx:DataGrid mx:columns mx:Array mx:DataGridColumn columnName=qty headerText=Quantity marginLeft=4/ mx:DataGridColumn columnName=price headerText=Price marginLeft=4/ mx:DataGridColumn columnName=total headerText=Total / /mx:Array /mx:columns /mx:DataGrid How can I calculate the total at runtime so that it will always display qty*price both qty and cost are user editable. Regards Rajesh J Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h89461f/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123555688/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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: Message Approval
Hi Jack, http://www.mail-archive.com/flexcoders@yahoogroups.com/msg07201.html Since yahoogroups introduced the moderate first post option there have been some problems with a few accounts where the system doesn't seem to recognise that one of the posts have been approved. And with the small handful of list moderators, majority in Europe/UK (myself in Australia), there will sometimes be a short delay with the approval of posts (coz we're sleeping!). We'll endeavour to do our best to keep the list flowing, but in the mean time, keep reading and keep posting! Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] wrote: Just Curious . . . Why are some messages I post waiting for approval while others are posted almost immediately? Thanks, Jack Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12ho116qk/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123649370/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Tree component help - please
Hi, Maybe try something like this: mx:Tree nodeOpen=getNodes(event.node) / you might want to store a reference to this node rather than using contentMgmtTree.selectedItem. So you script block might look like this: public function getNodes( treeNode ) { treeSelectedNode = treeNode; EventBroadcaster.getInstance().broadcastEvent( getTheNodez, treeNode.getData().oid ); } //and for adding the nodes public function addTreeNodeUnderSelected(treeNode:TreeNodeVO) { var tempNode:TreeNode = treeSelectedNode.addTreeNode( treeNode ); //or break it down even further with this //var tempNode:TreeNode = treeSelectedNode.addTreeNode( treeNode.label, treeNode ); if( treeNode.hasChildren == true ) { tempNode.setProperty( 'isBranch', true, true ); } else { tempNode.setProperty( 'isBranch', false, true ); } } The only real difference is that I store a reference to the selected node from the nodeOpen event using event.node. This is then what I would use to add the child nodes to. See how that goes. Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, pat_ryan_99 [EMAIL PROTECTED] wrote: Hi Everyone, I have looked through old messages in this group and did not see anything that addresses my question - or at least it was not clear that it did. Here is what I am trying to do. Using the Cairngorm framework, I am making a remote call to my server to retrieve something I wrote called a TreeNodeVO ( which has a public label property ). My ViewHelper adds the Root node like this (which works ): public function addRootTreeNode(treeNode:TreeNodeVO) : Void { view.contentMgmtTree.removeAll(); var node:Object = view.contentMgmtTree.addTreeNode(treeNode); if( treeNode.hasChildren == true ) { view.contentMgmtTree.setIsBranch(node,true); } } when I open the tree node, I make another remote call to get the children as an Array of TreeNodeVO objects. The ViewHelper method to add the other nodes under the opened node looks like: public function addTreeNodeUnderSelected(treeNode:TreeNodeVO) : Void { trace(treeNode: + treeNode.toString()); var node:Object = view.contentMgmtTree.selectedItem.addTreeNode(treeNode); if( treeNode.hasChildren == true ) { view.contentMgmtTree.setIsBranch(node,true); } } what I see happening is the root node renders correctly as a folder with the right label. When I open the folder the server is returning the correct array of TreeNodeVO objects but what is rendered under the root node is a document icon ( which is correct ) but with the label [type Function],[type Function],... Can someone please point me in the right direction on the correct way to add nodes that DO NOT use the XML model? Any help is greatly appreciated. Thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsihsdg/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124126261/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Alert box icon
Hi all, We're having trouble showing an icon in a dialogue window using mx.controls.Alert.show We have embedded the icon and reference it in the show method as per the docs BUT nothing is displayed. I can use the icon elsewhere so there is no problem with the embedding. Any ideas?? Andrew www.flexdaddy.info Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hgagrpt/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124336686/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Query Cleansing
Hey Scott, I had to deal with a similar scenario a while ago and posted a solution on flexdaddy http://www.flexdaddy.info/2005/06/16/strongly-type-a-cf-return-using-cairngorm/ Let me know if that is what you're kinda after ;-) Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED] wrote: I've come across a small annoyance (easily fixed) but one that kind of triggered an initial extra level of development. Basically I went down the path of returning a query from a CFC to FLEX. Nothing overly exciting about that. Except the property character casing popped its ugly head up the moment I switch my SELECT xyz to SELETC xYZ. Suddenly a basic Datagrid i was using appeared blank. I've since stopped that, and basically cleanses the dataproviders via my commands.. ie: onResult = iterate over the queryset, create an array of VO per queryRow while forcing each initial property key to be uppercase.. basically its a cleansing procedure before storing that data for re-use through out my views / shared dataproviders etc. Has anyone else done this? what techniques have been implemented? as its quite annoying to have mixed results from CFMX to FLEX in terms of data (especially when querys and structs are concerned). What are some best practices in terms of using Remote Object / Recordsets with frameworks like Cairngorm (which i'm presently using) -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsosrad/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124441491/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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: CFC debugging netConnectionDebugger
Hehe, not quite Scott, just a place holder to put some nice helper code. Malcolm is my young apprentice, learning the dark arts of Flex. He is progressing nicely, soon to be more powerful than ever! muhahaha ... sorry, got a little carried away :-p Andrew www.flexdaddy.info --- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED] wrote: Cool! Didn't know Andrew had a duplicate owner hehe (ie two flexers for flexdaddy?) I've gone down the path of wrapping try/catch statements inside my flexGateway/flexFacade.cfc that dump the error to session scope, and rethrow it. Then inside my a unittest/dump.cfm i simply dump out session scope with the error. Its cumbersome but helps. On 8/26/05, Malcolm [EMAIL PROTECTED] wrote: In recent posts to the group I can see people having with fun tracking down bugs in their CFC's from Flex. Inspired me to write a post on flex daddy http://www.flexdaddy.info/2005/08/26/waiter-there-is-a-bug-in-my-cfc/ A very handy CustomTag is available for download that returns all cfcatch information to the netConnectionDebugger. No more debugging in the dark as Darius put it :] Cheers, Malcolm -- 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 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. -- Regards, Scott Barnes http://www.mossyblog.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hfpknof/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125025878/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Panel resize and overlap
It sounds like you need something like Christophe's pod implementation. Visit his site at http://coenraets.com and take a look at his post titled A Draggable, 'Minimizable/Maximizable', Configurable Panel class. This should be a good start for you. View the sample here http://coenraets.com/apps/podsample.swf Download the sample http://coenraets.com/apps/pod.zip Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, priya_sukup [EMAIL PROTECTED] wrote: Hi, I have five panels in my screen. The panels are placed in grid layout with 3 rows and 2 columns. The panels need the maximize-minimise functionality. The requirement is that when i maximize the first panel it should go over the panel in second and third row but the panels in the 2nd column should remain intact. Is this possible? Any help would be greatly appreciated. Thanks Priya Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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: Closing Browser
Try taking a look at these past posts on flexcoders (available in the archive) http://www.mail-archive.com/flexcoders@yahoogroups.com/msg10868.html Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Prasad Dhananjaya [EMAIL PROTECTED] wrote: Hi, Can someone plese tell me how close browser. I want to do this when I select Close in my menubar. Thanks Prasad - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script function menuHandler(event) { if (event.menuItem.attributes.label==Close){ alert(Do you want to close this window?,Close Window); ¡úevent.close(); } } /mx:Script mx:Canvas width=98% height=100% mx:Panel x=4 y=37 width=853 height=497 barColor=#FF title=Panal1 textAlign=left fontSize=12 fontStyle=normal fontWeight=normal focusOutEffect=Dissolve mx:MenuBar id=myMenuBar width=779 change=menuHandler(event) height=29 fontFamily=Times backgroundDisabledColor=#FF mx:dataProvider mx:XML menuitem label=File menuitem label=Save / menuitem type=separator / menuitem label=Close / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar /mx:Panel /mx:Canvas /mx:Application Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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: Null Form
Hey Jesse, I've taken a quick look, and couldn't see why you need to override the getters and setters for the id property in CreateListItem.mxml I commented out lines 12, and 18 - 28 of CreateListItem.mxml and it seems to function as required now. The component no longer returns null/undefined but rather your debug output says this: initWizard createTodoList_form: _level0._obj0._HBox1.createTodoList_form createListItem_form: _level0._obj0._HBox1.createListItem_form seems to work fine ;-) hope that helps, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: I am having problems with a form component. Apparently, it is null after childrenCreated, even though I can see it with my own 2 eyes. Additionally, the click event it generates allows me to target it via the event_obj.target, but it still traces out null if you trace it from the component it's hosted in. At first I thought it was a ViewStack, but upon removal, same thing. I've switched the order with another form right next to it, and even changed everyone's creationPolicy = all, all to no avail. I'm at a loss; this negatively affects my bindings getter/setters since it's not working correctly. Run Testing_CreateTodoListWizard.mxml. 1 of the 2 forms housed in CreateTodoListWizard.mxml is the issue. CreateTodoList works correctly, CreateListItem does not. WTF??? http://dev.jessewarden.com/todolists/todolists.zip --JesterXL Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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: Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It)
Try something like this: mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.Delegate; public function showAlert() : Void { Alert.show( Are you sure?, Confirm Delete, Alert.YES | Alert.NO, null, Delegate.create(this, this.handleAlert), null, Alert.YES ); } public function handleAlert( event:Object ) : Void { if( event.detail == Alert.YES) { //do something } else if( event.detail == Alert.NO) { //do something } } ]] /mx:Script Hopefully that demonstrates how to delegate the listener of an alert window button click to a handler method. Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Mink, Joseph [EMAIL PROTECTED] wrote: In the click event method, you could set a global variable (defined in the script section of your mxml file) to be a value that represents the pushed button...something along the lines of the following: mx:Application mx:Script![CDATA[ var pushedButton; function click (event) { pushedButton = ~buttonPushed~ } ]]/mx:Script mx:Canvas height=480 width=640 id=mainCanvas creationComplete=drawLines () /mx:Button click=click()/ /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Kuehn Sent: Friday, August 26, 2005 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It) How does one determine which button the user clicked when showing an alert with multiple buttons? For example: mx.controls.Alert.show('Are you sure you want to do that?','',mx.controls.Alert.YES | mx.controls.Alert.NO,this,'','',NO); How do I determine if they clicked yes or no? Or, is there a preferred way to do this? I can't seem to find any good examples. Thanks, Matthew -- 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 Computer software testing http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Comput er+software+testingw2=Macromedia+flexw3=Developmentw4=Software+develo perc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+softwar e+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s= 93.sig=dAUcEV7do91-wrRtVS641g Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+te stingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93. sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+soft ware+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4 s=93.sig=QWIit8JayomoIHLVkV3FDg YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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: Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It)
Sorry, didnt realise Tracy had already responded with the correct solution ;-) Cheers guys, Andrew. --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Try something like this: mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.Delegate; public function showAlert() : Void { Alert.show( Are you sure?, Confirm Delete, Alert.YES | Alert.NO, null, Delegate.create(this, this.handleAlert), null, Alert.YES ); } public function handleAlert( event:Object ) : Void { if( event.detail == Alert.YES) { //do something } else if( event.detail == Alert.NO) { //do something } } ]] /mx:Script Hopefully that demonstrates how to delegate the listener of an alert window button click to a handler method. Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Mink, Joseph [EMAIL PROTECTED] wrote: In the click event method, you could set a global variable (defined in the script section of your mxml file) to be a value that represents the pushed button...something along the lines of the following: mx:Application mx:Script![CDATA[ var pushedButton; function click (event) { pushedButton = ~buttonPushed~ } ]]/mx:Script mx:Canvas height=480 width=640 id=mainCanvas creationComplete=drawLines () /mx:Button click=click()/ /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Kuehn Sent: Friday, August 26, 2005 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It) How does one determine which button the user clicked when showing an alert with multiple buttons? For example: mx.controls.Alert.show('Are you sure you want to do that?','',mx.controls.Alert.YES | mx.controls.Alert.NO,this,'','',NO); How do I determine if they clicked yes or no? Or, is there a preferred way to do this? I can't seem to find any good examples. Thanks, Matthew -- 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 Computer software testing http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Comput er+software+testingw2=Macromedia+flexw3=Developmentw4=Software+develo perc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+softwar e+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s= 93.sig=dAUcEV7do91-wrRtVS641g Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+te stingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93. sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+soft ware+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4 s=93.sig=QWIit8JayomoIHLVkV3FDg YAHOO! GROUPS LINKS *Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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: Question about storing a password
Better still, take a look at AScrypt, cryptography class library set which covers the following encryption algorithms: Base8, Base64, Goauld, LZW, GUID, RC4, MD5, SHA1, ROT13, Rijndael and TEA. very neat! and works very well ;-) http://www.meychi.com/archive/31.php (look for the download ASCryptFiles.zip link) cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Dennis Baldwin [EMAIL PROTECTED] wrote: If you decide to use a SharedObject then be sure to utilize some level of encryption. Check out http://www.db75.com/blog/archives/000103.html for a basic implementation. I hope this helps. Best Regards, Dennis From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, September 01, 2005 3:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question about storing a password Is using a shared object the best way to say store someone's password so that nobody else can get to it? Also are there examples of programs where a user can store a password to get information like say a website that is used by a lot of people? -- 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 *Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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: Including files.
Option 3 also works like this ;-) without giving the namespace a reference: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; AddSale xmlns=panels.status.* / /mx:Application Just thought I'd provide yet another way. But may I add that Dustin's examples are better to use, I merely wanted to demonstrate an alternative. Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Mercer, Dustin [EMAIL PROTECTED] wrote: You have to set the namespace property (xmlns:xxx) on either the app or the instantiated control. I.E. Option 1: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:addsale=panels.status.* addsale:AddSale / /mx:Application Option 2 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; addsale:AddSale xmlns=panels.status.* / /mx:Application Either one of those solutions should work :-) If you need more explanation, let me know. Dustin Mercer _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Thursday, September 01, 2005 1:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Including files. I am not sure where to begin. My app structure is folder based start with index.mxml/application.cfm on the top teir. Then I move into folders that I can panels within the panel folder I have several folders broken up in to the different app requirements. The question I have is, what is the best way to use custom components, as I plan to develope each panel as seperate custom components. So if I wanted to include the page Add Sale that was in the following heirarchy, how would I do it. Would I use soemthing like this /panels/status/addSale to use it as a custom component? --Folder Heirachy-- Root /Panels /Status /addSale.mxml -- 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 * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . _ Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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: Tab Navigator or LinkBar text color after selection
For the linkbar try the disabledColor style. The tab label is a little more difficult as it doesn't have a similar disabled style property. You wll have to write a change event handler that would manually set the styles on the individual tabs. Something to the effect of - mx:TabNavigator id=tabNav change=changeTabColor(event) / function changeTabColor( event:Object ) : Void { if( event.prevValue != undefined ) { var tab = tabNav[tabBar].getChildAt( event.prevValue ); tab.setStyle( 'color', 0x00 ); } if( event.newValue != undefined ) { var tab = tabNav[tabBar].getChildAt( event.newValue ); tab.setStyle( 'color', 0xFF ); } } But then you will also need to manually handle the mouseOver events as well because the white label color doesnt effect the mouse over highlights. Hopefully this will give you a heads up ;-) Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, delaquae [EMAIL PROTECTED] wrote: Is there any way to set the text color of a Tab or LinkBar label after it is selected? i.e. I have set the color of a selected Tab to be a dark color and would like the text to be white once it has been selected (not just while it is being selected). Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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: Is there a LinkBar style similar to activeTab for tabNavigator
The closest thing I can think of (without looking into it) would be the disabledColor attribute of the LinkBar control. The currently active link in the LinkBar is disabled and will take on the disabledColor attribute. To what extent did you want to style the active link? Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, delaquae [EMAIL PROTECTED] wrote: Is there any way for a LinkBar to approximate the activeTab style behaviour? Either with a style or via ActionScript? I need to set the background and text color for a link once it has been selected in order to visually indicate that it was selected/active. With a TabNavigator I was able to do this with: TabNavigator { horizontal-gap: 6; tab-height: 21; theme-color: #ff; background-color: #3399cc; } Tab { fill-colors: #cc, #f6; selected-fill-colors: #3399cc, #3399cc; color: #33; } ActiveTab { color: white; font-weight: bold; text-roll-over-color: white; } Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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: Flex 2 deployment on Apache Tomcat / J2SE or EE
I agree. I don't think the Enterprise services is something that an ISP will install. You could look into an ISP that supports java hosting and just deploy your flex app as a war file. I'm not sure how this fits with the licencing model though - anyone wish to comment on this? Cheers, Andrew. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I don't know that we're assuming that enterprise services is going to be something that we expect ISPs to install for you. Now that you can compile the SWF on the client you can simply deploy the SWF to your web server and move on. As for connecting to the Java server I don't know what the deal will be with the CF Adapter that allows remoting without enterprise services, but you'd want to look at ISPs that allow CF hosting I guess. This may be something where you want to contact a MM sales rep who can give you more information. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson Sent: Monday, October 24, 2005 11:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 deployment on Apache Tomcat / J2SE or EE I'm assuming with the pricing model change in Flex2 that there is also likely a better deployment model that would foster adoption by allowing it to be easily installed at ISPs. I'm currently trying to choose an ISP for a test bed and I'm focusign on Apache Tomcat, JSP/Servlets, J2SE or EE, etc. Can anyone give me just a note, or details if allowed, about how it will be deployed and/or what to choose in a hoster? Obviously supporting it through an engine that is compact and in CGI form would allow it to be adopted quickly and cross-platform (in a different manner though not such a different form than the compact FlashPlayer since 1997). -r __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/
RE: [flexcoders] Re: Forcing Recompile in production mode
There is a way, it seems somewhat backwards and im sure there a re better methods but this is what I did. 1. Change the servers flex config file and set production mode to false. 2. Restart flex 3. Browse to the .mxml file and it will recompile it 4. Once you are happy that it has implemented these changes and no further changes are required alter the flex config file and set production mode to true and restart again. Andrew Kinloch|Internet Services Administrator| Southland District Council Phone - 64 3 2187259 | Fax - 64 3 2189460 | E-Mail - [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Harris Sent: Friday, 4 November 2005 9:26 a.m. To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Forcing Recompile in production mode Thanks for the answer Dave. I guess the next question is, Do the changes show up after a time period? If so, how do I find out what the time is. Cheers, David On 11/4/05, Dave Wolf [EMAIL PROTECTED] wrote: We never found one. The SWF's are cached by the Filter in memory. In theory a hotswap reload of the web app should do it, but would then cause a pretty hefty leak, since thats how most containers do hotswapping, is they leak that ClassLoader. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, David Harris [EMAIL PROTECTED] wrote: Hi, I have seached docs, but havn't turn up an answer yet, so thought I'ld ask you guys... We have a Developement Flex, and a Live Flex server. The live server is in production mode. We have done some fixes of our app, and moved them on to the live server. Is there anyway to force a re-compile of a Flex App on a server in production mode with out restarting the Application Server? Cheers, David -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS 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. This Message has been successfully scanned by Symantec Mail Security at the Southland District Council Please forward your enquiries to [EMAIL PROTECTED] Attention:The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact theSouthland District Council and delete the material from any system and destroy any copies. Ph - 64 3 2187259 Fax - 64 3 2189460 Email - [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 Web site design development Software design and development Macromedia flex Software development best practice 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: help with custom cell renderer (Flex 1.5)
Hi, I had a look at this and you will have to forgive my ignorance a bit but i can't work out how to pass the column to get the value still eg. remoteobject.method(getCellIndex().itemIndex.columnName) returns undefined ?? --- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED] wrote: getCellIndex().itemIndex From: flexcoders@yahoogroups.com on behalf of flexkinloch Sent: Tue 22/11/2005 12:16 To: flexcoders@yahoogroups.com Subject: [flexcoders] help with custom cell renderer (Flex 1.5) Hi, i have a checkbox cellrenderer that on click i want to fire a remoteobject request that passes one of the current datagrid rows cell values as one of the arguments but cannot get it to work as the current row is not selected. i need to be able to do one of two things either access this value programmatically ie item.cellvalue or programmatically set the current row. so far i have had limited success with item.cellvalue in that when i reference this in an if statement it will recognise the value. eg if(item.cellvalue == 5) then go do something; but if i reference it like remoteobject.method(item.cellvalue) it returns undefined? i also thought of using listOwner but couldnt work out how to tell it the current row, would listOwner.item.cellvalue work? (im not at work to test, im at home being driven nuts by not being able to resolve this:) any ideas? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=C omputer+software+developmentw3=Software+design+and+developmentw4=Mac romedia+flexw5=Software+development+best+practicec=5s=166.sig=L- 4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads? t=msk=Computer+software+developmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developmentw4=M acromedia+flexw5=Software+development+best+practicec=5s=166.sig=lv QjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads? t=msk=Software+design+and+developmentw1=Web+site+design+development w2=Computer+software+developmentw3=Software+design+and+developmentw4 =Macromedia+flexw5=Software+development+best+practicec=5s=166.sig= 1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+soft ware+developmentw3=Software+design+and+developmentw4=Macromedia+flex w5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36 cYzBjw Software development best practice http://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=Web+site+design+developme ntw2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:flexcoders- [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- **STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. -- Yahoo! Groups Sponsor ~-- 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/WpTY2A/izNLAA/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:
RE: [flexcoders] Custom dg validator
Title: Custom dg validator Gary, I put your code into a sample application. For me, it returned a validation error for any value that is put into the TextInput object. I modified your code to get validation working, although it is still ignoring the colName variable. I am not sure where that value is being set or what it represents. How is this being used? Are you using it as a custom implementation for a normal mx:TextInput object, or are you using it as a custom cell renderer for a mx:DataGrid object? ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ function customValidate() { var validator = arguments[0][0].validator; if ( this.text != test ) validator.validationError( null, The value does not equal 'test'., null ); } ]] /mx:Script mx:Model id=theModel text{text}/text /mx:Model mx:Validator field=theModel.text validate=customValidate(arguments) listener=this / /mx:TextInput -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ault, Gary - BLS Sent: Wednesday, April 12, 2006 2:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom dg validator In Flex 1.5, I am trying to create a PowerBuilder-esque column validator. I use a custom TextInput field with a Validator so that when a user tabs out of a column, the validation check is triggered. It appears to work for a simple test, but I cannot get the validation error to trigger for other conditions. Can anyone see a flaw or have another approach to share? Thanks. Here is my custom TextInput with validator: ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.macromedia.com/2003/mxml mx:Model id=theModel text{text}/text /mx:Model mx:Validator field=theModel.text validate=customValidate( event ) listener=this / mx:Script ![CDATA[ function customValidate(event ) { var validator = event.validator; var value = event.value; var colName = event.colName; //this works //if ( value != test ) //validator.validationError( null, Value must be an arithmetic operator, null ); //this does not work if (colName ==rptPricesOper value != test) validator.validationError( null, Value must be an arithmetic operator, null ); } // end customValidate ]] /mx:Script /mx:TextInput Gary Ault Bureau of Labor Statistics -- 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 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: Adding a child to a vbox
I would try something like this for ( var i:Number=0;iresult.length;i++){ var initProps:Object={percentWidth:90}; var myCanvas:Canvas = createChild(mx.containers.Canvas, '', initProps); initProps={text:myCanvas.id}; myCanvas.createChild(mx.controls.Label, '', initProps); } I have had better luck using createChild rather than addChild. I have also encountered problems when trying to set an id when using createChild, and have had better luck letting flex assign an id automatically. I have been using Flex 1.5, so I dont know for certain whether this would work for you in F2B2, but its worth a try. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Friday, April 28, 2006 1:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Adding a child to a vbox I think the issue, is when I try to add a child to a previously created child. Here is the test code that I have. for ( var i:Number=0;iresult.length;i++){ // CREATE CANVAS // var newCanvas:Canvas = new Canvas(); newCanvas.percentWidth = 100; newCanvas.id = canvas + i; var canvasId = newCanvas.id; parentApplication.closing.mainBox.addChild(newCanvas); var newLabel:Label = new Label(); newLabel.text = canvasId; parentApplication.closing.mainBox.canvasId.addChild(newLabel); } --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: I have to use parentApplication because I am trying to create this grid from another state. So I have to work on the parent level. I have never used getChildByName, would I use it like this. parentApplication.closing.mainBox.getChildByName(newGird:string).addChild(newGridRow); --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: For one thing I would only do the parentApplication.closing.mainBox.addChild(newGrid) and then for every other addChild just use the local variable. newGrid.addChild(newGridRow); newGridRow.addChild(newGridItem); It will make things easier to follow, plus I'm not sure mainBox.newGrid will work unless it has an explicit property called newGrid, otherwise you have to do getChildByName or something like that. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, April 26, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adding a child to a vbox I am still working on this. I need to dynamically create a grid with a single row, and two items. Then I need to create labels, and text input inside the grid. However, I cant get to that point yet, I am still unable to the complete grid w/ a test label in side the grid. I am working with in F2B2. Here is my code. for ( var i:Number=0;iresult.length;i++){ // CREATE GRID // var newGrid:Grid = new Grid(); newGrid.id = 'grid' + i; newGrid.percentWidth = 90; parentApplication.closing.mainBox.addChild(newGrid); // CREATE GRID ROW // var newGridRow:GridRow = new GridRow(); newGridRow.id = 'gridRow' + i; parentApplication.closing.mainBox.newGrid.addChild(newGridRow); if (result[i].TRANSSIDE is 'buyer'){ // CREATE GRID ITEM // var newGridItem:GridItem = new GridItem(); newGridItem.id = 'listGridItem' + i; newGridItem.width = 445; parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte \ m); // CREATE CANVAS // var newCanvas:Canvas = new Canvas(); newCanvas.id = 'canvas' + i; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil \ d(newCanvas); // CREATE LABEL // var newLabel:Label = new Label(); newLabel.text = TEST; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv \ as.addChild(newLabel); } else if (result[i].TRANSSIDE is 'seller'){ // CREATE GRID ITEM // var newGridItem:GridItem = new GridItem(); newGridItem.id = 'saleGridItem' + i; newGridItem.width = 529; parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte \ m); // CREATE CANVAS // var newCanvas:Canvas = new Canvas(); newCanvas.id = 'canvas' + i; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil \ d(newCanvas); // CREATE LABEL // var newLabel:Label = new Label(); newLabel.text = TEST; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv \ as.addChild(newLabel); } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders
[flexcoders] Wrapping LinkBar in Flex 1.5 ??
Hello Flexcoders, I have an instance of a LinkBar object that has the result of a http service as its dataProvider. Thus, its dynamic... My problem is that if there are a large number of results in the http service, the LinkBar grows and extends beyond the area of its parent container rather than wrapping to another line. Has anyone else run into this issue? If so, is there an easy workaround? I have looked at the Flex API docs, and it doesnt mention this anywhere that I have found. The solution that I am thinking: use a canvas, and create a function that will take the http service result as a parameter. The function will loop over the service result add Link objects to it using createChild. Anyone else have ideas on this one? I have also considered using a Tile object, but I dont necessarily want the spacing to be perfect columns. Let me know if anyone has a different workaround! Thanks, Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Error: faultCode - do not understand
What are you doing to get this error? What version of Flex are you using? I have seen a similar error in Flex 1.5 when a httpService does not return valid XML. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan Sent: Thursday, May 04, 2006 2:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error: faultCode - do not understand Anybody seen this before and what does it mean? Error: faultCode:Client.CouldNotDecode faultString:'Default decoder could not decode result' faultDetail:'null' Thanks Sree -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Security error accessing url
The crossdomain.xml file should be placed in the root of the server that is hosting the web services. So, if you reference it via url, it should be at: http://{your domain}/crossdomain.xml _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sathish K Sent: Thursday, July 13, 2006 2:00 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Security error accessing url Dear Carson, Is it possible to place the crossdomain.xml file at server level, to access the all webservices that are availbale in the server. This is our IBM websphere server folder structure. d:\was6.0\AppServer\profiles\default\installedApps\ramcobl104Node01Cell\application.ear Reg, K.Sathish -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Carson Hager Sent: 12 July 2006 23:26 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Security error accessing url Sathish, What URL are you using to download the SWF? What is the URL for your web service? Even if the swf and web service are on the same host but the host names do not match perfectly, you will get this kind of failure. If the web service is on a different host, you will need to place a crossdomain.xml file at the root of the web server where the web services are located. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sathish K Sent: Wednesday, July 12, 2006 5:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Security error accessing url Hi, I have a webservice (EAR file) that is deployed in the IBM Websphere 6.0 server.When we access the webservice from a SWF application(sandbox)built using Flex 2.0 it gives a security error.How to resolve this security issue. The Error Message: [FaultEvent fault=[Rpc fault faultstring=Security error accessing url faultCode=Channel.Security.Error faultDetails=Unable to load WSDL.If currently online,please verify the URI and/or format of the WSDL (webservice url)]messageId=null type=fault bubbles=false cancelable=true eventPhase=2] We have read in many articles which says we need to place the crossdomain.xml file in the server root directory.But we dont know exactly what is the correct location for placing this file. We have tried placing in many subfolders under the root folder where Websphere is installed. It would be of great help if you can help us sort out this issue. regards sathish DISCLAIMER: Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission. If you have received this e-mail in error, please notify us immediately at mail to: [EMAIL PROTECTED] and delete this mail from your records. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail. DISCLAIMER: Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability
RE: [flexcoders] Re: HTTPService in components
Is that all of your code? If so, you need to include the namespace on the root node of the component. mx:HTTPService xmlns:mx=http://www.adobe.com/2006/mxml id=usrRequest url="" useProxy=false / _____ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mcmcbrianfarrell Sent: Monday, July 17, 2006 9:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService in components --- In [EMAIL PROTECTED]ups.com, Carson Hager carson.hager@... wrote: Can you include the errors here? Without them, it's a bit hard to figure out what might be going on. Carson, My code is: ?xml version=1.0 encoding=utf-8? mx:HTTPService id=usrRequest url="" useProxy=false / ...which is at the top of the file and the error I get is: The prefix mx for element mx:HTTPService is not bound. __._,_.___ -- 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 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: Flex and Server-Side Technology Recommendations
Just want to make sure everyone is on the same wavelength here ColdFusion is an application server, not a database. You can have ColdFusion running with SQL Server, MySQL, Oracle, etc ColdFusion can take advantage of this feature if you database will handle it. Although Im not on the ColdFusion team, I agree with Tom. ColdFusion is an extremely easy to use and productive server technology and it integrates very well with Flex. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff Sent: Monday, July 17, 2006 5:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex and Server-Side Technology Recommendations Hi Tom, Thanks for the info. This is more of a CF question, but the CF-Flex connection should afford a little bit of room here. Does CF support what is called, distributed partitioned views like SQL Server? This allows you to create several small databases with the same structure that can be viewed as a single master database if desired. This is an essential feature for me. By segregating customer data into separate databases, the performance, by not having to weed through the entire database, is dramatically increased. In addition, for top level functionality, all of the customer databases can be queried as one. The reason that I ask, is that several of my master tables can have multi-million records. Add to that a couple joins of these tables and the server has the potential to crawl. If CF has this feature, I will definitely consider switching; due to its tight integration with Flex. Thanks, Tim Hoff --- In [EMAIL PROTECTED]ups.com, Tom Jordahl [EMAIL PROTECTED]. wrote: --- In [EMAIL PROTECTED]ups.com, Kevin Mulvihill kmulvihill@ wrote: Hi all, What do you all recommend for backend server-side technology to work with Flex? I'm planning on some work with MySQL and not particularly interested in .NET. Hi Kevin, I would say that you should look at ColdFusion MX 7.0.2 as the premier server side technology that closely integrates with Flex 2. Some advantages - Application Wizard gives you a working Flex/CF app in minutes. - Tight integration with the FDS Messaging and Data Mangement features - Easy to use Flash Remoting support allows you to invoke ColdFusion Components - Its ColdFusion! The fastest, simplest and most productive server side scripting technology around. Disclaimer: I am (very) biased. -- Tom Jordahl Adobe ColdFusion Team __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: Flex and Server-Side Technology Recommendations
Exactly. ColdFusion is an alternative to .NET and J2EE (although ColdFusion can actually work together with both). You develop most of your code in an XML-based scripting language: CFML. It is very easy to learnand very quick to develop powerful dynamic applications. Another benefit of using ColdFusion (7.0.2) is that it has a lot of wizards that are available to you that enable automatic code generation. You have to install the ColdFusion extensions for Flex builder in order to see these options. There are wizards that can automatically generate ColdFusion Components(CFCs) and Flex forms based off of your database schema. More detail on CF can befound on adobe's site: http://www.adobe.com/products/coldfusion/ You can really use any server side technology that you want... Java can communicate with Flexvia FDS (Flex Data Services), Web Services, or XML over HTTP .NET can communicate with Flex via Web Services or XML over HTTP. There is also something called webOrb, which is supposed to be similar to remote objects for .NET (I cannot vouch for this, I have never used it). PHP can communicate with Flex via XML over HTTP, Web Services, or AMFPHP I'm sure that there is a way to do this using Ruby/Ruby on Rails. ... and this is not the definitive list. There are plenty of other solutions out there. If you are already familiar with a specific web-based technology,then there's a good chance that you can use it to power a flex interface. Each technology has its advantages, disadvantages, and price tags. -Andy From: flexcoders@yahoogroups.com on behalf of Tim HoffSent: Mon 7/17/2006 5:59 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flex and Server-Side Technology Recommendations Thanks Andy,So CF would replace ASP.Net as the middle tier. I have no exposure to CF, so that clears things up a bit. But, no native databases in CF?-TH--- In [EMAIL PROTECTED]ups.com, "Andrew Trice" andrew.trice@... wrote: Just want to make sure everyone is on the same wavelength here... ColdFusion is an application server, not a database. You can have ColdFusion running with SQL Server, MySQL, Oracle, etc... ColdFusion can take advantage of this feature if you database will handle it. Although I'm not on the ColdFusion team, I agree with Tom. ColdFusion is an extremely easy to use and productive server technology and it integrates very well with Flex. -Andy _____ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@... Office: 866-CYNERGY From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Tim Hoff Sent: Monday, July 17, 2006 5:09 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Flex and Server-Side Technology RecommendationsHi Tom, Thanks for the info. This is more of a CF question, but the CF-Flex connection should afford a little bit of room here. Does CF support what is called, "distributed partitioned views" like SQL Server? This allows you to create several small databases with the same structure that can be viewed as a single master database if desired. This is an essential feature for me. By segregating customer data into separate databases, the performance, by not having to weed through the entire database, is dramatically increased. In addition, for top level functionality, all of the customer databases can be queried as one. The reason that I ask, is that several of my master tables can have multi-million records. Add to that a couple joins of these tables and the server has the potential to crawl. If CF has this feature, I will definitely consider switching; due to its tight integration with Flex. Thanks, Tim Hoff --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com , "Tom Jordahl" tjordahl@ wrote: --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com , "Kevin Mulvihill" kmulvihill@ wrote: Hi all, What do you all recommend for backend server-side technology to work with Flex? I'm planning on some work with MySQL and not particularly interested in .NET. Hi Kevin,I would say that you should look at ColdFusion MX 7.0.2 as the premier server side technology that closely integrates with Flex 2.Some advantages - Application Wizard gives you a working Flex/CF app in minutes. - Tight integration with the FDS Messaging and Data Mangement features - Easy to use Flash Remoting support allows you to invoke ColdFusion Components - Its ColdFusion! The fastest, simplest and most productive server side scripting technology around.Disclaimer: I am (very) biased.-- Tom Jordahl Adobe ColdFusion Team __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/
RE: [flexcoders] Re: HTTPService in components
What exactly are you trying to do? Tom's right, you can't have a HTTPService as the root of a component. You could put the HTTPService inside of a Canvas, Panel, etc... If you only want the HTTPService, with extended functionality, you might want to try creating an AS class that extends the HTTPService class. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, July 18, 2006 8:59 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: HTTPService in components On Tuesday 18 July 2006 12:00, mcmcbrianfarrell wrote: Encountered mx:HTTPService at line 2 That's probably because you can't use HTTPService as the top-most thing in the file. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/
RE: [flexcoders] how to do rounded corners on just the top or just the bottom of a canvas
Take a look at this example on Ben Stucki;s blog. Be sure to check out the CSS3 Box explorer. It is a great example. I havent actually tried to use it, but it looks like it might help with what you are looking for. http://blog.benstucki.net/?id=22 -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Tuesday, July 18, 2006 9:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to do rounded corners on just the top or just the bottom of a canvas I want to draw a canvas and only have the top have rounded corners or only the top. Can I do this or do I just need to break out the drawing functions? Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Problem to embed a JSP page in Flex
Is it truly necessary to embed a jpg to achieve this? What format are the actual dynamic graphs? I assume that they are images embedded within the jsp. If they are jpg images, then they can be requested directly from the flex application. You can create a servlet that creates and returns the graph jpg, and render that directly within your Flex 1.5 application. This will get rid of a lot of that "quirky" behavior. -Andy _____ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com on behalf of KOT_MATPOCSent: Wed 7/26/2006 5:15 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Problem to embed a JSP page in Flex Hello,I need to display some dynamically generated graphs in our flex application. We currently use Flex 1.5. We use some graph building API which is written in Java and JSP. Basically we have a jsp page that builds the graphs dynamically using some Java API. Now we need to integrate these graphs with our Flex application. I came accross this article http://coenraets.com/viewarticle.jsp?articleId=95 which suggests to use an html iframe. This could be the solution, but when I put it into our application, it starts to behave strangely - after the second time I load I can't see any dynamically generated jpeg images anymore. My question is - is there any other solution that could help us embed a jsp page within out flex application? I came accross DENG, did anyone try to integrate it with Flex? Can DENG behave as a Flex component?Did anyone have a similar problem?Please, help, this issue does look complicated.Thanks a lot,Serguey __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Problem to embed a JSP page in Flex
The unfortunate reality is that there is no easy workaround for this. If the iframe method of Chrisophe Coenraets doesnt work for you, then you are going to have to display the graph jpg inside of flex, and move the _javascript_ logic into your flex application. If you move the _javascript_ logic into flex, you eliminate _javascript_ from the picture altogether, thus simplifying your application. You may find a solution with DENG, but I wouldnt bet on it. I took a quick look at their examples, but it did not load any of the image links in the XML feed that I tested with it. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Serguey, Shinder Sent: Wednesday, July 26, 2006 8:00 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problem to embed a JSP page in Flex Yes I think is is truly necessary. Because apart from the jpeg images this jsp page will contain also _javascript_ code that will enable the graph to communicate with the flex app and also perform other graph related actions. Serguey From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Trice Sent: Wednesday, July 26, 2006 1:16 PM To: [EMAIL PROTECTED]ups.com; [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] Problem to embed a JSP page in Flex Is it truly necessary to embed a jpg to achieve this? What format are the actual dynamic graphs? I assume that they are images embedded within the jsp. If they are jpg images, then they can be requested directly from the flex application. You can create a servlet that creates and returns the graph jpg, and render that directly within your Flex 1.5 application. This will get rid of a lot of that quirky behavior. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@cynergysystems.com Office: 866-CYNERGY From: [EMAIL PROTECTED]ups.com on behalf of KOT_MATPOC Sent: Wed 7/26/2006 5:15 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Problem to embed a JSP page in Flex Hello, I need to display some dynamically generated graphs in our flex application. We currently use Flex 1.5. We use some graph building API which is written in Java and JSP. Basically we have a jsp page that builds the graphs dynamically using some Java API. Now we need to integrate these graphs with our Flex application. I came accross this article http://coenraets.com/viewarticle.jsp?articleId=95 which suggests to use an html iframe. This could be the solution, but when I put it into our application, it starts to behave strangely - after the second time I load I can't see any dynamically generated jpeg images anymore. My question is - is there any other solution that could help us embed a jsp page within out flex application? I came accross DENG, did anyone try to integrate it with Flex? Can DENG behave as a Flex component? Did anyone have a similar problem? Please, help, this issue does look complicated. Thanks a lot, Serguey __._,_.___ -- 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 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] testing of Flex apps
There is also a FlexUnit library available on Adobe labs at: http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson Sent: Wednesday, July 26, 2006 9:18 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] testing of Flex apps Here is a well written article from adobe on the testing of a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html Unless something has come out recently, I don't know of any automated testing tools that directly support flash apps (flex). You can use some of the apps like homer that basically just record exact screen location where you click and type, and then playback using the same coordinates. This is not the most reliable way of testing, but it can for some. Has anyone tried writing an automated testing framework for flex? One that would run as a flex app, and load the target app to be tested inside of its self? Then it could communicate with it and click and type. I have done several automated testing frameworks like this for web applications (since I was never a fan of record and playback or buying software to do it), but I haven't tried it on flash/flex. I am almost positive you could do it though. I might have to give it a try one of these days :) Karl Cynergy Systems, Inc. http://www.CynergySystems.com From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Kaeth Sent: Wednesday, July 26, 2006 2:27 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] testing of Flex apps What is the best way to regression test a flex app ? Does flex provide any regression testing suite for testing flex apps like JUNit, HTTPUnit ? TIA __._,_.___ -- 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 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: Is there a way to put a close X on the tabnavigator
Just a FYI to the Flex community Here at Cynergy, were working on a component library of commonly used controls that we are going to offer to the development community for free. Its starting out small, and we hope it will grow over time. A polished version of Keuns ExtendedTabNavigator component will be one of the components in the library. You can expect to see it in the very near future. - Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of fuad_kamal Sent: Tuesday, August 01, 2006 3:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Is there a way to put a close X on the tabnavigator It's been done, here's a working example from Keun Lee of Cynergy: http://cynergysystems.com/blogs/page/keunlee?entry=tab_navigator_component_w_an --- In [EMAIL PROTECTED]ups.com, flxcoder [EMAIL PROTECTED]. wrote: I have a way of removing the tab from the tabnavigator using tabs.removeTabAt(x), but I am looking for a way to add an X on top of the tab, something similar to the way editors in eclipse do. any clues? any ideas? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: Just MXML and AS3
Its an off the shelf solution, with a customized theme. You can embed a swf in pretty much any blog solution that allows you to post HTML content. Just upload the swf files to a server where have permissions, then embed them in the blogs HTML content using the embed tag. I use the w.bloggar (http://wbloggar.com/) tool to edit and post content from my desktop, rather than using the web interface. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of fuad_kamal Sent: Tuesday, August 01, 2006 9:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Just MXML and AS3 Cool. BTW, Adrew Trice/Keun Lee - if you're reading this - what's the Cynergy blog based on? Is it an off-the-shelf solution or an in-house ap? I like the fact that you embed the swf's in the page in addition to the source code. -fuad --- In [EMAIL PROTECTED]ups.com, Ted Patrick [EMAIL PROTECTED]. wrote: Fuad, The form only supports one file today. :-) I am working on a solution to this but I want to make sure things remain simple. Ted :-) From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of fuad_kamal Sent: Tuesday, August 01, 2006 12:17 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Just MXML and AS3 Hey, the blog is cool, but what if you wanted to share an example with more than one file? e.g. mxml file that relies on a custom AS3 class? your form only allow posting of one file. thanks --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com , Ted Patrick tpatrick@ wrote: I wanted to let everyone know about a simple publishing option for MXML and AS3 examples. I put together a new blog where I am syndicating MXML and AS3 examples and components. Authors get named credit in every post title and it is a simple way to share code/knowledge. Just MXML and AS3 - A title, MXML or ActionScript 3, and nothing more. Form http://www.onflex.org/code/form/ http://www.onflex.org/code/form/ http://www.onflex.org/code/form/ http://www.onflex.org/code/form/ Blog http://www.onflex.org/code/ http://www.onflex.org/code/ http://www.onflex.org/code/ http://www.onflex.org/code/ Post Code, Share, Get Credit, Have Fun! Regards, Ted Patrick Flex Evangelist Adobe Systems Incorporated __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Dynamically Create a MXML file
That's not really the way that flex works. You don't create mxml on the fly. What you can do is create an extensible component that reads some sort of configuration, and dynamically adds elements on the fly, using the addChild method. This way you can dynamically add any kind of component at runtime, whether it is a textbox, radio button, or custom component. -Andy From: flexcoders@yahoogroups.com on behalf of PramodSent: Tue 8/8/2006 7:17 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Dynamically Create a MXML file Hi,I am currently working an a project where the reqirement is as follows -I need to get info from the user and on submit, create an application with the inputs from the previous form.Is there a tutorial or a link where i can find info on how to create an mxml file and generate them on a click of a button?Thanks a lot in Advance,Regards,Pramod __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Camera.get([index]); useing mutiple cameras
I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldnt need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of willburforce82 Sent: Tuesday, August 08, 2006 9:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Camera.get([index]); useing mutiple cameras
Your camera.get also isnt right. Try doing something like this: localCamera1 = Camera.getCamera(Camera.names[0]); localCamera2 = Camera.getCamera(Camera.names[1]); I remember reading a post on flexcoders a while back saying there was a bug in Flash 9 release candidate 15 (9.0.15). If you try to assign a camera by name, it would fail. Make sure you have Flash player 9.0.16. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Trice Sent: Tuesday, August 08, 2006 11:08 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Camera.get([index]); useing mutiple cameras I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldnt need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@cynergysystems.com Office: 866-CYNERGY From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of willburforce82 Sent: Tuesday, August 08, 2006 9:55 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] Camera.get([index]); useing mutiple cameras
I only have one camera, so I never tried it. Ive got flash player 9.0.16, but it looks like the error is still happening (although I found a workaround). I changed my code to: var arr: Array = Camera.names; trace(arr[0]); camera = Camera.getCamera(arr[0]); trace(Camera.getCamera(arr[0].toString())); and it returned null every time. I also started playing with it and did this trace(Camera.getCamera(0)); camera = Camera.getCamera(0); and it gave a valid reference to the camera. Try using the string representation of the camera index, instead of the camera name. Looks like this is still a bug in the player, but this could be a hack-ish workaround for it. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Lu Sent: Tuesday, August 08, 2006 11:52 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Camera.get([index]); useing mutiple cameras to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's getCamera() not get(). as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String =null ):Camera but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box) Interestingly, the manual seems to suggest not passing any name to the method, instead, let user choose which camera to use via setting panel (which is not an option in the current video conference project). to Andrew: In your example, you were using getCamera() with no parameter passed in, could you please confirm if you can assign different names to it ? thanks. Jeremy. On 8/8/06, Andrew Trice andrew.trice@cynergysystems.com wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@cynergysystems.com Office: 866-CYNERGY From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of willburforce82 Sent: Tuesday, August 08, 2006 9:55 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: Camera.get([index]); useing mutiple cameras
Take a look at some of the later posts on this thread. There is a workaround for camera.getCamera. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of willburforce82 Sent: Tuesday, August 08, 2006 11:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Camera.get([index]); useing mutiple cameras Thanks for you swift response Andy Unfortunatly i don't get any video feed from the cameras that way. When i use attachVideo both video object feed the default camera regardless of my index reference but with attachCamera i get nothing. :( My problem seems to be in the seem to be in defining which camera localcamera1 is using and which one localcamera2 is using, as they both seem to use the default camera specified in the System.showSettings(3)panel. willbur --- In [EMAIL PROTECTED]ups.com, Andrew Trice andrew.trice@... wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_sti ll_images_from_a Hope that helps. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@... Office: 866-CYNERGY From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of willburforce82 Sent: Tuesday, August 08, 2006 9:55 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: Camera.get([index]); useing mutiple cameras
What version of Flex are you using? In Flex 2, it is Camera.getCamera(). All of the help we have provided is for Flex 2. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of willburforce82 Sent: Wednesday, August 09, 2006 5:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Camera.get([index]); useing mutiple cameras Dear jeremy i think your right about establishing an array first, but i keep getting problems with this .getCamera (here is no method with the name 'getCamera'.) I can't get it to work but everyone keeps telling me it's the correct code but it's not working for me? --- In [EMAIL PROTECTED]ups.com, Jeremy Lu [EMAIL PROTECTED] wrote: to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's getCamera() not get(). as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String =null ):Camera but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box) Interestingly, the manual seems to suggest not passing any name to the method, instead, let user choose which camera to use via setting panel (which is not an option in the current video conference project). to Andrew: In your example, you were using getCamera() with no parameter passed in, could you please confirm if you can assign different names to it ? thanks. Jeremy. On 8/8/06, Andrew Trice andrew.trice@... wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy _ *Andrew Trice* Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@... Office: 866-CYNERGY -- *From:* [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] *On Behalf Of *willburforce82 *Sent:* Tuesday, August 08, 2006 9:55 AM *To:* [EMAIL PROTECTED]ups.com *Subject:* [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: Camera.get([index]); useing mutiple cameras
You can get flash player 9.0.16 from: http://www.adobe.com/support/flashplayer/downloads.html Make sure you get the debug version. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of willburforce82 Sent: Wednesday, August 09, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Camera.get([index]); useing mutiple cameras Thanks Again both Andy and Jeremy, i'm still not able to define between the two cameras on my computer, i've added traces to help identify whats going wrong, but this is the closest i've got:- var arr:Array = Camera.names; trace(arr[1]); trace(arr[0]); //these traces return the Digital Camera and Dual-Mode DSC (Video //Camera) used in the following lines. var localCamera1:Camera = Camera.get(arr[Digital Camera]); var localCamera2:Camera = Camera.get(arr[Dual-Mode DSC (Video Camera)]); trace(localCamera1); trace(localCamera2); //these traces both return [object Object] i don't know what this means but // it might give you a clue. localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); trace(localVideo); trace(localVideo2); //these traces return _level0.localVideo.localVideo and //_level0.localVideo.localVideo2 I know you both have sujested using Camera.getCamera() instead of camera.get() but i keep getting a there is no method name called .getCamera error and the video feeds don't work where as with camera.get() both feeds use the default camera. Also i noticed you mention version 9.0.16 i've only just upgraded to version 9 but where can i get the 9.0.16 version if i need it. What do you think?? regards willburforce --- In [EMAIL PROTECTED]ups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Thanks Andrew, this is a pretty cool hack, will try it and see if it works for me too. Jeremy. On 8/9/06, Andrew Trice andrew.trice@... wrote: I only have one camera, so I never tried it. I've got flash player 9.0.16, but it looks like the error is still happening (although I found a workaround). I changed my code to: var arr: Array = Camera.names; trace(arr[0]); camera = Camera.getCamera(arr[0]); trace(Camera.getCamera(arr[0].toString())); and it returned null every time. I also started playing with it and did this trace(Camera.getCamera(0)); camera = Camera.getCamera(0); and it gave a valid reference to the camera. Try using the string representation of the camera index, instead of the camera name. Looks like this is still a bug in the player, but this could be a hack-ish workaround for it. _ *Andrew Trice* Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@... Office: 866-CYNERGY -- *From:* [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Jeremy Lu *Sent:* Tuesday, August 08, 2006 11:52 AM *To:* [EMAIL PROTECTED]ups.com *Subject:* Re: [flexcoders] Camera.get([index]); useing mutiple cameras to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's getCamera() not get(). as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String =null ):Camera but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box) Interestingly, the manual seems to suggest not passing any name to the method, instead, let user choose which camera to use via setting panel (which is not an option in the current video conference project). to Andrew: In your example, you were using getCamera() with no parameter passed in, could you please confirm if you can assign different names to it ? thanks. Jeremy. On 8/8/06, *Andrew Trice* andrew.trice@... wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
RE: [flexcoders] Passing an id to a function?
I think what you really want to do is pass a reference to the element, not the string id of the element. Change your function signature to: private function displayDate(date:Date, displayTo:Label):void { Then, just pass a refferce to your label mx:Label id=myLabel / mx:Button click=displayDate(new Date(),myLabel) / -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of flxcoder Sent: Wednesday, August 09, 2006 10:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing an id to a function? In this example, how can I pass the id of the element label to be updated? private function displayDate(date:Date, displayTo:String):void { if (date == null) displayTo.text = Date selected: ; else displayTo.text = Date selected: + date.getFullYear().toString() + '/' + (date.getMonth()+1).toString() + '/' + date.getDate(); } 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] how do I get the type or class of an object in AS3
Try using the is keyword: if( myObject is TextArea ){ //do something } else{ /// do something else } -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Thursday, August 10, 2006 12:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] how do I get the type or class of an object in AS3 I have an object that is either a TextArea or a TextInput. I want to find out which one it is. How do I do that? Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: who is going to Real World Flex (NYC, Monday the 14th)
Everyone, be sure to stop by and say hello to Cynergy too! A whole group of us will be there to support the event. Be sure to catch Dave Wolfs presentation at 1:50. See you all there -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of grant.straker Sent: Friday, August 11, 2006 12:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: who is going to Real World Flex (NYC, Monday the 14th) Provided I don't spend the next 2 days stuck in Airports queues I'll be there, and certainly looking forward to my first trip to NY. Visit the ZoomFlex stand to say hello. Cheers Grant Straker --- In [EMAIL PROTECTED]ups.com, David Mendels [EMAIL PROTECTED]. wrote: Hi, www.flexseminar.com http://www.flexseminar.com/ I'll be there all day (I'm doing a morning talk). I'd love to meet folks from this list and puts faces to names and learn more about what you are doing. If you are there and see me, say hello. Should be a fun event. Exciting to see a 3rd party conference on Flex just 45 days after we shipped Flex 2. Regards, David __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: slider thumb and background image
Take a look at my blog posting example at: http://www.cynergysystems.com/blogs/page/andrewtrice?entry=customizing_slider_components. There is an example how to change the size of the slider thumb and apply styled images on it. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of stevehousefl Sent: Friday, August 18, 2006 2:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: slider thumb and background image Can you post how you attached the image? Thanks, Steve --- In [EMAIL PROTECTED]ups.com, thiru vengadam [EMAIL PROTECTED].. wrote: Hi All I am new to flex, I like to know, how to add a image to the thumb and adject the hight of it, i tried to attach a image for the thumb, its coming but I can't control the thickness of the thumb, and I also want to include the image insteard of the line how to achive it. Regards Thiru __._,_.___ -- 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] Slider Control
For some reason my last several posts arent showing up in flexcoders. Let me try this again Take a look at my blog posting example at: http://www.cynergysystems.com/blogs/page/andrewtrice?entry=customizing_slider_components. There is an example how to change the size of the slider thumb and apply styled images on it. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of stevehousefl Sent: Friday, August 18, 2006 2:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Slider Control How can I use an image as my thumb on an HSlider instead of the little triangle? Ideally, I would like to have multiple slider controls each with different images determined at run time. Thanks in advance, Steve __._,_.___ -- 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] Returning XML from CFMX with AMF0
It is probably processing the entire result as a string. When you get the result back from the remoteObject call, set the dataProvider of your tree to a new xml object created using the string value of your result. Something like this mx:Script ![CDATA[ private function handleResult( result:Object ) : void { myTree.dataProvider = new XML( result.toString() ); } ]] /mx:Script mx:RemoteObject result=handleResult(event.result) / -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, August 17, 2006 3:12 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Returning XML from CFMX with AMF0 As an additional note - it is taking my entire XML document and making it the label of a single root node. Like: [foldericon] myEntireXMLDocAsText The XML object I'm creating in CF is using the the CF xml functions. Perhaps I should just scrap that and return a string. Jeff -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Battershall, Jeff Sent: Thursday, August 17, 2006 2:44 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Returning XML from CFMX with AMF0 I'm forced to deal with AMF0 for a particular project and I'm trying to pull some XML from a CFC that worked perfectly in Flex 1.5 as a dataprovider of a tree component. Now, it seems to want to treat my returned XML an XML document with one node = the one node being the XML object returned from CF. I've been hacking around trying to deal wit this - but no dice. Any advice? Jeff Battershall Application Architect Dow Jones Indexes jeff.battershall@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company 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] Genrate Children.
Look at the flash.utils.describeType function at: http://livedocs.macromedia.com/flex/2/langref/flash/utils/package.html#describeType() I believe it is exactly what you are looking for. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kumar Sent: Monday, August 21, 2006 6:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Genrate Children. Hi All, I have a canvas and in that canvas I have number of children. That children can have childrens again And this process can go up to n times. I want to get all child names and store them in string variable. in proper format like root canvas id=can1 label id=lbl1 /label panel id=p1 label id=lbl2 /label /panel . . .. . canvas /root 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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] mx:Button but without the border
Why not just use images and style attributes to skin the button (or use css)? You will not see the default button skin at all. You will only see the images. If you use transparent-background png images, the button shape will be the shape the non-transparent portions of the png image. mx:Button click=myFunction() id=myButton upSkin=@Embed('/assets/button_default.png') overSkin=@Embed('/assets/ button _hover.png') downSkin=@Embed('/assets/ button_down.png') / -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of julien castelain Sent: Tuesday, August 22, 2006 12:43 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mx:Button but without the border hi gunther, maybe you could subclass SimpleButton, and use a Loader to for your image just a thought ... On 8/22/06, Gunther gunther.vincke@yahoo.com wrote: How do you / what is the best way to make a button with an image or a .swf without having the button border ? I want an image that is clickable (Button) without the button border ? I use: mx:Style .nextButtonStyle { borderStyle: none; focusThickness: 0; } /mx:Style mx:Button x=484 y=295 styleName=nextButtonStyle icon=@Embed (source='Images/GoldArrow.swf') / But this does not hide the button border :-( __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice 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: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
OK, so Ive watching this thread going back and forth over and over Now its time for my two cents. It looks like this thread began by someone saying that you cannot use web services in a real world flex application. Ive got to agree with Dave on this. You definitely can, and we have done it numerous times here at Cynergy. Are there tradeoffs? Yes. As others have said already in the post: The decision on what mechanism to use should be dealt with on a case by case basis. Lets consider a few things: Do the web services already exist and can they handle the current load? If they do, use them. Why reinvent the wheel? Yes, there is a performance advantage to using AMF, but most users will not notice the difference in transport speed it is fractions of a second. If your application is properly architected and your backend is optimized, the end user will never know the difference. I personally like using remote objects, but not every solution allows for this. In the cases where you cannot use remote objects, web services still work great. SOAP is a very verbose protocol, but by no means is it unusable. If that were the case, why would web services be so prevalent? Why would there be all the buzz about service oriented architectures? If you feel that a web service is too verbose or too slow, and you cant use remote objects, then use a HTTPService to return XML. There are many solutions. It really all boils down to how you use and retrieve your data and depends on your requirements and application architecture. If the processing time on the server is too much for your application to handle, then chances are there is a problem with your applications back end, not the webservice/serialization layer. To generalize and say that you should never use a web service is a very big mistake. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jack Caldwell Sent: Wednesday, August 23, 2006 10:40 AM To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Martin: OK . . . . so the lag time is when the data gets back to the end-user? Bottom line . . . . with all things being equal . . . . Does a web service request take longer to process on the server than aAMF request? If the answer is . . . . in general yes, then that can be an issue with an increase in users. If the answer is . . . . it depends on the data being requested and/or the data format then that seems to suggest thateveryone must runtests to compare results and thentest again based on scaling up. Is that about right? Thanks, Jack From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Martin Wood Sent: Wednesday, August 23, 2006 8:13 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Jack Caldwell wrote: Dave: I agree that a 1/3 of a second is not going to be noticed by the end-user. However, when you add 100s or 1,000s of users . . . . does that make a difference? I don't know . . . . that's why I am asking. You guys have the experience. It doesn't make any difference as the timings are on the client side, not the server. There will be some difference in time required to handle requests on the server which may be down to the data format but they would have to be investigated on a case by case basis. martin. __._,_.___ -- 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] how to handle and || in mxml
You have to html-encode the ampersand as amp;, the pipe should be fine as it is ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=horizontal mx:Script ![CDATA[ [Bindable] private var bool1 : Boolean = false; [Bindable] private var bool2 : Boolean = true; ]] /mx:Script mx:Button enabled={ bool1 amp;amp; bool2 } label=AND operator / mx:Button enabled={ bool1 || bool2 } label=OR operator / /mx:Application -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of boy_trike Sent: Saturday, November 04, 2006 9:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to handle and || in mxml I want to be able to enter: enabled = {varA == 1 varB == 2} in my MXML. This does not work. Is there a way to escape or use the AND/OR in mxml. thanks bruce __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 Accessibility - TextInput Component
A bunch of questions: What version of JAWS? Do you have the JAWS scripts installed? (http://www.adobe.com/macromedia/accessibility/features/flex/jaws.html) Try hitting ins+f5 - is your info in this list? Do you know about forms mode and virtual PC cursor mode in JAWS? You will get some different information out of the controls in each mode. To enter forms mode, navigate to the textinput and hit enter - jaws will say "Forms mode on". Background info: Virtual PC cursor mode is when JAWS navigates through the off-screen model that it constructs for its own purposes. when in this mode (this is the mode that users are in when they enter a page) JAWS listens to the keypresses made by the user, acts on some of them and passes some on to the browser/player (this is a bit of a simplification). JAWS uses many keystrokes - "f" is used by JAWS to move the virtual focus to the next form control, right arrow reads the next character, down arrow reads the next line, etc. If a user wants to enter text into a control such as a textInput, or use arrow keys to switch the active tab in a tabnavigator, they need to be in forms mode. Forms mode allows user keystrokes to pass through to the player/browser. Additional navigation of the content (e.g. reading line by line through non-focusable objects) is not possible, and the user's interaction model is basically identical to that of a keyboard-only user. let me know if this helps, AWK Andrew KirkpatrickCorporate Accessibility Engineering LeadAdobe Systems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike ShawSent: Monday, November 06, 2006 6:12 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Accessibility - TextInput Component Hi, we are building a financial calculator app in flex 2 which is required to be accessible. So far we have got through most of the pitfalls except for one. We have a TextInput which due to the visual design is not in a FormItem (so no label). So instead we assign a name or description property to the accessibilityProperties object. The TextInput may or may not be editable. The question is: How do we get Jaws to read the name or description properties. Currently it is only reading the value. I know the properties are set because I can see them using Microsoft's Inspect32. Any help would be much appreciated. Regards, 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] Re: Tamarin, Adobe open source the Flash player ?
BjornAs I understand it you'll still need the Flash plugin but will be able to use ActionScript for client side scripting on FireFox.AndrewOn 08/11/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Does this mean in the future there will be no need for the Firefox Flash Plugin? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels Sent: Wednesday, 8 November 2006 9:19 AM To: [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] Re: Tamarin, Adobe open source the Flash player ? Hello, Dorkie dork wrote What it means is that the Browser (mozilla in this case) will be able to use ActionScript 3 to manipulate the dom in addition to existing _javascript_ This is incorrect. What it means is that the next generation of _javascript_ will be powered by the Tamarin VM and that _javascript_ and ActionScript will converge into a single implementation used by both the Flash Player and the Firefox browser/SpiderMonkey. -David-- ---Andrew Muller http://www.webqem.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Flex Accessibility - TextInput Component
It varies. This does confirm that JAWS is getting the information out of the player, I'm not sure why you're only seeing the result here without seeing it. Is there an example you can forward to me? Thanks, AWK From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike ShawSent: Tuesday, November 07, 2006 5:15 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Accessibility - TextInput Component Hi Andrew, we are using JAWS 7.1 and have the scripts installed. It doesn't read the name out in forms or virtual PC mode. hitting ins+F5 shows the info in this list and unless you can suggest a better option this will have to do. (I presume that this option is well understood by most JAWS users of course. Is this a correct assumption?) Thanks, Mike. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew KirkpatrickSent: Tuesday, 7 November 2006 1:45 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Accessibility - TextInput Component A bunch of questions: What version of JAWS? Do you have the JAWS scripts installed? (http://www.adobe.com/macromedia/accessibility/features/flex/jaws.html) Try hitting ins+f5 - is your info in this list? Do you know about forms mode and virtual PC cursor mode in JAWS? You will get some different information out of the controls in each mode. To enter forms mode, navigate to the textinput and hit enter - jaws will say "Forms mode on". Background info: Virtual PC cursor mode is when JAWS navigates through the off-screen model that it constructs for its own purposes. when in this mode (this is the mode that users are in when they enter a page) JAWS listens to the keypresses made by the user, acts on some of them and passes some on to the browser/player (this is a bit of a simplification). JAWS uses many keystrokes - "f" is used by JAWS to move the virtual focus to the next form control, right arrow reads the next character, down arrow reads the next line, etc. If a user wants to enter text into a control such as a textInput, or use arrow keys to switch the active tab in a tabnavigator, they need to be in forms mode. Forms mode allows user keystrokes to pass through to the player/browser. Additional navigation of the content (e.g. reading line by line through non-focusable objects) is not possible, and the user's interaction model is basically identical to that of a keyboard-only user. let me know if this helps, AWK Andrew KirkpatrickCorporate Accessibility Engineering LeadAdobe Systems From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike ShawSent: Monday, November 06, 2006 6:12 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Flex Accessibility - TextInput Component Hi, we are building a financial calculator app in flex 2 which is required to be accessible. So far we have got through most of the pitfalls except for one. We have a TextInput which due to the visual design is not in a FormItem (so no label). So instead we assign a name or description property to the accessibilityProperties object. The TextInput may or may not be editable. The question is: How do we get Jaws to read the name or description properties. Currently it is only reading the value. I know the properties are set because I can see them using Microsoft's Inspect32. Any help would be much appreciated. Regards, 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] Re: Tamarin, Adobe open source the Flash player ?
BjornI'd guess that the answer is yes to both.AndrewOn 08/11/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: So will enhancements contributed by Mozilla to Tamarin feature in subsequent releases of the flash player? Or is this mainly an attempt to bring _javascript_ closer inline with Actionscript? Sorry, I'm still finding this difficult to read at the moment. Regards, Bjorn Schultheiss -- --- Andrew Mullerhttp://www.webqem.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Bit Off topic: Microsoft Vista VS Apollo/Flex/Flash
few Linux/mac people - Yes there are a smaller proportion of Mac users (constantly increasing - there were a lot of switchers at MAX), but they're often the real early adapters - and that's the folk who you want singing the praises of your wonderful new creation... On 25/11/06, camlinaeizerous [EMAIL PROTECTED] wrote: I still go to the occasional Microsoft conference when they are about to release something big. Well yesterday was their ready for a new day which was a show case of vista and office. I went to the developer thread curious what programming would be like for Vista with the changes that were made. Really long story short everything they show cased reminded me of the capabilities of Apollo which is soon to be released and Flex/Flash. Microsoft Expressions a new development tool reminded a lot of people of flash studio and it seems like a copy of flash with A Microsoft label on top. Although I didn't get to see a lot of the under working just a quick over view, essentially by default the time line is on the bottom drawing tools on the right and library on the left. It seemed so similar during the overview I heard people actually laughing saying it looked like flash. however looking at the code that was generated and the movements and transitions were basically generated with java. When they were showing how to program their gadgets which the presenter even slipped and called widgets not just once but twice they made it actually fairly simple. 3 short files of javascript, xaml markup, and c# for a simple gadget however with the demos I have seen of Apollo I believe in the end there will be by far more Apollo gadgets/widgets or what ever you want to call them compared to Vista gadgets. And as a plus Apollo is cross platform where needless to say the few Linux/mac people that were there were not impressed with the windows only capability but talking with a couple saying that Apollo could do the same things but also work on Linux/mac machine I must say it really made their day. While Apollo's future will obviously go far beyond just simple widgets this just seems to be how Microsoft lined up their development demos showing mainly a few gadgets and bunch of look what happens to the button when I click on it. The only thing that I saw showcased as far as application development that Microsoft has an edge with is 3d rendering, which in time I imagine flash will have very little problems with. I have also been wondering if they got their RMA term from RIA. Rich Media Application vs Rich Internet Application? -- --- Andrew Muller http://www.webqem.com
Re: [flexcoders] To Adobe - new release improvements??
John The Mac version of Flex builder (beta) has some kind of implementation of 2.0.1 already, to quote Adobe Labs: You can also download a supplementary collection of documentation that covers features that are unique to Flex Builder 2 for Macintosh (Flex 2.0.1 ). http://labs.adobe.com/technologies/flexbuilder2/ product details tab. Andrew On 29/11/06, John Kirby [EMAIL PROTECTED] wrote: When the 2.01 update comes out... will it be for BOTH Mac and Windows? Does anyone know if they are now on the same release train? leds usop said the following: Im not from Adobe but thanks to Matt CHotin, I have been given the oppportunity to play with the prerelease 2.01 update... They say it's not a major release but for me, the inclusion of the mx:module support/framework is one big help... think of the capability of 'breaking apart' your big apps into modular ones which the user will only have to download once on demand - all that while having the framework take care of most of the communication between the modules and the shell application or other modules. On top of that, you can still leverage on using RSL's, externs, fzip and any other file size/download time management methods adn tehcniques. And oh yeah, they have several bugs fixed already. Again thans Matt. Id' say but Numberous bugs have been fixed --- Daniel Wabyick [EMAIL PROTECTED] daniel%40wabysabi.com wrote: Hey Adobe guys, Is it possible for you to address some of the major (or non-major) improvements in the coming Flex release? In particular, I am keen to know if there were significant improvements made to Flexbuilder itself. Stuff like increased compiler performance, ease of use with relative paths, etc would be of interest to me. A close second would be roughly the number of bugs fixed in the actually Flex UI framework. As my project continues to grow, I am definitely getting antsy for a new release! Thanks, -Daniel __ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com -- *Whether you think that you can, or that you can't, you are usually right. * - Henry Ford -- --- Andrew Muller http://www.webqem.com
RE: [flexcoders] Databinding Custom Event
The benefit is that your getter function will be bound to that event, so any time that event is dispatched, the data binding is updated. In this example, it doesn't really stand out that this is a great thing. Let's say that there is also a get lastname function that is similar to your firstname function, and add an updateNames function, so we have this... [Bindable(event=MyEvent)] public function set firstname(value:String):void { _firstname = value; dispatchEvent( new FlexEvent('MyEvent') ); } public function get firstname():String { return _firstname; } private var _firstname:String; [Bindable(event=MyEvent)] public function set lastname(value:String):void { _lastname = value; dispatchEvent( new FlexEvent('MyEvent') ); } public function get lastname ():String { return _lastname; } private var _lastname:String; public function updateNames ( myUpdateObject : Object ):void { _firstname = myUpdateObject.firstname; _lastname = myUpdateObject.lastname dispatchEvent( new FlexEvent('MyEvent') ); } The updateNames function dispatches a single event, which updates the bindings on both of your getter functions. Now, the real benefit of set functions is that you can programmatically execute code when a value is updated. Your names example doesn't take full advantage of the capabilities. The set function is better suited for when you have other functions that should be executed any time that your set is updated. [Bindable(event=MyEvent)] public function set firstname(value:String):void { _firstname = value; //execute some code here doSomething(); doSomethingElse(); doAnotherThing(); dispatchEvent( new FlexEvent('MyEvent') ); } In this example, the data binding gets updated after the other functions have been executed. This technique is VERY useful when developing flex components. For instance, you can have a function on a custom component that extends a text box such as: override public function set text( value : String ) : void And you want other properties to be updated when text has been updated, so you setup your set function like this: override public function set text( value : String ) : void { this.updated = true; resetComponentState(); super.text = value; } Hope that helps, -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, November 28, 2006 9:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Databinding Custom Event Hey, What if any benefits are there to defining a custom event type for your databinding? ie: [Bindable(event=MyEvent)] public function set firstname(value:String):void { _firstname = value; dispatchEvent( new FlexEvent('MyEvent') ); } public function get firstname():String { return _firstname; } private var _firstname:String; vs [Bindable] public var lastname:String; Regards, Bjorn
RE: [flexcoders] Styling in Flex is officially ridiculous
I can't answer any of that for Adobe, but here is some input. Granted, I agree that it should be a default css property that can be easilty changed... It actually can be done without a ton of work. The easiest way to do that is to copy modify the halo ButtonSkin class, and use it as a custom skin on your button. Just modify the updateDisplayList function so that it draws the gradient rectangles on top of each other, without the pixel offset for the border, when calling the drawRoundRect functions. Search for the string // button fill in that class, and you will see the areas that need to be updated. You don't need to subclass the button at all. You can find the halo skins as a reference at C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\skins\halo I have more info on skinning flex apps at https://www.cynergysystems.com/blogs/page/andrewtrice?entry=making_flex_ less_flex_like Hope that helps, -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, November 29, 2006 10:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Styling in Flex is officially ridiculous OK. I am usually very hesitant to criticize Adobe because of the immense respect I have for their employees and the amazing technology they create. I have built my career around their products. That being said, the styling capabilities in Flex are downright silly. I have suffered silently through some small, yet extremely annoying nuances, but this one takes the cake: You can't style a Button to not have a border!!! Developer: Hey button, go ahead and skip your border drawing routine. Button: Eff that! I love my borders and I ain't getting rid of them for anyone! WTF. I can understand not supporting some styling features people would like, but not supporting one that is just turning something off? What gives? I realize I could probably subclass Button and override the drawing but that is uber-overkill for something that should be a simple attribute. If someone from Adobe can offer a valid reason for why this isn't supported I would love to hear it. I would also be very interested to know if styling is an area that is being focused on for significant upgrades in future versions. Thanks, Ben
RE: [flexcoders] Styling in Flex is officially ridiculous
I'm not sure that approach really works... The buttons don't show up at all. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Wednesday, November 29, 2006 11:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Styling in Flex is officially ridiculous Well, Before your loose it... try myButton.setStyle(upSkin, null); OR Button { upSkin:ClassReference(null); } OR mx:Button upSkin={null}/ Peace, Mike On 11/29/06, ben.clinkinbeard [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: OK. I am usually very hesitant to criticize Adobe because of the immense respect I have for their employees and the amazing technology they create. I have built my career around their products. That being said, the styling capabilities in Flex are downright silly. I have suffered silently through some small, yet extremely annoying nuances, but this one takes the cake: You can't style a Button to not have a border!!! Developer: Hey button, go ahead and skip your border drawing routine. Button: Eff that! I love my borders and I ain't getting rid of them for anyone! WTF. I can understand not supporting some styling features people would like, but not supporting one that is just turning something off? What gives? I realize I could probably subclass Button and override the drawing but that is uber-overkill for something that should be a simple attribute. If someone from Adobe can offer a valid reason for why this isn't supported I would love to hear it. I would also be very interested to know if styling is an area that is being focused on for significant upgrades in future versions. Thanks, Ben -- Teoti Graphix http://www.teotigraphix.com http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
RE: [flexcoders] Styling in Flex is officially ridiculous
That's how I interpreted it: that he is actually talking about the button's border. Ben, is that what you were talking about? If so, the skin method is the way to go. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Wednesday, November 29, 2006 11:50 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Styling in Flex is officially ridiculous Oh yeah... If he is talking about the actual button border, that is the skin and he needs to create a new skin. The button does not have borders, it has skins. It dosn't even share the same characteristics of a Container that has a border. These are not the same things. So, Ben, what do you mean when you say the Button's border? Or, what do you want... Peace, Mike On 11/29/06, Michael Schmalle [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Andy, It answers his question and it does work. If the label is present, you click on the label and the Button functions correctly. I don't know what he is aiming for here but, if you 'don't' have a border, there is no other hit area specified for the component. So, how are you going to get mouse events from a component that dosn't have a hit area? Bottom line is, this approach does work if you plan to use a label, other than this, why would you want a button without a label and border if you want to click on it? Peace, Mike On 11/29/06, Andrew Trice [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I'm not sure that approach really works... The buttons don't show up at all. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ups.com http://ups.com ] On Behalf Of Michael Schmalle Sent: Wednesday, November 29, 2006 11:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Styling in Flex is officially ridiculous Well, Before your loose it... try myButton.setStyle(upSkin, null); OR Button { upSkin:ClassReference(null); } OR mx:Button upSkin={null}/ Peace, Mike On 11/29/06, ben.clinkinbeard [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: OK. I am usually very hesitant to criticize Adobe because of the immense respect I have for their employees and the amazing technology they create. I have built my career around their products. That being said, the styling capabilities in Flex are downright silly. I have suffered silently through some small, yet extremely annoying nuances, but this one takes the cake: You can't style a Button to not have a border!!! Developer: Hey button, go ahead and skip your border drawing routine. Button: Eff that! I love my borders and I ain't getting rid of them for anyone! WTF. I can understand not supporting some styling features people would like, but not supporting one that is just turning something off? What gives? I realize I could probably subclass Button and override the drawing but that is uber-overkill for something that should be a simple attribute. If someone from Adobe can offer a valid reason for why this isn't supported I would love to hear it. I would also be very interested to know if styling is an area that is being focused on for significant upgrades in future versions. Thanks, Ben -- Teoti Graphix http://www.teotigraphix.com http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com http://www.flex2components.com You can find more by solving the problem then by 'asking the question'. -- Teoti Graphix http://www.teotigraphix.com http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com http://www.flex2components.com You can find more by solving the problem then by 'asking the question'. -- Teoti Graphix http://www.teotigraphix.com http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
RE: Eclipse Optimizations. WAS RE: [flexcoders] Flex crashing @ compilation time
I've modified the Flexbuilder.ini file to increase memory usage. It speeds it up a good bit, but has also caused the occasional crash of FB. More detail at: http://eclipsezone.com/eclipse/forums/t61618.html Be sure reference FlexBuilder.ini instead of Eclipse.ini. C:\Program Files\Adobe\Flex Builder 2\FlexBuilder.ini _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg @ Project SOC Sent: Wednesday, November 29, 2006 12:33 PM To: flexcoders@yahoogroups.com Subject: Eclipse Optimizations. WAS RE: [flexcoders] Flex crashing @ compilation time Hey Matt (et al), Does Adobe have any specific suggestions for setting up Eclipse to prevent the SLUGGISH EDITTING that many of us are seeing? I sometimes have to stop typing for 5-10 seconds to wait for Eclipse to CATCH UP to what I've typed. I'm not trying to say that I'm typing so amazingly fast that you should be impressed (I'm probably an average typist for a coder): I'm saying that eclipse is literally falling 5/10/15 characters behind, and I have to just sit there and wait until it decides to print what I've typed. It FEELS like a memory management/garbage collection issue to me. This seems more pronounced if a larger source file (2000 lines+) is open, but sometimes appears in SHORT component files (30 lines?) Any specific suggestions from you guys would really be appreciated. Thanks in Advance, Steve From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Tuesday, November 28, 2006 11:24 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex crashing @ compilation time 40 applications is a whole lotta applications to compile, and I believe the project is going to compile all of them. Maybe you could create different projects with the applications and use a library project for shared code? Less would need to be re-compiled each time. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of The Crow Sent: Tuesday, November 28, 2006 3:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex crashing @ compilation time Hello. I've been using Flex 2 for 3 months now. There's around 40 mxml applications plus component, and actionscript files in the project and the compilation (building) time has considerably increased with time...taking up to 5-10 minutes at times. I've upgraded to Java 1.5.0.09 and changed the settings in the FlexBuilder configuration file and still no significant improvements have been noticed. Could anyone help me out with this issue. Deleting the Bin folder and re-compiling the whole project as well did not solve the problem. PC Specs: Pentium 4 HT (3.0 MHz, 1GB DDR2 Memory, Integrated graphic card) Thanks for your cooperation. Regards, Anoop
RE: [flexcoders] Change alpha properties when setting enabled property
override public fuction set enabled(value:Boolean) : void { super.enabled = value; this.setStyle(alpha, ( value ? 1 : .5)); } Enjoy! -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sam Shrefler Sent: Wednesday, November 29, 2006 3:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Change alpha properties when setting enabled property Could someone tell me how to modify the alpha settings when setting a component to enabled=false? Thanks! Sam
RE: [flexcoders] Change alpha properties when setting enabled property
Sorry... let me elaborate more. The previous example would be used inside of the component that is being enabled/disabled. To do this outside of a component, you need to do it in actionscript: myComponent.enabled=fase; myComponent.setStyle(alpha, .5); _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Trice Sent: Wednesday, November 29, 2006 4:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Change alpha properties when setting enabled property override public fuction set enabled(value:Boolean) : void { super.enabled = value; this.setStyle(alpha, ( value ? 1 : .5)); } Enjoy! -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sam Shrefler Sent: Wednesday, November 29, 2006 3:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Change alpha properties when setting enabled property Could someone tell me how to modify the alpha settings when setting a component to enabled=false? Thanks! Sam
RE: [flexcoders] Announcing FlexSearch.org !
Good work. I think it could benefit from a search option that is a combination of forums, blogs and LiveDocs, which could be the default view. I did a search, and the first thing I thought was why does this only show forum answers?. -Andy www.cynergysystems.com From: flexcoders@yahoogroups.com on behalf of Clint Modien Sent: Thu 11/30/2006 7:55 AM To: flexcoders@yahoogroups.com Cc: Ben Lucyk Subject: [flexcoders] Announcing FlexSearch.org ! I created an aggregation of developer content searchable via a few Google custom search engines (CSE) to help the development community find the answers to questions quicker. It's located at: http://flexsearch.org http://flexsearch.org/Feedback appreciated. I want to be clear that this is a community based project. I'll be posting the site list in xml format so that you can see what sites are in and what sites aren't in. That way I can get feedback on what other sites the CSE should be aggregating. Basically... If you hate it tell me why. I'll fix it. If you love it tell me why we'll keep it that way. You can tell me why via the blog. If you have ideas post comments on the blog I setup @ http://blogs.flexsearch.com http://blogs.flexsearch.com/ Thanks! Clint Modien http://esria.com http://esria.com/ p. 1.877.TRY.ESRIA ext 706 c. 1.408.489.0750 f. 1.877.828.4436 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] attachment: image003.jpg attachment: image001.jpg
RE: [flexcoders] Change alpha properties when setting enabled property
Good catch Mike... I was thinking backgroundAlpha, which is a style on Container and its derived children, instead of the alpha propertry. Although it is not a style on UIComponent, it is more or less the same concept. Thanks for pointing that out. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Thursday, November 30, 2006 8:48 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Change alpha properties when setting enabled property Andy, myComponent.setStyle(alpha, .5); Whay do you use setStyle()? Since alpha is a property, this just seems to use more overhead by calling two methods instead of one. Since all UIComponent implement IUIComponent that extends IFlexDisplayObject that declares alpha, you even have a straight forward interface into the component. IUIComponent(myComponent).alpha = 0.5; Just curoius, Peace, Mike On 11/30/06, Sam Shrefler [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Andy: Thank you very much!!! Sam On 11/29/06, Andrew Trice [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sorry... let me elaborate more. The previous example would be used inside of the component that is being enabled/disabled. To do this outside of a component, you need to do it in actionscript: myComponent.enabled=fase; myComponent.setStyle(alpha, .5); _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ups.com http://ups.com ] On Behalf Of Andrew Trice Sent: Wednesday, November 29, 2006 4:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Change alpha properties when setting enabled property override public fuction set enabled(value:Boolean) : void { super.enabled = value; this.setStyle(alpha, ( value ? 1 : .5)); } Enjoy! -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com http://ups.com ] On Behalf Of Sam Shrefler Sent: Wednesday, November 29, 2006 3:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Change alpha properties when setting enabled property Could someone tell me how to modify the alpha settings when setting a component to enabled=false? Thanks! Sam -- Teoti Graphix http://www.teotigraphix.com http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] Flex Vs Ajax
SS Here's one for you: http://www.onflex.org/ted/2006/09/flex-2-and-flash-player-9-running-in.php Andrew On 20/12/06, sanjaypmg [EMAIL PROTECTED] wrote: Hi All, Can anyone tell me Flex Advantages over Ajax and Vise-Versa. And a comparision table, in which, The different functionality, components available and enviornment supported by them. Pls do let me know. Thanks, SS -- --- Andrew Muller http://www.webqem.com
RE: [flexcoders] Accessibility - JAWS issue
This is an issue with the HTML file that FlexBuilder creates. If you use SWFObject you won't have this extra information voiced. Inspect32 and AccExplorer32 both work with Flex content to expose the MSAA data. Hope this helps, AWK -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Goodwin Sent: Thursday, January 18, 2007 10:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accessibility - JAWS issue JAWS is doing some funny things while reading my Flex app. It is finding the movie - then it reads 'greater, greater, greater, greater, greater' then reads the label text then ends. Its just a test file, so there's not much going on two Labels and a Button. Just wondering if anyone has run into this. Also, does anyone know of a tool similar to AccExplorer that works with Flex? Thanks. - Jason -- 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
RE: [flexcoders] Accessibility and imported components
Jason, The short answer is that it does work. The longer, more useful answer requires more information from you about what you've tried, and how you are using JAWS (e.g. are you in forms mode or virtual cursor mode) Thanks, AWK -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Goodwin Sent: Tuesday, January 23, 2007 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accessibility and imported components *RE POST (my thread got hijacked) I have an app with lots of imported components. I can't seem to get JAWS to read anything that's not on the main page. I have tried several ways of add in the accessibility properties to the controls. 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
RE: [flexcoders] Posting PNG to server
If you are using AMF3 (RemoteObject), you can serialize binary data without any conversion. If you are trying a standard HTTP post, I would use a HTTPService with the method= POST. Then you have to Base64 encode the binary data and attach it to the parameters of the http service. On the server side, you will need to decode the base64 encoded data back into binary. Example: mx:HTTPService id=httpService showBusyCursor=true useProxy=false method=POST resultFormat=text url=/BinaryData/cf/HTTPImageSave.cfm result=onResult('Data Saved via mx:HTTPService') fault=onFault(event) / private function base64Encode( data : ByteArray ) : String { var encoder : Base64Encoder = new Base64Encoder(); encoder.encodeBytes( data ); return encoder.flush(); } private function sendData() : void { var data : ByteArray = encoder.encode( myPngByteArray ); var params : Object = { data : base64Encode( data ) }; httpService.send( params ); } In ColdFusion, you can decode the base64 data simply by using the toBinary function. Other languages have similar functions as well. Just a FYI... using the JPG instead of PNG requires significantly less bandwidth time to post the data to the server. Base64 encoding the data also increases the size of the data being transferred across the wire. It is much more efficient to use a remoteObject method with JPG-compressed data. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simeon Bateman Sent: Thursday, January 25, 2007 2:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Posting PNG to server I have done this with ColdFusion using the RemoteObject tag. Can you use one of the remote object php tools to pass the binary data? simeon On 1/25/07, franto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, Please help me, how can I post PNG (ByteArray created by Tini Uro's convertor) to server (PHP) Im try URLLoader + URLRequest.data = png but it doesnt work :( Does anyone know, what should I do? Thanks P.S. Close to deadline :)) Franto
RE: [flexcoders] Newbie question: Datagrid and a WS
I talked to Tony on instant messenger about that... He was missing the send() method for his web service. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cisnky Sent: Monday, January 29, 2007 3:17 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Newbie question: Datagrid and a WS Is the data from an xml document? If so, can I see your xml doc? On 1/29/07, Tony [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hola peeps! im a newbie, so please bear with me... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=vertical mx:WebService id=myService wsdl= http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl mx:operation name=getVehicleDataForCompany resultFormat=object mx:request companyIdNumber1/companyIdNumber /mx:request /mx:operation /mx:WebService mx:DataGrid dataProvider={myService.getVehicleDataForCompany.lastResult} mx:columns mx:DataGridColumn headerText=Vehicle Name dataField=vehicleName/ mx:DataGridColumn headerText=Phone Number dataField=phoneNumber/ mx:DataGridColumn headerText=Ip Address Number dataField=ipAddressNumber/ /mx:columns /mx:DataGrid /mx:Application is my webservice tag, and the resulting dataProvider param of the mx:datagrid tag, right? im close on getting data into a datagrid from a WS, i just want to make sure... im getting the datagrid with no data in it?? thanks for all your help! and hello, im a newbie, but learning fast :) tony weeg navtrak, inc. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
RE: [flexcoders] Newbie question: Datagrid and a WS
In your case, you need to fire the event that sets the source of the image whenever the data to the cellrenderer is changed. Not on creation complete. You can do this two ways: 1) bind the source of the image tag to the data : mx:Image source={ data.file_name } / 2) Override the set data function to update the image source whenever the data has been updated. I would go with #1 first. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cisnky Sent: Monday, January 29, 2007 3:47 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Newbie question: Datagrid and a WS Do you have time for another datagrid related question? http://tech.groups.yahoo.com/group/flexcoders/message/62788 http://tech.groups.yahoo.com/group/flexcoders/message/62788 On 1/29/07, Andrew Trice [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I talked to Tony on instant messenger about that... He was missing the send() method for his web service. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Blog: http://www.cynergysystems.com/blogs/page/andrewtrice http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY From: [EMAIL PROTECTED] ups.com http://ups.com/ [mailto:[EMAIL PROTECTED] ups.com http://ups.com/ ] On Behalf Of cisnky Sent: Monday, January 29, 2007 3:17 PM To: [EMAIL PROTECTED] ups.com http://ups.com/ Subject: Re: [flexcoders] Newbie question: Datagrid and a WS Is the data from an xml document? If so, can I see your xml doc? On 1/29/07, Tony [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hola peeps! im a newbie, so please bear with me... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=vertical mx:WebService id=myService wsdl= http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl mx:operation name=getVehicleDataForCompany resultFormat=object mx:request companyIdNumber1/companyIdNumber /mx:request /mx:operation /mx:WebService mx:DataGrid dataProvider={myService.getVehicleDataForCompany.lastResult} mx:columns mx:DataGridColumn headerText=Vehicle Name dataField=vehicleName/ mx:DataGridColumn headerText=Phone Number dataField=phoneNumber/ mx:DataGridColumn headerText=Ip Address Number dataField=ipAddressNumber/ /mx:columns /mx:DataGrid /mx:Application is my webservice tag, and the resulting dataProvider param of the mx:datagrid tag, right? im close on getting data into a datagrid from a WS, i just want to make sure... im getting the datagrid with no data in it?? thanks for all your help! and hello, im a newbie, but learning fast :) tony weeg navtrak, inc. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
RE: [flexcoders] Gantt Chart
What kind of animations are you trying to display. As long as you don't need to cross into other grid rows, the method I described will work very well. You can animate anywhere within the renderer. You can either use timer-based animation or you can use an AnimateProperty instance to modify values redraw the chart. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Monday, January 29, 2007 2:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Gantt Chart Hello, I'm looking for a Gantt chart tool. I have read Andrew Trice's article at http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts_ in_flex_datagrids http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts _in_flex_datagrids and I will use that if I don't find another solution. I don't need to draw dependencies. I'm actually going to use it to build a product roadmap. When I add series I would like animations to display. Sorry if this question has been asked a lot. I've googled it for two days now and haven't found a real solution. I herd that back in Nov 2004 that someone showed a Gantt chart example that was completely interactive with drag and drop capabilities. http://www.richinternet.de/blog/index.cfm?entry=0539CEAE-91C9-CD8F-05566 45BE7952887 http://www.richinternet.de/blog/index.cfm?entry=0539CEAE-91C9-CD8F-0556 645BE7952887 After searching through this mailing list it seems that Ely was working on something? His name came up in about every Gantt chart mail string i read. Thanks SO much for your help, Nate
RE: [flexcoders] Re: Is it possible to Inheirt from an MX Application inside of an MX Application ?
You don't need AddChild, that is only used within view states. When extending an object, you can just add new elements. So, just add mx:Label / instead of mx:AddChildmx:Label //mx:AddChild _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Monday, January 29, 2007 5:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Is it possible to Inheirt from an MX Application inside of an MX Application ? Thanks for the reply ... Tried what you said but it seems like Flex will not allow you to inherit from your application. If I try and do something like: ?xml version=1.0 encoding=utf-8? h:ApplicationSecure xmlns:h=* xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:AddChild position=lastChild mx:Label text=Work/ /mx:AddChild /h:ApplicationSecure OR also tried with no luck: ?xml version=1.0 encoding=utf-8? ApplicationSecure xmlns:h=* xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:AddChild position=lastChild mx:Label text=Work/ /mx:AddChild /ApplicationSecure Flex Builder will not allow you to go to Design Mode complaining Error in line 2 Any idea ... :( Regards, Sean. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , helihobby [EMAIL PROTECTED] wrote: Is it possible to Inheirt from an MX Application inside of an MX Application ? We wish to make two MX applications. One called: ApplicationSecure ( file name is ApplicationSecure ) and One called: ApplicationMain ( file name is ApplicationMain ) ApplicationSecure header looks normal such as: ?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 creationComplete=authenticate() creationPolicy=all xmlns:cc=dynaLib.common.components.* mx:Script ![CDATA[ ... However we wish ApplicationMain Header to look as the following: ?xml version=1.0 encoding=utf-8? c:ApplicationSecure xmlns:c=* xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml ... /c:ApplicationSecure So in ascence ApplicationSecure is inherting from Application. ApplicationSecure will run first than ApplicationMain. Everything seems ok, only that the compiler is comlaining that is can not find any of the MX components in its namespace path. In other words, it is as if the ApplicationMain is ignoring the line: xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml becauase we have instructed it to inherit from ApplicationSecure. Any Help will be greatly appreciated. Regards, Sean.
RE: [flexcoders] Init image with binary xml node
You need to Base64 encode the binary data. Once encoded, it is treated as a text string, and can be embedded within an xml document. You also need to keep in mind that Base64 encoding data also increases the size of the data. When you are retrieving data out of the xml, you will need to decode the base64-encoded data back into its binary form. private function base64Encode( data : ByteArray ) : String { var encoder : Base64Encoder = new Base64Encoder(); encoder.encodeBytes( data ); return encoder.flush(); } Hope that helps, -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wifi19 Sent: Tuesday, January 30, 2007 5:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Init image with binary xml node Hie ! i'm searching how can i create a image with a binary node in my xml file image binary file /image can you help me ? Thanks !
RE: [flexcoders] Accessibility and imported components
6.0 is really buggy. I recommend 6.1 or 7.0/7.1. 8.0 is also out but not quite proven yet. Other things to look for: 1) don't use anything except wmode=window in the HTML object params. 2) You need to use IE If those don't help, send me a link and I'll take a look. AWK -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Goodwin Sent: Wednesday, January 31, 2007 2:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Accessibility and imported components I have tried it in both forms mode and virtual cursor modes, in JAWS 6.0.65U. - J On 1/23/07, Andrew Kirkpatrick [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Jason, The short answer is that it does work. The longer, more useful answer requires more information from you about what you've tried, and how you are using JAWS (e.g. are you in forms mode or virtual cursor mode) Thanks, AWK -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Jason Goodwin Sent: Tuesday, January 23, 2007 3:25 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Accessibility and imported components *RE POST (my thread got hijacked) I have an app with lots of imported components. I can't seem to get JAWS to read anything that's not on the main page. I have tried several ways of add in the accessibility properties to the controls. 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
RE: [flexcoders] Gantt Chart
Nice work Doug. I just threw that idea together a there a while back. I'm glad to see you build off of it. I like the sliders. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Thursday, February 01, 2007 10:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Gantt Chart Here's my attempt that uses the DataGrid approach: http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-i n-flex/ http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component- in-flex/ It uses adjustable sliders, so you can adjust each item. It's by no means complete, but maybe it can be a start... Doug Clint Tredway wrote: no problem, I figured it could work as a gantt chart even if it wasnt originally designed to do so... hope it works out.
RE: [flexcoders] Load Flex app (swf) into Flash App
Yes, you can do that. You can communicate between the embedded Flash 8 and Flex (Flash 9) swf files using the localConnection object. More info can be found at: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=749eaa47 Hope that helps, -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hesla Sent: Wednesday, February 07, 2007 10:09 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Load Flex app (swf) into Flash App I've thought about this some more - would it be possible to flip this around and build my containers in Flex and load our old Flash SWFs in them? This leads me to another question - how would these dynamically-loaded swf files communicate with their container Flex swf files? In Flash, I was able to use the _parent pronoun from within the child, and the instance name of the movieclip from the parent to send data, call functions, etc. Thanks, ~greg On Feb 6, 2007, at 4:18 PM, Greg Hesla wrote: I was afraid of that. Thanks very much for your quick response. ~g On Feb 6, 2007, at 3:49 PM, Tracy Spratt wrote: No, because the Flash will be ver 8, AS2, and cannot contain the AS3 virtual machine needed for FP 9. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hesla Sent: Tuesday, February 06, 2007 3:28 PM To: Flex Coders Subject: [flexcoders] Load Flex app (swf) into Flash App Is it possible to load a Flex-based swf file into a Flash movie using loadMovie()? We are trying to migrate from Flash / Remoting to Flex. We have several container movies which load smaller movies that the user interacts with. Thanks in advance, Greg
RE: [flexcoders] Accessibility on the entire SWF?
Jason, This is how you address the whole app accessibilityProperties. AWK ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* layout=absolute width=100% height=100% creationComplete=init() mx:Script ![CDATA[ public function init():void{ this.accessibilityProperties = new AccessibilityProperties(); this.accessibilityProperties.name = I am read from Accessibility Properties name; this.accessibilityProperties.description = I am read from Accessibility Properties description; this.accessibilityProperties.forceSimple = true; this.accessibility.Properties.noAutoLabeling = true; Accessibility.updateProperties(); } ]] /mx:Script mx:VBox mx:Label text=This file has a regular checkbox, a disabled checkbox, and a checkbox with a text label and a toolTip/ mx:TextInput/ mx:CheckBox label=Chicken/ mx:CheckBox label=Beef enabled=false/ mx:CheckBox label=Vegetarian toolTip=May include seafood/ /mx:VBox /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Goodwin Sent: Tuesday, February 13, 2007 11:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accessibility on the entire SWF? How do I set accessibility properties on an entire SWF? Is it as simple as setting up a new accessibilityProperties object and assigning it to the mx:Application? For instance if I want to use noAutoLabeling, I have to use it on the SWF. Thanks. - Jason -- 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
RE: [flexcoders] Re: Exporting Charts as Image
Glad my blog entry helped. :-) You can use the as3 PNGEncoder or JPGEncoder libraries at http://code.google.com/p/as3corelib/ to do the image format conversion within the flex application. You can post it to a server using either remoting, web service, or http service. Remoting/AMF3 is fastest and easiest, but the other methods work well too. Remoting does not require any base64 conversion for the binary data; you can send it across the wire as is. -Andy This is from a previous post I wrote here on flexcoders... If you are using AMF3 (RemoteObject), you can serialize binary data without any conversion. If you are trying a standard HTTP post, I would use a HTTPService with the method= POST. Then you have to Base64 encode the binary data and attach it to the parameters of the http service. On the server side, you will need to decode the base64 encoded data back into binary. Example: mx:HTTPService id=httpService showBusyCursor=true useProxy=false method=POST resultFormat=text url=/BinaryData/cf/HTTPImageSave.cfm result=onResult('Data Saved via mx:HTTPService') fault=onFault(event) / private function base64Encode( data : ByteArray ) : String { var encoder : Base64Encoder = new Base64Encoder(); encoder.encodeBytes( data ); return encoder.flush(); } private function sendData() : void { var data : ByteArray = encoder.encode( myPngByteArray ); var params : Object = { data : base64Encode( data ) }; httpService.send( params ); } In ColdFusion, you can decode the base64 data simply by using the toBinary function. Other languages have similar functions as well. Just a FYI... using the JPG instead of PNG requires significantly less bandwidth time to post the data to the server. Base64 encoding the data also increases the size of the data being transferred across the wire. It is much more efficient to use a remoteObject method with JPG-compressed data. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Whitelock Sent: Wednesday, February 14, 2007 1:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Exporting Charts as Image Thanks Brendan! I was indeed looking in the Language Reference documents which is why I couldn't find anything. In the last section of the Andrew Trice tutorial he's doing pretty much what I'd like to do, but he doesn't supply the source. The piece that I think I need is how to handle the data sent from Flex on the ColdFusion side (i.e., how to create the JPG from a ByteArray sent from Flex). Has anyone seen any tutorials or documentation on this? Paul --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Brendan Meutzner [EMAIL PROTECTED] wrote: Hey Paul, It's in there... just not shown in the Language Reference documents if that's where you're looking... check out corelib\src\trunk\src\actionscript3\com\adobe\images Andrew Trice also has a tutorial on capturing UI to bitmap on his blog here: http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmap data_tricks_and http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitma pdata_tricks_and Brendan