[flexcoders] Caingorm Tutorials or HowTos
Hello All, I'm looking to learn the Cairngorm microarchitecture, but I'm having a hard time finding anything that actually explains the design patterns used...I can only find sample code. I'd like to understand some of the concepts behind the code, so that I can have a complete understanding of everything involved. I could modify the code a little to suit my needs and go through a few weeks of developing test apps in that way, but I don't have that kind of time just lying around here. Any references to books, online tutes, etc. would be GREATLY appreciated. Cheers,-- Jordan SnyderApplications DeveloperImageAction, USAhttp://www.imageaction.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex 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] Access to an API for On2 VP6
:D Well I don't have anything to offer, but I like your subtlety. I, too, am trying to pass through some DirectX rendering to Flash Videoperhaps we should talk offlist if you're interested in collaborating on some things. (Although a lot of the IP still belongs to my employer.) Cheers On 11/3/05, Robert Thompson <[EMAIL PROTECTED]> wrote: Does anyone know if Macromedia has some sort ofDeveloper Program for Utilization of the On2 VP6 that provides some sort of API and/or conversion?I'm not looking to batch convert things; I'm morelooking to render in real time; snippets of alphamasked video, including an audio stream into it.Sounds lofty, but it involves another project I've had on the back burner for quite sometime; and FlashPlayer 8 video is the perfect deployment model.I'm basically looking for a way to render DirectX toOn2 VP6 and was hoping there is some sort of licensing and/or agreement for doing this.I'm getting some very positive feedback from customersfor Flash 8 video (one customer in particular who isnot turned on by nearly everything --- i.e. he's abid'nez'man :) -r __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. -- Jordan SnyderApplications DeveloperImageAction, USAhttp://www.imageaction.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" 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] My Flex Site Mockup - considerations?
Why not just set up a development server that could be used as the final production server as well, and develop your code on it? Then you buy one license and use it for development and deployment. You could still just deploy the SWFs. Just develop on the client's servers to begin with. Build a homebrew PC and work on it, then ship it off to them when you're done? Any obvious problems with this reasoning? Cheers On 11/17/05, Matt Chotin <[EMAIL PROTECTED]> wrote: I've passed on a request to our internal sales alias to contact you. Hopefully when they get back to you they can help you work through all these questions. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Merrill, JasonSent: Thursday, November 17, 2005 11:00 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] My Flex Site Mockup - considerations? Thanks. So could someone confirm my reasoning on building an app for Flash 7, having to buy two licenses. Do I really need two licenses? One for development at my company and one for deployment on my client's server? So I have to recommend purchasing two expensive Flex 1.5 licenses to deploy .swfs only, not a server - vs. someday this spring (maybe) a much less expensive Flexbuilder 2 license for under $1000 – though I can't use that. Hmmm, I wonder if Macromedia will drop the price of Flex server 1.5 when Flexbuilder 2 is released? By the way, Macromedia if you are still listening, I tried calling Macromedia's sales line three times to get pricing information on Flex for government agencies, went through the touch tone menus and was hung up on twice before trying a third time and getting some random sales dude's voice mail. Not impressive. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. -- Jordan SnyderApplications DeveloperImageAction, USAhttp://www.imageaction.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Flex Development on the Mac
What about Flex 2 development on a Mac? Anyone? Cheers On 12/27/05, Weyert de Boer <[EMAIL PROTECTED]> wrote: JesterXL wrote:> Er, G4 I thinkYeah, Tomcat and Firefox are both available for the Mac. You can install Tomcat via DarwinPorts. Only Flex Builder isn't available for the Mac it never was. Hopefully with version 2.0 using Eclipse it will, because Eclipse is. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. -- Jordan SnyderApplications DeveloperImage Action LLChttp://www.imageaction.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Scale the size of a whole application
why not just point him to the SWF file directly...that makes things happen the way you want. OTHERWISE: It's in the export settings and the Stage objectcheck it out. On 5/19/05, Matthew Shirey <[EMAIL PROTECTED]> wrote: > I was afraid I hadn't explained the problem right... > > Setting to those just takes up the space, it doesn't actually scale the > content larger. It resizes the layout managers larger which results in a > lot of unused white space for my application. I need the contents to scale > so if you make the window twice as large, then all of the contents are twice > as big. Bigger fonts, bigger everything. I'm not sure how I can clarify > this any further... :( > > -- Matthew > > > On 5/19/05, JesterXL <[EMAIL PROTECTED]> wrote: > > > > Make the width and height of your application tag 100%...? That's what I > do to get full screen real-estate usage. Decreasing margins on things helps > a lot too. > > > > > > - Original Message - > > From: Matthew Shirey > > To: flexcoders@yahoogroups.com > > Sent: Thursday, May 19, 2005 6:31 PM > > Subject: [flexcoders] Scale the size of a whole application > > > > This may sound like a odd request, but is there a way to scale the size of > a whole application so that all of the contents get larger? The > functionality that I desire is similar to what happens to a Flash movie when > you make its size bigger. I'd like to design an application at a fixed > resolution like 800x600. If the user then makes the web browser bigger, I'd > like the contents to scale up in size. Right now, with the layout managers > I basically just end up with more space. A lot of it is wasted empty space. > I have a specific user that is mildly vision impaired. He makes everything > on his screen gigantic. His monitor is a nice 21" flat panel at 1600x1200 > resolution. I'd like him to be able to maximize the application to > 1600x1200 there by making everything in the application which is designed at > 800x600 scale up to that size. > > > > Anyone have any suggestions? I was a little long winded there, but I hope > I've accurately described my problem and the type of solution I'm looking > for. Any other suggestions on how I can deal with visibility impaired users > would also be helpful. Thank you! > > > > -- Matthew > > > > > 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 the Yahoo! Terms of Service. > > > > 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 the Yahoo! Terms of Service. -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.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] Applications forgetting variables
It all depends on WHERE you declare the variable. In the first case, you were defining your var outisde of the function, which should keep its value even when the function is through running. If you declare the var inside the function, however, that variable will be destroyed when that function is through running. You really should read a tutorial or chapter on Variable Scope, and post your code here, because you're not giving us much to work with. Cheers On 5/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Ok assuming your right and again I hope this is not another silly question > but what does a local variable look like and what does an instance variable > look like? To me I just thought all variables were just like this > public var name:String > you know things like that > > > 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 the Yahoo! Terms of Service. -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.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] Flex and JSP forwarding
Yes, the idea is that the HTTPService returns HTTP data to Flex without reloading of the current page. You need to write a handler for the return of the HTTPService, and you should get a String containing the output of your S.O.println(). But that redirect does nothing for Flex. You can redirect based on the result you get from the login page, but that redirection must be done in the JSP that contains your original login MXML. On 6/17/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: > Hi, > > >2) It looks like HTTPService is waiting for the response to come to it > >directly, so doing a forward is useless because the browser does not > >process the returned data. Does this mean if I want to do something > >like this, then I should pass the forwarding address as the result and > >have mxml application issue a getUrl(url, "_top"). > > Yes. But you can think of something where you don't have forward. I > mean, RIA have different UI patterns, where you load different Views in > same place. > So instead of forward, you can load a welcome View in same place, a view > could be custom component, a .swf etc. > > But I am sure, you can come up something better that forwards. RIA gurus > around would suggest you many available ways. Look at the available RIA > frameworks like Cairngorm, ARP etc. > > > -abdul > > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of pat_ryan_99 > Sent: Friday, June 17, 2005 11:12 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Flex and JSP forwarding > > Hello Everyone, > > I hate being the newbie to Flex, but I guess at some stage we are all > newbies. I am hoping someone here can help correct my thought process > on how to use Flex. BTW: I have developed many a J2EE application > with Struts, JSP, Velocity, etc. > > What I am trying to do is introduce Flex slowly into our Struts/JSP > application. > > I wrote a login page to post to a JSP to validate the login, and in > the JSP I wanted to foward to an html/jsp/mxml page to test the flow. > > Here are my very simple files: > > MXML: > > > xmlns:mx="http://www.macromedia.com/2003/mxml"; > verticalGap="20"> > > > > {loginName.text} > {password.text} > > > > > > > > > > > > > > > > > > > > > > > > > > My test jsp looks like: > <% > String loginName=request.getParameter("loginName"); > String password=request.getParameter("password"); > System.out.println("LoginName: " + loginName); > System.out.println("Password: " + password); > > > %> > > > > > However when I run this, the login page just sits there. > > some of my questions are: > 1) Am I thinking about a Flex application incorrectly in that I viewed > the mxml pages in a similar way as JSP pages? Each mxml page would > render, potentially interact with the server and get data, BUT > sometimes the server would forward to another page to get rendered. > Can / should I be able to do this? > > 2) It looks like HTTPService is waiting for the response to come to it > directly, so doing a forward is useless because the browser does not > process the returned data. Does this mean if I want to do something > like this, then I should pass the forwarding address as the result and > have mxml application issue a getUrl(url, "_top"). > > 3) If I can do what I am thinking of with the forwards, how do I do > that. > > Thanks in advance for any help and guidance. I did just buy the > "Developing Rich Clients with Macromedia Flex" and it arrived today! > > Pat > > > > > > Yahoo! Groups Links > > > > > > > > > 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 the Yahoo! Terms of Service. -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.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] After TitleWindow deletePopup(), nothing is accessible on screen
Hello, I am using code to popup a TitleWindow from the main . The window pops up fine, and seems to close fine, but after closing, nothing on the screen can be clicked. Nothing has focus, so rollovers don't even work, and the only thing clickable is the Link that spawned the popup window in the first place. I'm using the code from the Flex documentation on popping up TitleWindows function showScreen(screen:String) { pop1 = TitleWindow( popupWindow(NewProposalScreen, {title:'New Proposal', closeButton:true, app: this }) ); } Any ideas? Seems to be a focus issue, but I'm a Flash Pro becoming a Flex noob, so I can't figure out what to do next. Thanks in advance for any help! -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.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/ <*> 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] After TitleWindow deletePopup(), nothing is accessible on screen
Beautiful! On 6/29/05, JesterXL <[EMAIL PROTECTED]> wrote: > Bug. Do something like this: > > function removeWindow() > { > doLater(pop1, "deletePopUp"); > } > > For some reason, it needs a frame when the removal is triggered by an event > dispatched from the popup. > > > - Original Message - > From: "Jordan Snyder" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, June 29, 2005 8:02 PM > Subject: [flexcoders] After TitleWindow deletePopup(), nothing is accessible > on screen > > > Hello, > > I am using code to popup a TitleWindow from the main . > The window pops up fine, and seems to close fine, but after closing, > nothing on the screen can be clicked. Nothing has focus, so rollovers > don't even work, and the only thing clickable is the Link that spawned > the popup window in the first place. > > I'm using the code from the Flex documentation on popping up > TitleWindows > > function showScreen(screen:String) { > pop1 = TitleWindow( popupWindow(NewProposalScreen, {title:'New > Proposal', closeButton:true, app: this }) ); > } > > > Any ideas? Seems to be a focus issue, but I'm a Flash Pro becoming a > Flex noob, so I can't figure out what to do next. > > Thanks in advance for any help! > > -- > Jordan Snyder > Applications Developer > ImageAction, USA > http://www.imageaction.com > > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > YAHOO! GROUPS LINKS > > 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. > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.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/ <*> 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] Calling ArrayStructures in CFCs from Flex
*/ > function QueryToArrayOfStructures(theQuery){ > var theArray = arraynew(1); > var cols = ListtoArray(theQuery.columnlist); > var row = 1; > var thisRow = ""; > var col = 1; > for(row = 1; row LTE theQuery.recordcount; row = row > + 1){ > thisRow = structnew(); > for(col = 1; col LTE arraylen(cols); col = > col + 1){ > thisRow[cols[col]] = theQuery[cols > [col]][row]; > } > arrayAppend(theArray,duplicate(thisRow)); > } > return(theArray); > } > > /** > * Converts an array of structures to a CF Query Object. > * 6-19-02: Minor revision by Rob Brooks-Bilson > ([EMAIL PROTECTED]) > * > * Update to handle empty array passed in. Mod by Nathan > Dintenfass. Also no longer using list func. > * > * @param Array The array of structures to be > converted to a query object. Assumes each array element contains > structure with same (Required) > * @return Returns a query object. > * @author David Crawford ([EMAIL PROTECTED]) > * @version 2, March 19, 2003 > */ > function arrayOfStructuresToQuery(theArray){ > var colNames = ""; > var theQuery = queryNew(""); > var i=0; > var j=0; > //if there's nothing in the array, return the empty > query > if(NOT arrayLen(theArray)) > return theQuery; > //get the column names into an array = > colNames = structKeyArray(theArray[1]); > //build the query based on the colNames > theQuery = queryNew(arrayToList(colNames)); > //add the right number of rows to the query > queryAddRow(theQuery, arrayLen(theArray)); > //for each element in the array, loop through the > columns, populating the query > for(i=1; i LTE arrayLen(theArray); i=i+1){ > for(j=1; j LTE arrayLen(colNames); j=j+1){ > querySetCell(theQuery, colNames[j], > theArray[i][colNames[j]], i); > } > } > return theQuery; > } > > > > > > > > > > > > -- > 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 > > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > SPONSORED LINKS > Computer software testing Macromedia flex Development > Software developer > > > 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. > > > -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.com Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12hi30rsm/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123881021/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!. ~-> -- 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/