RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Rick, You could put the data into a PDF and let people save or print the data. That way you have ultimate control of the placement of data. -AD -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:23 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Thanks, Ben. For printing purposes (I'm still looking for a good, inexpensive printing solution for data that spans multiple pages so the data won't be cut in half between pages) I'd probably do with Flash what I do in HTML display now: for online viewing I have the tables, but when it comes time to print, I usually have a link to a page without the graphics, menu, etc., that more or less shows them what the printed page will look like. I guess I could do that with Flash, too... Rick -Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 9:55 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser- based apps? Rick, I generally go with this rule of thumb. If you have a lot of data that needs to be displayed in tables or if you have data that needs to be printed (especially this one), go with HTML. Otherwise, Flash could be a good app. Although you can use Flash to output large datasets like that, it's typically faster and easier in HTML. As for printing, well... Flash printing = evil. g Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
I believe there is a way to change the SRC attribute of a style sheet, in which case you might be able to swap the default style sheet out for a style sheet that sets all your menus and other web-only display elements to no display and then use that for printing instead of having a whole separate page -- assuming the user doesn't have script-blocking enabled, this would probably be the simplest solution, with the fewest moving parts. Of course, you also have to consider browser compatibility issues. And ( you probably are already aware ) you can force page breaks with CSS using page-break-before: always; or page-break-after: always ... Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 Rick, You could put the data into a PDF and let people save or print the data. That way you have ultimate control of the placement of data. -AD -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:23 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Thanks, Ben. For printing purposes (I'm still looking for a good, inexpensive printing solution for data that spans multiple pages so the data won't be cut in half between pages) I'd probably do with Flash what I do in HTML display now: for online viewing I have the tables, but when it comes time to print, I usually have a link to a page without the graphics, menu, etc., that more or less shows them what the printed page will look like. I guess I could do that with Flash, too... Rick -Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 9:55 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser- based apps? Rick, I generally go with this rule of thumb. If you have a lot of data that needs to be displayed in tables or if you have data that needs to be printed (especially this one), go with HTML. Otherwise, Flash could be a good app. Although you can use Flash to output large datasets like that, it's typically faster and easier in HTML. As for printing, well... Flash printing = evil. g Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
You could put the data into a PDF and let people save or print the data. That way you have ultimate control of the placement of data. Ali, Yes, that's true, however creating PDFs dynamically can be a challenging task. Secondly, someone has to have the Adobe Acrobat reader installed. Although the percentage of people with the plug-in installed is high, there are many companies that don't even want Flash 5 content on their site despite the 95% penetration of the Flash 5 plug-in. Lastly, the file size for a PDF would be considerably larger than that of an HTML file. Whether Rick should create a PDF definitely takes some consideration of his audience and the time budget he has available. Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Thanks for the tip, Ali. I guess what I would need to do that is install Adobe Acrobat on the server to generate PDF's? Rick -Original Message- From: Ali Daniali [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 12:27 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Rick, You could put the data into a PDF and let people save or print the data. That way you have ultimate control of the placement of data. -AD -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:23 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Thanks, Ben. For printing purposes (I'm still looking for a good, inexpensive printing solution for data that spans multiple pages so the data won't be cut in half between pages) I'd probably do with Flash what I do in HTML display now: for online viewing I have the tables, but when it comes time to print, I usually have a link to a page without the graphics, menu, etc., that more or less shows them what the printed page will look like. I guess I could do that with Flash, too... Rick -Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 9:55 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser- based apps? Rick, I generally go with this rule of thumb. If you have a lot of data that needs to be displayed in tables or if you have data that needs to be printed (especially this one), go with HTML. Otherwise, Flash could be a good app. Although you can use Flash to output large datasets like that, it's typically faster and easier in HTML. As for printing, well... Flash printing = evil. g Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Thanks, Barry. Rick -Original Message- From: Barry Moore [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 08, 2002 9:02 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Also have a look at the new Ben Forta et al Book Reality ColdFusion MX: Flash MX Integration http://www.amazon.com/exec/obidos/tg/detail/-/0321125150/ref=pd_bxgy_text_1/ 102-5120912-9070527?v=glances=books -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, 9 September 2002 11:02 AM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart I just wish I could find some books/tutorials that are aimed squarely at my needs. Intermediate CF programmer, Flash novice. I noticed that most of the books I glanced through were really heavy on CF (being CF books) with just a few pages on integrating Flash, or heavy on Flash (being Flash books) with a few pages on CF. There isn't that much, really, that is specific between Flash MX and ColdFusion. So, if you have a good understanding of each, you should have very little trouble putting the two together. However, you might want to take a look at Inside Flash MX, from New Riders Publishing. It doesn't talk too much about CF, but it does have two chapters covering server-side integration, including CF and Flash Remoting. The book was written by the Flash development team at Fig Leaf Software, where we use Flash as an application interface quite a bit. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Rick, You can set up page breaks with style sheets. We do a lot of printable reporting here for security auditing and what we ended up doing was to use the media=print attribute a lot i.e. non-printable stuff uses an style class that doesn't show up on the print media. We set up page breaks by setting a BR tag style setting like: pageEnd{ page-break-before : always; } So when you want a page break just this BR tag BR class=pageEnd You still need to programmatically decide where they should be placed; every x rows etc, new tables etc. The other handy piece we found was that if you wanted to put a header at the top of each printed page but not display it onscreen you can use this: STYLE type=text/css media=screen printtext { DISPLAY: none } /style So if you wrap your printed header content in a DIV tag like this DIV class=printtext, the header will show up on hardcopy but not on the screen. This saves the user from having to download a separate printable page. Optionally you could write some JavaScript to turn the invisibility on and off. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 10:23 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Thanks, Ben. For printing purposes (I'm still looking for a good, inexpensive printing solution for data that spans multiple pages so the data won't be cut in half between pages) I'd probably do with Flash what I do in HTML display now: for online viewing I have the tables, but when it comes time to print, I usually have a link to a page without the graphics, menu, etc., that more or less shows them what the printed page will look like. I guess I could do that with Flash, too... Rick -Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 9:55 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser- based apps? Rick, I generally go with this rule of thumb. If you have a lot of data that needs to be displayed in tables or if you have data that needs to be printed (especially this one), go with HTML. Otherwise, Flash could be a good app. Although you can use Flash to output large datasets like that, it's typically faster and easier in HTML. As for printing, well... Flash printing = evil. g Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Thanks, Kevin! Rick -Original Message- From: Kevin Gilchrist [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 12:05 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Rick, You can set up page breaks with style sheets. We do a lot of printable reporting here for security auditing and what we ended up doing was to use the media=print attribute a lot i.e. non-printable stuff uses an style class that doesn't show up on the print media. We set up page breaks by setting a BR tag style setting like: pageEnd{ page-break-before : always; } So when you want a page break just this BR tag BR class=pageEnd You still need to programmatically decide where they should be placed; every x rows etc, new tables etc. The other handy piece we found was that if you wanted to put a header at the top of each printed page but not display it onscreen you can use this: STYLE type=text/css media=screen printtext { DISPLAY: none } /style So if you wrap your printed header content in a DIV tag like this DIV class=printtext, the header will show up on hardcopy but not on the screen. This saves the user from having to download a separate printable page. Optionally you could write some JavaScript to turn the invisibility on and off. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 10:23 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Thanks, Ben. For printing purposes (I'm still looking for a good, inexpensive printing solution for data that spans multiple pages so the data won't be cut in half between pages) I'd probably do with Flash what I do in HTML display now: for online viewing I have the tables, but when it comes time to print, I usually have a link to a page without the graphics, menu, etc., that more or less shows them what the printed page will look like. I guess I could do that with Flash, too... Rick -Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 9:55 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser- based apps? Rick, I generally go with this rule of thumb. If you have a lot of data that needs to be displayed in tables or if you have data that needs to be printed (especially this one), go with HTML. Otherwise, Flash could be a good app. Although you can use Flash to output large datasets like that, it's typically faster and easier in HTML. As for printing, well... Flash printing = evil. g Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
I just wish I could find some books/tutorials that are aimed squarely at my needs. Intermediate CF programmer, Flash novice. I noticed that most of the books I glanced through were really heavy on CF (being CF books) with just a few pages on integrating Flash, or heavy on Flash (being Flash books) with a few pages on CF. There isn't that much, really, that is specific between Flash MX and ColdFusion. So, if you have a good understanding of each, you should have very little trouble putting the two together. However, you might want to take a look at Inside Flash MX, from New Riders Publishing. It doesn't talk too much about CF, but it does have two chapters covering server-side integration, including CF and Flash Remoting. The book was written by the Flash development team at Fig Leaf Software, where we use Flash as an application interface quite a bit. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Also have a look at the new Ben Forta et al Book Reality ColdFusion MX: Flash MX Integration http://www.amazon.com/exec/obidos/tg/detail/-/0321125150/ref=pd_bxgy_text_1/ 102-5120912-9070527?v=glances=books -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, 9 September 2002 11:02 AM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart I just wish I could find some books/tutorials that are aimed squarely at my needs. Intermediate CF programmer, Flash novice. I noticed that most of the books I glanced through were really heavy on CF (being CF books) with just a few pages on integrating Flash, or heavy on Flash (being Flash books) with a few pages on CF. There isn't that much, really, that is specific between Flash MX and ColdFusion. So, if you have a good understanding of each, you should have very little trouble putting the two together. However, you might want to take a look at Inside Flash MX, from New Riders Publishing. It doesn't talk too much about CF, but it does have two chapters covering server-side integration, including CF and Flash Remoting. The book was written by the Flash development team at Fig Leaf Software, where we use Flash as an application interface quite a bit. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Hi, Stacy. Any suggestions on particular tutorials or books that focus on integrating CFMX and Flash MX that helped you? I'm versed in CFMX, well, actually, CF 4.5.2, but have little experience with Flash and no experience with ActiveScript. Most of the bookw I thumbed through at Barnes and Nobles, which has quite a few, have a lot of information that I don't need. I can figure out how to create and manipulate graphics in Flash MX, but there's just not enough info to help me understand integrating CFMX and Flash MX completely. There is typically only about 5-10 pages on integrating CFMX and Flash MX in a 500 page, $70 book. What I need is step-by-step tutorials that do explain everything that's going on. So far I've found overviews with no details, or detailed code with little explanation. It's frustrating not being able to find the information I need in the form I need it. And this is supposed to be the information Superhighway? Sometimes it feels more like a Backroad to Nowhere. Rick -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 1:41 AM To: CF-Talk Subject: (Flash/CFMX Rocks!) Flash Remoting and Popchart P.S. Remoting and components ROCK. I've got a prototype internal app slapped together in a few days that can manage our flagship product/service. Smokes our browser based version hand over fist...hehe Not only that...but I replicated much of the administrative backend logic (originally in java) in cfmx with components in that same time span...it'll freak a few folks out around our shop. :-) -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:53 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart I can't...it's a rich client app so the movie location/name is dynamic in that I can be loading these charts in a number of different scenarios and don't know it at runtime... Also it appears Popchart uses straight urls for drilldown making it impossible to have it operate as it's own entity without reloading my page... :( Has anyone implemented drilldown with cfmx built-in graphs? Cheers, Stace -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:45 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart if you can, i would do this: instead of loading the flash movie, calling the server for the name of the movie to load, and then calling the server again to load the movie i would do this: pass the name of the movie to load through the html to the flash movie: movie.swf?movieName=movietoload.swf that should save you a trip to the server. let me know if this doesnt make sense or if you would like some more info. mike chambers [EMAIL PROTECTED] -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:29 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart Plus popchart is generating the clip complete with drilldown navigation which I *think* calls a loadMovie for the next drilldown. Whether or not all that will work embedded inside my mx appI will soon find out... Being able to return a swf via remoting would save me a round trip to the server... Stace -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:20 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart I believe ActionScript objects have to be statically linked to SWFs, so simply returning an ActionScript object isn't going to work. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 -Original Message- From: Jon Gorrono [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 7:19 PM To: CF-Talk Subject: Re: Flash Remoting and Popchart On Friday, September 6, 2002, at 06:52 PM, Stacy Young wrote: Was about to whip up a Flash mx app and pull in some of my Popcharts ( http://www.corda.com )...I'm figuring I can do this by having a component return the url of the flash clip to flash and have it embed it in my movie... Was wondering if anyone had an opinion on other ways? What about returning the actual swf via remoting? P.S. If you're wondering why I don't use the built-in graph stuff in cfmx...Popchart smokes it hands down...of course you gotta pay the bucks for it... Stace Interesting idea... The Flash server interchange maps structs on the cfc side to ActionScript Objects on the Flash side. So, if you could properly define a struct with a cfc that would map directly into a object with all the right properties to make a MovieClip object dynamically, you could use the object passed from the cfc to help construct a movieclip using the MovieClip method attachmovie()... never done it... just wondering out loud Jp
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Well I can't say I haven't invested the time in figuring stuff out...but the articles on MM dev center got me started. The tutorials are simple but they cover the ground work u need. As for Flash itself...I've had prior experience so the learning curve wasn't as bad...it's a lot of work but I'd say it's worth it... So for actionscript u can get enough off the dev center...and for flash itself I'd have to say a good book and a lot of example dissecting... Good luck! Stace -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:44 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Hi, Stacy. Any suggestions on particular tutorials or books that focus on integrating CFMX and Flash MX that helped you? I'm versed in CFMX, well, actually, CF 4.5.2, but have little experience with Flash and no experience with ActiveScript. Most of the bookw I thumbed through at Barnes and Nobles, which has quite a few, have a lot of information that I don't need. I can figure out how to create and manipulate graphics in Flash MX, but there's just not enough info to help me understand integrating CFMX and Flash MX completely. There is typically only about 5-10 pages on integrating CFMX and Flash MX in a 500 page, $70 book. What I need is step-by-step tutorials that do explain everything that's going on. So far I've found overviews with no details, or detailed code with little explanation. It's frustrating not being able to find the information I need in the form I need it. And this is supposed to be the information Superhighway? Sometimes it feels more like a Backroad to Nowhere. Rick -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 1:41 AM To: CF-Talk Subject: (Flash/CFMX Rocks!) Flash Remoting and Popchart P.S. Remoting and components ROCK. I've got a prototype internal app slapped together in a few days that can manage our flagship product/service. Smokes our browser based version hand over fist...hehe Not only that...but I replicated much of the administrative backend logic (originally in java) in cfmx with components in that same time span...it'll freak a few folks out around our shop. :-) -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:53 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart I can't...it's a rich client app so the movie location/name is dynamic in that I can be loading these charts in a number of different scenarios and don't know it at runtime... Also it appears Popchart uses straight urls for drilldown making it impossible to have it operate as it's own entity without reloading my page... :( Has anyone implemented drilldown with cfmx built-in graphs? Cheers, Stace -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:45 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart if you can, i would do this: instead of loading the flash movie, calling the server for the name of the movie to load, and then calling the server again to load the movie i would do this: pass the name of the movie to load through the html to the flash movie: movie.swf?movieName=movietoload.swf that should save you a trip to the server. let me know if this doesnt make sense or if you would like some more info. mike chambers [EMAIL PROTECTED] -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:29 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart Plus popchart is generating the clip complete with drilldown navigation which I *think* calls a loadMovie for the next drilldown. Whether or not all that will work embedded inside my mx appI will soon find out... Being able to return a swf via remoting would save me a round trip to the server... Stace -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:20 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart I believe ActionScript objects have to be statically linked to SWFs, so simply returning an ActionScript object isn't going to work. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 -Original Message- From: Jon Gorrono [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 7:19 PM To: CF-Talk Subject: Re: Flash Remoting and Popchart On Friday, September 6, 2002, at 06:52 PM, Stacy Young wrote: Was about to whip up a Flash mx app and pull in some of my Popcharts ( http://www.corda.com )...I'm figuring I can do this by having a component return the url of the flash clip to flash and have it embed it in my movie... Was wondering if anyone had an opinion on other ways? What about returning the actual swf via remoting? P.S. If you're
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Thanks, Stace. So, it looks like from your experience and perspective, using Flash MX intefaces for CF apps is the way to go, huh? It sure looks good from the outside. Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser-based apps? I would love to be able to build apps where clients didn't have to jump all over the place (pages) to process info... Rick -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:44 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Well I can't say I haven't invested the time in figuring stuff out...but the articles on MM dev center got me started. The tutorials are simple but they cover the ground work u need. As for Flash itself...I've had prior experience so the learning curve wasn't as bad...it's a lot of work but I'd say it's worth it... So for actionscript u can get enough off the dev center...and for flash itself I'd have to say a good book and a lot of example dissecting... Good luck! Stace -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:44 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Hi, Stacy. Any suggestions on particular tutorials or books that focus on integrating CFMX and Flash MX that helped you? I'm versed in CFMX, well, actually, CF 4.5.2, but have little experience with Flash and no experience with ActiveScript. Most of the bookw I thumbed through at Barnes and Nobles, which has quite a few, have a lot of information that I don't need. I can figure out how to create and manipulate graphics in Flash MX, but there's just not enough info to help me understand integrating CFMX and Flash MX completely. There is typically only about 5-10 pages on integrating CFMX and Flash MX in a 500 page, $70 book. What I need is step-by-step tutorials that do explain everything that's going on. So far I've found overviews with no details, or detailed code with little explanation. It's frustrating not being able to find the information I need in the form I need it. And this is supposed to be the information Superhighway? Sometimes it feels more like a Backroad to Nowhere. Rick -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 1:41 AM To: CF-Talk Subject: (Flash/CFMX Rocks!) Flash Remoting and Popchart P.S. Remoting and components ROCK. I've got a prototype internal app slapped together in a few days that can manage our flagship product/service. Smokes our browser based version hand over fist...hehe Not only that...but I replicated much of the administrative backend logic (originally in java) in cfmx with components in that same time span...it'll freak a few folks out around our shop. :-) -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:53 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart I can't...it's a rich client app so the movie location/name is dynamic in that I can be loading these charts in a number of different scenarios and don't know it at runtime... Also it appears Popchart uses straight urls for drilldown making it impossible to have it operate as it's own entity without reloading my page... :( Has anyone implemented drilldown with cfmx built-in graphs? Cheers, Stace -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:45 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart if you can, i would do this: instead of loading the flash movie, calling the server for the name of the movie to load, and then calling the server again to load the movie i would do this: pass the name of the movie to load through the html to the flash movie: movie.swf?movieName=movietoload.swf that should save you a trip to the server. let me know if this doesnt make sense or if you would like some more info. mike chambers [EMAIL PROTECTED] -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:29 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart Plus popchart is generating the clip complete with drilldown navigation which I *think* calls a loadMovie for the next drilldown. Whether or not all that will work embedded inside my mx appI will soon find out... Being able to return a swf via remoting would save me a round trip to the server... Stace -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:20 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart I believe ActionScript objects have to be statically linked to SWFs, so simply returning an ActionScript object isn't going to work. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 -Original
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Most importantly I'd suggest folks take the time to learn how to design useable interfaces rather then throw a bunch of flash movies at folks just because you can...No matter how cool or slick the application is...if you frustrate the end user they'll go back to what they know and you'll find it very difficult justifying rich client development to the powers that be. I guess what I'm saying is it's a great idea to dive in...just proceed with a little caution and keep your eyes and ears open to best pratices. Design wise checkout books by Alan Cooper (http://www.cooper.com/) and Jakob Nielson (http://www.useit.com/) Just my couple cents! Cheers, Stace -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 8:07 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Thanks, Stace. So, it looks like from your experience and perspective, using Flash MX intefaces for CF apps is the way to go, huh? It sure looks good from the outside. Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser-based apps? I would love to be able to build apps where clients didn't have to jump all over the place (pages) to process info... Rick -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:44 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Well I can't say I haven't invested the time in figuring stuff out...but the articles on MM dev center got me started. The tutorials are simple but they cover the ground work u need. As for Flash itself...I've had prior experience so the learning curve wasn't as bad...it's a lot of work but I'd say it's worth it... So for actionscript u can get enough off the dev center...and for flash itself I'd have to say a good book and a lot of example dissecting... Good luck! Stace -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 7:44 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Hi, Stacy. Any suggestions on particular tutorials or books that focus on integrating CFMX and Flash MX that helped you? I'm versed in CFMX, well, actually, CF 4.5.2, but have little experience with Flash and no experience with ActiveScript. Most of the bookw I thumbed through at Barnes and Nobles, which has quite a few, have a lot of information that I don't need. I can figure out how to create and manipulate graphics in Flash MX, but there's just not enough info to help me understand integrating CFMX and Flash MX completely. There is typically only about 5-10 pages on integrating CFMX and Flash MX in a 500 page, $70 book. What I need is step-by-step tutorials that do explain everything that's going on. So far I've found overviews with no details, or detailed code with little explanation. It's frustrating not being able to find the information I need in the form I need it. And this is supposed to be the information Superhighway? Sometimes it feels more like a Backroad to Nowhere. Rick -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 1:41 AM To: CF-Talk Subject: (Flash/CFMX Rocks!) Flash Remoting and Popchart P.S. Remoting and components ROCK. I've got a prototype internal app slapped together in a few days that can manage our flagship product/service. Smokes our browser based version hand over fist...hehe Not only that...but I replicated much of the administrative backend logic (originally in java) in cfmx with components in that same time span...it'll freak a few folks out around our shop. :-) -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:53 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart I can't...it's a rich client app so the movie location/name is dynamic in that I can be loading these charts in a number of different scenarios and don't know it at runtime... Also it appears Popchart uses straight urls for drilldown making it impossible to have it operate as it's own entity without reloading my page... :( Has anyone implemented drilldown with cfmx built-in graphs? Cheers, Stace -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:45 PM To: CF-Talk Subject: RE: Flash Remoting and Popchart if you can, i would do this: instead of loading the flash movie, calling the server for the name of the movie to load, and then calling the server again to load the movie i would do this: pass the name of the movie to load through the html to the flash movie: movie.swf?movieName=movietoload.swf that should save you a trip to the server. let me know if this doesnt make sense or if you would like some more info. mike chambers [EMAIL PROTECTED] -Original Message- From: Stacy Young [mailto:[EMAIL
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser- based apps? Rick, I generally go with this rule of thumb. If you have a lot of data that needs to be displayed in tables or if you have data that needs to be printed (especially this one), go with HTML. Otherwise, Flash could be a good app. Although you can use Flash to output large datasets like that, it's typically faster and easier in HTML. As for printing, well... Flash printing = evil. g Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Any suggestions on particular tutorials or books that focus on integrating CFMX and Flash MX that helped you? Try finding Actionscript books or tutorials and play around with that for a while. Once you have a solid grasp on Actionscript, CF/Flash integration becomes _much_ easier. Macromedia did a good job at simplifying basic integration so hopefully you won't have too much trouble there. Large-scale Flash apps are another story though. Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Thanks, Ben. For printing purposes (I'm still looking for a good, inexpensive printing solution for data that spans multiple pages so the data won't be cut in half between pages) I'd probably do with Flash what I do in HTML display now: for online viewing I have the tables, but when it comes time to print, I usually have a link to a page without the graphics, menu, etc., that more or less shows them what the printed page will look like. I guess I could do that with Flash, too... Rick -Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 9:55 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Have you run into many issues that make a Flash MX interface unsuitable for apps that are typically browser- based apps? Rick, I generally go with this rule of thumb. If you have a lot of data that needs to be displayed in tables or if you have data that needs to be printed (especially this one), go with HTML. Otherwise, Flash could be a good app. Although you can use Flash to output large datasets like that, it's typically faster and easier in HTML. As for printing, well... Flash printing = evil. g Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
Thanks again, Ben, for the tip. I just wish I could find some books/tutorials that are aimed squarely at my needs. Intermediate CF programmer, Flash novice. I noticed that most of the books I glanced through were really heavy on CF (being CF books) with just a few pages on integrating Flash, or heavy on Flash (being Flash books) with a few pages on CF. I know they're just trying to offer something to everyone and cover it all, but I'd like to have some resources that focus specifically on CF and Flash entirely: indepth explanation with beginner, intermediate, and advanced tutorials. As with most things I've had to learn, like CF, I just have to keep hacking away until I've pulled together enough info to make things work. It may be that way with CF and Flash, too... Thanks, again. Rick -Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07, 2002 9:58 PM To: CF-Talk Subject: RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart Any suggestions on particular tutorials or books that focus on integrating CFMX and Flash MX that helped you? Try finding Actionscript books or tutorials and play around with that for a while. Once you have a solid grasp on Actionscript, CF/Flash integration becomes _much_ easier. Macromedia did a good job at simplifying basic integration so hopefully you won't have too much trouble there. Large-scale Flash apps are another story though. Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
As with most things I've had to learn, like CF, I just have to keep hacking away until I've pulled together enough info to make things work. It may be that way with CF and Flash, too... If you're familiar with Javascript, you may just want to just start fiddling around. There are some quirks, such as knowing where your code is, but if you can find a Flash guy to get you started then you should be able to go from there. Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: (Flash/CFMX Rocks!) Flash Remoting and Popchart
-Original Message- From: Ben Johnson [mailto:[EMAIL PROTECTED]] There are some quirks, such as knowing where your code is, but if you can find a Flash guy to get you started then you should be able to go from there. rick, or ben or anyone else interested. I am going to hang around in my flash based chat at: http://radio.weblogs.com/0106797/chat/index.html for the next 30 minutes or so. If anyone has any flash questions, i will be available to answer them. it is currently 11 pm est, saturday night. mike chambers [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists