[flexcoders] Caputre DisplayObject as high res image for use with AlivePDF
AlivePDF ooks like a noble effort. I'm trying to get higher resolution chart shapshots into a PDF, and it appears that 1) PNGEncoder can't handle transparency 2) JPEGEncoder is very slow 3) These might be addressed in a forthcoming 0.1.5 release, but I'm not sure how imminent that is. There is an addImageStream method that takes a byte array. Can anyone point me at a good example of capturing a DisplayObject as a higher-resolution image?
[flexcoders] Re: Flash and Flex free magazine download
The link in the email is just for authenticating you. Once you click on that link, click the Magazine link, then the Free FFD ezine link. There you will find links to the free issues. --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote: Hi John, I entered my email and a link was sent to my email address but the link does nothing in providing the link to be able to download the magazine. Any suggestions? Regards, Angelo From: John McCormack j...@... To: flexcoders@yahoogroups.com Sent: Fri, 6 November, 2009 1:34:59 Subject: [flexcoders] Flash and Flex free magazine download Don't forget the Flash and Flex developers' free magazine: http://ffdmag.com/ It's a bit of a pain to get to the download (you have to enter your email each time) but it's really well worth it. John Content: 12 Flash Player 10 Features LOUIS DICARRO 14 Smarter ActionScript Animation JACK DOYLE 18 Flexmonster FLEX MONSTER 20 The Risks of iPhone User Interface Design BEN GEORGE, NA WONG 22 Getting started with Adobe Open Source Media Framework MAXYM GOLOVANCHUK 26 Adobeâs Open Source Media Format LOUIS DICARRO 30 Learning Flash Media Serverâs Remote Procedure Calls:Tic-Tac-Toe multiplayer minigame MAXYM GOLOVANCHUK 36 A Journey into Adobe Flex Charting Components [Part2] ALI RAZA 40 Building video players for mobile devices ELAD ELROM 50 Creating a Custom ActionScript 3 Video Player LOUIS DICARRO 56 Harnessing FP10 Power with Away3D Lite DENNIS IPPEL 60 Designer-Developer workflow Using Flash Catalyst ELAD ELROM 80 Migrating from AS2 to AS3 GÃBOR CSOMÃK 84 Unconditional Patterns â The State and Strategy Design Patterns: Part II BILL SANDERS -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] text from a form into an e-mail?
Hi I'm trying to move text filled into a form in an app being built with Flash Builder beta2 into the body of an e-mail. I'm trying to do this via the default program on the user's computer because it seems potentially simplest. If there's a better basic strategy or a big problem my aforementioned strategy, please clue me in. What I've tried that hasn't worked is calling this function on clicking the Submit button: private function sendEmail():void { var u:URLRequest = new URLRequest(mailto:recepi...@isp.com?body=+ nameFormItem); navigateToURL(u, self); } I suspect there's at least a problem with the code after the email address Better for the FormItem text to be put into Model first? Need to use an HTTP Service? Thanks for your attention. Kearney Buskirk LightThruMedia
[flexcoders] Trapping Control-A in webapp
I want to pass Control-A to a Flex app running in a browser. Seems the browser grabs Control-A and does not pass it to the Flex app. I tried adding this to index.template.html: script language=JavaScript type=text/javascript !-- function disableCtrlModifer(evt) { var disabled = {a:0, c:0, x:0, v:0}; var ctrlMod = (window.event)? window.event.ctrlKey : evt.ctrlKey; var key = (window.event)? window.event.keyCode : evt.which; key = String.fromCharCode(key).toLowerCase(); return (ctrlMod (key in disabled))? false : true; } // -- /script /head body scroll=no onKeyPress=return disableCtrlModifer(event) onKeyDown=return disableCtrlModifer(event) ... but no joy. Suggestions?
[flexcoders] ObjectUtil.copy() and Dictionaries
I have an AIR project setup in Flex Builder 3 that copies a subclass of flash.utils.Dictionary just fine with ObjectUtil.copy() when the target player is set to 9.0.28. However, when the target player is set to 10.0.0 I get the following error when attempting to make a copy: TypeError: Error #1034: Type Coercion failed: cannot convert flash.utils::diction...@2743cf71 to com.elasticsales.utils.ElasticDictionary. Does any one have any insight into why this is happening?
[flexcoders] Re: Forcing titlewindow redraw after includeInLayout set to true
Hi, Bump, in case someone who has an answer has missed the topic. Thanks, -- Sébastien 2009/11/1 Sébastien Tromp sebastien.tr...@gmail.com Hello, I have an MXML TitleWindow component that contains the following: popup:MajorImprovementClickableBoard id = board player = {player} majorImprovements = {AgricolaModelLocator.getInstance().game.majorImprovements}/ view:AlternativeCostComponent id = alternativeCostsComponent visible = {board.multipleCosts} includeInLayout = {board.multipleCosts} selectedImprovement = {board.selectedImprovement} player = {player} width=100%/ where at initialization time, board.multipleCosts = false, which means the AlternativeCostComponent is not displayed. When the TileWindow is first created, it is automatically scaled so that the MajorImprovementClickableBoard fits exactly. However, when the board.multipleCosts becomes true, the AlternativeCostComponent becomes visible, but the TileWindow is not refreshed; as a result, a scrollbar appears. What I would like to do is to have the TileWindow be automatically redrawned / rescaled / whatever, so that the content (MajorImprovement + AlternativeCost) fits exactly. I have tried to listen to the includeInLayoutChanged, but this did not achieve anything private function addEventListeners():void { alternativeCostsComponent.addEventListener(includeInLayoutChanged, onLayoutChange); } private function onLayoutChange(event:Event):void { trace(On layout change); // This is printed to the console invalidateDisplayList(); // This does nothing, I still have the scroll bar } I have tried to google it, but without much success. Would you happen to have advises on how I could solve my problem? Thanks a lot, -- Sébastien
[flexcoders] Data Transfer between Viewstacks
I am building an app that includes datagrids where when double clicking a record causes the ViewStack to change to a new view to present the data in a form for editing/creating. What is the best way to transfer data between two different view states? Bindable public variables? Where you dump the record field data into public bindable vars then load it into text squares in the new viewstate??? Is there a standard way to do this? Value Objects? Thanks Dan
[flexcoders] Re: Make Flex AIR app demand more system resources
Ironic, huh? Actually, we are not finding the AIR app to be unreasonably resource hungry. Yes, I am using the papervision cube to navigate between forms, and the animation is not always smooth(sometimes it is). However, the os memory monitor indicates that the air app is not taking the resources it has available at that moment. I will try your suggestion of running something in an enterFrame handler. We just got an important demo wrapped up and I will have some time to work on this. Thanks, Tracy --- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: Are you really suggesting that the AIR app isn't a massive resource hog and is unusable for any purpose? This should be a good thread to watch *fetches popcorn* Seriously though, and on topic... When you say it relinquishes resources back to readily, are you talking about CPU time, and therefore getting a jittery frame rate? Could be either the runtime or the OS scheduler I suppose. If the runtime doesn't place a high enough priority on running animations (i.e. AS is given a higher priority) it could release back to easily. Likewise the OS scheduler could be thinking the app is idle when it isn't. Stupid suggestion, but running some AS code alongside the animations... Running something small and inconsequential in an enterframe handler. Does it change the game somewhat? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@...
[flexcoders] Re: Data Transfer between Viewstacks
Use a central data model. Some folks use a singleton for this. Use binding, or events, or ChangeWatcher to update your UI pieces as needed. Tracy --- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote: I am building an app that includes datagrids where when double clicking a record causes the ViewStack to change to a new view to present the data in a form for editing/creating. What is the best way to transfer data between two different view states? Bindable public variables? Where you dump the record field data into public bindable vars then load it into text squares in the new viewstate??? Is there a standard way to do this? Value Objects? Thanks Dan
[flexcoders] Re: text from a form into an e-mail?
How does it not work? Where is the problem? Can you build and send body text without using the form data? I have done this a lot, but do not have my code in front of me right now. Do it one step at a time. Tracy --- In flexcoders@yahoogroups.com, Kearney Buskirk kear...@... wrote: Hi I'm trying to move text filled into a form in an app being built with Flash Builder beta2 into the body of an e-mail. I'm trying to do this via the default program on the user's computer because it seems potentially simplest. If there's a better basic strategy or a big problem my aforementioned strategy, please clue me in. What I've tried that hasn't worked is calling this function on clicking the Submit button: private function sendEmail():void { var u:URLRequest = new URLRequest(mailto:recepi...@...?body=+ nameFormItem); navigateToURL(u, self); } I suspect there's at least a problem with the code after the email address Better for the FormItem text to be put into Model first? Need to use an HTTP Service? Thanks for your attention. Kearney Buskirk LightThruMedia
Re: [flexcoders] Re: text from a form into an e-mail?
Thanks for your response. I re-wrote the code so at least I can send body text without the form data. private function sendEmail():void { navigateToURL(new URLRequest('mailto:kear...@gmail.com?body=some%20body%20text%20goes%20in%20here'),'_self') } Now the problem is how to specify the contents of the FormItems in the 'mailto'. Kearney On Nov 5, 2009, at 6:28 PM, Tracy wrote: How does it not work? Where is the problem? Can you build and send body text without using the form data? I have done this a lot, but do not have my code in front of me right now. Do it one step at a time. Tracy --- In flexcoders@yahoogroups.com, Kearney Buskirk kear...@... wrote: Hi I'm trying to move text filled into a form in an app being built with Flash Builder beta2 into the body of an e-mail. I'm trying to do this via the default program on the user's computer because it seems potentially simplest. If there's a better basic strategy or a big problem my aforementioned strategy, please clue me in. What I've tried that hasn't worked is calling this function on clicking the Submit button: private function sendEmail():void { var u:URLRequest = new URLRequest(mailto:recepi...@...?body=+ nameFormItem); navigateToURL(u, self); } I suspect there's at least a problem with the code after the email address Better for the FormItem text to be put into Model first? Need to use an HTTP Service? Thanks for your attention. Kearney Buskirk LightThruMedia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo ! Groups Links
RE: [SPAM] Re: [flexcoders] Re: text from a form into an e-mail?
Ok, next, put that string into a variable and use the var in the url string. When that works, all you need to do is generate the string from the form, and put it in the var. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kearney Buskirk Sent: Thursday, November 05, 2009 11:51 PM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [flexcoders] Re: text from a form into an e-mail? Thanks for your response. I re-wrote the code so at least I can send body text without the form data. private function sendEmail():void { navigateToURL(new URLRequest('mailto:kearney@ mailto:kear...@gmail.com?body=some%20body%20text%20goes%20in%20here' gmail.com?body=some%20body%20text%20goes%20in%20here'),'_self') } Now the problem is how to specify the contents of the FormItems in the 'mailto'. Kearney On Nov 5, 2009, at 6:28 PM, Tracy wrote: How does it not work? Where is the problem? Can you build and send body text without using the form data? I have done this a lot, but do not have my code in front of me right now. Do it one step at a time. Tracy --- In flexcod...@yahoogro mailto:flexcoders@yahoogroups.com ups.com, Kearney Buskirk kear...@... wrote: Hi I'm trying to move text filled into a form in an app being built with Flash Builder beta2 into the body of an e-mail. I'm trying to do this via the default program on the user's computer because it seems potentially simplest. If there's a better basic strategy or a big problem my aforementioned strategy, please clue me in. What I've tried that hasn't worked is calling this function on clicking the Submit button: private function sendEmail():void { var u:URLRequest = new URLRequest(mailto:recepient@ mailto:recepi...@...?body= ...?body=+ nameFormItem); navigateToURL(u, self); } I suspect there's at least a problem with the code after the email address Better for the FormItem text to be put into Model first? Need to use an HTTP Service? Thanks for your attention. Kearney Buskirk LightThruMedia -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share. https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e6 2079f6847 acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links (Yahoo! ID required) flexcoders-fullfeat mailto:flexcoders-fullfeatu...@yahoogroups.com u...@yahoogroups.com