Re: [flexcoders] Cairngorm Question
Hi YJ, RocketBoots is working with a development team on a large (100s of classes) Flex 1.5 Cairngorm application at the moment with potentially many instances of the same "sub-application" (we call them workspaces) around at the same time - e.g. two searches, three articles, a calculator etc. Here's our solution, which is working nicely. Each type of workspace has it's own viewHelper class. Each workspace instance has it's own viewHelper instance. Because there are multiple instances it was going to be difficult to use the ViewLocator and ModelLocator, so we didn't. Instead, when workspace instance X broadcasts an event, we include a reference to the workspace's viewHelper in the event data. The command's execute method caches this viewHelper in an instance variable, and its onResult method uses the same viewHelper to display the results. The viewHelper instance also holds our model, using instance instead of static variables (although we can imagine using statics in some situations, for bits of the model shared across all workspaces). Happy to answer further questions about this approach - this one has been in the backlog of things to blog for a while. Cheers, Robin __ Robin Hilliard Director - RocketBoots Pty Ltd Professional Services for Macromedia Technologies http://www.rocketboots.com.au For schedule/availability call Pamela Higgins: w+61 7 5451 0362 m+61 419 677 151 e[EMAIL PROTECTED] or Direct: m+61 418 414 341 f+61 2 9798 0070 e[EMAIL PROTECTED] *** Register for WebDU http://www.mxdu.com 2-3 March 2006 *** On 17/01/2006, at 1:37 AM, fowleryj wrote: > We have been developing a fairly large application using Flex 1.5 and > the Cairngorm framework, and have recently run across what could be a > large roadblock. Our application has many sub-applications the user > can choose to run from a menu in the main application. To implement > this we are dynamically creating the children the user selects in a > view stack. All of these sub-applications rely on a particular search > screen that allows the user to find a particular person in our > database. The problem is that the sub-applications are bound to the > selection the user makes in the search screen, and are all reacting to > the same events (which are broadcast from the search screen). We would > like the search screens to function as separate instances. For > example, if I broadcast a change event from the search screen, all of > the open sub-applications will catch the event and change all of their > displayed information to reflect that of the most recently selected > person. Our problem appears to stem from the way the EventBroadcaster > and FrontController are designed. All events are broadcast in the same > EventBroadcaster using the getInstance() method, thus everything is > listening for everything. > > Can anyone who is familiar with the intricacies of Cairngorm propose a > way to deal with this problem? We would like to be able to return the > information about the selected person only to the sub-application that > invoked the search screen. Perhaps it is not possible to do this using > Cairngorm, and we would appreciate knowing that, too. > > If anyone has a different/better solution, we'd love to hear about it. > > Thanks in advance. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Question about a book written by Steven Webster and Allistair McCloud
You are really simply better off reading a plan old J2EE book. Just go to Amazon and find one that includes a section on security. Honestly this stuff has nothing to do with Flex. Its purely a J2EE thing. Flex just seamlessly comes along for the ride ;) I did promise you to post entries to a web.xml which will "secure" an entire web application (and hence you could secure your Flex app). Here you go. You can paste the following code into your web.xml. Please do keep in mind This is assuming you have already added 1) Some user 2) Set their password 3) Placed that user into a Role called "user" See, in J2EE those three actions are container specific. So I cant tell you how to do it for every container. My guess is you use JRUN (Integrated Server) which I don't use, so I'm not much help Anyhow, add this to web.xml after the servlet-mappings: Example Security Constraint Protected Area /* DELETE GET POST PUT user BASIC Example BASIC-Based Authentication Area user When you now hit the web-app you will get a J2EE BASIC challenge to login. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: > > I have the book Developing Rich Clients with Macromedia Flex by Steven > Webster and Allistair McCloud and I am trying to find what is the best chapter to > read about security. I want to learn how to put information on a server and have > it be kept secure? The information would be things like passwords and money > amounts etc etc. > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] [Flex2] (re)loading sound
Hi there, I'm using the following function to load a sound file. It all works just fine the first time, but when I try loading a second file, I get the following error: IllegalOperationError: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful. at components::SoundPlayer/loadSound() at AS3Loader/AS3Loader$385$private::loadTheSound() at AS3Loader/soundButton_click() any ideas what I am doing wrong? the function : public function loadSound(url:String){ var request:URLRequest = new URLRequest(url); __snd.load(request); __channel = __snd.play(); } tia PBH -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DateField: selectableRange
Setting the selectableRange means only the dates between rangeStart and rangeEnd (or in your case from rangeStart onwards) are selectable – that is why the calendar starts at rangeStart upon startup. There’s no way to select a date earlier then rangeStart. If you want to keep the range of dates open and just disable some ranges from being selected, then look into setting disabledRanges. Upon making a selection in a DateField, when it is re-opened it will remain at the date last selected. If you want to keep the calendar at a particular selected date when the app is re-loaded, you’ll have to write a mechanism where that selected date is stored somewhere and re-set when the app is loaded again. -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Monday, January 16, 2006 2:59 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] DateField: selectableRange it works well except the calendar is always showing the rangeStart date by default. How to get the calendar back to the month and year of the date selected when you reload the page? Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Deepa Subramaniam Sent: Monday, January 16, 2006 4:38 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateField: selectableRange Hi - You can set whichever range property you want (disabledRanges which disables single or multiple days or selectableRange which sets a range of dates which are selectable) in ActionScript or at the tag level. Both those properties take an Object which contains two properties - rangeStart and rangeEnd which are Date objects. For example: rangeEnd: new Date(2006, 1, 16)} }" /> Will make it such that the DateField enables the range 1/1/06 to 1/16/06 as selectable. In your case, you'd want to do: Date(2004,4,1)} }"/> HTH - Deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Monday, January 16, 2006 1:12 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] DateField: selectableRange What I am trying to do is to get the calendar selectable only from 1 April 2001. The following is not working: Thanks for any help Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ghislain Simard Sent: Monday, January 16, 2006 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateField: selectableRange Is there an example on how to get the range set for the tag DateField? 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS * Visit your group "flexcoders" on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 Custom Component Event
Hello all, I'm new to this list and am glad to join the community. I've been working with flex 2 and have run into a problem I'm hoping someone here might be able to help me solve. I'm dispatching an event in my main mxml file, and need to have it be captured within a custom component I've created. The problem I'm having is that the custom component is created numerous times from within an so I can't seem to attach the listener in the correct fashion. Here is a snipped from my main app: import mx.collections.ArrayCollection; import flash.util.trace; public function broadcastShowType() { dispatchEvent(new Event("showType")); mx.controls.Alert.show("broadcast show event"); } Then within my component I've got: private function initComponent() { addEventListener("showType", handleShowType); } private function handleShowType(event) { Alert.show("Received Event Notification"); } I assumed that putting the addEventListener() within the component would create it when the component was created, but it seems to be a local listener, and will not receive events from the main app. Considering the dynamic nature of how I'm creating the custom component, is there another way to add the event listener and have it able to respond to the outer events? Rich Kroll -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] can not have separate flex war apps?!?!?
I'm having a wierd problem when trying to have different J2EE web application that have the flex configurations. The code will fail to compile Error /com/sf/sfv4/view/sharkfin/AddGoal.mxml:74 Expected object definition or binding _expression_ inside mx.controls.Label This does not occur when it is the only one web application /war. This only occurs when I have separate web application (each with their own web.xml configured to use flex). This is occuring in jboss 3.2.7. Has anyone else had problems when using flex in multiple wars? Dan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DateField: selectableRange
Setting the selectableRange means only the dates between rangeStart and rangeEnd (or in your case from rangeStart onwards) are selectable – that is why the calendar starts at rangeStart upon startup. There’s no way to select a date earlier then rangeStart. If you want to keep the range of dates open and just disable some ranges from being selected, then look into setting disabledRanges. Upon making a selection in a DateField, when it is re-opened it will remain at the date last selected. If you want to keep the calendar at a particular selected date when the app is re-loaded, you’ll have to write a mechanism where that selected date is stored somewhere and re-set when the app is loaded again. -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Monday, January 16, 2006 2:59 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] DateField: selectableRange it works well except the calendar is always showing the rangeStart date by default. How to get the calendar back to the month and year of the date selected when you reload the page? Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Deepa Subramaniam Sent: Monday, January 16, 2006 4:38 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateField: selectableRange Hi - You can set whichever range property you want (disabledRanges which disables single or multiple days or selectableRange which sets a range of dates which are selectable) in ActionScript or at the tag level. Both those properties take an Object which contains two properties - rangeStart and rangeEnd which are Date objects. For example: rangeEnd: new Date(2006, 1, 16)} }" /> Will make it such that the DateField enables the range 1/1/06 to 1/16/06 as selectable. In your case, you'd want to do: Date(2004,4,1)} }"/> HTH - Deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Monday, January 16, 2006 1:12 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] DateField: selectableRange What I am trying to do is to get the calendar selectable only from 1 April 2001. The following is not working: Thanks for any help Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ghislain Simard Sent: Monday, January 16, 2006 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateField: selectableRange Is there an example on how to get the range set for the tag DateField? 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS * Visit your group "flexcoders" on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL
RE: [flexcoders] converting to RTF in flex
One common way to accomplish this is via a server-side process that will create your RTF file based on input from the Flex client application. I've seen people do this kind of stuff with XLS among other things. Eric -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of george_lui Sent: Friday, January 13, 2006 3:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] converting to RTF in flex Hi, I have a concept of a "form" in my flex app. I have this requirement where we want to export this "form" into an RTF formatted file. Has anyone ever done this before? Do you know of any flex capabilities that could assist me in implementing this? Thanx, George -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DateField: selectableRange
it works well except the calendar is always showing the rangeStart date by default. How to get the calendar back to the month and year of the date selected when you reload the page? Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Deepa Subramaniam Sent: Monday, January 16, 2006 4:38 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DateField: selectableRange Hi - You can set whichever range property you want (disabledRanges which disables single or multiple days or selectableRange which sets a range of dates which are selectable) in ActionScript or at the tag level. Both those properties take an Object which contains two properties - rangeStart and rangeEnd which are Date objects. For example: Will make it such that the DateField enables the range 1/1/06 to 1/16/06 as selectable. In your case, you'd want to do: HTH - Deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Monday, January 16, 2006 1:12 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] DateField: selectableRange What I am trying to do is to get the calendar selectable only from 1 April 2001. The following is not working: Thanks for any help Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ghislain Simard Sent: Monday, January 16, 2006 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateField: selectableRange Is there an example on how to get the range set for the tag DateField? 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS * Visit your group "flexcoders" on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to add an MXML component which is not in the root folder?
right, well i was only referring to as3 files, but i built a simple test following the same technique and using mxml files and it works fine. I had this setup Project : Test (The 'library project') Image.mxml com/test/Image2.mxml both mxml files are just simple image tags Project : Test2 (The main project) Test2.mxml In Test2 I right clicked the project node, selected properties then in the classpath tab in the build path section I added the Test project as a folder (it showed up as ${DOCUMENTS}\Test) Then in the Test2.mxml I could access both Image and Image2 from Test. for Image I just declared and to access image 2 i added another xmlns declaration to the application tag : xmlns:test2="com.test.*" and the component was declared like : all worked fine, the image component appeared with the image inside. dont know if thats useful, but i'll do what i can to help thanks, Martin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to add an MXML component which is not in the root folder?
ah, hello.. like i said, i could only get it to work using the classpath settings, not the project reference panel. but i dont think i actually did it with mxml components, i think i just used for pure code classes. let me check and get back to you... thanks, Martin Scott Langeberg wrote: > Has anyone been able to use code from one project inside of another? I > haven't been able to get Martin's suggestion of setting the Classpath > to work. > > Thanks, > > Scott > > On 12/4/05, Martin Wood <[EMAIL PROTECTED]> wrote: >> you can use the xmlns attribute either in the application tag (A) to >> define a namespace thats available throughout the mxml file, or you can >> use it just within the tag for the login dialog itself (B) >> >> If you refer to it by code then you can just use its fully qualified >> name. (C) >> >> A: xmlns:myNamespace="dialogs.*" >> >> B: >> >> C: var myComponent:ComponentClass = new dialogs.MyComponent(); >> >> i think that should be right. :) >> >> again, on a related note I havent had success using the 'Project >> References' to allow one project to be used in another, but it did work >> if i used the Classpath settings to add the folder where the other >> project lives. >> >> thanks, >> >> Martin >> >> >> Ralf Rottmann wrote: >> > Hi there, >> > >> > >> > >> > I have an MXML Component in a sub folder of the Flex (2.0 Alpha) root. >> > >> > >> > >> > \MainApp.mxml >> > >> > \dialogs\LoginDialog.mxml >> > >> > >> > >> > The class Flex generates will be dialogs.LoginDialog.mxml >> > >> >> >> -- >> Flexcoders Mailing List >> FAQ: >> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> Search Archives: >> http://www.mail-archive.com/flexcoders%40yahoogroups.com >> >> >> >> >> YAHOO! GROUPS LINKS >> >> >> Visit your group "flexcoders" on the web. >> >> To unsubscribe from this group, send an email to: >> [EMAIL PROTECTED] >> >> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. >> >> >> > > > -- > Flexcoders 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 > > > > > > > -- Martin Wood http://relivethefuture.com/choronzon -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How to add an MXML component which is not in the root folder?
Has anyone been able to use code from one project inside of another? I haven't been able to get Martin's suggestion of setting the Classpath to work. Thanks, Scott On 12/4/05, Martin Wood <[EMAIL PROTECTED]> wrote: > you can use the xmlns attribute either in the application tag (A) to > define a namespace thats available throughout the mxml file, or you can > use it just within the tag for the login dialog itself (B) > > If you refer to it by code then you can just use its fully qualified > name. (C) > > A: xmlns:myNamespace="dialogs.*" > > B: > > C: var myComponent:ComponentClass = new dialogs.MyComponent(); > > i think that should be right. :) > > again, on a related note I havent had success using the 'Project > References' to allow one project to be used in another, but it did work > if i used the Classpath settings to add the folder where the other > project lives. > > thanks, > > Martin > > > Ralf Rottmann wrote: > > Hi there, > > > > > > > > I have an MXML Component in a sub folder of the Flex (2.0 Alpha) root. > > > > > > > > \MainApp.mxml > > > > \dialogs\LoginDialog.mxml > > > > > > > > The class Flex generates will be dialogs.LoginDialog.mxml > > > > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > YAHOO! GROUPS LINKS > > > Visit your group "flexcoders" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Question about a book written by Steven Webster and Allistair McCloud
[EMAIL PROTECTED] wrote: > I have the book Developing Rich Clients with Macromedia Flex by Steven > Webster and Allistair McCloud and I am trying to find what is the best > chapter to > read about security. I want to learn how to put information on a server and > have > it be kept secure? The information would be things like passwords and money > amounts etc etc. I don't have the book's index in front of me, but I know a good web resource for such topics: http://www.macromedia.com/devnet/security/ It sounds like you'd have a serverside database in there somewhere, which would then provide values to either your Flex app, or your audience's Macromedia Flash Player, or both, so that general techniques of securing a serverside database would all apply... am I seeing the situation correctly...? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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/ <*> 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: best way to handle this ViewStack situation when loading
You shouldn't have to do anything special. If you don't specify a creationPolicy, or if you specify creationPolicy="auto", a ViewStack waits until the user switches to view V to create the children of V. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeremy lu Sent: Sunday, January 15, 2006 10:28 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: best way to handle this ViewStack situation when loading great tips, thanks ! On 1/15/06, jgraham_us <[EMAIL PROTECTED]> wrote: Well I came up with a solution. Basically when the viewstack in initialized I create just the view containers for each view in the viewstack, setting an initialization flag to false. Then when the change event gets fired on the viewstack I check that flag and dynamically create the children in the view at that point. So in a nutshell the creation of a view in the viewstack is delayed until the user actually switches to a given view for the first time. Seems to work fine and the load time is very fast now. --- In flexcoders@yahoogroups.com, "jgraham_us" <[EMAIL PROTECTED]> wrote: > > I have a linkbar with a viewstack, the viewstacks children are VBox'es > that have rather complicated layouts that are done dynamically. The > initial load time takes too long. I want to create the views when > they are requested for the first time, from a click on the linkbar, > instead of them all being loaded initially. > > I have tried to place a creationPolicy="queued" on the VBox'es that > are being put in the viewstack but since I am creating the rest of the > VBox dynamically it isn't working correctly. > > Anyone have a suggestion on how to handle something like this? > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DateField: selectableRange
Hi - You can set whichever range property you want (disabledRanges which disables single or multiple days or selectableRange which sets a range of dates which are selectable) in ActionScript or at the tag level. Both those properties take an Object which contains two properties - rangeStart and rangeEnd which are Date objects. For example: Will make it such that the DateField enables the range 1/1/06 to 1/16/06 as selectable. In your case, you'd want to do: HTH - Deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Monday, January 16, 2006 1:12 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] DateField: selectableRange What I am trying to do is to get the calendar selectable only from 1 April 2001. The following is not working: Thanks for any help Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ghislain Simard Sent: Monday, January 16, 2006 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateField: selectableRange Is there an example on how to get the range set for the tag DateField? 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS * Visit your group "flexcoders" on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Question about a book written by Steven Webster and Allistair McCloud
I have the book Developing Rich Clients with Macromedia Flex by Steven Webster and Allistair McCloud and I am trying to find what is the best chapter to read about security. I want to learn how to put information on a server and have it be kept secure? The information would be things like passwords and money amounts etc etc. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DateField: selectableRange
What I am trying to do is to get the calendar selectable only from 1 April 2001. The following is not working: Thanks for any help Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ghislain Simard Sent: Monday, January 16, 2006 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DateField: selectableRange Is there an example on how to get the range set for the tag DateField? 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 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How to read the Drive and place list into Tree?
Note that the responses will let you build a tree of the SERVER side filesystem. Getting to the client filesystem is more difficult. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cnewroth55 Sent: Friday, January 13, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to read the Drive and place list into Tree? hi all, what i am looking to do is to have Flex or Cold Fusion, read the contents of a selected area of my drive and then display those contents into a Tree Control. Is this possible? and if so, are there any examples documenting how to do this? thx -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] DateField: selectableRange
Is there an example on how to get the range set for the tag DateField? 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/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Cairngorm Question
Hi fowleryj, Why have the same problem here. And one solution for use a diferents commands you have to use diferentes names for each application, beacause the FrontController add a listener in a single "static var eventBroadcaster. But if your application is realy big I recommend to you rewrite some classes in the cairngorm framework. For example you can rewrite te EventBroadcaster and FrontController classes creating a FrontControllerLocator. This FrontControllerLocator can be implemented like the ViewLocator. You set IDs for each controller and use this IDs to call the EventBroadcaster. Did you understood? I did the same with the services creating a ServiceHelper and a ServiceLocator, and this can help you to implements the FrontControllerLocator. I hope that can solve your problems. Let me know if it`s works and sorry for my poor english. Hugs. On 1/16/06, fowleryj <[EMAIL PROTECTED]> wrote: We have been developing a fairly large application using Flex 1.5 andthe Cairngorm framework, and have recently run across what could be a large roadblock. Our application has many sub-applications the usercan choose to run from a menu in the main application. To implementthis we are dynamically creating the children the user selects in aview stack. All of these sub-applications rely on a particular search screen that allows the user to find a particular person in ourdatabase. The problem is that the sub-applications are bound to theselection the user makes in the search screen, and are all reacting tothe same events (which are broadcast from the search screen). We would like the search screens to function as separate instances. Forexample, if I broadcast a change event from the search screen, all ofthe open sub-applications will catch the event and change all of theirdisplayed information to reflect that of the most recently selected person. Our problem appears to stem from the way the EventBroadcasterand FrontController are designed. All events are broadcast in the sameEventBroadcaster using the getInstance() method, thus everything is listening for everything.Can anyone who is familiar with the intricacies of Cairngorm propose away to deal with this problem? We would like to be able to return theinformation about the selected person only to the sub-application that invoked the search screen. Perhaps it is not possible to do this usingCairngorm, and we would appreciate knowing that, too. If anyone has a different/better solution, we'd love to hear about it.Thanks in advance. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Bruno Gustavo MartinsMobile: (55)(11)9585-9587[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. ServiceHelper.as Description: Binary data ServiceLocator.as Description: Binary data
Re: [flexcoders] Image with (per-pixel) alpha-channel
I simply want to add that this is a great question and I've also sought it. The promise of this capability has not been properly documented even for an alpha phase. Let's hope Jan and others like myself can get some proper help and hopefully examples in this area. Most animations in fact in Flash 8 Pro, even MX and MX 2004, are actually optimized frame by frame PNG or even JPEG versus the promised Video alpha masking. Speaking for myself, it would be sufficient for me to get an example of a simple frame by frame pixel by pixel example as Jan requests. These days are full of products with over hyped promise; Adobe/Mac. (actually strictly Macromedia per Flash) has been the exception so I hope FLEX is as well. -r "Jan L. Nauta" <[EMAIL PROTECTED]> wrote: Hi,I'm starting with Flex and want to display an image with an alpha mask. SoI've got a 32-bit .PNG with alpha channel, but I can't get it to displaycorrectly. Flash seems to use the alpha channel in the image to dither theimage, i.e. yes/no select which pixel are to be displayed instead ofsmoothly blending the image with the background. Any idea's how to get theimage to show correctly?This is for Flex 2.0 alpha 1, and simply using the tag.Regards,Jan L. Nauta Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairngorm Question
I've only worked with some of the Cairngorm classes that were described in the Flex book. You're going to have to have a local model for each sub app instance. Your event that is fired after the search being complete can also contain instance data about the Sub app that called it and update your local model with the returning data accordingly. That way you can map the returning data to the calling Search instance, and its associated parent sub-application. When you invoke a RemoteObject you can stipulate where the returning data is going to go using the returned pendingCall instance which can point to a result handler which can be local to the calling search instance, which in turn updates your local model. var pendingCall = myRemoteObject.myMethod(arg1,arg2,etc.); pendingCall.resultHandler = mx.utils.Delegate.create(mySubApp,myReturnFunction); function myReturnFunction(event):Void { //update your local model instance here; } Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fowleryj Sent: Monday, January 16, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm Question We have been developing a fairly large application using Flex 1.5 and the Cairngorm framework, and have recently run across what could be a large roadblock. Our application has many sub-applications the user can choose to run from a menu in the main application. To implement this we are dynamically creating the children the user selects in a view stack. All of these sub-applications rely on a particular search screen that allows the user to find a particular person in our database. The problem is that the sub-applications are bound to the selection the user makes in the search screen, and are all reacting to the same events (which are broadcast from the search screen). We would like the search screens to function as separate instances. For example, if I broadcast a change event from the search screen, all of the open sub-applications will catch the event and change all of their displayed information to reflect that of the most recently selected person. Our problem appears to stem from the way the EventBroadcaster and FrontController are designed. All events are broadcast in the same EventBroadcaster using the getInstance() method, thus everything is listening for everything. Can anyone who is familiar with the intricacies of Cairngorm propose a way to deal with this problem? We would like to be able to return the information about the selected person only to the sub-application that invoked the search screen. Perhaps it is not possible to do this using Cairngorm, and we would appreciate knowing that, too. If anyone has a different/better solution, we'd love to hear about it. Thanks in advance. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Having a little trouble with Tree control drag and drop Flex 2.0
[EDIT] The code has an error: the line "dropparent.addTreeNode(dropLoc,item);" should read dropparent.addTreeNodeAt(dropLoc,item); Sorry for that. The underlying datasource xml is being changed but not reflected in the tree. Also the modelChanged event is not being thrown on dragdrop, only once on load for the type "ADD_ITEMS" ?? Thoughts ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Having a little trouble with Tree control drag and drop Flex 2.0
This code adds the item but always at the end. Is there a bug in the tree control that is causing this or is it my total misunderstanding of the XMLTreeDataProvider the Tree dataprovider is an xml type. Every get node type function returns a XMLTreeDataProvider type. private function handleDragDrop(event:DragEvent) { var dropTarget:Tree=Tree(event.target); var items:Object = event.dragSource.dataForFormat("treeItems"); var dropLoc:int = event.target.getDropLocation(event); var dropparent:XMLTreeDataProvider = dropTarget.getDropParent(event); for each (var item:Object in items){ dropparent.addTreeNode(dropLoc,item); } } Any insight for this would be most helpful. I searched but found no examples. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Image with (per-pixel) alpha-channel
Hi, I'm starting with Flex and want to display an image with an alpha mask. So I've got a 32-bit .PNG with alpha channel, but I can't get it to display correctly. Flash seems to use the alpha channel in the image to dither the image, i.e. yes/no select which pixel are to be displayed instead of smoothly blending the image with the background. Any idea's how to get the image to show correctly? This is for Flex 2.0 alpha 1, and simply using the tag. Regards, Jan L. Nauta -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Cairngorm Question
We have been developing a fairly large application using Flex 1.5 and the Cairngorm framework, and have recently run across what could be a large roadblock. Our application has many sub-applications the user can choose to run from a menu in the main application. To implement this we are dynamically creating the children the user selects in a view stack. All of these sub-applications rely on a particular search screen that allows the user to find a particular person in our database. The problem is that the sub-applications are bound to the selection the user makes in the search screen, and are all reacting to the same events (which are broadcast from the search screen). We would like the search screens to function as separate instances. For example, if I broadcast a change event from the search screen, all of the open sub-applications will catch the event and change all of their displayed information to reflect that of the most recently selected person. Our problem appears to stem from the way the EventBroadcaster and FrontController are designed. All events are broadcast in the same EventBroadcaster using the getInstance() method, thus everything is listening for everything. Can anyone who is familiar with the intricacies of Cairngorm propose a way to deal with this problem? We would like to be able to return the information about the selected person only to the sub-application that invoked the search screen. Perhaps it is not possible to do this using Cairngorm, and we would appreciate knowing that, too. If anyone has a different/better solution, we'd love to hear about it. Thanks in advance. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/