RE: Getting data into Flash 8

2006-02-27 Thread Adrian Lynch
Wha! You know Dave is serious when he capitalises the first words in his
paragraphs! :Oo

:OD

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: 27 February 2006 02:02
To: CF-Talk
Subject: Re: Getting data into Flash 8


Actually I didn't ask for help with remoting was just responding.

As far as what you say about hosting, I totally disagree. If you are on a
shared host in a production enviroment you shouldn't be allowed to do beta
tests or anything even remotely close to that, do that on your dev machine
or get your own server for your experiments. It's a production machine and
not just yours but hundreds of other peoples as well and beta and
experiments aren't for production servers, why would you think they are?
Next time your server is crashing just think oh hey I bet that's someone
testing their beta product or code, I'm sure your customers will be real
happy with that answer when they ask whey their site is going down a lot,
it's bad enough with ppl running bad code.

Personally, I don't think it's off topic because we are talking about a
technical issue and I would be curious to see what others say about it. I
have been on servers that go down a lot and ppl say oh thats just
coldfusion server but then I move to an new server and it purrs along with
no problems then I find out it's because someones experimental code. Of
course I could be wrong and shame on me for using a shared server and take
the lumps and bumps but if everyone on a server had commen sense and didn't
use it for their personal playground they wouldn't be crashing. If that's
what you want get a dedicated server.

~Dave the disruptor~


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233528
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-27 Thread dave
LMFAO, yet so true

I just can't friggin type!!

Here's what happens if I try to cap each sentence:

THe dog ran to the ball. BLack car ran over dog. DOg's eyes popped out. YUcky 
homeless man ate dead dogs popped out eyes. 

~Dave the disruptor~ 


From: Adrian Lynch [EMAIL PROTECTED]
Sent: Monday, February 27, 2006 4:50 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

Wha! You know Dave is serious when he capitalises the first words in his
paragraphs! :Oo

:OD





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233529
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-27 Thread John C. Bland II
Oh, my bad. Whoever wants help with Remoting I can do a Breezo to walk folks
through it.

Since you think it is on topic and the powers that be won't hit me over the
knuckles, I'll respond.

I agree with test on your own stuff but when going to a production
environment, hence your clients shared hosting space, you HAVE to test the
site or app you've built within that environment. At this point you could
have bugs running rampit. Most people have sites up that are worse than beta
stuff anyways, in terms of code. That's why I am 100% with you in saying get
a dedicated box if you are worried about others.

The way it sounds, you never put code on a shared server unless you know it
is 100% working and has no bugs. If so, you are rare. So you know, I don't
use shared servers anymore but when I did, and for those I know who still
do, you have to test in the production environment before you can say a
project is ready. While you are testing, IMO, that is a beta version of the
product. or site. Not doing so isn't justice for the product or client.

My opinions...

On 2/26/06, dave [EMAIL PROTECTED] wrote:

 Actually I didn't ask for help with remoting was just responding.

 As far as what you say about hosting, I totally disagree. If you are on a
 shared host in a production enviroment you shouldn't be allowed to do beta
 tests or anything even remotely close to that, do that on your dev machine
 or get your own server for your experiments. It's a production machine and
 not just yours but hundreds of other peoples as well and beta and
 experiments aren't for production servers, why would you think they
 are?  Next time your server is crashing just think oh hey I bet that's
 someone testing their beta product or code, I'm sure your customers will be
 real happy with that answer when they ask whey their site is going down a
 lot, it's bad enough with ppl running bad code.

 Personally, I don't think it's off topic because we are talking about a
 technical issue and I would be curious to see what others say about it. I
 have been on servers that go down a lot and ppl say oh thats just
 coldfusion server but then I move to an new server and it purrs along with
 no problems then I find out it's because someones experimental code. Of
 course I could be wrong and shame on me for using a shared server and take
 the lumps and bumps but if everyone on a server had commen sense and didn't
 use it for their personal playground they wouldn't be crashing. If that's
 what you want get a dedicated server.

 ~Dave the disruptor~

 
 From: John C. Bland II [EMAIL PROTECTED]
 Sent: Sunday, February 26, 2006 8:35 PM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: Re: Getting data into Flash 8

 I don't want to go into a hosting dispute but any host who controls my
 content and/or files is a bad one. That means, any product I develop that
 is
 in beta stage can't be posted on their server which may be my testing
 environment. It just contradicts the idea of purchasing X GB's/mo (or
 mb's)
 for you to use for your own personal or business use if the content is
 filtered. That's utterly ludicrous for a host to do such a thing.

 These are just my opinions. I promise I won't respond to your hosting
 comments if you decide to respond to this. I know this post has gone WOT.

 Anyways, did you get the Remoting going? If you want side help I'd be more
 than willing to jump into Breeze and show you hands-on how to do it. Just
 let me know off list.

 Thanks,

 On 2/26/06, dave  wrote:
 
  I'd call them a good host or any in that matter who makes sure stuff
  (especially beta products) aren't installed on a shared production
 server.
 
  If your host lets you put whatever you want up, I would certain run like
 a
  mofo the other direction.
 
  ~Dave the disruptor~
 
  
  From: John C. Bland II
  Sent: Sunday, February 26, 2006 4:59 PM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  LOL. I'd like to talk to those hosts to see what their issue was. It is
  like
  them telling you no to putting Pear on the server. It isn't their call.
  You
  pay for space...put what you want on the server, as long as it is legal.
  As
  said, it doesn't take the host to install it. Again, amfphp is nothing
  more
  than a set of files you put on your server.
 
  Although Adobe has the patent I HIGHLY doubt they would nix other amf
  products. That will just limit Flash's use with other technologies which
  would be dumb. There is a free Remoting gateway for .net as well and
 about
  2
  or 3 for php. They would be dumb to stop it and I say they would never
 do
  it
  especially since MM was becoming so community driven and Adobe is
  continuing, and bettering it seems (hence the Flex 2 pricing, etc), to
  work
  with the community.
 
  IMO, Adobe will never tell everyone using amfphp they need to stop. As
  said,
  that would be dumb.
 
  On 2/26/06, dave wrote

Re: Getting data into Flash 8

2006-02-27 Thread John C. Bland II
In no way am I trying to argue. That's why I hate email for discussions, in
most cases. I'm simply providing another view that is opposite of yours.

A novice ECMA developer should know something about ECMA. It would be stupid
for me to think a novice CF developer should know something about an ECMA
language if that is the only language they know.

No one is comparing anything to CF in terms of ease. I compared Remoting +
CF with AMFPHP and said they are equally simple, except for the method table
in amfphp. The simple understanding that you MUST know CF or PHP to do
Remoting in either is understood. I don't know Perl so I can't comment on
Remoting + Perl.

No arguments man. To be blunt, your views seemed limited and pointed to
facts that weren't so (remoting with PHP is a lot more difficult.). All
I'm saying is if you have a working knowledge of php classes amfphp is not
hard. Obviously you would need a working knowledge of Actionscript as well.

If you want to take this off list we can no doubt do so.

Have a good one...

On 2/27/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 If you just want to argue for the sake of arguing, than I'll just
 gracefully
 bow out, but if you think that novices have the first clue when it comes
 to ECMA... you should try teaching them.

 Their implementation was flawed for the first 7 releases and though I
 commend them on their achievement, I can't believe that the functionality
 they're providing is even comparable to CF, which is what I consider
 easy.

 I'm done and out.

 !k

 -Original Message-
 From: John C. Bland II [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 26, 2006 4:06 PM
 To: CF-Talk
 Subject: Re: Getting data into Flash 8

 You don't have to use nested associate arrays. You can use numerical or
 associate. CF Stucts are nothing but associate arrays anyway. If you know
 how to use PHP classes then you know at least what an array is. You can
 return virtually any type in php to Flash. In the latest version you have
 more types you can return (including xml).

 http://www.amfphp.org/docs/datatypes.html

 So you know, when I first used AMFPHP I didn't know PHP that well. I was
 the
 definition of novice, in terms of PHP. But PHP classes are similar to ECMA
 classes so it wasn't hard to catch on. If you aren't a PHP developer then
 PHP itself is the problem...not AMFPHP. If you don't know CF then CF is
 the
 problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.

 The issue with AMFPHP was the documentation was horrible at that point in
 the game (early versions) so the installation portion was a pain.
 Everything
 dealt with server-wide installation on Apache so it was terribly
 confusing.
 Once I figured out it was just a folder everything else was a piece of
 cake.

 On 2/26/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 
  It depends what kind of implementation you're trying to accomplish. My
  point
  is that for someone without a lot of PHP experience, the nested
  associative
  arrays can intimidating.
 
  You seem to assume your views based on your own knowledge and skills,
 and
  that's fine. I judge software based on what an absolute novice would
  think...
 
  Cheers,
 
  Kevin
 
  -Original Message-
  From: John C. Bland II [mailto:[EMAIL PROTECTED]
  Sent: Saturday, February 25, 2006 5:48 PM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
  than
  CF (which is the method table for restricting access, etc). I wasn't
 going
  to respond but I figured it was nothing but a constructive conversation
  anyway. :-)
 
  On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:
  
   Haha... remoting with PHP is a lot more difficult.
  
   -Original Message-
   From: Andy Matthews [mailto:[EMAIL PROTECTED]
   Sent: February 24, 2006 1:48 PM
   To: CF-Talk
   Subject: RE: Getting data into Flash 8
  
   Thanks Dave. I'll check that out.
  
   But yeah, I feel that they do make it complicated...too many steps to
 do
   such a simple thing. How would you feel if you had to go through 6 or
 7
   steps just to get some data back from a datasource using ColdFusion.
  
   You'd probably feel like you were coding in PHP eh?
  
   !//--
   andy matthews
   web developer
   ICGLink, Inc.
   [EMAIL PROTECTED]
   615.370.1530 x737
   --//-
  
   -Original Message-
   From: dave [mailto:[EMAIL PROTECTED]
   Sent: Friday, February 24, 2006 1:43 PM
   To: CF-Talk
   Subject: RE: Getting data into Flash 8
  
  
   MM didn't make it complex, you are making it complex, it ain't rocket
   science.
  
   They pretty much do have drag and drop components already built in,
 you
   can
   have remoting working in under 30 seconds or there is the data
 connector
   that's built in that can get data from a cfc or web service, again in
   under
   30 seconds.
  
  
 
 

 http://www.macromedia.com/cfusion/exchange/index.cfm#view

RE: Getting data into Flash 8

2006-02-27 Thread Kevin Aebig
No worries. I misinterpreted what you meant.

I've taught countless novices and from what I've seen, I always get the
impression that professional developers underestimate their own skillsets
and assume that others will pick things up just as quickly.

My experience with AMFPHP started on version 0.1 and I've used it on many
projects since, but a lot of issues it had (until this latest release) like
the Netconnection.Bad.Version error that plagued everyone who's ever used
it, adds to the complexity.

Anyhow, no harm no foul.

Kevin

-Original Message-
From: John C. Bland II [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 2:48 PM
To: CF-Talk
Subject: Re: Getting data into Flash 8

In no way am I trying to argue. That's why I hate email for discussions, in
most cases. I'm simply providing another view that is opposite of yours.

A novice ECMA developer should know something about ECMA. It would be stupid
for me to think a novice CF developer should know something about an ECMA
language if that is the only language they know.

No one is comparing anything to CF in terms of ease. I compared Remoting +
CF with AMFPHP and said they are equally simple, except for the method table
in amfphp. The simple understanding that you MUST know CF or PHP to do
Remoting in either is understood. I don't know Perl so I can't comment on
Remoting + Perl.

No arguments man. To be blunt, your views seemed limited and pointed to
facts that weren't so (remoting with PHP is a lot more difficult.). All
I'm saying is if you have a working knowledge of php classes amfphp is not
hard. Obviously you would need a working knowledge of Actionscript as well.

If you want to take this off list we can no doubt do so.

Have a good one...

On 2/27/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 If you just want to argue for the sake of arguing, than I'll just
 gracefully
 bow out, but if you think that novices have the first clue when it comes
 to ECMA... you should try teaching them.

 Their implementation was flawed for the first 7 releases and though I
 commend them on their achievement, I can't believe that the functionality
 they're providing is even comparable to CF, which is what I consider
 easy.

 I'm done and out.

 !k

 -Original Message-
 From: John C. Bland II [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 26, 2006 4:06 PM
 To: CF-Talk
 Subject: Re: Getting data into Flash 8

 You don't have to use nested associate arrays. You can use numerical or
 associate. CF Stucts are nothing but associate arrays anyway. If you know
 how to use PHP classes then you know at least what an array is. You can
 return virtually any type in php to Flash. In the latest version you have
 more types you can return (including xml).

 http://www.amfphp.org/docs/datatypes.html

 So you know, when I first used AMFPHP I didn't know PHP that well. I was
 the
 definition of novice, in terms of PHP. But PHP classes are similar to ECMA
 classes so it wasn't hard to catch on. If you aren't a PHP developer then
 PHP itself is the problem...not AMFPHP. If you don't know CF then CF is
 the
 problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.

 The issue with AMFPHP was the documentation was horrible at that point in
 the game (early versions) so the installation portion was a pain.
 Everything
 dealt with server-wide installation on Apache so it was terribly
 confusing.
 Once I figured out it was just a folder everything else was a piece of
 cake.

 On 2/26/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 
  It depends what kind of implementation you're trying to accomplish. My
  point
  is that for someone without a lot of PHP experience, the nested
  associative
  arrays can intimidating.
 
  You seem to assume your views based on your own knowledge and skills,
 and
  that's fine. I judge software based on what an absolute novice would
  think...
 
  Cheers,
 
  Kevin
 
  -Original Message-
  From: John C. Bland II [mailto:[EMAIL PROTECTED]
  Sent: Saturday, February 25, 2006 5:48 PM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
  than
  CF (which is the method table for restricting access, etc). I wasn't
 going
  to respond but I figured it was nothing but a constructive conversation
  anyway. :-)
 
  On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:
  
   Haha... remoting with PHP is a lot more difficult.
  
   -Original Message-
   From: Andy Matthews [mailto:[EMAIL PROTECTED]
   Sent: February 24, 2006 1:48 PM
   To: CF-Talk
   Subject: RE: Getting data into Flash 8
  
   Thanks Dave. I'll check that out.
  
   But yeah, I feel that they do make it complicated...too many steps to
 do
   such a simple thing. How would you feel if you had to go through 6 or
 7
   steps just to get some data back from a datasource using ColdFusion.
  
   You'd probably feel like you were coding in PHP eh?
  
   !//--
   andy

Re: Getting data into Flash 8

2006-02-27 Thread John C. Bland II
Coo...glad we could get that squared away. :-)

Oh yeah, that error was HORRIBLE! I hated it. The latest version is MUCH
smoother too man. It is very slick.

On 2/27/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 No worries. I misinterpreted what you meant.

 I've taught countless novices and from what I've seen, I always get the
 impression that professional developers underestimate their own skillsets
 and assume that others will pick things up just as quickly.

 My experience with AMFPHP started on version 0.1 and I've used it on many
 projects since, but a lot of issues it had (until this latest release)
 like
 the Netconnection.Bad.Version error that plagued everyone who's ever
 used
 it, adds to the complexity.

 Anyhow, no harm no foul.

 Kevin

 -Original Message-
 From: John C. Bland II [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 27, 2006 2:48 PM
 To: CF-Talk
 Subject: Re: Getting data into Flash 8

 In no way am I trying to argue. That's why I hate email for discussions,
 in
 most cases. I'm simply providing another view that is opposite of yours.

 A novice ECMA developer should know something about ECMA. It would be
 stupid
 for me to think a novice CF developer should know something about an ECMA
 language if that is the only language they know.

 No one is comparing anything to CF in terms of ease. I compared Remoting +
 CF with AMFPHP and said they are equally simple, except for the method
 table
 in amfphp. The simple understanding that you MUST know CF or PHP to do
 Remoting in either is understood. I don't know Perl so I can't comment on
 Remoting + Perl.

 No arguments man. To be blunt, your views seemed limited and pointed to
 facts that weren't so (remoting with PHP is a lot more difficult.). All
 I'm saying is if you have a working knowledge of php classes amfphp is not
 hard. Obviously you would need a working knowledge of Actionscript as
 well.

 If you want to take this off list we can no doubt do so.

 Have a good one...

 On 2/27/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 
  If you just want to argue for the sake of arguing, than I'll just
  gracefully
  bow out, but if you think that novices have the first clue when it
 comes
  to ECMA... you should try teaching them.
 
  Their implementation was flawed for the first 7 releases and though I
  commend them on their achievement, I can't believe that the
 functionality
  they're providing is even comparable to CF, which is what I consider
  easy.
 
  I'm done and out.
 
  !k
 
  -Original Message-
  From: John C. Bland II [mailto:[EMAIL PROTECTED]
  Sent: Sunday, February 26, 2006 4:06 PM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  You don't have to use nested associate arrays. You can use numerical or
  associate. CF Stucts are nothing but associate arrays anyway. If you
 know
  how to use PHP classes then you know at least what an array is. You can
  return virtually any type in php to Flash. In the latest version you
 have
  more types you can return (including xml).
 
  http://www.amfphp.org/docs/datatypes.html
 
  So you know, when I first used AMFPHP I didn't know PHP that well. I was
  the
  definition of novice, in terms of PHP. But PHP classes are similar to
 ECMA
  classes so it wasn't hard to catch on. If you aren't a PHP developer
 then
  PHP itself is the problem...not AMFPHP. If you don't know CF then CF is
  the
  problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.
 
  The issue with AMFPHP was the documentation was horrible at that point
 in
  the game (early versions) so the installation portion was a pain.
  Everything
  dealt with server-wide installation on Apache so it was terribly
  confusing.
  Once I figured out it was just a folder everything else was a piece of
  cake.
 
  On 2/26/06, Kevin Aebig [EMAIL PROTECTED] wrote:
  
   It depends what kind of implementation you're trying to accomplish. My
   point
   is that for someone without a lot of PHP experience, the nested
   associative
   arrays can intimidating.
  
   You seem to assume your views based on your own knowledge and skills,
  and
   that's fine. I judge software based on what an absolute novice would
   think...
  
   Cheers,
  
   Kevin
  
   -Original Message-
   From: John C. Bland II [mailto:[EMAIL PROTECTED]
   Sent: Saturday, February 25, 2006 5:48 PM
   To: CF-Talk
   Subject: Re: Getting data into Flash 8
  
   Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
   than
   CF (which is the method table for restricting access, etc). I wasn't
  going
   to respond but I figured it was nothing but a constructive
 conversation
   anyway. :-)
  
   On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:
   
Haha... remoting with PHP is a lot more difficult.
   
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: February 24, 2006 1:48 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8
   
Thanks Dave. I'll check

Re: Getting data into Flash 8

2006-02-26 Thread dave
As far as the patent goes, yes MM was letting it slide but as we know MM is no 
more and Adobe isn't so lenient with their copyrights, which as far as i know 
isn't just remoting it's for the AMF format, so technically speaking AMFPHP is 
running on Adobe's patent.

My point to it is, what are all these people going to do that are running it IF 
Adobe decides to pull the pull on them using it?

Not trying to dog it just being realistic.

 So many times technologies get bad raps due to the lack of knowledge.
Yeah but that was because of prior problems, I remember several hosts telling 
me no way they'd put it on a shared server one was more like HELL F*CK NO YOU 
AINT COMING ANYWHERE NEAR MY F*CKIN SERVERS WITH THAT SH*T!! haha

~Dave the disruptor~ 


From: John C. Bland II [EMAIL PROTECTED]
Sent: Sunday, February 26, 2006 2:50 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: Getting data into Flash 8 

Hosts had no control over amfphp. The install process was greatly
misconstrued by many people. All you had to do was copy 1 folder to your
site root and point the gateway.php file to your class location. That was
it. As for copyrights, etc MM has widely made it known how they feel about
amfphp which is they are fine with it. They never had an issue with it and
doubt they ever will. AMF goes beyond Flash Remoting so I don't know
anything about copyrights either company owns.

Yes, a full version has been released and it has GREAT improvements! The
documentation is improved as well as the error messages. Check it out
amfphp.org .

So everyone knows, I am in no way affiliated with amphp folks and do prefer
Remoting + CF. I just wanted it to be known that amfphp is just as easy, if
you know PHP. So many times technologies get bad raps due to the lack of
knowledge.

Just my 2 cents...

On 2/25/06, dave  wrote:

 I know previously that amfphp wasnt to be used for commercial sites and
 that now adobe owns the copyrights on amf which would make a bit risky to
 use. Did it every get out of beta? I remember a lot of hosts wouldnt allow
 it to run since it was concidered a big security risk at the time.

 ~Dave the disruptor~

 
 From: John C. Bland II 
 Sent: Saturday, February 25, 2006 6:49 PM
 To: CF-Talk 
 Subject: Re: Getting data into Flash 8

 Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
 than
 CF (which is the method table for restricting access, etc). I wasn't going
 to respond but I figured it was nothing but a constructive conversation
 anyway. :-)

 On 2/24/06, Kevin Aebig wrote:
 
  Haha... remoting with PHP is a lot more difficult.
 
  -Original Message-
  From: Andy Matthews [mailto:[EMAIL PROTECTED]
  Sent: February 24, 2006 1:48 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
  Thanks Dave. I'll check that out.
 
  But yeah, I feel that they do make it complicated...too many steps to do
  such a simple thing. How would you feel if you had to go through 6 or 7
  steps just to get some data back from a datasource using ColdFusion.
 
  You'd probably feel like you were coding in PHP eh?
 
  andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: dave [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 24, 2006 1:43 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
 
  MM didn't make it complex, you are making it complex, it ain't rocket
  science.
 
  They pretty much do have drag and drop components already built in, you
  can
  have remoting working in under 30 seconds or there is the data connector
  that's built in that can get data from a cfc or web service, again in
  under
  30 seconds.
 
 
 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
 
 
 hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
  atid=0snid=sn106itemnumber=13extid=1011923catid=0
 
  I suggest that you check out all the remoting tutorials at
 communitymx.com
  or specifically this one
  http://www.communitymx.com/content/article.cfm?cid=ADF3B
 
  or asfusion.com has quite a bit of info as well.
 
  ~Dave the disruptor~
 
 
 
 
 



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233497
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-26 Thread Kevin Aebig
It depends what kind of implementation you're trying to accomplish. My point
is that for someone without a lot of PHP experience, the nested associative
arrays can intimidating. 

You seem to assume your views based on your own knowledge and skills, and
that's fine. I judge software based on what an absolute novice would
think...

Cheers,

Kevin

-Original Message-
From: John C. Bland II [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 25, 2006 5:48 PM
To: CF-Talk
Subject: Re: Getting data into Flash 8

Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step than
CF (which is the method table for restricting access, etc). I wasn't going
to respond but I figured it was nothing but a constructive conversation
anyway. :-)

On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 Haha... remoting with PHP is a lot more difficult.

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: February 24, 2006 1:48 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8

 Thanks Dave. I'll check that out.

 But yeah, I feel that they do make it complicated...too many steps to do
 such a simple thing. How would you feel if you had to go through 6 or 7
 steps just to get some data back from a datasource using ColdFusion.

 You'd probably feel like you were coding in PHP eh?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 24, 2006 1:43 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8


 MM didn't make it complex, you are making it complex, it ain't rocket
 science.

 They pretty much do have drag and drop components already built in, you
 can
 have remoting working in under 30 seconds or there is the data connector
 that's built in that can get data from a cfc or web service, again in
 under
 30 seconds.


http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc


hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
 atid=0snid=sn106itemnumber=13extid=1011923catid=0

 I suggest that you check out all the remoting tutorials at communitymx.com
 or specifically this one
 http://www.communitymx.com/content/article.cfm?cid=ADF3B

 or asfusion.com has quite a bit of info as well.

 ~Dave the disruptor~




 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233516
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-26 Thread John C. Bland II
LOL. I'd like to talk to those hosts to see what their issue was. It is like
them telling you no to putting Pear on the server. It isn't their call. You
pay for space...put what you want on the server, as long as it is legal. As
said, it doesn't take the host to install it. Again, amfphp is nothing more
than a set of files you put on your server.

Although Adobe has the patent I HIGHLY doubt they would nix other amf
products. That will just limit Flash's use with other technologies which
would be dumb. There is a free Remoting gateway for .net as well and about 2
or 3 for php. They would be dumb to stop it and I say they would never do it
especially since MM was becoming so community driven and Adobe is
continuing, and bettering it seems (hence the Flex 2 pricing, etc), to work
with the community.

IMO, Adobe will never tell everyone using amfphp they need to stop. As said,
that would be dumb.

On 2/26/06, dave [EMAIL PROTECTED] wrote:

 As far as the patent goes, yes MM was letting it slide but as we know MM
 is no more and Adobe isn't so lenient with their copyrights, which as far as
 i know isn't just remoting it's for the AMF format, so technically speaking
 AMFPHP is running on Adobe's patent.

 My point to it is, what are all these people going to do that are running
 it IF Adobe decides to pull the pull on them using it?

 Not trying to dog it just being realistic.

  So many times technologies get bad raps due to the lack of knowledge.
 Yeah but that was because of prior problems, I remember several hosts
 telling me no way they'd put it on a shared server one was more like HELL
 F*CK NO YOU AINT COMING ANYWHERE NEAR MY F*CKIN SERVERS WITH THAT
 SH*T!! haha

 ~Dave the disruptor~

 
 From: John C. Bland II [EMAIL PROTECTED]
 Sent: Sunday, February 26, 2006 2:50 AM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: Re: Getting data into Flash 8

 Hosts had no control over amfphp. The install process was greatly
 misconstrued by many people. All you had to do was copy 1 folder to your
 site root and point the gateway.php file to your class location. That was
 it. As for copyrights, etc MM has widely made it known how they feel about
 amfphp which is they are fine with it. They never had an issue with it and
 doubt they ever will. AMF goes beyond Flash Remoting so I don't know
 anything about copyrights either company owns.

 Yes, a full version has been released and it has GREAT improvements! The
 documentation is improved as well as the error messages. Check it out
 amfphp.org .

 So everyone knows, I am in no way affiliated with amphp folks and do
 prefer
 Remoting + CF. I just wanted it to be known that amfphp is just as easy,
 if
 you know PHP. So many times technologies get bad raps due to the lack of
 knowledge.

 Just my 2 cents...

 On 2/25/06, dave  wrote:
 
  I know previously that amfphp wasnt to be used for commercial sites and
  that now adobe owns the copyrights on amf which would make a bit risky
 to
  use. Did it every get out of beta? I remember a lot of hosts wouldnt
 allow
  it to run since it was concidered a big security risk at the time.
 
  ~Dave the disruptor~
 
  
  From: John C. Bland II
  Sent: Saturday, February 25, 2006 6:49 PM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
  than
  CF (which is the method table for restricting access, etc). I wasn't
 going
  to respond but I figured it was nothing but a constructive conversation
  anyway. :-)
 
  On 2/24/06, Kevin Aebig wrote:
  
   Haha... remoting with PHP is a lot more difficult.
  
   -Original Message-
   From: Andy Matthews [mailto:[EMAIL PROTECTED]
   Sent: February 24, 2006 1:48 PM
   To: CF-Talk
   Subject: RE: Getting data into Flash 8
  
   Thanks Dave. I'll check that out.
  
   But yeah, I feel that they do make it complicated...too many steps to
 do
   such a simple thing. How would you feel if you had to go through 6 or
 7
   steps just to get some data back from a datasource using ColdFusion.
  
   You'd probably feel like you were coding in PHP eh?
  
   andy matthews
   web developer
   ICGLink, Inc.
   [EMAIL PROTECTED]
   615.370.1530 x737
   --//-
  
   -Original Message-
   From: dave [mailto:[EMAIL PROTECTED]
   Sent: Friday, February 24, 2006 1:43 PM
   To: CF-Talk
   Subject: RE: Getting data into Flash 8
  
  
   MM didn't make it complex, you are making it complex, it ain't rocket
   science.
  
   They pretty much do have drag and drop components already built in,
 you
   can
   have remoting working in under 30 seconds or there is the data
 connector
   that's built in that can get data from a cfc or web service, again in
   under
   30 seconds.
  
  
 
 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
  
  
 
 hange%20Search%20Detailsloc=en_usauthorid=60639501page

Re: Getting data into Flash 8

2006-02-26 Thread John C. Bland II
You don't have to use nested associate arrays. You can use numerical or
associate. CF Stucts are nothing but associate arrays anyway. If you know
how to use PHP classes then you know at least what an array is. You can
return virtually any type in php to Flash. In the latest version you have
more types you can return (including xml).

http://www.amfphp.org/docs/datatypes.html

So you know, when I first used AMFPHP I didn't know PHP that well. I was the
definition of novice, in terms of PHP. But PHP classes are similar to ECMA
classes so it wasn't hard to catch on. If you aren't a PHP developer then
PHP itself is the problem...not AMFPHP. If you don't know CF then CF is the
problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.

The issue with AMFPHP was the documentation was horrible at that point in
the game (early versions) so the installation portion was a pain. Everything
dealt with server-wide installation on Apache so it was terribly confusing.
Once I figured out it was just a folder everything else was a piece of cake.

On 2/26/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 It depends what kind of implementation you're trying to accomplish. My
 point
 is that for someone without a lot of PHP experience, the nested
 associative
 arrays can intimidating.

 You seem to assume your views based on your own knowledge and skills, and
 that's fine. I judge software based on what an absolute novice would
 think...

 Cheers,

 Kevin

 -Original Message-
 From: John C. Bland II [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 25, 2006 5:48 PM
 To: CF-Talk
 Subject: Re: Getting data into Flash 8

 Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
 than
 CF (which is the method table for restricting access, etc). I wasn't going
 to respond but I figured it was nothing but a constructive conversation
 anyway. :-)

 On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 
  Haha... remoting with PHP is a lot more difficult.
 
  -Original Message-
  From: Andy Matthews [mailto:[EMAIL PROTECTED]
  Sent: February 24, 2006 1:48 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
  Thanks Dave. I'll check that out.
 
  But yeah, I feel that they do make it complicated...too many steps to do
  such a simple thing. How would you feel if you had to go through 6 or 7
  steps just to get some data back from a datasource using ColdFusion.
 
  You'd probably feel like you were coding in PHP eh?
 
  !//--
  andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: dave [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 24, 2006 1:43 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
 
  MM didn't make it complex, you are making it complex, it ain't rocket
  science.
 
  They pretty much do have drag and drop components already built in, you
  can
  have remoting working in under 30 seconds or there is the data connector
  that's built in that can get data from a cfc or web service, again in
  under
  30 seconds.
 
 

 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
 
 

 hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
  atid=0snid=sn106itemnumber=13extid=1011923catid=0
 
  I suggest that you check out all the remoting tutorials at
 communitymx.com
  or specifically this one
  http://www.communitymx.com/content/article.cfm?cid=ADF3B
 
  or asfusion.com has quite a bit of info as well.
 
  ~Dave the disruptor~
 
 
 
 
 



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233518
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-26 Thread dave
I'd call them a good host or any in that matter who makes sure stuff 
(especially beta products) aren't installed on a shared production server.

If your host lets you put whatever you want up, I would certain run like a mofo 
the other direction.

~Dave the disruptor~ 


From: John C. Bland II [EMAIL PROTECTED]
Sent: Sunday, February 26, 2006 4:59 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: Getting data into Flash 8 

LOL. I'd like to talk to those hosts to see what their issue was. It is like
them telling you no to putting Pear on the server. It isn't their call. You
pay for space...put what you want on the server, as long as it is legal. As
said, it doesn't take the host to install it. Again, amfphp is nothing more
than a set of files you put on your server.

Although Adobe has the patent I HIGHLY doubt they would nix other amf
products. That will just limit Flash's use with other technologies which
would be dumb. There is a free Remoting gateway for .net as well and about 2
or 3 for php. They would be dumb to stop it and I say they would never do it
especially since MM was becoming so community driven and Adobe is
continuing, and bettering it seems (hence the Flex 2 pricing, etc), to work
with the community.

IMO, Adobe will never tell everyone using amfphp they need to stop. As said,
that would be dumb.

On 2/26/06, dave  wrote:

 As far as the patent goes, yes MM was letting it slide but as we know MM
 is no more and Adobe isn't so lenient with their copyrights, which as far as
 i know isn't just remoting it's for the AMF format, so technically speaking
 AMFPHP is running on Adobe's patent.

 My point to it is, what are all these people going to do that are running
 it IF Adobe decides to pull the pull on them using it?

 Not trying to dog it just being realistic.

  So many times technologies get bad raps due to the lack of knowledge.
 Yeah but that was because of prior problems, I remember several hosts
 telling me no way they'd put it on a shared server one was more like HELL
 F*CK NO YOU AINT COMING ANYWHERE NEAR MY F*CKIN SERVERS WITH THAT
 SH*T!! haha

 ~Dave the disruptor~

 
 From: John C. Bland II 
 Sent: Sunday, February 26, 2006 2:50 AM
 To: CF-Talk 
 Subject: Re: Getting data into Flash 8

 Hosts had no control over amfphp. The install process was greatly
 misconstrued by many people. All you had to do was copy 1 folder to your
 site root and point the gateway.php file to your class location. That was
 it. As for copyrights, etc MM has widely made it known how they feel about
 amfphp which is they are fine with it. They never had an issue with it and
 doubt they ever will. AMF goes beyond Flash Remoting so I don't know
 anything about copyrights either company owns.

 Yes, a full version has been released and it has GREAT improvements! The
 documentation is improved as well as the error messages. Check it out
 amfphp.org .

 So everyone knows, I am in no way affiliated with amphp folks and do
 prefer
 Remoting + CF. I just wanted it to be known that amfphp is just as easy,
 if
 you know PHP. So many times technologies get bad raps due to the lack of
 knowledge.

 Just my 2 cents...

 On 2/25/06, dave wrote:
 
  I know previously that amfphp wasnt to be used for commercial sites and
  that now adobe owns the copyrights on amf which would make a bit risky
 to
  use. Did it every get out of beta? I remember a lot of hosts wouldnt
 allow
  it to run since it was concidered a big security risk at the time.
 
  ~Dave the disruptor~
 
  
  From: John C. Bland II
  Sent: Saturday, February 25, 2006 6:49 PM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
  than
  CF (which is the method table for restricting access, etc). I wasn't
 going
  to respond but I figured it was nothing but a constructive conversation
  anyway. :-)
 
  On 2/24/06, Kevin Aebig wrote:
  
   Haha... remoting with PHP is a lot more difficult.
  
   -Original Message-
   From: Andy Matthews [mailto:[EMAIL PROTECTED]
   Sent: February 24, 2006 1:48 PM
   To: CF-Talk
   Subject: RE: Getting data into Flash 8
  
   Thanks Dave. I'll check that out.
  
   But yeah, I feel that they do make it complicated...too many steps to
 do
   such a simple thing. How would you feel if you had to go through 6 or
 7
   steps just to get some data back from a datasource using ColdFusion.
  
   You'd probably feel like you were coding in PHP eh?
  
   andy matthews
   web developer
   ICGLink, Inc.
   [EMAIL PROTECTED]
   615.370.1530 x737
   --//-
  
   -Original Message-
   From: dave [mailto:[EMAIL PROTECTED]
   Sent: Friday, February 24, 2006 1:43 PM
   To: CF-Talk
   Subject: RE: Getting data into Flash 8
  
  
   MM didn't make it complex, you are making it complex, it ain't rocket
   science

Re: Getting data into Flash 8

2006-02-26 Thread John C. Bland II
I don't want to go into a hosting dispute but any host who controls my
content and/or files is a bad one. That means, any product I develop that is
in beta stage can't be posted on their server which may be my testing
environment. It just contradicts the idea of purchasing X GB's/mo (or mb's)
for you to use for your own personal or business use if the content is
filtered. That's utterly ludicrous for a host to do such a thing.

These are just my opinions. I promise I won't respond to your hosting
comments if you decide to respond to this. I know this post has gone WOT.

Anyways, did you get the Remoting going? If you want side help I'd be more
than willing to jump into Breeze and show you hands-on how to do it. Just
let me know off list.

Thanks,

On 2/26/06, dave [EMAIL PROTECTED] wrote:

 I'd call them a good host or any in that matter who makes sure stuff
 (especially beta products) aren't installed on a shared production server.

 If your host lets you put whatever you want up, I would certain run like a
 mofo the other direction.

 ~Dave the disruptor~

 
 From: John C. Bland II [EMAIL PROTECTED]
 Sent: Sunday, February 26, 2006 4:59 PM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: Re: Getting data into Flash 8

 LOL. I'd like to talk to those hosts to see what their issue was. It is
 like
 them telling you no to putting Pear on the server. It isn't their call.
 You
 pay for space...put what you want on the server, as long as it is legal.
 As
 said, it doesn't take the host to install it. Again, amfphp is nothing
 more
 than a set of files you put on your server.

 Although Adobe has the patent I HIGHLY doubt they would nix other amf
 products. That will just limit Flash's use with other technologies which
 would be dumb. There is a free Remoting gateway for .net as well and about
 2
 or 3 for php. They would be dumb to stop it and I say they would never do
 it
 especially since MM was becoming so community driven and Adobe is
 continuing, and bettering it seems (hence the Flex 2 pricing, etc), to
 work
 with the community.

 IMO, Adobe will never tell everyone using amfphp they need to stop. As
 said,
 that would be dumb.

 On 2/26/06, dave  wrote:
 
  As far as the patent goes, yes MM was letting it slide but as we know MM
  is no more and Adobe isn't so lenient with their copyrights, which as
 far as
  i know isn't just remoting it's for the AMF format, so technically
 speaking
  AMFPHP is running on Adobe's patent.
 
  My point to it is, what are all these people going to do that are
 running
  it IF Adobe decides to pull the pull on them using it?
 
  Not trying to dog it just being realistic.
 
   So many times technologies get bad raps due to the lack of knowledge.
  Yeah but that was because of prior problems, I remember several hosts
  telling me no way they'd put it on a shared server one was more like
 HELL
  F*CK NO YOU AINT COMING ANYWHERE NEAR MY F*CKIN SERVERS WITH THAT
  SH*T!! haha
 
  ~Dave the disruptor~
 
  
  From: John C. Bland II
  Sent: Sunday, February 26, 2006 2:50 AM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  Hosts had no control over amfphp. The install process was greatly
  misconstrued by many people. All you had to do was copy 1 folder to your
  site root and point the gateway.php file to your class location. That
 was
  it. As for copyrights, etc MM has widely made it known how they feel
 about
  amfphp which is they are fine with it. They never had an issue with it
 and
  doubt they ever will. AMF goes beyond Flash Remoting so I don't know
  anything about copyrights either company owns.
 
  Yes, a full version has been released and it has GREAT improvements! The
  documentation is improved as well as the error messages. Check it out
  amfphp.org .
 
  So everyone knows, I am in no way affiliated with amphp folks and do
  prefer
  Remoting + CF. I just wanted it to be known that amfphp is just as easy,
  if
  you know PHP. So many times technologies get bad raps due to the lack of
  knowledge.
 
  Just my 2 cents...
 
  On 2/25/06, dave wrote:
  
   I know previously that amfphp wasnt to be used for commercial sites
 and
   that now adobe owns the copyrights on amf which would make a bit risky
  to
   use. Did it every get out of beta? I remember a lot of hosts wouldnt
  allow
   it to run since it was concidered a big security risk at the time.
  
   ~Dave the disruptor~
  
   
   From: John C. Bland II
   Sent: Saturday, February 25, 2006 6:49 PM
   To: CF-Talk
   Subject: Re: Getting data into Flash 8
  
   Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
   than
   CF (which is the method table for restricting access, etc). I wasn't
  going
   to respond but I figured it was nothing but a constructive
 conversation
   anyway. :-)
  
   On 2/24/06, Kevin Aebig wrote:
   
Haha... remoting with PHP

Re: Getting data into Flash 8

2006-02-26 Thread dave
Actually I didn't ask for help with remoting was just responding.

As far as what you say about hosting, I totally disagree. If you are on a 
shared host in a production enviroment you shouldn't be allowed to do beta 
tests or anything even remotely close to that, do that on your dev machine or 
get your own server for your experiments. It's a production machine and not 
just yours but hundreds of other peoples as well and beta and experiments 
aren't for production servers, why would you think they are?  Next time your 
server is crashing just think oh hey I bet that's someone testing their beta 
product or code, I'm sure your customers will be real happy with that answer 
when they ask whey their site is going down a lot, it's bad enough with ppl 
running bad code.

Personally, I don't think it's off topic because we are talking about a 
technical issue and I would be curious to see what others say about it. I have 
been on servers that go down a lot and ppl say oh thats just coldfusion 
server but then I move to an new server and it purrs along with no problems 
then I find out it's because someones experimental code. Of course I could be 
wrong and shame on me for using a shared server and take the lumps and bumps 
but if everyone on a server had commen sense and didn't use it for their 
personal playground they wouldn't be crashing. If that's what you want get a 
dedicated server.

~Dave the disruptor~ 


From: John C. Bland II [EMAIL PROTECTED]
Sent: Sunday, February 26, 2006 8:35 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: Getting data into Flash 8 

I don't want to go into a hosting dispute but any host who controls my
content and/or files is a bad one. That means, any product I develop that is
in beta stage can't be posted on their server which may be my testing
environment. It just contradicts the idea of purchasing X GB's/mo (or mb's)
for you to use for your own personal or business use if the content is
filtered. That's utterly ludicrous for a host to do such a thing.

These are just my opinions. I promise I won't respond to your hosting
comments if you decide to respond to this. I know this post has gone WOT.

Anyways, did you get the Remoting going? If you want side help I'd be more
than willing to jump into Breeze and show you hands-on how to do it. Just
let me know off list.

Thanks,

On 2/26/06, dave  wrote:

 I'd call them a good host or any in that matter who makes sure stuff
 (especially beta products) aren't installed on a shared production server.

 If your host lets you put whatever you want up, I would certain run like a
 mofo the other direction.

 ~Dave the disruptor~

 
 From: John C. Bland II 
 Sent: Sunday, February 26, 2006 4:59 PM
 To: CF-Talk 
 Subject: Re: Getting data into Flash 8

 LOL. I'd like to talk to those hosts to see what their issue was. It is
 like
 them telling you no to putting Pear on the server. It isn't their call.
 You
 pay for space...put what you want on the server, as long as it is legal.
 As
 said, it doesn't take the host to install it. Again, amfphp is nothing
 more
 than a set of files you put on your server.

 Although Adobe has the patent I HIGHLY doubt they would nix other amf
 products. That will just limit Flash's use with other technologies which
 would be dumb. There is a free Remoting gateway for .net as well and about
 2
 or 3 for php. They would be dumb to stop it and I say they would never do
 it
 especially since MM was becoming so community driven and Adobe is
 continuing, and bettering it seems (hence the Flex 2 pricing, etc), to
 work
 with the community.

 IMO, Adobe will never tell everyone using amfphp they need to stop. As
 said,
 that would be dumb.

 On 2/26/06, dave wrote:
 
  As far as the patent goes, yes MM was letting it slide but as we know MM
  is no more and Adobe isn't so lenient with their copyrights, which as
 far as
  i know isn't just remoting it's for the AMF format, so technically
 speaking
  AMFPHP is running on Adobe's patent.
 
  My point to it is, what are all these people going to do that are
 running
  it IF Adobe decides to pull the pull on them using it?
 
  Not trying to dog it just being realistic.
 
   So many times technologies get bad raps due to the lack of knowledge.
  Yeah but that was because of prior problems, I remember several hosts
  telling me no way they'd put it on a shared server one was more like
 HELL
  F*CK NO YOU AINT COMING ANYWHERE NEAR MY F*CKIN SERVERS WITH THAT
  SH*T!! haha
 
  ~Dave the disruptor~
 
  
  From: John C. Bland II
  Sent: Sunday, February 26, 2006 2:50 AM
  To: CF-Talk
  Subject: Re: Getting data into Flash 8
 
  Hosts had no control over amfphp. The install process was greatly
  misconstrued by many people. All you had to do was copy 1 folder to your
  site root and point the gateway.php file to your class location

RE: Getting data into Flash 8

2006-02-26 Thread Kevin Aebig
If you just want to argue for the sake of arguing, than I'll just gracefully
bow out, but if you think that novices have the first clue when it comes
to ECMA... you should try teaching them.

Their implementation was flawed for the first 7 releases and though I
commend them on their achievement, I can't believe that the functionality
they're providing is even comparable to CF, which is what I consider easy.

I'm done and out.

!k

-Original Message-
From: John C. Bland II [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 26, 2006 4:06 PM
To: CF-Talk
Subject: Re: Getting data into Flash 8

You don't have to use nested associate arrays. You can use numerical or
associate. CF Stucts are nothing but associate arrays anyway. If you know
how to use PHP classes then you know at least what an array is. You can
return virtually any type in php to Flash. In the latest version you have
more types you can return (including xml).

http://www.amfphp.org/docs/datatypes.html

So you know, when I first used AMFPHP I didn't know PHP that well. I was the
definition of novice, in terms of PHP. But PHP classes are similar to ECMA
classes so it wasn't hard to catch on. If you aren't a PHP developer then
PHP itself is the problem...not AMFPHP. If you don't know CF then CF is the
problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.

The issue with AMFPHP was the documentation was horrible at that point in
the game (early versions) so the installation portion was a pain. Everything
dealt with server-wide installation on Apache so it was terribly confusing.
Once I figured out it was just a folder everything else was a piece of cake.

On 2/26/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 It depends what kind of implementation you're trying to accomplish. My
 point
 is that for someone without a lot of PHP experience, the nested
 associative
 arrays can intimidating.

 You seem to assume your views based on your own knowledge and skills, and
 that's fine. I judge software based on what an absolute novice would
 think...

 Cheers,

 Kevin

 -Original Message-
 From: John C. Bland II [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 25, 2006 5:48 PM
 To: CF-Talk
 Subject: Re: Getting data into Flash 8

 Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
 than
 CF (which is the method table for restricting access, etc). I wasn't going
 to respond but I figured it was nothing but a constructive conversation
 anyway. :-)

 On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 
  Haha... remoting with PHP is a lot more difficult.
 
  -Original Message-
  From: Andy Matthews [mailto:[EMAIL PROTECTED]
  Sent: February 24, 2006 1:48 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
  Thanks Dave. I'll check that out.
 
  But yeah, I feel that they do make it complicated...too many steps to do
  such a simple thing. How would you feel if you had to go through 6 or 7
  steps just to get some data back from a datasource using ColdFusion.
 
  You'd probably feel like you were coding in PHP eh?
 
  !//--
  andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: dave [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 24, 2006 1:43 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
 
  MM didn't make it complex, you are making it complex, it ain't rocket
  science.
 
  They pretty much do have drag and drop components already built in, you
  can
  have remoting working in under 30 seconds or there is the data connector
  that's built in that can get data from a cfc or web service, again in
  under
  30 seconds.
 
 


http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
 
 


hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
  atid=0snid=sn106itemnumber=13extid=1011923catid=0
 
  I suggest that you check out all the remoting tutorials at
 communitymx.com
  or specifically this one
  http://www.communitymx.com/content/article.cfm?cid=ADF3B
 
  or asfusion.com has quite a bit of info as well.
 
  ~Dave the disruptor~
 
 
 
 
 



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233527
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-25 Thread John C. Bland II
Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step than
CF (which is the method table for restricting access, etc). I wasn't going
to respond but I figured it was nothing but a constructive conversation
anyway. :-)

On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 Haha... remoting with PHP is a lot more difficult.

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: February 24, 2006 1:48 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8

 Thanks Dave. I'll check that out.

 But yeah, I feel that they do make it complicated...too many steps to do
 such a simple thing. How would you feel if you had to go through 6 or 7
 steps just to get some data back from a datasource using ColdFusion.

 You'd probably feel like you were coding in PHP eh?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 24, 2006 1:43 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8


 MM didn't make it complex, you are making it complex, it ain't rocket
 science.

 They pretty much do have drag and drop components already built in, you
 can
 have remoting working in under 30 seconds or there is the data connector
 that's built in that can get data from a cfc or web service, again in
 under
 30 seconds.

 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc

 hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
 atid=0snid=sn106itemnumber=13extid=1011923catid=0

 I suggest that you check out all the remoting tutorials at communitymx.com
 or specifically this one
 http://www.communitymx.com/content/article.cfm?cid=ADF3B

 or asfusion.com has quite a bit of info as well.

 ~Dave the disruptor~




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233474
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-25 Thread dave
I know previously that amfphp wasnt to be used for commercial sites and that 
now adobe owns the copyrights on amf which would make a bit risky to use. Did 
it every get out of beta? I remember a lot of hosts wouldnt allow it to run 
since it was concidered a big security risk at the time.

~Dave the disruptor~ 


From: John C. Bland II [EMAIL PROTECTED]
Sent: Saturday, February 25, 2006 6:49 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: Getting data into Flash 8 

Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step than
CF (which is the method table for restricting access, etc). I wasn't going
to respond but I figured it was nothing but a constructive conversation
anyway. :-)

On 2/24/06, Kevin Aebig  wrote:

 Haha... remoting with PHP is a lot more difficult.

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: February 24, 2006 1:48 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8

 Thanks Dave. I'll check that out.

 But yeah, I feel that they do make it complicated...too many steps to do
 such a simple thing. How would you feel if you had to go through 6 or 7
 steps just to get some data back from a datasource using ColdFusion.

 You'd probably feel like you were coding in PHP eh?

  andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 24, 2006 1:43 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8


 MM didn't make it complex, you are making it complex, it ain't rocket
 science.

 They pretty much do have drag and drop components already built in, you
 can
 have remoting working in under 30 seconds or there is the data connector
 that's built in that can get data from a cfc or web service, again in
 under
 30 seconds.

 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc

 hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
 atid=0snid=sn106itemnumber=13extid=1011923catid=0

 I suggest that you check out all the remoting tutorials at communitymx.com
 or specifically this one
 http://www.communitymx.com/content/article.cfm?cid=ADF3B

 or asfusion.com has quite a bit of info as well.

 ~Dave the disruptor~




 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233477
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-25 Thread John C. Bland II
Hosts had no control over amfphp. The install process was greatly
misconstrued by many people. All you had to do was copy 1 folder to your
site root and point the gateway.php file to your class location. That was
it. As for copyrights, etc MM has widely made it known how they feel about
amfphp which is they are fine with it. They never had an issue with it and
doubt they ever will. AMF goes beyond Flash Remoting so I don't know
anything about copyrights either company owns.

Yes, a full version has been released and it has GREAT improvements! The
documentation is improved as well as the error messages. Check it out
amfphp.org http://www.amfphp.org.

So everyone knows, I am in no way affiliated with amphp folks and do prefer
Remoting + CF. I just wanted it to be known that amfphp is just as easy, if
you know PHP. So many times technologies get bad raps due to the lack of
knowledge.

Just my 2 cents...

On 2/25/06, dave [EMAIL PROTECTED] wrote:

 I know previously that amfphp wasnt to be used for commercial sites and
 that now adobe owns the copyrights on amf which would make a bit risky to
 use. Did it every get out of beta? I remember a lot of hosts wouldnt allow
 it to run since it was concidered a big security risk at the time.

 ~Dave the disruptor~

 
 From: John C. Bland II [EMAIL PROTECTED]
 Sent: Saturday, February 25, 2006 6:49 PM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: Re: Getting data into Flash 8

 Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
 than
 CF (which is the method table for restricting access, etc). I wasn't going
 to respond but I figured it was nothing but a constructive conversation
 anyway. :-)

 On 2/24/06, Kevin Aebig  wrote:
 
  Haha... remoting with PHP is a lot more difficult.
 
  -Original Message-
  From: Andy Matthews [mailto:[EMAIL PROTECTED]
  Sent: February 24, 2006 1:48 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
  Thanks Dave. I'll check that out.
 
  But yeah, I feel that they do make it complicated...too many steps to do
  such a simple thing. How would you feel if you had to go through 6 or 7
  steps just to get some data back from a datasource using ColdFusion.
 
  You'd probably feel like you were coding in PHP eh?
 
   andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: dave [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 24, 2006 1:43 PM
  To: CF-Talk
  Subject: RE: Getting data into Flash 8
 
 
  MM didn't make it complex, you are making it complex, it ain't rocket
  science.
 
  They pretty much do have drag and drop components already built in, you
  can
  have remoting working in under 30 seconds or there is the data connector
  that's built in that can get data from a cfc or web service, again in
  under
  30 seconds.
 
 
 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
 
 
 hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
  atid=0snid=sn106itemnumber=13extid=1011923catid=0
 
  I suggest that you check out all the remoting tutorials at
 communitymx.com
  or specifically this one
  http://www.communitymx.com/content/article.cfm?cid=ADF3B
 
  or asfusion.com has quite a bit of info as well.
 
  ~Dave the disruptor~
 
 
 
 
 



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233496
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Andy Matthews
Honestly? I don't understand any of that. There's not a bit of that
Actionscript that I recognize.

How is any of this code triggered?

Does this have to be run via a web browser or can it be run from within the
IDE?

Can I return a query object to Flash or does it have to be a structure?

I'm sorry to be so dense but WHY does MM have to make this so complex?
Something as simple as connecting to a database should, at this point, be a
drag and drop thing.

Anyway, I greatly appreciate your input to this point, but I'll just have to
come up with another method, passing in the values via the query string,
because I know that works.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 4:16 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


It's using certain development idea's that complicate things for beginners
like using Delegates to handle listeners.

Here's a bare-bones example... comments included. Let me know if any of this
is confusing.

Cheers,

!k


/* - CODE-START --- */
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

// This is gatewayurl. Replace the 'my.serverdomain.com' with the domain of
// the server that is running your CFC
var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway;;

// This is the actual folder path to the service, only it's separated by
// dots instead of slashes.
// So this one, using the domain from above as an example would be
// 'http://my.serverdomain.com/test/services/testService.cfc'
var pathToComponent:String = test.services.testService;

// Initialize the gateway as well as the service
NetDebug.initialize();
var service:Service = new Service(gatewayUrl, null, pathToComponent);

function onClick()
{
var pc:PendingCall = service.testCall();
pc.responder = new RelayResponder(this, handleCallSuccess,
handleCallError);
}
function handleCallSuccess (result:ResultEvent)
{
// Deal with the data as you see fit. If you're unsure what kind of
// data you're getting back, take a
// look at the NetConnection Debugger. It can show you what the data
// looks like as well as the result and the calls
// being made.
}
function handleCallError(fe:FaultEvent)
{
// Look at the FaultEvent Object if you want to show any warnings or
// log the error.
// Flash's docs show some good examples how to easily get to and use
// this object.
}
/* - CODE-END --- */





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233366
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Andy Matthews
By the way, I found a tutorial for Flash remoting that seems to be very
through. The problem is that it's for Flash MX and appears to use AS 2. The
code I've already got which duplicates my movie clips and all that is AS 2
so I'm guessing that I can't combine the two.

http://www.macromedia.com/devnet/flashremoting/articles/cfexample_04.html



!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 9:26 AM
To: CF-Talk
Subject: RE: Getting data into Flash 8


Honestly? I don't understand any of that. There's not a bit of that
Actionscript that I recognize.

How is any of this code triggered?

Does this have to be run via a web browser or can it be run from within the
IDE?

Can I return a query object to Flash or does it have to be a structure?

I'm sorry to be so dense but WHY does MM have to make this so complex?
Something as simple as connecting to a database should, at this point, be a
drag and drop thing.

Anyway, I greatly appreciate your input to this point, but I'll just have to
come up with another method, passing in the values via the query string,
because I know that works.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 4:16 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


It's using certain development idea's that complicate things for beginners
like using Delegates to handle listeners.

Here's a bare-bones example... comments included. Let me know if any of this
is confusing.

Cheers,

!k


/* - CODE-START --- */
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

// This is gatewayurl. Replace the 'my.serverdomain.com' with the domain of
// the server that is running your CFC
var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway;;

// This is the actual folder path to the service, only it's separated by
// dots instead of slashes.
// So this one, using the domain from above as an example would be
// 'http://my.serverdomain.com/test/services/testService.cfc'
var pathToComponent:String = test.services.testService;

// Initialize the gateway as well as the service
NetDebug.initialize();
var service:Service = new Service(gatewayUrl, null, pathToComponent);

function onClick()
{
var pc:PendingCall = service.testCall();
pc.responder = new RelayResponder(this, handleCallSuccess,
handleCallError);
}
function handleCallSuccess (result:ResultEvent)
{
// Deal with the data as you see fit. If you're unsure what kind of
// data you're getting back, take a
// look at the NetConnection Debugger. It can show you what the data
// looks like as well as the result and the calls
// being made.
}
function handleCallError(fe:FaultEvent)
{
// Look at the FaultEvent Object if you want to show any warnings or
// log the error.
// Flash's docs show some good examples how to easily get to and use
// this object.
}
/* - CODE-END --- */







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233370
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Kevin Aebig
Don't sweat it Andy... ActionScript has gotten a pretty steep learning curve
in the last 2 versions and it's a lot to take on. Now on to your
questions...

How is any of this code triggered?
--// The function onClick starts it all off. It triggers the
service.testCall() and sets to functions to handle whether it succeeds or
fails.//--

Does this have to be run via a web browser or can it be run from within the
IDE?
--// Both. It should run successfully in either. //--

Can I return a query object to Flash or does it have to be a structure?
--// It can be either actually. If you return back a Structure, it will look
like an object(associative) array in flash. So in CF, if you returned:

cfset obj = StructNew()
cfset obj.firstname = John
cfset obj.lastname = Doe

Then the result in Flash is:

function handleCallSuccess (result:ResultEvent){

// Dot syntax
trace (result.firstname);
trace (result.lastname);

// Array syntax
trace (result[firstname]);
trace (result[lastname]);
}

If the result is a query object, than you can look to result.items array,
which is the same as a CF array of structs.
//--

Anyway, I greatly appreciate your input to this point, but I'll just have to
come up with another method, passing in the values via the query string,
because I know that works.

--// Honestly, I know it's confusing, but don't give up. Once you understand
it, you'll save a *ton* of time. Remoting is definitely worth the hassle...

Cheers,

Kevin

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: February 24, 2006 9:26 AM
To: CF-Talk
Subject: RE: Getting data into Flash 8

Honestly? I don't understand any of that. There's not a bit of that
Actionscript that I recognize.

How is any of this code triggered?

Does this have to be run via a web browser or can it be run from within the
IDE?

Can I return a query object to Flash or does it have to be a structure?

I'm sorry to be so dense but WHY does MM have to make this so complex?
Something as simple as connecting to a database should, at this point, be a
drag and drop thing.

Anyway, I greatly appreciate your input to this point, but I'll just have to
come up with another method, passing in the values via the query string,
because I know that works.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 4:16 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


It's using certain development idea's that complicate things for beginners
like using Delegates to handle listeners.

Here's a bare-bones example... comments included. Let me know if any of this
is confusing.

Cheers,

!k


/* - CODE-START --- */
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

// This is gatewayurl. Replace the 'my.serverdomain.com' with the domain of
// the server that is running your CFC
var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway;;

// This is the actual folder path to the service, only it's separated by
// dots instead of slashes.
// So this one, using the domain from above as an example would be
// 'http://my.serverdomain.com/test/services/testService.cfc'
var pathToComponent:String = test.services.testService;

// Initialize the gateway as well as the service
NetDebug.initialize();
var service:Service = new Service(gatewayUrl, null, pathToComponent);

function onClick()
{
var pc:PendingCall = service.testCall();
pc.responder = new RelayResponder(this, handleCallSuccess,
handleCallError);
}
function handleCallSuccess (result:ResultEvent)
{
// Deal with the data as you see fit. If you're unsure what kind of
// data you're getting back, take a
// look at the NetConnection Debugger. It can show you what the data
// looks like as well as the result and the calls
// being made.
}
function handleCallError(fe:FaultEvent)
{
// Look at the FaultEvent Object if you want to show any warnings or
// log the error.
// Flash's docs show some good examples how to easily get to and use
// this object.
}
/* - CODE-END --- */







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233373
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Kevin Aebig
Whoa... are you doing this in AS1? Which version of Flash are you using?

!k

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: February 24, 2006 9:57 AM
To: CF-Talk
Subject: RE: Getting data into Flash 8

By the way, I found a tutorial for Flash remoting that seems to be very
through. The problem is that it's for Flash MX and appears to use AS 2. The
code I've already got which duplicates my movie clips and all that is AS 2
so I'm guessing that I can't combine the two.

http://www.macromedia.com/devnet/flashremoting/articles/cfexample_04.html



!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 9:26 AM
To: CF-Talk
Subject: RE: Getting data into Flash 8


Honestly? I don't understand any of that. There's not a bit of that
Actionscript that I recognize.

How is any of this code triggered?

Does this have to be run via a web browser or can it be run from within the
IDE?

Can I return a query object to Flash or does it have to be a structure?

I'm sorry to be so dense but WHY does MM have to make this so complex?
Something as simple as connecting to a database should, at this point, be a
drag and drop thing.

Anyway, I greatly appreciate your input to this point, but I'll just have to
come up with another method, passing in the values via the query string,
because I know that works.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 4:16 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


It's using certain development idea's that complicate things for beginners
like using Delegates to handle listeners.

Here's a bare-bones example... comments included. Let me know if any of this
is confusing.

Cheers,

!k


/* - CODE-START --- */
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

// This is gatewayurl. Replace the 'my.serverdomain.com' with the domain of
// the server that is running your CFC
var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway;;

// This is the actual folder path to the service, only it's separated by
// dots instead of slashes.
// So this one, using the domain from above as an example would be
// 'http://my.serverdomain.com/test/services/testService.cfc'
var pathToComponent:String = test.services.testService;

// Initialize the gateway as well as the service
NetDebug.initialize();
var service:Service = new Service(gatewayUrl, null, pathToComponent);

function onClick()
{
var pc:PendingCall = service.testCall();
pc.responder = new RelayResponder(this, handleCallSuccess,
handleCallError);
}
function handleCallSuccess (result:ResultEvent)
{
// Deal with the data as you see fit. If you're unsure what kind of
// data you're getting back, take a
// look at the NetConnection Debugger. It can show you what the data
// looks like as well as the result and the calls
// being made.
}
function handleCallError(fe:FaultEvent)
{
// Look at the FaultEvent Object if you want to show any warnings or
// log the error.
// Flash's docs show some good examples how to easily get to and use
// this object.
}
/* - CODE-END --- */









~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233374
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread dave
MM didn't make it complex, you are making it complex, it ain't rocket science.

They pretty much do have drag and drop components already built in, you can 
have remoting working in under 30 seconds or there is the data connector that's 
built in that can get data from a cfc or web service, again in under 30 
seconds. 
http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subcatid=0snid=sn106itemnumber=13extid=1011923catid=0

I suggest that you check out all the remoting tutorials at communitymx.com or 
specifically this one http://www.communitymx.com/content/article.cfm?cid=ADF3B 

or asfusion.com has quite a bit of info as well.

~Dave the disruptor~ 


From: Andy Matthews [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 10:27 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

Honestly? I don't understand any of that. There's not a bit of that
Actionscript that I recognize.

How is any of this code triggered?

Does this have to be run via a web browser or can it be run from within the
IDE?

Can I return a query object to Flash or does it have to be a structure?

I'm sorry to be so dense but WHY does MM have to make this so complex?
Something as simple as connecting to a database should, at this point, be a
drag and drop thing.

Anyway, I greatly appreciate your input to this point, but I'll just have to
come up with another method, passing in the values via the query string,
because I know that works.

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 4:16 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

It's using certain development idea's that complicate things for beginners
like using Delegates to handle listeners.

Here's a bare-bones example... comments included. Let me know if any of this
is confusing.

Cheers,

!k

/* - CODE-START --- */
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

// This is gatewayurl. Replace the 'my.serverdomain.com' with the domain of
// the server that is running your CFC
var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway;;

// This is the actual folder path to the service, only it's separated by
// dots instead of slashes.
// So this one, using the domain from above as an example would be
// 'http://my.serverdomain.com/test/services/testService.cfc'
var pathToComponent:String = test.services.testService;

// Initialize the gateway as well as the service
NetDebug.initialize();
var service:Service = new Service(gatewayUrl, null, pathToComponent);

function onClick()
{
 var pc:PendingCall = service.testCall();
 pc.responder = new RelayResponder(this, handleCallSuccess,
handleCallError);
}
function handleCallSuccess (result:ResultEvent)
{
 // Deal with the data as you see fit. If you're unsure what kind of
// data you're getting back, take a
 // look at the NetConnection Debugger. It can show you what the data
// looks like as well as the result and the calls
 // being made.
}
function handleCallError(fe:FaultEvent)
{
 // Look at the FaultEvent Object if you want to show any warnings or
// log the error.
 // Flash's docs show some good examples how to easily get to and use
// this object.
}
/* - CODE-END --- */



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233412
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Andy Matthews
Thanks Dave. I'll check that out.

But yeah, I feel that they do make it complicated...too many steps to do
such a simple thing. How would you feel if you had to go through 6 or 7
steps just to get some data back from a datasource using ColdFusion.

You'd probably feel like you were coding in PHP eh?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 1:43 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


MM didn't make it complex, you are making it complex, it ain't rocket
science.

They pretty much do have drag and drop components already built in, you can
have remoting working in under 30 seconds or there is the data connector
that's built in that can get data from a cfc or web service, again in under
30 seconds.
http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
atid=0snid=sn106itemnumber=13extid=1011923catid=0

I suggest that you check out all the remoting tutorials at communitymx.com
or specifically this one
http://www.communitymx.com/content/article.cfm?cid=ADF3B

or asfusion.com has quite a bit of info as well.

~Dave the disruptor~


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233414
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Kevin Aebig
Haha... remoting with PHP is a lot more difficult.

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: February 24, 2006 1:48 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

Thanks Dave. I'll check that out.

But yeah, I feel that they do make it complicated...too many steps to do
such a simple thing. How would you feel if you had to go through 6 or 7
steps just to get some data back from a datasource using ColdFusion.

You'd probably feel like you were coding in PHP eh?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 1:43 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


MM didn't make it complex, you are making it complex, it ain't rocket
science.

They pretty much do have drag and drop components already built in, you can
have remoting working in under 30 seconds or there is the data connector
that's built in that can get data from a cfc or web service, again in under
30 seconds.
http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
atid=0snid=sn106itemnumber=13extid=1011923catid=0

I suggest that you check out all the remoting tutorials at communitymx.com
or specifically this one
http://www.communitymx.com/content/article.cfm?cid=ADF3B

or asfusion.com has quite a bit of info as well.

~Dave the disruptor~




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233418
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Kevin Graeme
In a lot of cases the drag/drop components for data integration in Flash
actually require MORE work and code than doing it with code alone.

The communitymx stuff is good to go through though!

---
Kevin Graeme
Cooperative Extension Technology Services
University of Wisconsin-Extension
 

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED] 
 Sent: Friday, February 24, 2006 1:43 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8
 
 MM didn't make it complex, you are making it complex, it 
 ain't rocket science.
 
 They pretty much do have drag and drop components already 
 built in, you can have remoting working in under 30 seconds 
 or there is the data connector that's built in that can get 
 data from a cfc or web service, again in under 30 seconds. 
 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn10
 6viewName=Exchange%20Search%20Detailsloc=en_usauthorid=6063
 9501page=0scrollPos=0subcatid=0snid=sn106itemnumber=13ex
 tid=1011923catid=0
 
 I suggest that you check out all the remoting tutorials at 
 communitymx.com or specifically this one 
 http://www.communitymx.com/content/article.cfm?cid=ADF3B 
 
 or asfusion.com has quite a bit of info as well.
 
 ~Dave the disruptor~ 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233419
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Kevin Aebig
Actually I agree. When the Remoting connector first came out, I tried it out
without to much success. Aside from that, considering how often MM changes
around the core framework for AS, I wouldn't put to much faith in their
stability. 

!k

-Original Message-
From: Kevin Graeme [mailto:[EMAIL PROTECTED] 
Sent: February 24, 2006 2:09 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

In a lot of cases the drag/drop components for data integration in Flash
actually require MORE work and code than doing it with code alone.

The communitymx stuff is good to go through though!

---
Kevin Graeme
Cooperative Extension Technology Services
University of Wisconsin-Extension
 

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED] 
 Sent: Friday, February 24, 2006 1:43 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8
 
 MM didn't make it complex, you are making it complex, it 
 ain't rocket science.
 
 They pretty much do have drag and drop components already 
 built in, you can have remoting working in under 30 seconds 
 or there is the data connector that's built in that can get 
 data from a cfc or web service, again in under 30 seconds. 
 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn10
 6viewName=Exchange%20Search%20Detailsloc=en_usauthorid=6063
 9501page=0scrollPos=0subcatid=0snid=sn106itemnumber=13ex
 tid=1011923catid=0
 
 I suggest that you check out all the remoting tutorials at 
 communitymx.com or specifically this one 
 http://www.communitymx.com/content/article.cfm?cid=ADF3B 
 
 or asfusion.com has quite a bit of info as well.
 
 ~Dave the disruptor~ 





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233424
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread dave
Really they don't make it complicated, you may feel that way now but they 
don't. You need to remember that flash with as2 is a VERY VERY powerful tool 
and it will take in any kind of data you can send to it, now if it was just 
made to only work with cfm it might be different but it's not.

Actually when you start up flash you can choose to make a new remoting page 
which has most everything you need already added to the as code you just need 
to fill in your info. Also remoting isn't the only way to get data into flash, 
it's just the frickin best! Flash will take about anything you can come up 
with, as far as cfm is concerned it will take or push back to a plain cfc, a 
wsdl, xml, cfm page, query string, url string, hell cfm even has built in flash 
variables just for connecting to flash w/o remoting.

If you really want to get into it, run out to barnes and noble and grab 
http://www.amazon.com/gp/product/0735713820/sr=8-1/qid=1140813797/ref=pd_bbs_1/104-2614183-0514320?%5Fencoding=UTF8
really good book for coders on using flash.

Seems daunting now but once you learn how much power flash has(especially with 
coldfusion) you'll feel like you are heading out to the lake for a boat ride 
with a bag full of x, a camcorder and a drunk pam anderson..

~Dave the disruptor~ 


From: Andy Matthews [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 2:49 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

Thanks Dave. I'll check that out.

But yeah, I feel that they do make it complicated...too many steps to do
such a simple thing. How would you feel if you had to go through 6 or 7
steps just to get some data back from a datasource using ColdFusion.

You'd probably feel like you were coding in PHP eh?

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 1:43 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

MM didn't make it complex, you are making it complex, it ain't rocket
science.

They pretty much do have drag and drop components already built in, you can
have remoting working in under 30 seconds or there is the data connector
that's built in that can get data from a cfc or web service, again in under
30 seconds.
http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
atid=0snid=sn106itemnumber=13extid=1011923catid=0

I suggest that you check out all the remoting tutorials at communitymx.com
or specifically this one
http://www.communitymx.com/content/article.cfm?cid=ADF3B

or asfusion.com has quite a bit of info as well.

~Dave the disruptor~



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233425
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread dave
i agree to but the point is if he does get it connected that fast and easy 
(which it is for a basic connection) then it makes learning the proper way a 
lot easier and less daunting

~Dave the disruptor~ 


From: Kevin Aebig [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 3:44 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

Actually I agree. When the Remoting connector first came out, I tried it out
without to much success. Aside from that, considering how often MM changes
around the core framework for AS, I wouldn't put to much faith in their
stability. 

!k

-Original Message-
From: Kevin Graeme [mailto:[EMAIL PROTECTED] 
Sent: February 24, 2006 2:09 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

In a lot of cases the drag/drop components for data integration in Flash
actually require MORE work and code than doing it with code alone.

The communitymx stuff is good to go through though!

---
Kevin Graeme
Cooperative Extension Technology Services
University of Wisconsin-Extension

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED] 
 Sent: Friday, February 24, 2006 1:43 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8
 
 MM didn't make it complex, you are making it complex, it 
 ain't rocket science.
 
 They pretty much do have drag and drop components already 
 built in, you can have remoting working in under 30 seconds 
 or there is the data connector that's built in that can get 
 data from a cfc or web service, again in under 30 seconds. 
 http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn10
 6viewName=Exchange%20Search%20Detailsloc=en_usauthorid=6063
 9501page=0scrollPos=0subcatid=0snid=sn106itemnumber=13ex
 tid=1011923catid=0
 
 I suggest that you check out all the remoting tutorials at 
 communitymx.com or specifically this one 
 http://www.communitymx.com/content/article.cfm?cid=ADF3B 
 
 or asfusion.com has quite a bit of info as well.
 
 ~Dave the disruptor~ 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233427
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread Kevin Aebig
...bag full of x, a camcorder and a drunk pam Anderson.

Now that Adobe owns flash, maybe they'll change the tag line to With Flash,
you too can be a rock/porn star.

!k

-Original Message-
From: dave [mailto:[EMAIL PROTECTED] 
Sent: February 24, 2006 2:51 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

Really they don't make it complicated, you may feel that way now but they
don't. You need to remember that flash with as2 is a VERY VERY powerful tool
and it will take in any kind of data you can send to it, now if it was just
made to only work with cfm it might be different but it's not.

Actually when you start up flash you can choose to make a new remoting page
which has most everything you need already added to the as code you just
need to fill in your info. Also remoting isn't the only way to get data into
flash, it's just the frickin best! Flash will take about anything you can
come up with, as far as cfm is concerned it will take or push back to a
plain cfc, a wsdl, xml, cfm page, query string, url string, hell cfm even
has built in flash variables just for connecting to flash w/o remoting.

If you really want to get into it, run out to barnes and noble and grab
http://www.amazon.com/gp/product/0735713820/sr=8-1/qid=1140813797/ref=pd_bbs
_1/104-2614183-0514320?%5Fencoding=UTF8
really good book for coders on using flash.

Seems daunting now but once you learn how much power flash has(especially
with coldfusion) you'll feel like you are heading out to the lake for a boat
ride with a bag full of x, a camcorder and a drunk pam anderson..

~Dave the disruptor~ 


From: Andy Matthews [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 2:49 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

Thanks Dave. I'll check that out.

But yeah, I feel that they do make it complicated...too many steps to do
such a simple thing. How would you feel if you had to go through 6 or 7
steps just to get some data back from a datasource using ColdFusion.

You'd probably feel like you were coding in PHP eh?

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 1:43 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

MM didn't make it complex, you are making it complex, it ain't rocket
science.

They pretty much do have drag and drop components already built in, you can
have remoting working in under 30 seconds or there is the data connector
that's built in that can get data from a cfc or web service, again in under
30 seconds.
http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc
hange%20Search%20Detailsloc=en_usauthorid=60639501page=0scrollPos=0subc
atid=0snid=sn106itemnumber=13extid=1011923catid=0

I suggest that you check out all the remoting tutorials at communitymx.com
or specifically this one
http://www.communitymx.com/content/article.cfm?cid=ADF3B

or asfusion.com has quite a bit of info as well.

~Dave the disruptor~





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233428
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-24 Thread Tony
only you, my friend, could come up with that analogy.  but, i must
admit, SOUNDS LIKE MORE FUN than anything I can come up with :)

tw

On 2/24/06, dave [EMAIL PROTECTED] wrote:
 Seems daunting now but once you learn how much power flash has(especially 
 with coldfusion) you'll feel like you are heading out to the lake for a boat 
 ride with a bag full of x, a camcorder and a drunk pam anderson..

 ~Dave the disruptor~

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233429
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread dave
Don't we have any cute girls in coldfusion we could reference?
Plus, I don't think Kate would so graciously allow the video cam part ;) 

~Dave the disruptor~ 


From: Andy Matthews [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 4:01 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

eck...Pam Anderson?

Say Kate Beckinsale and maybe I'd believe you.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233441
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-24 Thread dave
yeah well you are married! So I shoulda put one in there for the married fellas 
to, ok so it's be like: going over to your friend Steve house to help him clean 
his gutters aka going over to your friend Brads house to go to the titty bar 
but you can't tell the wife that ;)

~Dave the disruptor~ 


From: Tony [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 3:59 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: Getting data into Flash 8 

only you, my friend, could come up with that analogy. but, i must
admit, SOUNDS LIKE MORE FUN than anything I can come up with :)

tw

On 2/24/06, dave  wrote:
 Seems daunting now but once you learn how much power flash has(especially 
 with coldfusion) you'll feel like you are heading out to the lake for a boat 
 ride with a bag full of x, a camcorder and a drunk pam anderson..

 ~Dave the disruptor~



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233442
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread dave
Would have to be like 

If you are gunna get get busted balls out then at least use the new Adobe 
Flash Platform to delivery stunning high resolution footage with less bandwith, 
Sorry Tommy but size does matter, smaller is better on the New Adobe Flash 
Platform

~Dave the disruptor~ 


From: Kevin Aebig [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 3:57 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

...bag full of x, a camcorder and a drunk pam Anderson.

Now that Adobe owns flash, maybe they'll change the tag line to With Flash,
you too can be a rock/porn star.

!k





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233443
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-24 Thread dave
this might be good

http://www.netdrims.com/flashsql.cfm

~Dave the disruptor~ 


From: Andy Matthews [EMAIL PROTECTED]
Sent: Friday, February 24, 2006 10:27 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Getting data into Flash 8 

Honestly? I don't understand any of that. There's not a bit of that
Actionscript that I recognize.

How is any of this code triggered?

Does this have to be run via a web browser or can it be run from within the
IDE?

Can I return a query object to Flash or does it have to be a structure?

I'm sorry to be so dense but WHY does MM have to make this so complex?
Something as simple as connecting to a database should, at this point, be a
drag and drop thing.

Anyway, I greatly appreciate your input to this point, but I'll just have to
come up with another method, passing in the values via the query string,
because I know that works.

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 4:16 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

It's using certain development idea's that complicate things for beginners
like using Delegates to handle listeners.

Here's a bare-bones example... comments included. Let me know if any of this
is confusing.

Cheers,

!k

/* - CODE-START --- */
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

// This is gatewayurl. Replace the 'my.serverdomain.com' with the domain of
// the server that is running your CFC
var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway;;

// This is the actual folder path to the service, only it's separated by
// dots instead of slashes.
// So this one, using the domain from above as an example would be
// 'http://my.serverdomain.com/test/services/testService.cfc'
var pathToComponent:String = test.services.testService;

// Initialize the gateway as well as the service
NetDebug.initialize();
var service:Service = new Service(gatewayUrl, null, pathToComponent);

function onClick()
{
 var pc:PendingCall = service.testCall();
 pc.responder = new RelayResponder(this, handleCallSuccess,
handleCallError);
}
function handleCallSuccess (result:ResultEvent)
{
 // Deal with the data as you see fit. If you're unsure what kind of
// data you're getting back, take a
 // look at the NetConnection Debugger. It can show you what the data
// looks like as well as the result and the calls
 // being made.
}
function handleCallError(fe:FaultEvent)
{
 // Look at the FaultEvent Object if you want to show any warnings or
// log the error.
 // Flash's docs show some good examples how to easily get to and use
// this object.
}
/* - CODE-END --- */



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233449
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Adrian Lynch
You haven't said what the problem is.

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: 23 February 2006 20:18
To: CF-Talk
Subject: Getting data into Flash 8


I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233280
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Andy Matthews
You're right. I was so irritated that I forgot to add that part.

I'm trying to add the variables from the incoming data string to the
idArray. But when I loop over it, each var shows as undefined.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 2:28 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


You haven't said what the problem is.

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: 23 February 2006 20:18
To: CF-Talk
Subject: Getting data into Flash 8


I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233281
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Adrian Lynch
Ahh right so Ted.

If you're doing this in the Flash IDE, it will access the .cfm page via the
file system so you'll get back the CFML code instead of what you expect.

If that's not the problem and if it's failing in the broswer (HTTP, not the
file system), then you should see if it really is returning the string you
think it is.

Another problem which the above will check, is that if you;re running a Dev
Net edition of CF then you'll get some meta tags in the output.


Adrian

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: 23 February 2006 20:34
To: CF-Talk
Subject: RE: Getting data into Flash 8


You're right. I was so irritated that I forgot to add that part.

I'm trying to add the variables from the incoming data string to the
idArray. But when I loop over it, each var shows as undefined.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 2:28 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


You haven't said what the problem is.

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: 23 February 2006 20:18
To: CF-Talk
Subject: Getting data into Flash 8


I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-








~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233283
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-23 Thread John C. Bland II
You probably need to de-url it. Remember, you are loading a URL string so
you'll prob have %20's, etc in there.

On 2/23/06, Adrian Lynch [EMAIL PROTECTED] wrote:

 You haven't said what the problem is.

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: 23 February 2006 20:18
 To: CF-Talk
 Subject: Getting data into Flash 8


 I'm getting so freaking pissed at Flash and at Macromedia I can't see
 straight.

 I don't want to be one of those people who complains about changes in
 programs but for God's sake Macromedia/Adobe leave something alone for at
 LEAST one version!

 That's my rant, but here's my problem. I'm trying to pass data into Flash
 by
 calling a coldfusion page. That CF page returns this string:

 ?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
 WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
 PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
 JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

 The code in Flash which calls this page looks like this (copied from the
 Intertron):

 var myNames:LoadVars = new LoadVars();
 myNames.onLoad = function(success:Boolean) {
 if (success) {
 var idArray = [];
 for (i=0; i12; i++) {
 trace(_root.someVar5);
 idArray.push(eval(_root.someVar+i));
 }
 }
 };
 myNames.sendAndLoad(getNames.cfm, myNames, POST);

 I'm trying to put each of the variables from the data string into an Array
 so that I can loop over that array later in the code. That final part of
 the
 code already works, but I need a valid array that can be fed to it.

 Can someone tell me what I'm doing wrong?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233285
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Andy Matthews
Ah...I gotcha. I am trying to run this from within Flash itself. I hadn't
thought about that Adrian. I'll check that out shortly. Thanks for making
that suggestion.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 2:38 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


Ahh right so Ted.

If you're doing this in the Flash IDE, it will access the .cfm page via the
file system so you'll get back the CFML code instead of what you expect.

If that's not the problem and if it's failing in the broswer (HTTP, not the
file system), then you should see if it really is returning the string you
think it is.

Another problem which the above will check, is that if you;re running a Dev
Net edition of CF then you'll get some meta tags in the output.


Adrian

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: 23 February 2006 20:34
To: CF-Talk
Subject: RE: Getting data into Flash 8


You're right. I was so irritated that I forgot to add that part.

I'm trying to add the variables from the incoming data string to the
idArray. But when I loop over it, each var shows as undefined.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 2:28 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


You haven't said what the problem is.

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: 23 February 2006 20:18
To: CF-Talk
Subject: Getting data into Flash 8


I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-










~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233286
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Kevin Aebig
Here's an even better idea. Why not use a CFC and use Flash remoting to get
the data. It's way more clean...

What version of Flash and CF are you using?

!K

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: February 23, 2006 2:18 PM
To: CF-Talk
Subject: Getting data into Flash 8

I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233296
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Andy Matthews
I have Flash 8 and I'd prefer to use remoting but I don't know how.. I've
looked for tutes on Flash remoting but can't find anything straight-forward.

Do you have any links you'd care to share with the class?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 3:49 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


Here's an even better idea. Why not use a CFC and use Flash remoting to get
the data. It's way more clean...

What version of Flash and CF are you using?

!K

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: February 23, 2006 2:18 PM
To: CF-Talk
Subject: Getting data into Flash 8

I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233297
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Kevin Aebig
O Christmas came early for you this year. Gimme a few and I'll whip up an
example... =]

!k

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: February 23, 2006 3:53 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

I have Flash 8 and I'd prefer to use remoting but I don't know how.. I've
looked for tutes on Flash remoting but can't find anything straight-forward.

Do you have any links you'd care to share with the class?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 3:49 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


Here's an even better idea. Why not use a CFC and use Flash remoting to get
the data. It's way more clean...

What version of Flash and CF are you using?

!K

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: February 23, 2006 2:18 PM
To: CF-Talk
Subject: Getting data into Flash 8

I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-








~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233300
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-23 Thread John C. Bland II
I posted this on a different thread earlier but the site isn't showing it
(maybe because of the attachment) so here it goes again.


Remoting is quite simple but it has be convoluted with a million different
ways of doing it. Download the zip
filehttp://blogs.katapultmedia.com/jb2/assets/resources/km.zip;
has 1 custom class that will handle everything for you. Here is how you use
it.

1) Extract the file (keep the current path structure
[km/connection/Remoting.as]
or simply rename the class
2) Use the following AS:

import km.connection.Remoting;
import mx.utils.Delegate;

//path to your gateway
Remoting.instance.gateway = http://www.mysite.com/flashservices/gateway ;

//path to your cfc's from your site root
Remoting.instance.package = assets.cfcs.; //don't forget the final period

function myResult(result){
//here is your result
}

function myFault(fault){
//here is your fault
}

//make a call to your test.cfc's helloWorld function
Remoting.instance.trigger(test.helloWorld, Delegate.create(this,
myResult), Delegate.create(this, myFault));

//pass a string to your echo.cfc 's sayThis function
Remoting.instance.trigger(echo.sayThis, Delegate.create(this, myResult),
Delegate.create(this, myFault), My name is Andy.);

That will do it for you. The Delegate class is used for scoping purposes.
You can have as many result or fault functions as you would like. This class
isn't done 100% but it gets the job done. I've used it on a couple projects
(Remoting + CF and Remoting + PHP) with no probs @ all. Make sure you have
the Remoting components/classes installed (
http://www.macromedia.com/go/flashremoting).

Hope this helps

On 2/23/06, Andy Matthews [EMAIL PROTECTED] wrote:

 I have Flash 8 and I'd prefer to use remoting but I don't know how.. I've
 looked for tutes on Flash remoting but can't find anything
 straight-forward.

 Do you have any links you'd care to share with the class?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: Kevin Aebig [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 23, 2006 3:49 PM
 To: CF-Talk
 Subject: RE: Getting data into Flash 8


 Here's an even better idea. Why not use a CFC and use Flash remoting to
 get
 the data. It's way more clean...

 What version of Flash and CF are you using?

 !K

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: February 23, 2006 2:18 PM
 To: CF-Talk
 Subject: Getting data into Flash 8

 I'm getting so freaking pissed at Flash and at Macromedia I can't see
 straight.

 I don't want to be one of those people who complains about changes in
 programs but for God's sake Macromedia/Adobe leave something alone for at
 LEAST one version!

 That's my rant, but here's my problem. I'm trying to pass data into Flash
 by
 calling a coldfusion page. That CF page returns this string:

 ?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
 WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
 PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
 JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

 The code in Flash which calls this page looks like this (copied from the
 Intertron):

 var myNames:LoadVars = new LoadVars();
 myNames.onLoad = function(success:Boolean) {
 if (success) {
 var idArray = [];
 for (i=0; i12; i++) {
 trace(_root.someVar5);
 idArray.push(eval(_root.someVar+i));
 }
 }
 };
 myNames.sendAndLoad(getNames.cfm, myNames, POST);

 I'm trying to put each of the variables from the data string into an Array
 so that I can loop over that array later in the code. That final part of
 the
 code already works, but I need a valid array that can be fed to it.

 Can someone tell me what I'm doing wrong?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-






 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233301
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Kevin Aebig
It's using certain development idea's that complicate things for beginners
like using Delegates to handle listeners. 

Here's a bare-bones example... comments included. Let me know if any of this
is confusing.

Cheers, 

!k


/* - CODE-START --- */
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

// This is gatewayurl. Replace the 'my.serverdomain.com' with the domain of
// the server that is running your CFC 
var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway;;

// This is the actual folder path to the service, only it's separated by 
// dots instead of slashes.
// So this one, using the domain from above as an example would be 
// 'http://my.serverdomain.com/test/services/testService.cfc'
var pathToComponent:String = test.services.testService; 

// Initialize the gateway as well as the service
NetDebug.initialize();
var service:Service = new Service(gatewayUrl, null, pathToComponent);

function onClick()
{
var pc:PendingCall = service.testCall();
pc.responder = new RelayResponder(this, handleCallSuccess,
handleCallError);
}
function handleCallSuccess (result:ResultEvent) 
{
// Deal with the data as you see fit. If you're unsure what kind of
// data you're getting back, take a 
// look at the NetConnection Debugger. It can show you what the data
// looks like as well as the result and the calls
// being made.
}
function handleCallError(fe:FaultEvent)
{
// Look at the FaultEvent Object if you want to show any warnings or
// log the error.
// Flash's docs show some good examples how to easily get to and use
// this object.
}
/* - CODE-END --- */



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233303
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Andy Matthews
You rocketh sir...

I've already got the code for the CFC...just need the Flash code.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 3:59 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


O Christmas came early for you this year. Gimme a few and I'll whip up an
example... =]

!k

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: February 23, 2006 3:53 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8

I have Flash 8 and I'd prefer to use remoting but I don't know how.. I've
looked for tutes on Flash remoting but can't find anything straight-forward.

Do you have any links you'd care to share with the class?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 3:49 PM
To: CF-Talk
Subject: RE: Getting data into Flash 8


Here's an even better idea. Why not use a CFC and use Flash remoting to get
the data. It's way more clean...

What version of Flash and CF are you using?

!K

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: February 23, 2006 2:18 PM
To: CF-Talk
Subject: Getting data into Flash 8

I'm getting so freaking pissed at Flash and at Macromedia I can't see
straight.

I don't want to be one of those people who complains about changes in
programs but for God's sake Macromedia/Adobe leave something alone for at
LEAST one version!

That's my rant, but here's my problem. I'm trying to pass data into Flash by
calling a coldfusion page. That CF page returns this string:

?someVar0=Matt DusksomeVar1=The MonkeessomeVar2=TantricsomeVar3=Clay
WalkersomeVar4=ESPNsomeVar5=EMI-SparrowsomeVar6=Columbia
PicturessomeVar7=Verity/ZombasomeVar8=Dexter GreensomeVar9=John
JaszczsomeVar10=Mark WrightsomeVar11=Kurt Carr

The code in Flash which calls this page looks like this (copied from the
Intertron):

var myNames:LoadVars = new LoadVars();
myNames.onLoad = function(success:Boolean) {
if (success) {
var idArray = [];
for (i=0; i12; i++) {
trace(_root.someVar5);
idArray.push(eval(_root.someVar+i));
}
}
};
myNames.sendAndLoad(getNames.cfm, myNames, POST);

I'm trying to put each of the variables from the data string into an Array
so that I can loop over that array later in the code. That final part of the
code already works, but I need a valid array that can be fed to it.

Can someone tell me what I'm doing wrong?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-










~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233304
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-23 Thread John C. Bland II
Do you mean my example above is too complex? Delegates are super simple.

Delegate.create(scope, functionname)

You might not want to import the entire remoting and rpc package since
you're not using all of it. That is extra bloat that isn't needed.

On 2/23/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 It's using certain development idea's that complicate things for beginners
 like using Delegates to handle listeners.

 Here's a bare-bones example... comments included. Let me know if any of
 this
 is confusing.

 Cheers,

 !k


 /* - CODE-START --- */
 import mx.remoting.*;
 import mx.rpc.*;
 import mx.remoting.debug.NetDebug;

 // This is gatewayurl. Replace the 'my.serverdomain.com' with the domain
 of
 // the server that is running your CFC
 var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway
 ;

 // This is the actual folder path to the service, only it's separated by
 // dots instead of slashes.
 // So this one, using the domain from above as an example would be
 // 'http://my.serverdomain.com/test/services/testService.cfc'
 var pathToComponent:String = test.services.testService;

 // Initialize the gateway as well as the service
 NetDebug.initialize();
 var service:Service = new Service(gatewayUrl, null, pathToComponent);

 function onClick()
 {
 var pc:PendingCall = service.testCall();
 pc.responder = new RelayResponder(this, handleCallSuccess,
 handleCallError);
 }
 function handleCallSuccess (result:ResultEvent)
 {
 // Deal with the data as you see fit. If you're unsure what kind
 of
 // data you're getting back, take a
 // look at the NetConnection Debugger. It can show you what the
 data
 // looks like as well as the result and the calls
 // being made.
 }
 function handleCallError(fe:FaultEvent)
 {
 // Look at the FaultEvent Object if you want to show any warnings
 or
 // log the error.
 // Flash's docs show some good examples how to easily get to and
 use
 // this object.
 }
 /* - CODE-END --- */



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233312
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-23 Thread Kevin Aebig
Delegates might be simple to those of us comfortable with ActionScript, but
I always try and keep it extremely cut and dry so that the example doesn't
try to show more that what it should.

Anyhow, I think both were pretty well the same, so no big deal. On a side
note, I actually always err on the side of caution when I do examples for
people. If he decides to add more advanced or in-depth features, than he
won't hit the wall of Why won't this work? when all it would take is an
import... plus because those classes are pretty lightweight, no harm no
foul.

Cheers,

Kevin 

-Original Message-
From: John C. Bland II [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 23, 2006 5:58 PM
To: CF-Talk
Subject: Re: Getting data into Flash 8

Do you mean my example above is too complex? Delegates are super simple.

Delegate.create(scope, functionname)

You might not want to import the entire remoting and rpc package since
you're not using all of it. That is extra bloat that isn't needed.

On 2/23/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 It's using certain development idea's that complicate things for beginners
 like using Delegates to handle listeners.

 Here's a bare-bones example... comments included. Let me know if any of
 this
 is confusing.

 Cheers,

 !k


 /* - CODE-START --- */
 import mx.remoting.*;
 import mx.rpc.*;
 import mx.remoting.debug.NetDebug;

 // This is gatewayurl. Replace the 'my.serverdomain.com' with the domain
 of
 // the server that is running your CFC
 var gatewayUrl:String = http://my.serverdomain.com/flashservices/gateway
 ;

 // This is the actual folder path to the service, only it's separated by
 // dots instead of slashes.
 // So this one, using the domain from above as an example would be
 // 'http://my.serverdomain.com/test/services/testService.cfc'
 var pathToComponent:String = test.services.testService;

 // Initialize the gateway as well as the service
 NetDebug.initialize();
 var service:Service = new Service(gatewayUrl, null, pathToComponent);

 function onClick()
 {
 var pc:PendingCall = service.testCall();
 pc.responder = new RelayResponder(this, handleCallSuccess,
 handleCallError);
 }
 function handleCallSuccess (result:ResultEvent)
 {
 // Deal with the data as you see fit. If you're unsure what kind
 of
 // data you're getting back, take a
 // look at the NetConnection Debugger. It can show you what the
 data
 // looks like as well as the result and the calls
 // being made.
 }
 function handleCallError(fe:FaultEvent)
 {
 // Look at the FaultEvent Object if you want to show any warnings
 or
 // log the error.
 // Flash's docs show some good examples how to easily get to and
 use
 // this object.
 }
 /* - CODE-END --- */



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233324
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-23 Thread Paul Hastings
Kevin Aebig wrote:
 // 'http://my.serverdomain.com/test/services/testService.cfc'
 var pathToComponent:String = test.services.testService; 

it's kind of important to note that the CFC has to be web accessible, not a
mapped dir.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233326
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-23 Thread John C. Bland II
I understand what you are saying and agree but it shocked me to read the
part about Delegates and your example through service, pendingcall, and
relayresponder at him. The use of those 3 together seemed way more advanced
for him to learn than a Delegate.

All is well though. I guess it is preference. So you know, if you use custom
classes I strongly suggest you not import those classes into every class you
need remoting functionality. It will add tons of unneccessary bloat, hence
the creation of the Singleton I posted.

To each his own...hope he gets it going either way.

On 2/23/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 Delegates might be simple to those of us comfortable with ActionScript,
 but
 I always try and keep it extremely cut and dry so that the example doesn't
 try to show more that what it should.

 Anyhow, I think both were pretty well the same, so no big deal. On a side
 note, I actually always err on the side of caution when I do examples for
 people. If he decides to add more advanced or in-depth features, than he
 won't hit the wall of Why won't this work? when all it would take is an
 import... plus because those classes are pretty lightweight, no harm no
 foul.

 Cheers,

 Kevin

 -Original Message-
 From: John C. Bland II [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 23, 2006 5:58 PM
 To: CF-Talk
 Subject: Re: Getting data into Flash 8

 Do you mean my example above is too complex? Delegates are super simple.

 Delegate.create(scope, functionname)

 You might not want to import the entire remoting and rpc package since
 you're not using all of it. That is extra bloat that isn't needed.

 On 2/23/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 
  It's using certain development idea's that complicate things for
 beginners
  like using Delegates to handle listeners.
 
  Here's a bare-bones example... comments included. Let me know if any of
  this
  is confusing.
 
  Cheers,
 
  !k
 
 
  /* - CODE-START --- */
  import mx.remoting.*;
  import mx.rpc.*;
  import mx.remoting.debug.NetDebug;
 
  // This is gatewayurl. Replace the 'my.serverdomain.com' with the domain
  of
  // the server that is running your CFC
  var gatewayUrl:String = 
 http://my.serverdomain.com/flashservices/gateway
  ;
 
  // This is the actual folder path to the service, only it's separated by
  // dots instead of slashes.
  // So this one, using the domain from above as an example would be
  // 'http://my.serverdomain.com/test/services/testService.cfc'
  var pathToComponent:String = test.services.testService;
 
  // Initialize the gateway as well as the service
  NetDebug.initialize();
  var service:Service = new Service(gatewayUrl, null, pathToComponent);
 
  function onClick()
  {
  var pc:PendingCall = service.testCall();
  pc.responder = new RelayResponder(this, handleCallSuccess,
  handleCallError);
  }
  function handleCallSuccess (result:ResultEvent)
  {
  // Deal with the data as you see fit. If you're unsure what kind
  of
  // data you're getting back, take a
  // look at the NetConnection Debugger. It can show you what the
  data
  // looks like as well as the result and the calls
  // being made.
  }
  function handleCallError(fe:FaultEvent)
  {
  // Look at the FaultEvent Object if you want to show any
 warnings
  or
  // log the error.
  // Flash's docs show some good examples how to easily get to and
  use
  // this object.
  }
  /* - CODE-END --- */
 
 
 
 



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233327
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54