Re: [flexcoders] bugs forum for Fireworks (FXG feedback)
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform - Original Message - From: Ariel J arielj...@yahoo.com To: flexcoders@yahoogroups.com Sent: Tuesday, January 12, 2010 10:37 PM Subject: [flexcoders] bugs forum for Fireworks (FXG feedback) anyone know where we file bugs for how Fireworks exports FXG?
Re: [flexcoders] SharedObject problem/bug? Cannot store a subclass of ByteArray.
Add a RemoteClass metadata tag to the custom class: Example at the bottom of the article http://cookbooks.adobe.com/post_How_to_keep_the_type_of_your_objects_when_serializ-8323.html - Original Message - From: Geoffrey geoff...@gmail.com To: flexcoders@yahoogroups.com Sent: Wednesday, October 28, 2009 12:45 PM Subject: [flexcoders] SharedObject problem/bug? Cannot store a subclass of ByteArray. Hi, I have a subclass of ByteArray (let's call it ByteArrayPlus), which I want to write to a SharedObject. I can store it fine, but when I read it back, it says it's of type ByteArray, not ByteArrayPlus. Does anyone have an idea what may be wrong? Has anyone gotten this to work? FYI, I am already using registerClassAlias(). And it works fine with a custom class, and with a custom class extending another custom class. I also tried implementing IExternalizable, but that did not help. I also tried [RemoteClass] and [RemoteClass(alias=ByteArrayPlus)]. Also, ByteArrayPlus is really simple: I only added a String (name) to it. This is my first post to FlexCoders. Any help appreciated. --Geoff
Re: [flexcoders] Unable to use a source path with a number in it?
Just a wild guess, try putting it in quotes.. ${MYPATH}\Components\ABC20Components - Original Message - From: biosmonkey biosmon...@yahoo.com To: flexcoders@yahoogroups.com Sent: Monday, October 05, 2009 6:04 AM Subject: [flexcoders] Unable to use a source path with a number in it? I have discovered an unusual problem with Flex and the use of workspace linked resources (Window/Preferences/General/Workspace/Linked Resources). If you have a source path that is partially a linked resource (ie ${MYPATH} and another part is a number, then Flex cannot find the path. For example, the following will work: ${MYPATH}\Components\ABCComponents but the following will not . If I look at the properties for the failed link, I get some strange stuff: Location: MYPATH/Components/ABC%25320Components Resolved location: full path\Components\ABC%320Components - (does not exist) I am using Flex Eclipse with Ganymede on Vista 64bit, if that makes a difference. If I take out the linked resource and just use the full path, then it works fine. It seems that Flex is trying to escape the path or something, although it does not need to?
Re: [flexcoders] flex on a cfm page
If people load the SWF directly, wouldn't that bypass any of the security mechanisms you are implementing in your CF code? http://www.myserver.com/Myswf.swf; will never load any CF code and will therefore never validate the users login credentials. [right?] Not if you have an Application.cfm (or cfc) that checks credentials (and/or maybe even redirects when the swf is being referenced directly - if that is possible). - Original Message - From: Jeffry Houser j...@dot-com-it.com To: flexcoders@yahoogroups.com Sent: Tuesday, September 29, 2009 12:16 AM Subject: Re: [flexcoders] flex on a cfm page If people load the SWF directly, wouldn't that bypass any of the security mechanisms you are implementing in your CF code? http://www.myserver.com/Myswf.swf; will never load any CF code and will therefore never validate the users login credentials. [right?] It may not matter for your app, but if it does you'll want to have SWF code that validates against your CF based security login. This code could be headless; just pinging the server and seeing if the user is logged in via some session variable. As long as the SWF and CFM page are served from the same domain / CF Server, a CFC called from the SWF should have no trouble accessing CF session variables. Jake Churchill wrote: I do it all the time and yes, just password protect the CFM template and the server will protect your SWF. If you are being SUPER secure, you might want to code a login form for both or share sessions or something like that but in general, this is fine. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com http://www.cfwebtools.com 402-408-3733 x103 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *nstokes142 *Sent:* Monday, September 28, 2009 1:08 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] flex on a cfm page I am sure that this is so basic a question that I am almost embaressed to ask but here goes . . I have a site I have built with Coldfusion. The site is password protected and uses a cfm routine to grant access to the site. I want to add a flex app on this site. I want this app to be password protected like the other pages on the site but I dont want to code a seperate log in for the flex app. Is it kosher to wrap the flex app in a cfm wrapper instead of the default html wrapper that the flex page lives on? How would you guys handle this sort of scenario? (Where the flex app is not the main app on a site) No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.113/2400 - Release Date: 09/28/09 05:51:00
Re: [flexcoders] cairngorm convention: vo or model?
I don't have a ModelLocator, just one or more Models :) but yes, that's what goes in the model package. I have my own MVC framework, based on Cairngorm and ARP. ARP is what I started out with in AS2 (Flash) and Cairngorm is what most people moved over to when AS3 and/or Flex 2 came out. As already mentioned, I find Cairngorm has a few things backwards, so I threw together my own MVC thing. regards, Muzak - Original Message - From: Jorge Maiquez jmaiq...@yahoo.com To: flexcoders@yahoogroups.com Sent: Friday, August 07, 2009 7:21 AM Subject: RE: [flexcoders] cairngorm convention: vo or model? bindable, typed data object (which may or may not get sent across the wire). Cool, that definition would take care of all 3 points I originally mentioned. So, what do you actually put into the model package? Is it just the ModelLocator? cheers, -Jorge
Re: [flexcoders] embedding swf fonts
If I'm not mistaken, (AkzidenzGroteskBE-MdIt) means that you do not have the font installed (or Flash CS4 doesn't recognize it) and will be replaced with the default _sans font on your system when compiling the swf. So basically, the font is missing from the swf when you try to embed it in Flex. regards, Muzak - Original Message - From: xelf...@rocketmail.com To: flexcoders@yahoogroups.com Sent: Thursday, August 06, 2009 7:10 AM Subject: [flexcoders] embedding swf fonts I have been handed a .swf file called akzidenz.swf I have tried to embed only to get the following error: Unable to transcode akzidenz.swf After some quick research this apparently is common, and I thought this article was interesting (http://curiousmindsmedia.wordpress.com/2009/06/04/embedding-irregular-fonts-in-flex-3/), but it has yielded no solution. So far, my Style block is simple at the moment: @font-face { src: url('akzidenz.swf'); font-family:(AkzidenzGroteskBE-Bold) _sans; } When I open the file in Flash CS4 the Character Families are: (AkzidenzGroteskBE-MdIt) _sans (AkzidenzGroteskBE-BoldIt) _sans (AkzidenzGroteskBE-Bold) _sans (AkzidenzGroteskBE-Md) _sans I've tried various ways of spelling, including/excluding parentheses and _sans, leaving font-weight out, yet I cannot shake the transcoding issue. There seems to the agreement that font embedding blows in Flex, but there's no consistent solution that I have found thus far. Any help? Any truly useful articles? Any one want to share the font family for PC with me? ($295 bucks...ouch.) Thanks!
Re: [flexcoders] cairngorm convention: vo or model?
1) the class only transfers data to/from a server: postfix VO and put it in the vo folder I'm working with someone who does (1) even when the class is never sent across the wire. That's what I do as well. Doesn't matter if it's meant for transfering data to/from server or not. They certainly don't belong in the model package though, that's where the model belongs, not data classes. If you prefer having a distinction between objects that will be sent to server and those that won't, maybe use a data and a vo package. And also: I've read somewhere that VO's should not contain any logic, and that you should be able to initialise all of its properties via the constructor. What do you think? VO's usually don't contain any logic but there's no law against it AFAIK :) I never use the constructor to initialize properties. regards, Muzak - Original Message - From: Jorge Maiquez jmaiq...@yahoo.com To: flexcoders@yahoogroups.com Sent: Thursday, August 06, 2009 2:07 PM Subject: [flexcoders] cairngorm convention: vo or model? I have a some doubts about implementing Cairngorm correctly (and I guess MVC in general). I'm trying to decide where to place some of my data storing/transferring classes, and I was wondering if anyone has any rules of thumb for this kind of thing. These are the guidelines that I have been following until now: 1) the class only transfers data to/from a server: postfix VO and put it in the vo folder 2) the class only stores data for the local application: put it in the model folder 3) the class does both of the above: put it in the model folder (don't postfix VO) I'm working with someone who does (1) even when the class is never sent across the wire. What's the right way to do this? And also: I've read somewhere that VO's should not contain any logic, and that you should be able to initialise all of its properties via the constructor. What do you think? TIA! -Jorge
Re: [flexcoders] cairngorm convention: vo or model?
What if you have a class that is both a vo and a part of the model (the situation I mentioned in my original post)? Should you clone the vo and put it in the model, as Claudiu mentioned? What do you mean by part of the model; it is used by the model? If so, why does that matter? VO's should be in the vo package, nowhere else. I followed the structure used by David Tucker Well, Cairngorm has a few things backwards (IMO), like CairngormEvent and CairngormEventDispatcher both being in the control package. Both should be in an events package, just like the standard Flex Event and EventDispatcher classes are. flash.events.Event flash.events.EventDispatcher And their use of ModelLocator is just... eeew. It's not a locator, it's just a Model. My guess is they looked at ARP a bit too much, but missed the point of how it is actually used :) regards, Muzak - Original Message - From: Jorge Maiquez jmaiq...@yahoo.com To: flexcoders@yahoogroups.com Sent: Thursday, August 06, 2009 6:31 PM Subject: RE: [flexcoders] cairngorm convention: vo or model? @Claudiu in you model? It won't even be in you project structure. it will be from your libs where the swc's reside... You can clone vo's into model classes but it seems such a waste to me ... Point taken. @Jake commands are in commands, vo’s should all be in vo So by that token, models should be in models, right? What if you have a class that is both a vo and a part of the model (the situation I mentioned in my original post)? Should you clone the vo and put it in the model, as Claudiu mentioned? default Cairngorm structure has commands and events at the same level as control, not inside of control I followed the structure used by David Tucker: http://www.davidtucker.net/2007/10/29/cairngorm-part-3/
Re: [flexcoders] Re: embedding swf fonts
So dear Muzak, Akzidenz-Grotesk doesn't mean .. (AkzidenzGroteskBE -MdIt) means that you do not have the font installed .., but is another font (AkzidenzGroteskBE -MdIt = medium italic) from the font foundry of Berthold!! I know what it means :) I was referring to the fact that the font is surrounded by parentheses. When a font in Flash (the IDE) shows up surrounded by parentheses, it means it's missing: Arial vs (Arial) So if it shows up as: (AkzidenzGroteskBE- MdIt) _sans in the properties panel it means the font AkzidenzGroteskBE- MdIt is missing and the systems default _sans font is used instead. I was given the .swf from a person who has the font on their system, so shouldn't one be able to 'extract' the fonts by name and use them into a project? Yup, if you got the swf from someone who does have the font, you should be able to use it, but you can't (re)compile the fla on your system (without the font installed). Ask the person that compiled the swf for the exact font names as they appear in the properties panel in Flash. Those are the names you should be using in Flex to use them. regards, Muzak - Original Message - From: grg_blls grg_b...@yahoo.com To: flexcoders@yahoogroups.com Sent: Thursday, August 06, 2009 7:10 PM Subject: [flexcoders] Re: embedding swf fonts Hi guys, some few clarifications are needed IMO here, to cleal up the sceen. First, a simple googling about Akzidenz-Grotesk BE: Download Akzidenz-Grotesk BE Volume, provided on Fonts.com from Berthold. Akzidenz-Grotesk BE Volume is available in OpenType, PostScript for Windows, ... . So dear Muzak, Akzidenz-Grotesk doesn't mean .. (AkzidenzGroteskBE -MdIt) means that you do not have the font installed .., but is another font (AkzidenzGroteskBE -MdIt = medium italic) from the font foundry of Berthold!! Second, as written: I was given the .swf from a person who has the font on their system, so shouldn't one be able to 'extract' the fonts by name and use them into a project?. This action constitutes direct violation of copyrights for whatever this means to anyone these days! And then: If not, then - other than file size - what's the point of distributing fonts in a .swf?. This statement is wrong! You don't use SWF files to distribute fonts (?). Rather you embed fonts in the SWF for a number of different reasons, like rotating text for one...! Hope this information is somehow usefull. Thanks George
Re: [flexcoders] cairngorm convention: vo or model?
Say, I have a list of users. I would create a userList ArrayCollection and stick that into the model (bindable and all that). Now, this ArrayCollection is actually a bunch of User objects. I would therefore put the User class into the model package, and not in the vo package. Are you saying you would call this a UserVO and place it in the vo package? Yup. This goes back to my definition of VO: objects that are sent across the wire. So my reasoning was that if you send something across the wire and it's not part of the model, then it should be in the vo package. My definition would be more along the lines of: bindable, typed data object (which may or may not get sent across the wire). regards, Muzak - Original Message - From: Jorge Maiquez jmaiq...@yahoo.com To: flexcoders@yahoogroups.com Sent: Thursday, August 06, 2009 10:30 PM Subject: RE: [flexcoders] cairngorm convention: vo or model? don't belong in the model package though, that's where the model belongs, not data classes Erhm, then maybe I don't know what a model is :-) Say, I have a list of users. I would create a userList ArrayCollection and stick that into the model (bindable and all that). Now, this ArrayCollection is actually a bunch of User objects. I would therefore put the User class into the model package, and not in the vo package. Are you saying you would call this a UserVO and place it in the vo package? Thanks for the response btw!
Re: [flexcoders] this group isn't very good
Or use: http://www.mail-archive.com/flexcoders@yahoogroups.com/ - Original Message - From: Howard Fore howard.f...@hofo.com To: flexcoders@yahoogroups.com Sent: Monday, August 03, 2009 2:59 PM Subject: Re: [flexcoders] this group isn't very good For heaven's sake don't fork the community, just use Google to search the group. Put use the following line in your search terms: site:tech.groups.yahoo.com inurl:flexcoders -- Howard Fore, howard.f...@hofo.com The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. ... No problem is too small or too trivial if we can really do something about it. - Richard P. Feynman On Mon, Aug 3, 2009 at 8:14 AM, mitchgrrt mitch_g...@hotmail.com wrote: Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo.
Re: [flexcoders] Re: Eclipse WTP and FlexBuilder 3
You'll need to install a version that works with Eclipse 3.3.1 (if you have the latest FB 3 standalone) According to this page: http://archive.eclipse.org/webtools/downloads/index.php The requirements for each WTP version are mentioned at the top of each page. The version that works with Eclipse 3.3.1 is this one: R-2.0.1-20070926042742 http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-2.0.1-20070926042742/ To find out what version of Eclipse you're using, in FB3, go: Help Product Details Click on the Eclipse icon at the bottom to see the version details. regards, Muzak - Original Message - From: simonjpalmer simonjpal...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wednesday, July 15, 2009 10:57 PM Subject: [flexcoders] Re: Eclipse WTP and FlexBuilder 3 I added WTP via the download manager in Flexbuilder according to http://download.eclipse.org/webtools/updates/ however when it finishes I do not get any additional perspectives and I had an Eclipse error box with Java Null Pointer Exception messages in them. The install log says everything installed fine but basically I have none of the additional tools showing up. What version of WTP did you use? I am suspecting that the version under the link above may be too recent for the FlexBuilder I have.
Re: [flexcoders] Re: Flash Player 10 is in prerelease!
From what I can tell, that's the standalone version, not the FP browser plugin (at least the win version). - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, May 21, 2008 5:58 PM Subject: Re: [flexcoders] Re: Flash Player 10 is in prerelease! On Friday 16 May 2008, Muzak wrote: For now, they're mainly interested in /developers/ using FP10 for compatibility /testing/. grumble They should have made a debug version then... +1 You can grab a debug version of Flash Player 10 from here, apperently: Windows: http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/win/ Linux: http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/lnx/ Mac: http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/mac/ Though I have not tried this yet... -- Tom Chiverton -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FLEX Book / Embedding Pixel Fonts
1. What is the easiest way to be able to embed pixel fonts in a flex app? Google: http://www.google.com/search?hl=enq=flex+embed+fonts+swfmeta= http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_09.html http://blog.flexexamples.com/2007/10/25/embedding-fonts-from-a-flash-swf-file-into-a-flex-application/ - Original Message - From: nihilism machine [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, May 21, 2008 11:09 PM Subject: [flexcoders] FLEX Book / Embedding Pixel Fonts 1. What is the easiest way to be able to embed pixel fonts in a flex app? 2. As far as GUI versus backend programming (HTTPService), what is the best FLEX book out there that covers lots of practical GUI/Skinning Data? Thanks everyone! -e -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flash Player 10 is in prerelease!
On Friday 16 May 2008, Gordon Smith wrote: (my emphasis) For now, they're mainly interested in /developers/ using FP10 for compatibility /testing/. grumble They should have made a debug version then... +1 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] itemRenderer not updating
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html - Original Message - From: securenetfreedom [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, May 11, 2008 8:44 AM Subject: [flexcoders] itemRenderer not updating I have custom item render in a datagrid that is exhibiting unpredictable behavior. It does not update when scrolling the datagrid. Other times it does update, and other times it updates but on the wrong row. Here's the component: ?xml version=1.0 encoding=utf-8? mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalScrollPolicy=off verticalScrollPolicy=off creationComplete=setItems(); mx:Script ![CDATA[ [Bindable] private var pct:Number; [Bindable] private var pct_str:String; [Embed(source=assets/flag_red.png)] [Bindable] public var red:Class; [Embed(source=assets/flag_green.png)] [Bindable] public var green:Class; private function setItems():void{ // checking for data=null is neccessary since grid is created // before dataprovider is populated via webservice if(data != null){ trace('data.Pct:'+ data.Pct); pct = Number(data.Pct); if(pct =85) img.source = green; if(pct 85) img.source = red; pct_str = renderPercentText(String(data.Pct)); this.updateDisplayList(this.unscaledWidth, this.unscaledHeight); } } private function renderPercentText(t:String):String { return String(percentFormatShort.format(t))+%; } // :: for testing only :: // this click handler will render the cell correctly the image is clicked private function setImg(e:Event):void{ setItems(); } ]] /mx:Script mx:NumberFormatter id=percentFormatShort precision=0 / mx:Image id=img width=16 height=16 right=0 click=setImg(event) / mx:Text id=txt text={pct_str} textAlign=right width=44 / /mx:HBox Thanks for your help. -Jeff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Large application strategy - Flex or Flash?
None of the factors you mention seem highly relevant to making the decision. How about: Uses webservices No webservice API in Flash AS3. Multiple remote developers SVN - Subclipse - FlexBuilder/Eclipse Intending to use automated builds (thinking Maven) Ant - FlexBuilder/Eclipse regards, Muzak - Original Message - From: Mike Chabot [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 28, 2008 8:04 AM Subject: Re: [flexcoders] Large application strategy - Flex or Flash? None of the factors you mention seem highly relevant to making the decision. Are the developers already comfortable using Flash? Flex? Do the developers have design backgrounds or programming backgrounds? If you have designers that already know Flash, do the developers need to do anything other than embed the SWF files into HTML? Is this a Web application deployed to an environment with a user-base that you know will be able to meet the higher requirements demanded by Flex, or is this more like an Internet application? Is using neither technology an option? What is driving the need for either Flash or Flex that isn't provided by a technology like ASP.NET or Ajax? -Mike Chabot On Sun, Apr 27, 2008 at 8:22 PM, bick [EMAIL PROTECTED] wrote: I wanted to get some opinions on whether to use Flex or Flash on a large scale site. Some details about the site: Very modular Some timeline based swfs provided by designers that need to be loaded Uses webservices Multiple remote developers Intending to use automated builds (thinking Maven) ASDocs No current requirement for Flex components Thoughts? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File selection problem
Is there a way to select a file/several files and read the contents without doing round trips? nope, afraid not. - Original Message - From: dlpagefr [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, April 17, 2008 12:10 AM Subject: [flexcoders] File selection problem Hi, When selecting files with a FileReference or FileReferenceList, I get an object or object array containing files. The problem is that apart from uploading these files, there is nothing else I can seem to do with them. 2 examples: 1) images: I can select images and upload them to my webserver, but I cannot load these images into the flex applet and display them... unless I upload them to the server, then download them again. 2) Data files: I can select a file, but I cannot parse it's contents or process the data: I have to upload it to a server and download it again... This does not seem the optimum method of programming and there has to be a better way. Uploading just to download again is a huge waste of bandwidth - and time. Is there a way to select a file/several files and read the contents without doing round trips? Cheers, Daniel -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to download a BLOB from database....using Java
You can use the Loader class. If your image is Base64 encoded, decode it first, if not, skip that part and use the Loader only. Here's something I'm using to display BLOB images stored in an SQLite DB (AIR). I've skipped a few things, but should get you going. The important part is that you use a Loader instance to transform the ByteArray into a Bitmap instance. mx:Script ![CDATA[ import mx.utils.Base64Decoder; import mx.utils.Base64Encoder; import mx.graphics.codec.JPEGEncoder; private function decodeImages():void { var decoder:Base64Decoder = new Base64Decoder(); // imgData is the Base64 encoded image decoder.decode(imgData); var imgBA:ByteArray = decoder.toByteArray(); var loader:Loader = new Loader(); loader.loadBytes(imgBA); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler); } private function loaderCompleteHandler(evt:Event):void { // display the image db_img.source = evt.currentTarget.content as Bitmap; } ]] /mx:Script mx:Image id=db_img / - Original Message - From: Jon Santos [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, April 12, 2008 2:01 PM Subject: Re: [flexcoders] How to download a BLOB from databaseusing Java Hi Jim.i know how to get the image in my POJO. The process i´m following: I get the image form database throw my servlet. In this class i get the ImageObject (POJO), it means the image and other data. In my FLEX application i have one object ImageObject (Action Script)like Remote Object for the java objectthen i able to get the image and the other data in my FLEX application The unique problem i´m finding : I don´t know how to display in my FLEX application (it means your B question).i don´t know which component i must use to display my image (array of bytes). Thanks in advanceand i hope u already understad my problem. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] JPGEncoding of mx:Image
Try: private function getBitmapData(target:Image):BitmapData var bm:Bitmap = target.content as Bitmap; var bmData:BitmapData = bm.bitmapData; return bmData; } - Original Message - From: Daniel Tse [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, April 11, 2008 11:41 PM Subject: [flexcoders] JPGEncoding of mx:Image Hi, I'm trying to capture a loaded image into mx:Image. I'm able to sort of write the bitmapdata of an image to a file except when I load an image that is larger than the image holder, the image holder resizes the image so it fits but when I write it out I don't get what I see instead I get a cropped section of the image. So instead of seeing test.jpg as a resized version of the image I've loaded I get the image cropped at 100% I have a method like the following (with an mx:Image named imgHolder). //Encoding import mx.graphics.codec.JPEGEncoder; import com.adobe.images.JPGEncoder; //Local File System import flash.desktop.*; import flash.filesystem.File; private function saveLoadedImage():void { var loJPGEncoder:JPGEncoder = new JPGEncoder(); var bd: BitmapData = getBitmapData(mx.core.Application.application.imgHolder); //something not quite right as it crops and doesn't resize. var encodedJPG:ByteArray = loJPGEncoder.encode(bd); var file:File = File.desktopDirectory.resolvePath(test.jpg); //saves it to the desktop as a file labeled test.jpg var stream:FileStream = new FileStream(); stream.open( file, FileMode.WRITE ); stream.writeBytes( encodedJPG ); trace(saved.); } private function getBitmapData( target : UIComponent ) : BitmapData { var bd : BitmapData = new BitmapData( target.width, target.height ); var m : Matrix = new Matrix(); bd.draw( target, m ); return bd; } Any insight? Thanks! -Daniel -- - e: [EMAIL PROTECTED] w: http://DanielTse.com/ - -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AIR SQL - Datatype issues
CREATE TABLE tbl_test ( testID INTEGER PRIMARY KEY AUTOINCREMENT , field1 DATE ) All of the following work: INSERT INTO tbl_test (field1) VALUES ('now') INSERT INTO tbl_test (field1) VALUES ('2008-04-07 20:57:44') INSERT INTO tbl_test (field1) VALUES ('2008-04-07') INSERT INTO tbl_test (field1) VALUES (CURRENT_TIMESTAMP) More info on this page: http://livedocs.adobe.com/flex/3/langref/localDatabaseSQLSupport.html Look for: Date and time formatting functions and Time formats (about 3/4 down the page). regards, Muzak - Original Message - From: Kevin Aebig [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 07, 2008 5:22 PM Subject: [flexcoders] AIR SQL - Datatype issues Hey all, I've looked at the documentation about 400 times now and can't seem to find myself an example of using a column of datatype Date within AIR SQL. I know that it's been customized to use Actionscript / JavaScript Date objects, but I can't get it to work properly for the life of me. Any examples or pointers? Cheers, !k -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AIR SQL - Datatype issues
I'm working on an (AIR) SQLite Admin tool, and the examples are what I use (in the app) so they do work. The DB's used however are created with the app itself, so maybe that has something to do with it. If you're interested in trying the app (still a work in progress) shoot me a mail: regards, Muzak - Original Message - From: Kevin Aebig [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 07, 2008 9:02 PM Subject: RE: [flexcoders] AIR SQL - Datatype issues Hey Muzak, I've actually tried a few of those from references at SQLite websites but to no avail. I think it has something to do with the way the DB is handling data typing as I've heard that SQLite will actually allow unique datatypes to each cell instead of column. Thanks a lot for the examples... hopefully something clicks. Cheers, !k -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Monday, April 07, 2008 1:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AIR SQL - Datatype issues CREATE TABLE tbl_test ( testID INTEGER PRIMARY KEY AUTOINCREMENT , field1 DATE ) All of the following work: INSERT INTO tbl_test (field1) VALUES ('now') INSERT INTO tbl_test (field1) VALUES ('2008-04-07 20:57:44') INSERT INTO tbl_test (field1) VALUES ('2008-04-07') INSERT INTO tbl_test (field1) VALUES (CURRENT_TIMESTAMP) More info on this page: http://livedocs.adobe.com/flex/3/langref/localDatabaseSQLSupport.html Look for: Date and time formatting functions and Time formats (about 3/4 down the page). regards, Muzak -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] When can I access the Stage Object?
Application.applicationComplete http://livedocs.adobe.com/flex/2/langref/mx/core/Application.html#eventSummary Fires right after creationComplete, but the stage property will be available. - Original Message - From: Mike Anderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, April 04, 2008 8:13 PM Subject: [flexcoders] When can I access the Stage Object? Hello All, In my main mx:Application I am attempting to add an Event Listener to the Stage Object, after the CreationComplete Event is triggered. Upon application startup, I get that wonderful error dialog stating: Cannot access a property or method of a null object reference. I want to play around with some validate() stuff, in order to speed up my Flex Resizing issues. This is what I have for my code: private function onApplication_CreationComplete( event:FlexEvent ):void { stage.addEventListener( Event.RESIZE, onStage_Resize ); } private function onStage_Resize( event:Event ):void { this.validateNow(); } So the question is, is the Stage Object not yet available? Do I need to place this Event Listener on a Child Object contained within my Application? Any thoughts on this would be greatly appreciated :) Mike -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to set the datetime format in datagrid?
Look up DataGridColumn.labelFunction and DateFormatter in the docs. http://livedocs.adobe.com/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html http://livedocs.adobe.com/flex/3/langref/mx/formatters/DateFormatter.html - Original Message - From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, April 03, 2008 9:55 PM Subject: [flexcoders] How to set the datetime format in datagrid? Hi, I have a program the read datetime fields for SQL Server and show in datagrid. I do not know how to set the date format in datagrid (mx:DataGridColumn), Please help me. Please let me know if you have demo link. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] What's this Called?
square bracket notation http://www.google.com/search?hl=enq=square+bracket+notationmeta= array access operator http://www.google.com/search?hl=ensa=Xoi=spellresnum=0ct=resultcd=1q=array+access+operatorspell=1 regards, Muzak From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Monday, March 24, 2008 6:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] What's this Called? When I do this[idOfsomethingImLookingfor] I usually do this if I have to loop something. So: for (i=0; i10; i++){ var example:Object = this[myComponent + i] //do some more stuff } I'm trying to do the same thing in .NET. I don't know what it's called though so I'm having a hard time googling it. Thanks, Nate -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to pass Flex ArrayCollection to Coldfusion CFC?
ArrayCollection is a wrapper around an Array, so send the Array instead: myAC.source http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html#source - Original Message - From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 21, 2008 3:53 AM Subject: [flexcoders] How to pass Flex ArrayCollection to Coldfusion CFC? How to pass Flex ArrayCollection to Coldfusion CFC? Which data type in coldfusion can accept Flex ArrayCollection? Thanks Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Old-school debugging?
And google mm.cfg http://www.google.com/search?hl=enq=mm.cfg - Original Message - From: Josh McDonald [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, March 14, 2008 4:03 AM Subject: Re: [flexcoders] Old-school debugging? Sweet cheers :) On Fri, Mar 14, 2008 at 12:30 PM, Blake Barrett [EMAIL PROTECTED] wrote: Windows XP: c:\Documents and Settings\{user}\Application Data\Macromedia\Flash Player\Logs\flashlog.txt Windows Vista: C:\Users\{user}\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt Linux: home/username/.macromedia/Flash_Player/Logs/flashlog.txt OSX: /Users/{username}/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt I got that straight off of the Flash Tracerhttp://https://addons.mozilla.org/en-US/firefox/addon/3469(Firefox Plugin) options page. Blake -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Testing with Flex Framework RSL's
On Win Vista I think it's: C:\Users\[USER]\AppData\Roaming\Adobe\Flash Player\AssetCache - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, March 12, 2008 11:14 AM Subject: Re: [flexcoders] Testing with Flex Framework RSL's On Wednesday 12 Mar 2008, Romeo Obane wrote: is already a signed flex framework cached into the player. One more thing also, can we clear the cache in Flash Player? If you can find them, I would expect just deleting them to work. -- Tom Chiverton -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex Component Kit for Flex 3
Is this available yet, if so, where is it? On the following page: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1273018 it says: The final version will be included as part of the Flex 3 SDK Well if it is, it's very well hidden.. regards, Muzak
Re: [flexcoders] CairngormEvent - Place to put the static variable that stores the name of the event
Think MouseEvent.MOUSE_DOWN, MouseEvent.MOUSE_UP, Event.CHANGE, Event.RESIZE, FlexEvent.INITIALIZE, etc.. and there you have your answer :-) - Original Message - From: Fernando Ghisi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 25, 2008 2:37 PM Subject: [flexcoders] CairngormEvent - Place to put the static variable that stores the name of the event Where is the best place to put the static variable that stores the name of an event, in the class of this event (extends CairngormEvent) or in the class that extends FrontController and consumes this event? There are many examples with both ways... -- Fernando Ghisi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex Feedback for the Future
http://labs.adobe.com/technologies/mars/ - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 1:01 PM Subject: Re: [flexcoders] Re: Flex Feedback for the Future On Wednesday 13 Feb 2008, João Fernandes wrote: There is also this Enhancement Request for MARS support MARS ? -- Tom Chiverton -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] What is the best way to add a day to a date?
or: var ms:Number = 24*60*60*1000; var d:String = 2008/12/20; var newDate:Date = new Date(Date.parse(d)+ms); - Original Message - From: Kevin Aebig [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 07, 2008 6:19 PM Subject: RE: [flexcoders] What is the best way to add a day to a date? Create a date object with the string, than add the day to it like this: newDate = new Date(a[0], a[1], a[2]); newDate.seconds += 8640; // seconds in a day or (60*60*24) !k -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: What is the best way to add a day to a date?
Works fine here using 2008/11/02 as the starting date, but that's probably because winter time kicks in on a different date here (which I don't know). Summer time kicks in on 2008/03/30 so I tried that instead. Notice that the new date has 1 hour added. I guess when using the winter time it would subtract 1 hour, resulting in the same date as the original. // tested var ms:Number = 24*60*60*1000; var d:String = 2008/03/30; var newDate:Date = new Date(Date.parse(d)+ms); trace(new Date(Date.parse(d))); trace(newDate); //output Sun Mar 30 00:00:00 GMT+0100 2008 Mon Mar 31 01:00:00 GMT+0200 2008 Gotta luv date manipulations.. fun fun.. - Original Message - From: Doug Lowder [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, February 08, 2008 1:56 AM Subject: [flexcoders] Re: What is the best way to add a day to a date? It's not that simple, because of Daylight Savings Time. Try the following on a machine with the timezone set to something that follows DST: var ms:Number = 24*60*60*1000; var d:String = 2008/11/02; var newDate:Date = new Date(Date.parse(d)+ms); You'll get the same day, 2008/11/02, because Nov 2 2008 will be a 25- hour day in some locations due to the clocks being set back. You'd need to convert to UTC before doing the math, or check the timezone of the dates with getTimezoneOffset() and adjust accordingly if needed. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Getting events from non-visual components created in actionscript?
This might help: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg76489.html regards; Muzak - Original Message - From: Josh McDonald [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, January 31, 2008 5:19 AM Subject: [flexcoders] Getting events from non-visual components created in actionscript? Hi, I've got an object that I'm creating in actionscript, and I want to have it dispatch events to the rest of the application and also consume them in the future. As it stands now though, when the object calls dispatchEvent(), it just disappears into fat air. For now I'm getting around it using Application.application.dispatchEvent(), but I don't like it. Now I'm sure there's a nice easy way to wire these objects into the global event space or whatever it's called, I just don't know what it is. BTW I'm using custom events for non-visual happenings that various parts of the system - some visual, some not, will need to know about. If I'm way off base doing this with Flex events, let me know! -Josh -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Cazirngorn and AMFPHP1.9 HELP
Make sure that Services is added to the Application document. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:business=com.packageName.projectName.business.* layout=absolute business:Services id=services / /Application The same goes for the Controller. regards, Muzak - Original Message - From: mixmi2004 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 4:01 PM Subject: [flexcoders] Cazirngorn and AMFPHP1.9 HELP Cazirngorn and AMFPHP1.9 Im having some problems sending Objects Error: C0007E: RemoteObject not found for Send1. public class SendGrassDelegate { private var responder :IResponder; private var service : AbstractService; public function SendGrassDelegate( _responder : IResponder ) { service = ServiceLocator.getInstance().getRemoteObject( Send1 ); this.responder = _responder; } public function sendAll( ): void { var token : AsyncToken = service.sendAll(); token.addResponder(responder); } } Services.mxml ?xml version=1.0 encoding=utf-8? cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:cairngorm=com.adobe.cairngorm.business.* mx:RemoteObject id=Send1 destination=amfphp source=sendServices showBusyCursor=true mx:method name=getUsers / /mx:RemoteObject /cairngorm:ServiceLocator .. services-config.xml ?xml version=1.0 encoding=UTF-8? services-config services service id=amfphp-flashremoting-service class=flex.messaging.services.RemotingService messageTypes=flex.messaging.messages.RemotingMessage destination id=amfphp channels channel ref=my-amfphp/ /channels properties source*/source /properties /destination /service /services channels channel-definition id=my-amfphp class=mx.messaging.channels.AMFChannel endpoint uri=http://localhost:80/amfphp/gateway.php; class=flex.messaging.endpoints.AMFEndpoint/ /channel-definition /channels /services-config best regards -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] scale nine bug?
Read the docs on Event.target and Event.currentTarget, there's a difference. - Original Message - From: joshua gatcke [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 8:59 PM Subject: [flexcoders] scale nine bug? Do you think this is a bug? I have declared a css background image for a panel (id=myPanel) component. If I click on this panel the event.target is: 'myPanel'. However, if I include scale nine formatting in the css background image declaration, the event.target becomes: 'myPanel.style__embed_css_assets_app_panel_panel_bg_png_1655812762_419' -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] TabNavigator+States=Crash
read up on creationPolicy. http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#creationPolicy - Original Message - From: tpokrajcic [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 28, 2008 3:33 PM Subject: [flexcoders] TabNavigator+States=Crash I made a simple example of TitleWindow with TabNavigator and 2 states. Please check it out (source view available) at: http://www.svemir.net/flex/tabs_and_states/ Window crashes after pressing button for state change. But if you walk a bit over tabs (click Tab2 and Tab3) window changes state. I'm I doing something wrong or it's time to fill a bug? Tomislav -- View this message in context: http://www.nabble.com/TabNavigator%2BStates%3DCrash-tp15136291p15136291.html Sent from the FlexCoders mailing list archive at Nabble.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Seriously, what is the 'right' way to do default styles?
Here's an older thread from flexcomponents regarding setting default styles: http://www.mail-archive.com/[EMAIL PROTECTED]/msg02067.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg02095.html And here's a related thread discussing graphical skinning of cusom components: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01354.html regards, Muzak - Original Message - From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, January 24, 2008 4:08 AM Subject: [flexcoders] Re: Seriously, what is the 'right' way to do default styles? The thing about styleName was another mistake on my part, lets pretend I didn't say that. :) I made some good progress with the classConstruct() approach towards the end of today so hopefully I will be able to resolve the remaining issues tomorrow. Thanks a lot for your help so far, I will keep you posted on my progress... and hurdles of course. :) Ben -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: changing a container's registration point.. how?
Look into the Transform and Matrix classes and DisplayObject.transform property. flash.geom.Matrix flash.geom.Transform I'm pretty sure that if you google Matrix + as3 that you'll get plenty of samples. - Original Message - From: shemeshkale [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 13, 2008 7:49 AM Subject: [flexcoders] Re: changing a container's registration point.. how? RIGHT, but that's cheating... it is not really moving the reg' point but instead moving the container... this cause some problems with consistency... but i guess is my only option. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: IMHO, you can't. The Flex layout subsystem assumes everything is top-left registered. If you do your own layout or don't care about layout issues, you can simply shift everything up so that 0,0 is the bottom left and you are drawing in to -y coordinates. That's all that regpoint means. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Where are the propellerheads? (was:Custom Currency itemRenderer)
Really? Nobody has any input? Start here: http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html - Original Message - From: carl_steinhilber [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 09, 2008 7:25 PM Subject: [flexcoders] Where are the propellerheads? (was:Custom Currency itemRenderer) Really? Nobody has any input? I'm really at a loss of what to think about posting in this group. The people and information here are a wonderful resource, but I've posted 5 or 6 questions here and every single one of them initially received no replies. They didn't get any feedback at all until I responded to my own post once or twice asking again for help. S... am I to assume I'm asking questions that are too advanced for anybody to answer? Not advanced enough for anybody to bother? Questions that have been asked enumerable times by other users and I just missed the previous answers? Or am I truly the first person to ever experience the issues I post about? Maybe I'm being too wordy and people get overwhelmed? Or am I not being wordy enough and people don't understand the problem(s)? I try to write very succinctly, and include source code when I can (typically reduced to exactly the components I'm having trouble with so we're not dealing with an entire app). I try to write subject lines that would be meaningful, rather than just a generic Help!. I feel like I'm doing everything I can so anyone who wants to help won't waste their time dealing with either a lack of information or superfluous flack. I try to wait a fair amount of time so folks on digests, et al, have had a chance to view my posts. I try to thank anyone who does take the time to respond, even if the response doesn't directly solve the issue. I try to reply to other people's posts that involve aspects I have some experience with. I try to be a good group citizen. But still no one responds. I'd love to know what I'm doing wrong. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] urgent
Adobe site maybe?? http://www.adobe.com/go/tn_14266 - Original Message - From: Joe [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 07, 2008 6:20 PM Subject: [flexcoders] urgent Hey guys, i need a DL link to flash player version 9,0,45,0. Is there one anywhere? -- -Joe -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex Date to Coldfusion
1. Can ColdFusion receive this as type date or do I need to use string. Yup 2. How do I access the date in the appropriate format to send it based on your answer to 1. dtStart.selectedDate regards, Muzak - Original Message - From: Dale Fraser [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 08, 2008 6:07 AM Subject: [flexcoders] Flex Date to Coldfusion I have a dateField mx:DateField formatString=DD/MM/ x=10 y=10 id=dtStart showToday=true / And I have a ColdFusion function I wish to pass this to. Two questions. 1. Can ColdFusion receive this as type date or do I need to use string. 2. How do I access the date in the appropriate format to send it based on your answer to 1. I have been trying with the CFC having a type=date And then doing conn.getEntries ('username', dtStart.selectedDate.date, dtEnd.selectedDate.date); And all sorts of combos of that. Regards Dale Fraser -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] WebORB 3.0
Start here: http://www.themidnightcoders.com/weborb/ - Original Message - From: NileAge, Mail [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 04, 2008 1:47 PM Subject: [flexcoders] WebORB 3.0 Hello all, Please help me to understanding (WebORB) in more details such as: - What this technique do? - What the advantages and disadvantages ? - How I can use it with flex? Thank you Abdullah Sofyan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] enforce mx:DateField date selection?
Read the docs.. DateField.disabledRanges http://livedocs.adobe.com/flex/201/langref/mx/controls/DateField.html - Original Message - From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 04, 2008 7:30 PM Subject: [flexcoders] enforce mx:DateField date selection? Hi, I want to use mx:DateField and disable all the dates before today. and only can select date after today. Please give me a hit. Thanks Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Developing Flex against CF Server
Maybe these will help: Flex CF Project setup: http://muzakdeezign.com/flex2/cf_project/snap01.jpg http://muzakdeezign.com/flex2/cf_project/snap02.jpg http://muzakdeezign.com/flex2/cf_project/snap03.jpg Flex Project setup - CF enabled: http://muzakdeezign.com/flex2/cf_project/snap04.jpg http://muzakdeezign.com/flex2/cf_project/snap05.jpg http://muzakdeezign.com/flex2/cf_project/snap06.jpg Note that drive E:\ is a local drive and all my projects are stored under E:\flex2\, drives P:\ and S:\ are mapped drives (each pointing to a different network server). Note that in snapshot 6, the output folder points to: S:\twylah, which is not under the server root. The server root is: S:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\. S:\twylah is added as a mapped folder in CF so it can be reached in a browser as http://muzakserver:8300/twylah/. The services-config.xml in snap05 does not point to the default services-config.xml (which comes with CF), it is a copy placed in the output folder (S:\twylah), but can be placed anywhere (for instance the local flex project folder would do as well - E:\flex2\twylah). In my case, the default services-config.xml is located at: S:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\services-config.xml Let me know if this doesn't make any sense ;-) regards, Muzak - Original Message - From: Dale Fraser [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, January 03, 2008 5:24 AM Subject: RE: [flexcoders] Re: Developing Flex against CF Server I'm still stumped, can't get this working at all and don't know why. I've tried the Mapped drive method but the output folder must be beneath the web root. That seems to be telling me that I can only have my projects underneath the wwwroot, surely that can't be correct? Regards Dale Fraser -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] RTE hide panel
mx:RichTextEditor borderThicknessLeft=0 borderThicknessRight=0 borderThicknessTop=0 dropShadowEnabled=false headerHeight=0 / - Original Message - From: Kevin Aebig [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 04, 2008 6:27 AM Subject: [flexcoders] RTE hide panel Hey all, I've been trying to figure out a way to get rid of the panel that's shown with the RichTextEditor either by: - Changing the inheritance, which seems unlikely - Disabling the Panel from showing, which seems difficult given the fact that the core controls are embedded inside it I'm sure someone has tried to accomplish this before, but a la google finds nothing. Anyone shed some light on this? Cheers, !k -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] data binding question for Cairngorm?
PersonVO itself must be Bindable. - Original Message - From: Mark Shen [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, December 28, 2007 6:45 PM Subject: Re: [flexcoders] data binding question for Cairngorm? but I already have the following code in ModelLocator [Bindable] public class CESFESFModel implements IModelLocator { // Single Instance of Our ModelLocator private static var instance:CESFESFModel; public var personData:PersonVO; } Thanks Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] data binding question for Cairngorm?
If you still get a warning (not an error), try cleaning the project. I've encountered *sticky* warnings in FB even after fixing the code in question. - Original Message - From: Mark Shen [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, December 28, 2007 8:38 PM Subject: Re: [flexcoders] data binding question for Cairngorm? yes. I have the code [Bindable] public class PersonVO implements IValueObject { public var firstname:String; ... } But I still have the error. Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders]How to change the selectedIndex of a LinkBar
Apparently the visual selection in a LinkBar only works when its dataprovider is a collection of DisplayObjects (e.g. ViewStack). The ViewStack doesn't even have to be visually present (it has to be on the display list though), so the following will work ;-) mx:LinkBar id=_lbar dataProvider=_vstack / mx:ViewStack id=_vstack includeInLayout=false visible=false mx:Canvas label=Item 1 / mx:Canvas label=Item 2 / mx:Canvas label=Item 3 / /mx:ViewStack And of course you can extend LinkBar or NavBar and make it work properly with non display objects. regards, Muzak - Original Message - From: dorkie dork from dorktown [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, December 28, 2007 7:13 PM Subject: [flexcoders]How to change the selectedIndex of a LinkBar No matter what I try I cannot change the selected item in the linkbar. Try this example. How do I change what item is visually selected. ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:LinkBar x=10 y=19 dataProvider=['item 1', 'item 2', 'item 3'] selectedIndex=0 color=#D41010 disabledColor=#1D7AC1 disabledOverlayAlpha=1 dropShadowEnabled=true dropShadowColor=#00 errorColor=#AC0909 /mx:LinkBar /mx:WindowedApplication BTW does it seem confusing that the selected color and selected text don't refer to the item that the user is on or has already clicked? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Setting default cursor position when the flex web-application loads
Known issue, check archives or google: http://www.google.com/search?hl=enq=flexcoders+focus+application+load Can only be worked around in IE, using JS. - Original Message - From: flex.fusion [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, December 29, 2007 6:29 AM Subject: [flexcoders] Setting default cursor position when the flex web-application loads Hi Guys, My previous posts never got replied, but we shall not leave the hope :) :) so here is one more :) Problem statement: When my web application is loaded, login box popsup by default. Setting focus to the username field does not set the cursor to the field. Please guide me how can we resolve such issues. I was not able to unserstand the index.template.html properly, if there is any reference: about 'working with index.template.html ', I would love to go through that :) Handling and Using id and name properties and playing with object and embed are mainly the things, I am looking for. btw: I had gone through some of the previous posts but still am not able to resolve the issue. So please share your experience to resolve such things. Thanks Regards, Savan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to restrict TileList to display items only in single row?
Use a HorizontalList maybe? http://livedocs.adobe.com/flex/201/langref/mx/controls/HorizontalList.html - Original Message - From: Kevin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, December 26, 2007 8:41 PM Subject: Re: [flexcoders] How to restrict TileList to display items only in single row? Do you need to use a TileList for this? Would an HBox with a repeater would work for you? I guess it all depends if you need the functionality of ListBase. - Kevin On Dec 26, 2007, at 2:28 PM, ad9798 wrote: A horizontal direction TileList creates a new row when there are more items to display after the single row has been filled, but I'm trying to restrict that behavior and put every items in the single row with the horizonal scrollbar? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Fwd: problem with relative assets path
Use Modules? http://livedocs.adobe.com/flex/201/html/modular_083_2.html Check the docs for Module and ModuleManager. regards, Muzak - Original Message - From: Bart Wttewaall [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 27, 2007 12:16 AM Subject: [flexcoders] Fwd: problem with relative assets path *bump* (yeah, I know.. shameless!) -- Forwarded message -- From: Bart Wttewaall [EMAIL PROTECTED] Date: 23 dec. 2007 21:57 Subject: problem with relative assets path To: flexcoders@yahoogroups.com Hi list, I'm building a big Cairngorm application that consists of a GUI that loads various swf's as pages. The path to these pages is assets. One of the loaded pages is products.swf , a standalone Cairngorm application that loads assets. It's built in its own folder and locates the assets under the following path: assets/products. The problem is that when I load this page into the GUI it can't find the assets anymore. After lots of tests I found out that products.swf needs its assets to be a path relative to itself, not relative to the swf it is loaded in! I've always learned that a swf needs its assets path set relative to the swf it is loaded in. It gets even more strange: it needs a copy of its assets, nested in the already available assets folder in order to work or it simply cannot access them. Removing the original assets and just using the deeper nested assets doesn't work either. Here is a (simplified) image of the folder trees in the setup that seems to work: http://download.mediamonkey.nl/double-asset-paths.png So my question is, how is this possible? And what can be done to make sure that I only have one folder with assets that all loaded swf's can get access to? Thanks in advance, Bart -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Select next DataGrid item after one removed
If you sort by a column in your example it doesn't work anymore either. Yeah I noticed that too :( You'll have to use a Sort and ViewCorsor to make this work. You'll also have to uase callLater in order to set the new selected index after removing the selected item. Tried a few things with the earlier mentioned disableAutoUpdate/enableAutoUpdate, but can't seem to get it right with a Sort and ViewCursor. Either the selectedIndex gets set properly, but the view (datagrid) isn't update properly (the item is visually not selected, but tracing dg.selectedIndex returns the correct value), or the datagrid does show a selectedItem (visually), but not the correct one. Using a delay (callLater) fixes that, but then you may run into problems when hitting the delete button continously (allthough it works fine here). All in all, I think this is much more complicated than it should be. The following seems to work: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=appInit(); mx:Script ![CDATA[ import mx.utils.ObjectUtil; import mx.collections.SortField; import mx.collections.IViewCursor; import mx.collections.Sort; private var fnSort:Sort; private function appInit():void { trace(Application ::: appInit); // create sort on lastname var fnSort:Sort = new Sort(); fnSort.fields=[new SortField(lastname)]; // apply sort to collection ac.sort = fnSort; ac.refresh(); } private function deleteClickHandler(evt:Event):void { trace(Application ::: deleteClickHandler); var index:int = dg.selectedIndex; trace(- index: +index); var item:Object = dg.selectedItem; var vc:IViewCursor = ac.createCursor(); trace(- cursor: +vc); // move viewcursor to selected dg item vc.findFirst(item); trace(- current: +ObjectUtil.toString(vc.current)); // remove current item in ViewCursor // you'll need to check if item is valid before removing it vc.remove(); ac.refresh(); callLater(refreshIndex, [index]); } private function refreshIndex(value:int):void { trace(Application ::: refreshIndex); // make sure to check if value is valid (not out of bounds) trace(- value: +value); dg.selectedIndex = value; trace(- selectedIndex: +dg.selectedIndex); } ]] /mx:Script mx:ArrayCollection id=ac mx:Object firstname=Jimi lastname=Hendrix dataID=0 / mx:Object firstname=Frank lastname=Zappa dataID=1 / mx:Object firstname=Miles lastname=Davis dataID=2 / mx:Object firstname=Harry lastname=Connick Jr. dataID=3 / mx:Object firstname=John lastname=Coltrane dataID=4 / mx:Object firstname=Dizzy lastname=Gillespie dataID=5 / mx:Object firstname=Charlie lastname=Parker dataID=6 / mx:Object firstname=Jimi lastname=Hendrix dataID=7 / mx:Object firstname=Frank lastname=Zappa dataID=8 / mx:Object firstname=Miles lastname=Davis dataID=9 / mx:Object firstname=Harry lastname=Connick Jr. dataID=10 / mx:Object firstname=John lastname=Coltrane dataID=11 / mx:Object firstname=Dizzy lastname=Gillespie dataID=12 / mx:Object firstname=Charlie lastname=Parker dataID=13 / /mx:ArrayCollection mx:VBox mx:DataGrid id=dg dataProvider={ac} / mx:Button id=delete_btn label=delete click=deleteClickHandler(event) / /mx:VBox /mx:Application - Original Message - From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, December 23, 2007 11:27 AM Subject: [flexcoders] Re: Select next DataGrid item after one removed Hrr, this thing is driving me nuts. I found out why it is not working in my Application. It is because I sort by column as soon as the Data is loaded. If you sort by a column in your example it doesn't work anymore either. How can I fix this? Greets, Max -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Select next DataGrid item after one removed
Disable the dataprovider from dispatching events before manipulating it and enable it again afterwards. Assuming you're using an ArrayCollection as dataProvider, the following works: var index:int = dg.selectedIndex; ac.disableAutoUpdate(); ac.removeItemAt(index); dg.selectedIndex = index; ac.enableAutoUpdate(); regards, Muzak - Original Message - From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, December 22, 2007 4:40 PM Subject: [flexcoders] Select next DataGrid item after one removed Hey there, I hava a DataGrid and when I click a Delete Button, the selected item gets removed (obviously). But then I want the next item to be selected, so that you can keep on pressing Delete and remove one item after the other.. as it is in Yahoo mail. So I tried something like this: oldIndex = grid.selectedIndex; removeItem(grid.selectedIndex) // functioin that removes item from arrayCollection grid.selectedIndex = oldIndex; = but then it always selects one after the one I want to be selected. So I tried something like this: oldIndex = grid.selectedIndex; removeItem(grid.selectedIndex) // functioin that removes item from arrayCollection grid.selectedIndex = oldIndex -1; = but then it always selects one before the one I want to be selected. Strange.. isnt it? Any ideas why this is happening.. Cheers, Max -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Select next DataGrid item after one removed
The following works for me: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function deleteClickHandler(evt:Event):void { trace(Application ::: deleteClickHandler); var index:int = dg.selectedIndex; ac.disableAutoUpdate(); ac.removeItemAt(index); dg.selectedIndex = index; ac.enableAutoUpdate(); } ]] /mx:Script mx:ArrayCollection id=ac mx:Object firstname=Jimi lastname=Hendrix / mx:Object firstname=Frank lastname=Zappa / mx:Object firstname=Miles lastname=Davis / mx:Object firstname=Harry lastname=Connick Jr. / mx:Object firstname=John lastname=Coltrane / mx:Object firstname=Dizzy lastname=Gillespie / mx:Object firstname=Charlie lastname=Parker / /mx:ArrayCollection mx:VBox mx:DataGrid id=dg dataProvider={ac} / mx:Button id=delete_btn label=delete click=deleteClickHandler(event) / /mx:VBox /mx:Application - Original Message - From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, December 23, 2007 5:13 AM Subject: [flexcoders] Re: Select next DataGrid item after one removed Mh my Dataprovider is an ArrayCollctionboth, but methods do not work. I still have the same effect. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You might also try using callLater to set the index, to give the DG time to re-render. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Saturday, December 22, 2007 11:13 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Select next DataGrid item after one removed Disable the dataprovider from dispatching events before manipulating it and enable it again afterwards. Assuming you're using an ArrayCollection as dataProvider, the following works: var index:int = dg.selectedIndex; ac.disableAutoUpdate(); ac.removeItemAt(index); dg.selectedIndex = index; ac.enableAutoUpdate(); regards, Muzak - Original Message - From: m.frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, December 22, 2007 4:40 PM Subject: [flexcoders] Select next DataGrid item after one removed Hey there, I hava a DataGrid and when I click a Delete Button, the selected item gets removed (obviously). But then I want the next item to be selected, so that you can keep on pressing Delete and remove one item after the other.. as it is in Yahoo mail. So I tried something like this: oldIndex = grid.selectedIndex; removeItem(grid.selectedIndex) // functioin that removes item from arrayCollection grid.selectedIndex = oldIndex; = but then it always selects one after the one I want to be selected. So I tried something like this: oldIndex = grid.selectedIndex; removeItem(grid.selectedIndex) // functioin that removes item from arrayCollection grid.selectedIndex = oldIndex -1; = but then it always selects one before the one I want to be selected. Strange.. isnt it? Any ideas why this is happening.. Cheers, Max -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how to pass varible between screens?
Look into the PropertyChangeEvent or Watcher. If your Model is bindable, a PropertyChangeEvent.PROPERTY_CHANGE is dispatched every time a bindable class property changes. regards, Muzak - Original Message - From: Mark Shen [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, December 21, 2007 6:51 PM Subject: Re: [flexcoders] how to pass varible between screens? yes I use singleton and I can bind the variable. mx:Label id=temp1 x=397.5 y=1549 text={modelLocator.sID} / My question is how to use modelLocator.sID in actionscipt. I use the statement like filePrefix = modelLocator.sID; But no event call the statement .the filePrefix is empty. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AS 3 and Flex naming convention
The most important thing about naming conventions is actually having one ;-) Which one is not that important (IMO) as long as it's clear and consistent and you (and your team) stick by it. I use the Handler suffix for event handlers, often in combination with the instance id/name that invokes it. listItemClickHandler, submitClickHandler, videoCompleteHandler, etc.. Where the first part would be the id of a control. I think Adobe (FLex 2 framework) sometimes uses an underscore between the instance id and the suffix videoID_completeHandler listID_itemClickHandler buttonID_clickHander etc.. regards, Muzak - Original Message - From: Fabio Serra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 20, 2007 11:36 AM Subject: Re: [flexcoders] AS 3 and Flex naming convention Muzak wrote: There's a non-official guide here: http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/ http://blog.dclick.com.br/wp-content/uploads/adobe-flex-coding-guidelines-v12-english.pdf Thank you, it is very interesting and I follow the most part of the rules. I haven't found any suggestion how to name event and event handlers. Looking at UIComponent.as it seems that events doesn't have any special suffix (eg itemSelectedEvt or itemSelectedEvent) instead of function handler that always use the handler suffix (eg updateCompleteHandler(event:FlexEvent):void). I don't like very much to use a suffix for event handlers because at some point they create a semantic friction, but if I have to do I would probably prefer to use the prefix on (onCreationCompletePod) as in the dashboard application: http://examples.adobe.com/flex3/labs/dashboard/srcview/index.html -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AS 3 and Flex naming convention
There's a non-official guide here: http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/ http://blog.dclick.com.br/wp-content/uploads/adobe-flex-coding-guidelines-v12-english.pdf - Original Message - From: Gordon Smith [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 18, 2007 6:33 AM Subject: RE: [flexcoders] AS 3 and Flex naming convention We have these internally in a wiki but we haven't polished them for release. We hope to do so by the time the Flex SDK is open-source. In the meantime, just take a look at the code of classes like UIComponent and Button and see what we're doing. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fabio Serra Sent: Sunday, December 16, 2007 8:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AS 3 and Flex naming convention Do you know if there are naming conventions and coding style guide for Flex/AS3 endorsed by Adobe or by Flex User Group? -- FABIO SERRA - faser(at)faser.net PGP available -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Basic Question from a Flex Newbie
Check the docs: http://livedocs.adobe.com/flex/2/docs/0701.html And check the TitleWindow/Container docs for the data property. http://livedocs.adobe.com/flex/201/langref/mx/containers/TitleWindow.html#propertySummary http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#data - Original Message - From: sdl1326 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, December 16, 2007 9:36 PM Subject: [flexcoders] Re: Basic Question from a Flex Newbie Thanks for the help. That's exactly what I want to do, but I can't seem to figure out how to pass the value to the popup window for the main text. I got the title as myPopUp.title=This is the title bar text, but no luck with the main text. Again, thanks. --- In flexcoders@yahoogroups.com, Seth Caldwell [EMAIL PROTECTED] wrote: I'm confused by exactly what you want to do. You have a reference to the SimpleDialog/TitleWindow class you just created (myPopUp). After you center it, why not just set some value on it? myPopUp.somestring = hello; _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, December 15, 2007 3:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Basic Question from a Flex Newbie Hello All I have been using Flash and AS3 for some time now, however I am new to Flex (and this group) and looking forward to seeing all that it can do. I have come across a situation which I believe to be rather simple to resolve, yet I have been unable to do so. I have my Application file which is calling a PopUp Component created with a TitleWindow Component. I have a button in the Application file that when it's clicked will open the PopUpComponent. How can I pass a variable/parameter from the Application to the TitleWindow for the text . Here's the code I am using in Application: -- ?xml version=1.0 encoding=utf-8? mx:Script ![CDATA[ import dialogue.SimpleDialogue; import mx.managers.PopUpManager import mx.containers.TitleWindow; private var myPopUp:TitleWindow private function showPopUp():void myPopUp = PopUpManager.createPopUp(this,dialogue.SimpleDialogue,true) as TitleWindow; PopUpManager.centerPopUp(myPopUp) } ]] /mx:Script mx:Button label=Show Popup Dialogue click=showPopUp()/mx:Button /mx:Application -- And here's the code in the Component: - //SimpleDialogue Component ?xml version=1.0 encoding=utf-8? mx:Label id=message text= fontSize=24 /mx:Label /mx:TitleWindow --- Hopefully, this makes sense. If not, I would be happy to clarify. Thanks for any and all replies. SL -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flashplayer - ignoring minWidth minHeight
Add the following to the compiler options: -default-size 1024 768 - Original Message - From: Bart Wttewaall [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 17, 2007 2:13 AM Subject: [flexcoders] Flashplayer - ignoring minWidth minHeight Hi list, I built an application in Flex that uses the entire window when played from within a browser. But when I run the swf standalone, the flashplayer window takes on its default width and height, ignoring the minWidth and minHeight I set in the application's main class. The flashplayer works fine when I define a width and height for the application, but then the application won't fill the browser without me diving into the html-code and change the width and height of the embedded object back to 100%. Can anyone tell me how I can tell the flashplayer to resize to the minWidth and minHeight of the application, without setting width and height? Perhaps using something like a metatag, like [SWF(width=1024, height=768, backgroundColor=#808080)] ? Thanks in advance, Bart Wttewaall -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Debugging outside browser
If you have FlexBuilder, create a Run/Debug config that points to google.com (or whatever website) and launch that before starting your app that contains the swf. Another way is to have (create) a seperate app that reads the flashlog.txt file, which is where all traces are being written to (when enabled). This requires that you have an mm.cfg file that enables traces to be written to the flashlog.txt file. The location of flashlog.txt is different on each OS.. check google for more info. In previous versions, the location of flashlog.txt could be specified in the mm.cfg file, but that is no longer the case. http://www.google.com/search?hl=enq=flashlog.txt http://www.google.com/search?hl=enq=mm.cfg http://www.adobe.com/devnet/flex/articles/client_debug_print.html Then there's XRay, an open source flash/flex debugger: http://osflash.org/xray And you could of course create your own debugger using a LocalConnection and the Logging classes. http://livedocs.adobe.com/flex/2/langref/flash/net/LocalConnection.html http://livedocs.adobe.com/flex/2/docs/1525.html regards, Muzak - Original Message - From: Claudia Barnal [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 17, 2007 2:34 AM Subject: [flexcoders] Debugging outside browser Hi all, I'm trying to debug an application that is outside the the browser (it is being used inside another executable). I can't find any documentation that indicates how I can setup and launch a debug session with a SWF file that is outside the browser. Any hints and pointers are much appreciated, Claudia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] What's the best way to bind ValueOject model data to a form and back again
Use a DateField component for displaying/editing Date type data, in combination with a DateFormatter for displaying the right format in the DateField textfield. Not sure if the following will make sense, but here's something I've used: // in a Script block // currentNewsItem is a VO retrieved from the Model. [Bindable] private var currentNewsItem:NewsVO; mx:DateFormatter id=newsDateField_fmt formatString=DD/MM/ / mx:DateField id=newsDate_dfield text={newsDateField_fmt.format(currentNewsItem.newsDate)} formatString=DD/MM/ selectedDate={currentNewsItem.newsDate} / regards, Muzak On Dec 10, 2007, at 1:22 PM, Todd wrote: Hello All, I've been trying to wrap my mind around this. I have a ValueBoject model that has a date properties and number properties (one of many) that are bound to a TextInput fields on a form. What's the best way to handle two-way data validating that the text input has a valid date in it. More importantly, how do you bind a specifically formatted date from the Model. Say my model has a valid Date on it, and I want to have it displayed in a textBox as 12/10/2007. The user changes the text box, and then I want the model to have a valid Date object from the input text. The key here is that the format input by a user and the format displayed in the TextInput is different than the raw data that is bound to the model. What to do if I bind a new date that hasn't been set in the model yet and I want something like a - (Hyphen) to appear in the form. It seems like the default databinding functionality breaks down pretty quickly. What are some of the techniques people use to convert items on a VO object for display purposes in a form, take form input and format it for specific model data? Or, do I just need to not use default databinding of my model to form inputs and instead have a method, that takes the VO, and manually binds the data, doing the appropriate conversions as necessary. And then to go the other way, after the form has been filled in and is validated, covert to the model? Thanks for any suggestions. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to change the data access option in an existing Flex project
Add the following to the Project compiler options: -services path\to\flex\services-config.xml -context-root regards, Muzak - Original Message - From: weichungwang [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 13, 2007 5:39 PM Subject: [flexcoders] How to change the data access option in an existing Flex project Does anyone know how an existing Flex project's data access option can be changed from Basic to ColdFusion Flash Remoting? The project was initially developed using the basic data access option. But now it needs to access data via Coldfusion Flash Remoting. Thanks Weichung -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How come setStyle(width,100%) does not change container back to 100% ?
width is a property not a style. - Original Message - From: helihobby [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, December 14, 2007 7:32 AM Subject: [flexcoders] How come setStyle(width,100%) does not change container back to 100% ? Hello, This is something that has been beugging me for a long time ( ever since Flex Beta 2 Beta ). When I set a container ( lets say VBox ) to 100% width using MXML inline than all is great. mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% creationComplete=init() If you set it using the setStyle(width,100%) in ActionScript 3 however: this.setStyle(width,100%); its as if the set style does not take effect... My VBox remains the fixed width as it was when I original created it ... :( Is this a BUG ? Am I missing something here ? Do we need to use StyleManager to refresh or something ... Tried to google this with no luck !!! Thanks in advance, Sean. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AS3 classes as MXML to enclose other tags
cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:cairngorm=com.adobe.cairngorm.business.* That would be the same as: public class Services extends com.adobe.cairngorm.business.ServiceLocator {} Where Services is the name of the mxml file that has cairngorm:ServiceLocator... defined as its base tag. Add the -keep argument to the compiler options to see what goes on behind the scenes. regards, Muzak - Original Message - From: Chris Velevitch [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 10, 2007 12:27 AM Subject: [flexcoders] AS3 classes as MXML to enclose other tags I've been looking Cairngorm and I saw this:- ?xml version=1.0 encoding=utf-8? cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:cairngorm=com.adobe.cairngorm.business.* mx:RemoteObject id=addcontactService destination=addcontactService showBusyCursor=true result=event.token.resultHandler( event ); fault=event.token.faultHandler( event ); /mx:RemoteObject /cairngorm:ServiceLocator where ServiceLocator is a user defined class. What is this mechanism called and where can I learn how it works? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AsDoc and libraries problem
Add the location of the flexlib swc to the -source-path parameter list asdoc -source-path path/to/project path/to/flexlib ... - Original Message - From: rleuthold [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 06, 2007 12:02 PM Subject: [flexcoders] AsDoc and libraries problem Hi, I want to run asdoc (from command line) for my project, but always getting an error cause of the flexlib components I'm using (Error: Could not resolve flexlib:SuperTabNavigator to a component implementation). Does somebody have an idea how to exclude the flexlib components when running asdoc ? thanx_rico -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: How to improve BitmapData processing speed?
No clue how that relates to PS.. I only use PS once a year and only if I really have to ;-) I suggest you start getting your hands dirty ;-) Here's some more ColorMatrix stuff from the Adobe site: http://www.adobe.com/devnet/flash/articles/matrix_transformations_print.html http://www.adobe.com/devnet/flash/articles/varicose_g.html As you can see, it's all AS2/Flash 8, but should be easy to transform into AS3. regards, Muzak - Original Message - From: larryzzl [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, December 05, 2007 8:19 AM Subject: [flexcoders] Re: How to improve BitmapData processing speed? Thanks, the demo makes sense. It seems very simple to change the exposure and some simple properties of bitmap. But does it make the same result as what the Photoshop make? I mean, if I change the exposure to 20 in the flash client, does that mean I set the brightness to 20 in Photoshop? --- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote: Flash 8 ColorMatrix stuff: http://www.gskinner.com/blog/archives/2005/09/flash_8_source.html There's an article on the Adobe site somewhere as well. Just google ;-) regards, Muzak - Original Message - From: Ralf Bokelberg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 04, 2007 10:53 AM Subject: Re: [flexcoders] Re: How to improve BitmapData processing speed? None of the effects at picnik is done with pixel level manipulations. They are using Bitmap operations. I don't know, how exactly the exposure effect can be achieved. I would try googling for Flash/Flex experiments. I'm sure you can find somebody explaining/showing it. Cheers Ralf. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] cfc do not understand cairngorm VO?
If you're using FlexBuilder, install the ColdFusion Extensions for Flex Builder (they're in the Flex Builder install dir). I've mentioned this yesterday. With the CF extensions installed, all you have to do is right click a cfc or as VO and you're done. Your cfc is missing some required stuff by the way.. Just use the CF wizards.. saves time and hair ;-) regards, Muzak - Original Message - From: Mark Shen [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, December 05, 2007 3:08 PM Subject: [flexcoders] cfc do not understand cairngorm VO? I have built a cfc vo class and flex vo class PersonVO.as package com.abc.CESF.Bursary.vo { import com.adobe.cairngorm.vo.IValueObject; [RemoteClass(alias=Bursary.cfcs.PersonVO)] public class PersonVO implements IValueObject { public var firstname:String = ; public var lastname:String = ; public var sid:String= ; public function PersonVO(){ this.firstname = ; this.lastname = ; this.sid = ; } } } PersonVO.cfc cfcomponent displayname=PersonVO hint=Login VO For CairngormTest output=false cfset this.firstname = / cfset this.lastname = / cfset this.sid = / /cfcomponent I have a function in cfc.it is here cffunction name=addPerson displayname=addPerson access=remote output=false returntype=boolean cfargument name=personVO type=PersonVO required=true / cfquery name=insertPerson datasource=bursary INSERT INTO person_info (fname, lname, sid) VALUES('#personVO.firstname#', '#tpersonVO.lastname#', '#personVO.sid#') /cfquery cfreturn true / /cffunction but I get the error when I pass flex vo to the cfc function.I am not sure how to make flex vo and cfc vo match.the error message is here RPC Fault faultString=The argument PERSONVO passed to function addPerson() is not of type PersonVO. faultCode=Server.Processing faultDetail=If the component name is specified as a type of this argument, the reason for this error might be that a definition file for such component cannot be found or is not accessible.] Please help me.Thanks Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: How to improve BitmapData processing speed?
Flash 8 ColorMatrix stuff: http://www.gskinner.com/blog/archives/2005/09/flash_8_source.html There's an article on the Adobe site somewhere as well. Just google ;-) regards, Muzak - Original Message - From: Ralf Bokelberg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 04, 2007 10:53 AM Subject: Re: [flexcoders] Re: How to improve BitmapData processing speed? None of the effects at picnik is done with pixel level manipulations. They are using Bitmap operations. I don't know, how exactly the exposure effect can be achieved. I would try googling for Flash/Flex experiments. I'm sure you can find somebody explaining/showing it. Cheers Ralf. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: How to improve BitmapData processing speed?
Oh and there's this one (it's linked from Grant's article as well) http://www.quasimondo.com/archives/000565.php - Original Message - From: Ralf Bokelberg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 04, 2007 10:53 AM Subject: Re: [flexcoders] Re: How to improve BitmapData processing speed? None of the effects at picnik is done with pixel level manipulations. They are using Bitmap operations. I don't know, how exactly the exposure effect can be achieved. I would try googling for Flash/Flex experiments. I'm sure you can find somebody explaining/showing it. Cheers Ralf. On Dec 4, 2007 10:39 AM, larryzzl [EMAIL PROTECTED] wrote: Sorry, I don't understand what you said very clearly. Do you mean that I should use the single whole ARGB unsigned int value but not a single color value? I'm not very sure about the 32bit block in you mail. But I think some algorithm need to deal with R,G,B color separately. Could you give me some code example which can make me understand more clearly if you have time. Thanks --- In flexcoders@yahoogroups.com, DreamCode [EMAIL PROTECTED] wrote: Well... a blur is not at pixel level either That can be handled in blocks too I might see this fairly clear as I come from an ASM background.. the thing you need to realize is that performing an action on a 32bit block is not much slower that it is performing the same action of a pixel actually the pixel is most likely slower... the cpu still read 32bits although it seems like it only reads one but with the single pixel it needs to perform an AND when it reads it and 2 x ( AND + OR ) when it writes it . with a 32 bit block it is not. on top of that, since a blur is essentially a form of convolute filter the pixel version need to read it's some radius of neighboring pixels radius being the amount of blur to apply. So that's another now we have another stack of single pixel to process so now what started out to be a pixel process is actually getting/putting another 20 pixels in a 3.0 blur (radius) scenario. 323 32123 21X12 32123 323 Now multiply that by your 0.75megapixels. IT ADDS UP --Allan -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Output to cfm file
After you've compiled the project and renamed the generated html file to cfm (normal and debug version), go to: Run - Run - Other Look for the project entry on the left (should be selected by default) On the main tab, uncheck use defaults under Url or path to launch Fill in the url's to the cfm page on the server for both the normal and dubug version. regards, Muzak - Original Message - From: Tim Ashworth [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 04, 2007 11:13 AM Subject: [flexcoders] Output to cfm file Hi, I'm using ColdFusion to manage the login on my Flex App. Basically I want to knock out people before the app even starts running, so I'm using an Application.cfc to force a login. I know that I could simply add a login to Flex, but this is not the solution I'm looking for. Is there any way to get Flex to output a cfm file rather than an html wrapper? It's no biggie, but I have to keep renaming the file to cfm to get it to run correctly. I've gone through all the preferences I can and there doesn't seem to be anywhere to change the file extension. Cheers, tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] New flash player available -Debugger Versions
Download http://www.adobe.com/support/flashplayer/downloads.html Read http://www.adobe.com/devnet/logged_in/jchurch_flashplayer9.html regards, Muzak
[flexcoders] Re: Unable to pass objects from Flex to Coldfusion
Just a FYI, If you haven't done so already, install the Coldfusion wizards for FlexBuilder. They're in the FlexBuilder install directory in a folder called ColdFusion Extensions for Flex Builder. They're a huge help if you work with VO's (on both ends). Once installed you can: Right click a VO ActionScript class, select: Coldfusion Wizards Create CFC (based on AS class) Same thing with CFC VO's to create AS VO's. And much, much more.. regards, Muzak - Original Message - From: Jeffry Houser [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, December 04, 2007 9:20 PM Subject: Re: SPAM-LOW: [flexcoders] Re: Unable to pass objects from Flex to Coldfusion francescomagalini wrote: Is pvlive091.cfcs.mailer located in your web root? Yes How about showing us some ColdFusion code? ok Instead of using a generic object, why not create a value object AS3 and/or CFC to pass as a parameter back and forth between Flash and CF? why? i do not know a lot about VOs.. I'll try to figure out why you say that. Before reading further, add access=remote to your cffunction tag. If that is left out, then the method is not exposed to the Flash Player (AKA Flex). Value Objects (VOs) are also called Transfer objects, if that helps. They are data containers, usually without any functionality. From a CF Standpoint, think of a VO as a CFC that is acting like a structure. You need an AS3 file, like this: package PvLive091.vo { [RemoteClass(alias=PvLive091/cfcs/mailerData)] [Bindable] public class mailerData{ public var address :String = ; public var subject:String = ; public var body:String = ; // etc.. etc.. } } And a CFC like this: cfcomponent name=mailerData hint= alias=PvLive091.vo.mailerData cfproperty name=address type=string / cfproperty name=subject type=string / cfproperty name=body type=string / !-- other instance variables -- /cfcomponent When creating your CFC and AS3 object, be sure to keep the properties case sensitive, and in the same order in each file. It'll save you headaches later on. -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Advice on AS3 and Flex map project
Have a look at the Flex_Component_Kit_for_Flash_CS3: http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3 http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1273018 - Original Message - From: bebethschenk [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, December 03, 2007 12:59 PM Subject: [flexcoders] Advice on AS3 and Flex map project I recently inherited some code for a basic mapping project that the client wants done in Flex. The previous programmer created all the artwork for the map and classes for the symbols in AS3. I've done projects where you import symbols from .swfs but never where there's code/classes associated with those symbols. So, my question is how to best proceed. A lot of work has been done, so I'd like to reuse the code, but I'm not sure how. From my reading it seems that importing .swfs with actionscript 3.0 code is not easy. Any suggestions? many thanks, bebeth -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Events and Non-Display Objects
I think what you're looking for is a Singleton class that extends EventDispatcher which only purpose is to be able to add listeners to and dispatch events upon. package com.muzakdeezign.mvc.managers { import flash.events.EventDispatcher; public class SystemEventManager extends EventDispatcher { private static var __instance:SystemEventManager = null; public function SystemEventManager() { if(__instance != null) { throw new Error(Instance of SystemManager already exists. Use SystemManager.getInstance()); } } public static function getInstance():SystemEventManager { if(__instance == null ) { __instance = new SystemEventManager(); } return __instance; } } } //from anywhere in your app: import com.muzakdeezign.mvc.managers.SystemEventManager; SystemEventManager.getInstance().addEventListener(someEvent, someEventHandler); //and somewhere else in your app SystemEventManager.getInstance().dispatchEvent(new Event(someEvent)); Make sense? regards, Muzak - Original Message - From: bithroop [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 29, 2007 5:33 PM Subject: [flexcoders] Re: Events and Non-Display Objects Jehanzeb - first, thank you for the detailed response! I really appreciate it. In the code you provided, the CustomEventDispatcher was instantiated within the mx:Application object. So from what I've seen, yes Application will be able to hear CustomEventDispatcher's events. However, my sitation is more like: Application | |--ContainerC-ContainerD | |--ContainerA-Custom AS class not in display list-CustomEventDispatcher. And I want CustomEventDispatcher's event to be heard by Container D. Right now I have my listener on Application, and then Application is calling a method on ContainerC, which is then calling a method on ContainerD. This seems to be ugly and bad form. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex Builder 3 Gotcha
Use SVN to keep projects in synch. - Original Message - From: Tim Ashworth [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, November 27, 2007 11:38 AM Subject: [flexcoders] Flex Builder 3 Gotcha Hi all, I'm sure that people are aware of this, but it's done my head in for the last few days. Basically I've been working on two machines, my office machine and my laptop developing the same app. What has been happening is that as I copy files back and forth Flex Builder loses code hints and colouring within Script tags. After some messing around I've discovered that EVEN IF FLEX BUILDER IS CLOSED if you overwrite a file that was open in the workspace this bug occurs. I guess it's something to do with the way the workspace configuration is saved. The workaround I've found is to close all the files in Flex Builder. Close Flex Builder, overwrite the files again. Once you've done this, re-open Flex Builder, open the affected file and - yay - code hints and colouring are back. Probably not such a biggie for all you flex gurus, but working this out has helped me a lot. Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Simple question about remoteObject?
RemoteObject uses AMF, a proprietary messaging protocol, to communicate with a Java back-end. Or ColdFusion, PHP, .NET.. or whichever Remoting solution you can get your hands on. - Original Message - From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, November 27, 2007 6:17 PM Subject: RE: [flexcoders] Re: Simple question about remoteObject? RemoteObject is one of the three RPC protocols that a Flex client app can use to communicate with a server. RemoteObject uses AMF, a proprietary messaging protocol, to communicate with a Java back-end. Your other RPC options are HTTPService(my personal favorite) which uses XML over HTTP, and WebService, which uses SOAP. All three require some server-side platform to receive the request and return the response. Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Index of item in list
Make sure your item renderer implements IDropInListItemRenderer Define a listData getter/setter, which, when set by the component using the item renderer, will contain the index you need. http://livedocs.adobe.com/flex/201/langref/mx/controls/listClasses/IDropInListItemRenderer.html http://livedocs.adobe.com/flex/201/langref/mx/controls/listClasses/BaseListData.html If you're writing the item renderer in MXML and the base class does not implement IDropInListItemRenderer, you can do the following: ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; implements=mx.controls.listClasses.IDropInListItemRenderer mx:Script ![CDATA[ import mx.controls.listClasses.BaseListData; // Internal variable for the listData property value. private var _listData:BaseListData; [Bindable(dataChange)] public function get listData():BaseListData { return _listData; } public function set listData(value:BaseListData):void { _listData = value; } /mx:Canvas You can then use _listData.columnIndex, _listData.rowIndex And, if you haven't already, read Alex's article about DataGrid/List item renderers: http://blogs.adobe.com/aharui/2007/03/ regards, Muzak - Original Message - From: learner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 26, 2007 8:31 AM Subject: [flexcoders] Index of item in list I am using a list control and trying to give a alternate styles to it. (not just alternate colors). Hence I want to know the index at which the current Item is going.. Is there any way to know the instance of item renderer it's currentIndex in List? Something like this : mx:List itemRenderer = myItem dataProvider ={p}/ comp myItem : [Bindable] index:Number // index in the list. Thanks in advance Regards PS -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex Hierarchy
Use the argument passed to the event handler, that's what it's for. currentTarget should give you what you need. private function init():void { var c1:Canvas = new Canvas(); addChild(c1); var c2:Canvas = new Canvas(); c1.addChild(c2); var c3:Canvas = new Canvas(); c2.addChild(c3); var c4:Canvas = new Canvas(); c3.addChild(c4); var ipt:TextInput = new TextInput(); ipt.name = test_input; ipt.id = test_input; ipt.addEventListener(Event.ADDED_TO_STAGE,traceInput); c4.addChild(ipt); } private function traceInput(evt:Event):void { trace(evt.currentTarget); } - Original Message - From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 22, 2007 6:04 AM Subject: [flexcoders] Re: Flex Hierarchy I don't think i'm making myself clear. The whole point is to get the sbtButton not the parent. if you create sbtButton dinamically inside a vboxformbutton (that will be dynamically as well) this.sbtButton wouldnt work. Let me try again -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: AMFPHP 1.9 security problem
See if this helps: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=3201 regards, Muzak - Original Message - From: danielvlopes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 16, 2007 5:21 AM Subject: [flexcoders] Re: AMFPHP 1.9 security problem I found this topic in sephirot forum, http://www.sephiroth.it/phpBB/showthread.php?t=7966, they said use authenticate class in beforefilter amfphp function, i try look on this class in my amfphp folder but i don't understand how use... everything i found about authenticate in amfphp is for amfphp 1.2 and i using 1.9beta 2 . Anyone can help? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Event dispatching and receiving
I've tried not using Application.appication and still get nothing, what am I not understanding about receiving events from another Class. That events dispatched from an instance not on the display list do not bubble. regards, Muzak - Original Message - From: duncan mcmillan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 16, 2007 4:45 PM Subject: [flexcoders] Event dispatching and receiving Folks Maybe I'm interpreating all the docs wrong but, I have a Custom Class which is one of several View Classes as part of an MVC model I'm using. I have an associated Controller class. I want the Custom class to dispatch custom Event to the COntroller class, the Custom class is embedded somewhere in the Display list under a Base View Class. [Event(name=menuitemClicked, type=flash.events.Event)] Custom Class { private function onClick(event:Event) { var e:Event = new Event(menuitemClicked, true, false); dispatchEvent(e); Alert.show(Event Dispatched); } } In the Controller Class { public function init() { Application.application.addEventListener(menuitemClicked, menuitemClickHandler); } //This MVC EventHandler public function menuitemClickHandler(event:Event) { Alert.show(Event received by COntroller); } } I've tried not using Application.appication and still get nothing, what am I not understanding about receiving events from another Class. Cheers Duncan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Event dispatching and receiving
- Original Message - From: Steve Hueners [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 16, 2007 7:08 PM Subject: Re: [flexcoders] Event dispatching and receiving Under what circumstances could something not on the displayList be clickable? Bad programming ;-) On 11/16/07, Muzak [EMAIL PROTECTED] wrote: I've tried not using Application.appication and still get nothing, what am I not understanding about receiving events from another Class. That events dispatched from an instance not on the display list do not bubble. regards, Muzak -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Popups and Focus
Use Javascript to set focus to the swf when it's loaded. IIRC, only works in IE, not Firefox. regards, Muzak - Original Message - From: triggersoftware [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 14, 2007 11:53 AM Subject: [flexcoders] Popups and Focus I'm trying to get my application to launch a popup as soon as it starts up and the popup should put the focus its text box. The problem is, that while I can see the blue border around the text box, the cursor is not active in the text box, meaning the user has to click on the popup in order to type anything in. How do I make it so the user can type in straight away? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=doInit() mx:Script ![CDATA[ import Login.Login; import mx.managers.PopUpManager; private function doInit():void { PopUpManager.createPopUp(this, TestPopUp, true); } ]] /mx:Script /mx:Application ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; width=400 height=300 creationComplete=doInit() mx:Script ![CDATA[ import mx.controls.Alert; private function doInit():void { txt.setFocus(); } ]] /mx:Script mx:TextInput id=txt/ /mx:TitleWindow -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Popups and Focus
- Original Message - From: triggersoftware [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 14, 2007 1:20 PM Subject: [flexcoders] Re: Popups and Focus Thanks for the responses. However, I really need this to work in Firefox. Good luck with that: http://www.mozilla.org/support/firefox/bugs It seems rather insane that this is even a problem - I've called .setFocus() - why doesn't it do what it's told?! It actually does work, you just don't see it (the I-beam), because the swf doesn't have focus. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Popups and Focus
By the way: http://www.google.com/search?hl=enq=firefox+swf+focus+bugmeta= - Original Message - From: triggersoftware [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 14, 2007 1:20 PM Subject: [flexcoders] Re: Popups and Focus Thanks for the responses. However, I really need this to work in Firefox. It seems rather insane that this is even a problem - I've called .setFocus() - why doesn't it do what it's told?! Any cross-platform solutions? --- In flexcoders@yahoogroups.com, Hara Jn [EMAIL PROTECTED] wrote: BTW all the code is in index.template.html under html-template folder. As said earlier it wont work in firefox Cheers Hara On Nov 14, 2007 5:18 PM, Hara Jn [EMAIL PROTECTED] wrote: AS Muzak said use the id in the function AC_FL_RunContent( in the javascript used in the html generated.Use the id.If the id is in the body tag of the html use .focus() in the onload event. Cheers Hara On Nov 14, 2007 4:50 PM, Muzak [EMAIL PROTECTED] wrote: Use Javascript to set focus to the swf when it's loaded. IIRC, only works in IE, not Firefox. regards, Muzak - Original Message - From: triggersoftware [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 14, 2007 11:53 AM Subject: [flexcoders] Popups and Focus I'm trying to get my application to launch a popup as soon as it starts up and the popup should put the focus its text box. The problem is, that while I can see the blue border around the text box, the cursor is not active in the text box, meaning the user has to click on the popup in order to type anything in. How do I make it so the user can type in straight away? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=doInit() mx:Script ![CDATA[ import Login.Login; import mx.managers.PopUpManager; private function doInit():void { PopUpManager.createPopUp(this, TestPopUp, true); } ]] /mx:Script /mx:Application ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; width=400 height=300 creationComplete=doInit() mx:Script ![CDATA[ import mx.controls.Alert; private function doInit():void { txt.setFocus(); } ]] /mx:Script mx:TextInput id=txt/ /mx:TitleWindow -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Always and again this @#[EMAIL PROTECTED] Sandbox !
Google doesn't have a cross-domain policy (xml) file. You'll have to invoke (make the actual call) from php, coldfusion, etc.. on your server and send the result back to Flash/Flex. I'm using the Google Search API here: http://muzakdeezign.com/flashcoders/?q=delegate The app calls a local CFC (Coldfusion component) through Flash Remoting and the CFC invokes the Google webservice: cfinvoke webservice=http://api.google.com/GoogleSearch.wsdl; method=doGoogleSearch returnvariable=searchResult arguments here.. / /cfinvoke The nice thing is that I can massage the result coming from Google before sending it back to Flash. So instead of receiving xml I receive a real Flash object (actually an Array of Objects). regards, Muzak - Original Message - From: quantum_ohm [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 10, 2007 3:08 PM Subject: [flexcoders] Re: Always and again this @#[EMAIL PROTECTED] Sandbox ! Hi, I've done this... and the proxy is OK. the thing is that the called address http://api.google.com/GoogleSearch.wsdl; return another address as the end point URI which is http://api.google.com/search/beta2; and this is where the violation of the sandbox takes place...??? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Always and again this @#[EMAIL PROTECTED] Sandbox !
Without seeing the google crossdomain.xml file, there's no way of telling if it allows or dissallows access to their API. Coldfusion is just one way of doing it, php will work just fine. If you don't have remoting, you can get AMFPHP or any of the other PHP remoting solutions out there: http://www.amfphp.org/ http://www.google.com/search?hl=enq=php+remotingmeta= regards, Muzak - Original Message - From: quantum_ohm [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 10, 2007 4:40 PM Subject: [flexcoders] Re: Always and again this @#[EMAIL PROTECTED] Sandbox ! Actually they seem to have one... When you install FireBug with Firefox you can see that a http://api.google.com/crossdomain.xml; appears which leads to the Developer Home - Google Code page...(?) Otherwise I don't have coldfusion neither flash remoting. I do use a proxy.php, but this one doesn't seem to be enough to avoid the error.(see below what happens, or please see the link app) Thx anyway for your response -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Background pattern in Flex like in CSS
You have to wait for the image to load (or embed the jpg). Listen for the complete event on the Image component instance. - Original Message - From: danielvlopes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 10, 2007 10:08 PM Subject: [flexcoders] Re: Background pattern in Flex like in CSS Hello every body, i trying this but nothing happen, even error: ?xml version=1.0 encoding=utf-8? mx:Application creationComplete=initApp() xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.controls.Image; import flash.display.*; import mx.controls.Alert; import mx.containers.Canvas; public function initApp():void{ var bmd:BitmapData = Bitmap( this.imgBg.content ).bitmapData; var container:Canvas = new Canvas(); container.graphics.beginBitmapFill (bmd, null, true, false); container.graphics.drawRect (0, 0, 500, 500); addChild (container); } ]] /mx:Script mx:Image id=imgBg visible=false source=../imagens/comum/bg.jpg / /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] First attemt at getting result back from AMFPHP - Why is it a Object
Use ObjectUtil.toString() to see what type the result really is in the Console, my guess is it's an Array though. import mx.utils.ObjectUtil; public function onResult( result:Object ):void { trace(ObjectUtil.toString(result)); selInventoryGroups.dataProvider = new ArrayCollection(result as Array); } - Original Message - From: oneproofdk [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 08, 2007 10:38 AM Subject: [flexcoders] First attemt at getting result back from AMFPHP - Why is it a Object I'm using AMFPHP 1.9B and have created a service called inventory.getInventoryGroups - in the AMF service browser I see the result just perfect. : I'm trying to populate a simple ComboBox with the result ! What have I done wrong [:-/] ? BTW If I select result : ArrayCollection it returns an error Cant convert Object to ArrayCollection Thanks for your help, Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid
Here's one way of doing it: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=appInit(); mx:Script ![CDATA[ import mx.events.FlexEvent; import mx.controls.SWFLoader; private var swfContent:MovieClip; private function appInit():void { trace(Application ::: appInit); var swfReq:URLRequest = new URLRequest(_assets/test.swf); var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfCompleteHandler); loader.load(swfReq); } private function swfCompleteHandler(evt:Event):void { trace(Application ::: swfCompleteHandler); var t:LoaderInfo = evt.currentTarget as LoaderInfo; this.swfContent = t.content as MovieClip; trace(- target: +t) trace(- content: +t.content); var swf:SWFLoader = new SWFLoader(); swf.addEventListener(FlexEvent.UPDATE_COMPLETE, swfUpdateCompleteHandler); swf.source = this.swfContent; addChild(swf); } private function swfUpdateCompleteHandler(evt:Event):void { trace(Application ::: swfUpdateCompleteHandler); } ]] /mx:Script /mx:Application Note that the loaded swf is not duplicated, but the loader content (which is a MovieClip) is assigned to the source property of an SWFLoader instance. Another way would be to load the swf as Binary data using URLLoader, then use Loader.loadBytes() and display the Loader content in an Image or SWFLoader instance. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=appInit(); mx:Script ![CDATA[ import mx.core.UIComponent; import mx.events.FlexEvent; import mx.controls.SWFLoader; private var swfContent:MovieClip; private function appInit():void { trace(Application ::: appInit); var swfReq:URLRequest = new URLRequest(_assets/test.swf); var loader:URLLoader = new URLLoader(); loader.dataFormat = URLLoaderDataFormat.BINARY; loader.addEventListener(Event.COMPLETE, loaderCompleteHandler); loader.load(swfReq); } private function loaderCompleteHandler(evt:Event):void { trace(Application ::: loaderCompleteHandler); var t:URLLoader = evt.currentTarget as URLLoader; var ba:ByteArray = t.data as ByteArray; trace(- target: +t) trace(- data length: +ba.length); var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, bytesLoaderCompleteHandler); loader.loadBytes(ba); } private function bytesLoaderCompleteHandler(evt:Event):void { trace(Application ::: bytesLoaderCompleteHandler); copyImg.source = evt.currentTarget.content; } ]] /mx:Script mx:Image id=copyImg / /mx:Application regards, Muzak - Original Message - From: Phil Heinz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 08, 2007 5:41 AM Subject: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid Hi Muzak, Do you know of any way to apply the same logic, but as a MovieClip instead of a Bitmap? I have a swf that loads in a SWFLoader and I want to take the content of that loader (as a MovieClip) and duplicate it so I can put it in the display list in other areas of my application at the same time. The content of the SWFLoader needs to remain vector so it can be zoomed effectively. duplicateMovieClip doesn't exist any more and any attempt to assign the completed content of one SWFLoader to another's source (so it doesn't have to load it via http) removes that content from the first component before moving it to the other. Thanks for any insight you might have! Phil -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid
With the MovieClip route you can duplicate the MovieClip manually: http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/display/duplicateDisplayObject.as There's an optimized version in the LiveDocs comments, that duplicates child MovieClips recursively: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html regards, Muzak - Original Message - From: Phil Heinz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 08, 2007 10:27 PM Subject: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid Muzak, Thanks so much for your examples. I have it working using the ByteArray method. I couldn't use the MovieClip example because it still is moving a single copy from Loader to Loader, but with the ByteArray, I can make multiple Loaders load the same ByteArray, and they are separate unique instances. Thanks again! Phil -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders]Duplicate Image
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function origCompleteHandler(evt:Event):void { trace(Application ::: origCompleteHandler) var target:Image = evt.currentTarget as Image; trace(- target: +target); // grab image var bmp:Bitmap = target.content as Bitmap; // grab image bitmapdata var bmd:BitmapData = bmp.bitmapData; // use bitmapdata as source of Image component copyImg.source = new Bitmap(bmd); } ]] /mx:Script mx:HBox mx:Image id=origImg source=images/risotto010.jpg complete=origCompleteHandler(event); / mx:Image id=copyImg / /mx:HBox /mx:Application - Original Message - From: dorkie dork from dorktown [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 08, 2007 10:51 PM Subject: [flexcoders]Duplicate Image I'm having a hard time figuring out how to duplicate an Image. Not a bitmap. I have an image tag like this: mx:Image x=10 y=10 source=images/resizeGrip.png id=resizeGrip/ How would I make duplicates, their own instances, of this image in code? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=appInit(); mx:Script ![CDATA[ private function appInit():void { trace(Application ::: appInit) var imgReq:URLRequest = new URLRequest(images/risotto010.jpg); var imgLoader:Loader = new Loader(); imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imgCompleteHandler); imgLoader.load(imgReq); } private function imgCompleteHandler(evt:Event):void { trace(Application ::: imgCompleteHandler) var loader:LoaderInfo = evt.currentTarget as LoaderInfo; // grab image var bmp:Bitmap = loader.content as Bitmap; // grab image bitmapdata var bmd:BitmapData = bmp.bitmapData; // create new Bitma with bitmapdata and use as source for Image component bitmapImg.source = new Bitmap(bmd); } ]] /mx:Script mx:Image id=bitmapImg / /mx:Application regards, Muzak On 11/7/07, handitan [EMAIL PROTECTED] wrote: Hi Muzak, Thank you for the suggestion. Hmmm..how do you transform it to a BitmapData? So far I haven't gotten any success out of it. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Muzak [EMAIL PROTECTED] wrote: Display the images as bitmapdata in the itemrenderer. So rather than passing the image url to the itemrenderer, load the image upfront, transform into bitmapdata and pass that on to the itemrenderer. Haven't tried it, but think it should work. regards, Muzak - Original Message - From: handitan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Sent: Monday, November 05, 2007 12:16 AM Subject: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid I try to use SuperImage but I couldn't get it to work as an itemRenderer. If there's any other way besides using SuperImage, I am all ears. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid
Display the images as bitmapdata in the itemrenderer. So rather than passing the image url to the itemrenderer, load the image upfront, transform into bitmapdata and pass that on to the itemrenderer. Haven't tried it, but think it should work. regards, Muzak - Original Message - From: handitan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 05, 2007 12:16 AM Subject: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid I try to use SuperImage but I couldn't get it to work as an itemRenderer. If there's any other way besides using SuperImage, I am all ears. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] ExternalInterface script time out problem!
http://livedocs.adobe.com/flex/2/langref/flash/errors/ScriptTimeoutError.html - Original Message - From: icykorpio [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 26, 2007 10:05 AM Subject: [flexcoders] ExternalInterface script time out problem! hi everyone, when i use externalinterface to call its container's function, flash player will pop up an exception if the function doesn't return in 15 seconds. i can't try-catch the exception because it's a timer-based async error. any expert know some way to work-around the 15 seconds limit? thank you very much regards yian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex is becoming unviable
Now if the browser could cache the swf file like it does a graphic, then that would ease my mind a bit. swf's are cached by the browser, just like any other assets. Muzak -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: problems access a Flex/CF site via a URL
Added a comment here (awaiting approval): http://livedocs.adobe.com/flex/2/docs/1099.html - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 19, 2007 10:39 AM Subject: Re: [flexcoders] Re: problems access a Flex/CF site via a URL On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote: and on the server (and that they have to have matching destinations)? Again, I've not checked, but it must be in the docs somewhere. It's not.. Find a relevant page on LiveDocs and comment it then, the docs team are great about feedback. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: problems access a Flex/CF site via a URL
You don't need a config file on your server. The config file is compiled into the flex application. I'm not sure this is still the case with Flex 2.01, but changes to the services-config.xml file weren't picked up by FlexBuilder, unless you 'touched' the project properties. So to be sure that the new services-config.xml is getting compiled, make a small change to the project properties and apply before compiling. regards, Muzak - Original Message - From: stephen50232 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, October 18, 2007 12:20 PM Subject: [flexcoders] Re: problems access a Flex/CF site via a URL No, how do I do this, if the system is built using Flex builder on my PC, but running on another server? Do I have to make both the service-config files on both my PC and the server the same and then recompile? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote: the java.lang.NullPointerException' error message, which I originally received. After I made the change I did restart the ColdFusion server. Still not sure what's happening? Did you recompile the application against the new services-config.xml too ? -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] The web-inf folder
Flex uses whichever services-config.xml file you point it to. This is a complile-time include, not a runtime include, so you can have as many services-config files as you want (e.g. one for each project). regards, Muzak - Original Message - From: stephen50232 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, October 18, 2007 9:59 AM Subject: [flexcoders] The web-inf folder Hi, I'm having a problem with a Flex app connecting to ColdFusion on a new server, and through the great help of some people on this message board I think the problem is the settings in the service-config file. So looking on my server I found that I have two web-inf folders, which both have a service-config file. I have one web-inf folder in C:\Inetpub\wwwroot folder and one in the C:\CFusionMX7\wwwroot\ now which one should there be, all our sites run out side of both of these folder and are accessed through websites set up in IIS, but the site I'm having problems with is in C:\Inetpub\wwwroot. So which web-inf folder should I have and which service-config file does flex use to get its settings? Thanks Stephen -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: problems access a Flex/CF site via a URL
So far I've only used the default ColdFusion destination and I guess that's why it always works ;-) Is it documented somewhere that a services-config.xml file is required locally (at compile time) and on the server (and that they have to have matching destinations)? regards, Muzak - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, October 18, 2007 1:34 PM Subject: Re: [flexcoders] Re: problems access a Flex/CF site via a URL On Thursday 18 Oct 2007, [EMAIL PROTECTED] wrote: You don't need a config file on your server. You do if it's ColdFusion. The destination names, for instance, must match what you compiled against. 2.01, but changes to the services-config.xml file weren't picked up by FlexBuilder, unless you 'touched' the project properties. Or do a clean build. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/