[flexcoders] Flex 1.5/Flash Remoting Gateway Problem

2007-04-26 Thread oiland_barry
Hi,

It's been a while since I posted on the group, I've been lucky
enough to not have many big problems while developing with Flex in the
past 6 months!

But last week whilst testing a significant section of my flex
application, it was discovered that the flash client was having problems
receiving a result from the flash remoting gateway on certain occasions.

This is a BIG problem, especially as I am coming to the end of the
contract with my employer, and I'm trying to get the project wrapped up
for next week!

I am developing in Flex 1.5 (using remote objects to consume the
Coldfusion CFCs), with Coldfusion MX 7.0.2 running in the back end, and
MS SQL 2005 (although i dont think the databse is anything to do with
the problem), on a Windows Server 2003 SP2 server.

I have ruled out a number of issues that I believe could be the problem,
including:

   Network connections (the flash client can communicate with the server
no problem, initially!)

   Coldfusion (the CFC method is being invoked successfully, and
returning the result to - I dump the result to a html log file)

   Flash Remoting Gateway (The log files confirm that the gateway
completes sending the result back to the )

   Flash Client (I have tried replicating the steps followed on a number
of different client machines, all fail at the same point)

When the Flex application initially loads, it invokes 23 methods in the
Coldfusion CFC, which returns all the results with no problem.

The user then adds some data to the form on the flash client (the Flex
application).  The form contains a combo box that the user selects a
category from.  When the category changes, a CFC method is invoked (one
of the 23 that was invoked only moments earlier), which returns a
Boolean value, to check if the category has any sub categories.

From time to time (and more often than not) when this method is invoked,
the flash client just sits idle with the timer icon spinning around (it
is waiting for a response from the flash remoting gateway).

I have checked the flash remoting gateway log files, and the result is
being returned by the gateway.  It seems that the flash client is not
receiving the response.

There are many other sections in the application where flex/flash
clients consume Coldfusion CFC's, again they can be temperamental and
hang, waiting for a response indefinitely!

I believe my Flex application is ok, as it successfully invokes the CFC
method without any problems; it just seems to hang on certain occasions.
Maybe the flash remoting gateway is not correctly configured?

I also thought it might be a http connection issue with the server, but
as far as i know, the CFCs are invoked, the result is sent back, and the
http connection is closed.

I also thought it might have been a session-based issue with the
Coldfusion CFCs, but i think i have ruled that out.

If anyone could help me I would be in serious debt to them!  As I said I
am coming to the end of this project and I don't need this problem
right now.  I have tired ruling out every possibility, but to no end can
I find the source of the problem.

Regards,

Barry

p.s. here is a dump of the flash remoting gateway log when the flex
application is first loaded in the browser, and the result of the first
CFC method invocation...

4/26 12:22:41 [INFO] RemoteObject_AMF: Creating Service for
remoting.plants
4/26 12:22:41 [INFO] RemoteObject_AMF: Creating gateway connection for
http://carndevserver:8500/flashservices/gateway
4/26 12:22:41 [INFO] RemoteObject_AMF: Successfully created Service
4/26 12:22:41 [INFO] RemoteObject_AMF: Creating Service for
remoting.miscTables
4/26 12:22:41 [INFO] RemoteObject_AMF: Successfully created Service
ERROR: ComboBox dataProvider must be instance of Array, ResultSet, or
implement the DataProvider methods
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetSoilTypes on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetDurabilities on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetGenusNames on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetSpeciesNames on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetCategories on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetColours on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetHardiness on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetComposts on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetGrowthHabits on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetToxicities on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetCommonNames on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetLightLevels on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetPositions on
remoting.miscTables
4/26 12:22:42 [INFO] RemoteObject_AMF: Invoking rgetSeasons on

[flexcoders] image upload with flex 1.5

2006-07-11 Thread oiland_barry
Hi all, i need to get an image upload app working ASAP.  Im using Flex
1.5 but all the posts i find on the net dont seem to be getting me any
closer to starting, never mind getting the app completed!

Hope someone will have some help.

Barry






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Running Dreamweaver Flex builder at the same time

2006-05-14 Thread oiland_barry



Hi all,

i was wondering if anybody knows how to run both flex builder and
dreamweaver at the same time on one machine.

If i have flex builder open and i open the dreamweaver shortcut, it
just seems to point to the instance of flex builder already running.

Any help would be great, im sure there is a way round this, i just
havent figured it out.

Barry











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Re: Running Dreamweaver Flex builder at the same time

2006-05-14 Thread oiland_barry



Yeah im talking about 1.5, so theres no way at all to get both of them
running, i tried running it under a different username in win XP, but
no joy!

Thats a shame if i cant do it, i was going to move to flex 2.0, but
decided not to cos i was having too many migration problems, but
perhaps i should have made the move :(

Oh well, thanks anyways

Barry

--- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED]
wrote:

 Are you talking about Flex Builder 1.5?
 
 Flex Builder 1.5 is based on DW so you won't be able to have both
running.
 
 João Fernandes
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of oiland_barry
 Sent: Sun 14-May-06 1:49 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Running Dreamweaver  Flex builder at the same
time
 
 Hi all,
 
 i was wondering if anybody knows how to run both flex builder and
 dreamweaver at the same time on one machine.
 
 If i have flex builder open and i open the dreamweaver shortcut, it
 just seems to point to the instance of flex builder already running.
 
 Any help would be great, im sure there is a way round this, i just
 havent figured it out.
 
 Barry
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 Web site design development
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  Computer software development
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
  Software design and development
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
  
 Macromedia flex
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
  Software development best practice
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
  
 
 
 
 YAHOO! GROUPS LINKS 
 
 
  *  Visit your group flexcoders
http://groups.yahoo.com/group/flexcoders  on the web.
   
 *  To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
   
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 
 
 
 












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Flex Builder 1.5 Design view problems/constant crashing

2006-03-31 Thread oiland_barry
Hi all,

i am trying desperately to develop a Flex app in 1.5 but when i get to
a certain point of adding controls, the whole things just seems to
crash over and over again!

the mxml file is only 35kb, and there ar only 800 lines of code.  Is
this more than flex builder can handle???

I have tried to creat seperate components for my application, and then
use the local tag to embed them in the main mxml file, but i get
problems trying to access controls and using data models etc.

Perhaps there is a bug with flex builder 1.5, i am at my wits end here
because i cant develop any more as the damn program just keeps
freezing up when i try to view the flex app in Design view!

I was going to use Flex 2.0, but i was having the same problems with
components and being able to access data models etc. so i decided to
continue with Flex 1.5 instead!

Any help, or advice would be great!

Thanks,

Barry






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Flex 1.5 to 2.0 migration problem

2006-03-26 Thread oiland_barry
I have performed a 1.5 to 2.0 migration and i have almost got things
working after alot of headaches (im really wondering if its worth my
while to migrate!).

I have got rid of all my errors, but when i run the application i get
the following error:

  ReferenceError: Error #1069: Property application not found on
  complantAdd and there is no default value
at _complantAddWatcherSetupUtil/setup()
at complantAdd/complantAdd::_complantAdd_bindingsSetup()
at complantAdd/initialize()

I have a main mxml application file in which i use an instance of a
local mxml component:
  local:complantAdd xmlns:local=* id=plantAdd /

In this component, i have a combobox which i bind the contents of a
data model to (the model 'modGen' is defined in the main mxml
application): 
  mx:ComboBox id=cmbGenus labelField=genericName 
   dataProvider={mx.core.Application.application.modGen}/


I guess the error is because of the binding above, but im totally lost
and it starting to make me think that i should just stick with Flex
1.5!  Maybe this is not enough information for someone to comment on,
if more is needed (like a code listing) then please let me know.

Please help anybody, quickly would be good... cos i cant spend much
more time on getting nothing done, im getting paid by the hour and not
able to produce anything!







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Flex builder 1.5 or 2.0

2006-02-27 Thread oiland_barry
Hello everyone,

im new to the group and only just started using the whole Flex
environment and language in the past fewe weeks.  I can see the
advantages of using Flex for the GUI's that my system will use and
using Coldfusion cfc's to manipulate my database and data as a whole.

I am using Coldfusion to develop my main system and i intend to use
Flex to create some powerful GUI's.  However i have been having some
major problems getting to two to work together (cf/flex compiler
merge, Coldfusion cfc's as remote objects).

I have been using Flex Builder 1.5 for a few weeks now and im starting
to build what will be a pretty sophisticated application.  I have been
having a few problems with getting Coldfusion cfc/Remote Objects
working, thankfully i have got a quick fix so i can continue
developing my application for the time being, but i need to get this
problem sorted before i can deploy the system for production use.

My main question is what are the advantages of using Flex Builder 2.0
over 1.5, and indeed the Flex 2.0 language over 1.5.  I was about to
install Flex Builder 2.0 on my laptop to develop the system, but i
just got the remote objects/cfc's working so i thought that if it aint
broke dont fix it!

I am running the cf and flex as integrated JRun 4 servers on one
machine on my network, and i am developing and viewing the cf and flex
applications on my laptop.

Any comments would be helpful.

Thanks,

Barry





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Coldfusion cfc's and Flex Remote Objects

2006-02-27 Thread oiland_barry
Hi,

i have successfully got this working (almost!) at long last. I am
running both my cf and flex as iintegrated JRun servers on my server
machine (port 8700 and 8500 respectively) and i am developing and
accessing the mxml files from my laptop.

I can get the echo cfc to work ok, and i also placed another cfc in
the same directory (plants.cfc) which seems to let me get flex and cf
communicating.

My problem is that when i try to use another cfc in another directory
(not \flex\remoting\samples\) flex doesnt seem to be able to
communicate at all, it just sits there with the busy symbol.

Im not sure whats going on, but i am sure that i have added the
appropriate code in the right places and all the configuration files
(flex's flex-config.xml, cf's gateway-config.xml) seem to be in order!

Its just not working at all and i cant continue developing until i can
reliably have access to the cfc's!

Also, the named remote objects are giving em a bit of trouble...
should i be pointing to the server name or localhost. When i use
localhost, flex doesnt seem to be able to talk to the cfc's, but when
i use the servers name (advent) it seems to work fine.

Basically i cant get my flex to talk to my cfc's when they are stored
in my main cfc directory. I have restarted both the cf and flex
servers on many occasions and i have also restarted the whole machine
on a few occasions just to be sure everything is initialised properly.
I'll give it another restart now just to see.

Please help,

Barry






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Coldfusion cfc's and Flex Remote Objects

2006-02-27 Thread oiland_barry
Ok this is so weird...

I have got both cfcs in different directories underneath the cf
webroot directory 

remoting (working) - C:\CFusionMX7\wwwroot\remoting\samples
ppd (not working) - C:\CFusionMX7\wwwroot\ppd\components

I call the cfc's from my flex app like this (i am not using named RO's
any more)...

mx:RemoteObject 
  id=miscCFC
  endpoint=http://localhost:8500/flashservices/gateway;
  source=remoting.samples.miscTables
  fault=doFault(event)
  showBusyCursor=true
/mx:RemoteObject

In the cf gateway-config.xml file (C:\CFusionMX7\wwwroot\WEB-INF\) i
have the following code inside
the gateway-configsecuritywhitelistnamed element (to allow
access to my components)...

object name=misc
  sourceremoting.samples.miscTables/source
/object

object name=misc2
  sourceppd.components.miscTables/source
/object

Inside the Flex flex-config.xml file
(C:\Flex\jrun4\servers\default\ppddev\WEB-INF\flex\) i have the following 
code inside the flex-configremote-objectswhitelistnamed
element (to bypass the bug Flex 1.5 has)...

object name=misc
  sourcefoo.bar3/source
/object

object name=misc2
  sourcefoo.bar5/source
/object

I decided to install the cf and Flex servers on my laptop as i need to
do get some development done while im on the road.
I have changed the flex config file to allow this.
Flex's flash gateway now points to the cf flash remoting gateway
amf-gatewayhttp://localhost:8500/flashservices/gateway/amf-gateway

I have a crossdomain.xml document in the wwwroot of the cf server
which contains the following code...

cross-domain-policy
  allow-access-from domain=* /
/cross-domain-policy

Is this the crossdomain policy file you are talking about (is this
what is needed?)

I dont think this is really relevant at the minute as i am running
both my cf/flex servers locally (but might come in 
useful when i deploy the system for use in the real world!)

When you say about using the servername in the connection URL, i dont
think i am having any problems with this at the 
minute as the remoting cfc is working fine, its just the ppd cfc
doesnt seem to want to play!

I was also wondering if you had any idea about merging cf/flex so that
i can have just one JRun instance that will serve
up cfm pages (this is what the main system runs on) with mxml embedded
within them.  Also, is there a way to compile the mxml
files to flash files (.swf) so that i can just embed the flash file,
or is this even necessary?

I hope this is enough information, im not sure what else to tell you,
if you need any more info let me know...
i think i could have written my whole flex by the time i got the info
for this post lol

Thanks for all your help (and sorry for the long post!!!)

Barry

--- In flexcoders@yahoogroups.com, Dekayd Media Inc. [EMAIL PROTECTED] 
wrote:

 Is your main CFC directory under your webroot or is it setup in the CF
 Admin?
 
 Did you setup a crossdomain policy file on your coldfusion instance?
 
 If your cfc's are on your server then you should be using your
servername in
 the connection URL or a domain name if you have one pointed at that
server.
 
 
 
 --Kelly
 
 
 
 
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of oiland_barry
 Sent: Monday, February 27, 2006 8:11 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Coldfusion cfc's and Flex Remote Objects
 
 Hi,
 
 i have successfully got this working (almost!) at long last. I am
 running both my cf and flex as iintegrated JRun servers on my server
 machine (port 8700 and 8500 respectively) and i am developing and
 accessing the mxml files from my laptop.
 
 I can get the echo cfc to work ok, and i also placed another cfc in
 the same directory (plants.cfc) which seems to let me get flex and cf
 communicating.
 
 My problem is that when i try to use another cfc in another directory
 (not \flex\remoting\samples\) flex doesnt seem to be able to
 communicate at all, it just sits there with the busy symbol.
 
 Im not sure whats going on, but i am sure that i have added the
 appropriate code in the right places and all the configuration files
 (flex's flex-config.xml, cf's gateway-config.xml) seem to be in order!
 
 Its just not working at all and i cant continue developing until i can
 reliably have access to the cfc's!
 
 Also, the named remote objects are giving em a bit of trouble...
 should i be pointing to the server name or localhost. When i use
 localhost, flex doesnt seem to be able to talk to the cfc's, but when
 i use the servers name (advent) it seems to work fine.
 
 Basically i cant get my flex to talk to my cfc's when they are stored
 in my main cfc directory. I have restarted both the cf and flex
 servers on many occasions and i have also restarted the whole machine
 on a few occasions just to be sure everything is initialised properly.
 I'll give it another restart now just to see.
 
 Please

[flexcoders] Re: Coldfusion cfc's and Flex Remote Objects

2006-02-27 Thread oiland_barry
Hi,

i can access the cfcs over http no bother.

i have also stopped using named RO's, its the same difference, one
works in one directory and another doesnt!

Heres a full description of my situation...

I have got both cfcs in different directories underneath the cf
webroot directory 

remoting (working) - C:\CFusionMX7\wwwroot\remoting\samples
ppd (not working) - C:\CFusionMX7\wwwroot\ppd\components

I call the cfc's from my flex app like this (i am not using named RO's
any more)...

mx:RemoteObject 
  id=miscCFC
  endpoint=http://localhost:8500/flashservices/gateway;
  source=remoting.samples.miscTables
  fault=doFault(event)
  showBusyCursor=true
/mx:RemoteObject

In the cf gateway-config.xml file (C:\CFusionMX7\wwwroot\WEB-INF\) i
have the following code inside
the gateway-configsecuritywhitelistnamed element (to allow
access to my components)...

object name=misc
  sourceremoting.samples.miscTables/source
/object

object name=misc2
  sourceppd.components.miscTables/source
/object

Inside the Flex flex-config.xml file
(C:\Flex\jrun4\servers\default\ppddev\WEB-INF\flex\) i have the following 
code inside the flex-configremote-objectswhitelistnamed
element (to bypass the bug Flex 1.5 has)...

object name=misc
  sourcefoo.bar3/source
/object

object name=misc2
  sourcefoo.bar5/source
/object

I decided to install the cf and Flex servers on my laptop as i need to
do get some development done while im on the road.
I have changed the flex config file to allow this.
Flex's flash gateway now points to the cf flash remoting gateway
amf-gatewayhttp://localhost:8500/flashservices/gateway/amf-gateway

I have a crossdomain.xml document in the wwwroot of the cf server
which contains the following code...

cross-domain-policy
  allow-access-from domain=* /
/cross-domain-policy

Is this the crossdomain policy file you are talking about (is this
what is needed?)

I dont think this is really relevant at the minute as i am running
both my cf/flex servers locally (but might come in 
useful when i deploy the system for use in the real world!)

When you say about using the servername in the connection URL, i dont
think i am having any problems with this at the 
minute as the remoting cfc is working fine, its just the ppd cfc
doesnt seem to want to play!

I was also wondering if you had any idea about merging cf/flex so that
i can have just one JRun instance that will serve
up cfm pages (this is what the main system runs on) with mxml embedded
within them.  Also, is there a way to compile the mxml
files to flash files (.swf) so that i can just embed the flash file,
or is this even necessary?

I hope this is enough information, im not sure what else to tell you,
if you need any more info let me know...
i think i could have written my whole flex by the time i got the info
for this post lol

Thanks for all your help

Barry

--- In flexcoders@yahoogroups.com, Benoit Hediard [EMAIL PROTECTED] wrote:

 First thing to check is to see if you can call your cfcs with a
regular http
 call :
 http://localhost/flex/remoting/samples/SomeService.cfc
 
 To start with Flex/CF connectivity, do not use named remote objects.
 Simply use the default ColdFusion destination (defined when
installing the
 updater) + source attribute.
 
 Ex.:
 mx:RemoteObject id=someService
   destination=ColdFusion
   source=flex.remoting.samples.SomeService /
 
 Benoit Hediard





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Flex builder 1.5 or 2.0

2006-02-27 Thread oiland_barry
I guess the question i have to as is, if i install Flex 2.0 and Flex
builder 2.0, will my exiting apps work ok?

I have been having a few problems with RO's and cColdfusion cfc's,
maybe the 2.0 could solve them???

Thanks,

Barry

--- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED]
wrote:

 Flex Builder 2 has so many neat little tweaks that make coding life a
 lot smoother. Just from personal preference...
 
 Alt+ (left-arrow/right-arrow)
 
 Control-click on code
 
 Shift-f2
 
 Control-O (huge timesaver)
 
 Control-shift-T
 
 
 Besides the builder, Flex2 is a lot cleaner in figuring stuff out -
 and a lot more functionality has been standardized  added. It is still
 in beta, so there are some hiccups but I've found it's worth the minor
 issues to upgrade most of my apps.
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 In the game of chess, it's important to never let your opponent see
 your pieces.
 
 HealthGrades http://www.healthgrades.com/ : Guiding America to Better
 Healthcare(tm)
 
 NASDAQ: HGRD
 
 w  (720) 963-3832
 
 c  (707) 761-0868
 
 [EMAIL PROTECTED] 
 
 _
 
 The message contains confidential and/or legally privileged information
 and is intended for use only by the indicated addressee.  If you are not
 the named addressee you should not disseminate, distribute, or copy this
 e-mail. Please notify the sender immediately by e-mail if you have
 received this e-mail by mistake and delete this e-mail from your system.
 E-mail transmissions cannot be guaranteed to be secure or error-free as
 information could be intercepted, corrupted, lost, destroyed,arrive late
 or incomplete, or contain viruses. The sender therefore does not accept
 liability for any errors or omissions in the contents of this message
 which arise as a result of e-mail transmission. If verification is
 required please request a hard-copy version.
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of oiland_barry
 Sent: Monday, February 27, 2006 8:06 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex builder 1.5 or 2.0
 
  
 
 Hello everyone,
 
 im new to the group and only just started using the whole Flex
 environment and language in the past fewe weeks.  I can see the
 advantages of using Flex for the GUI's that my system will use and
 using Coldfusion cfc's to manipulate my database and data as a whole.
 
 I am using Coldfusion to develop my main system and i intend to use
 Flex to create some powerful GUI's.  However i have been having some
 major problems getting to two to work together (cf/flex compiler
 merge, Coldfusion cfc's as remote objects).
 
 I have been using Flex Builder 1.5 for a few weeks now and im starting
 to build what will be a pretty sophisticated application.  I have been
 having a few problems with getting Coldfusion cfc/Remote Objects
 working, thankfully i have got a quick fix so i can continue
 developing my application for the time being, but i need to get this
 problem sorted before i can deploy the system for production use.
 
 My main question is what are the advantages of using Flex Builder 2.0
 over 1.5, and indeed the Flex 2.0 language over 1.5.  I was about to
 install Flex Builder 2.0 on my laptop to develop the system, but i
 just got the remote objects/cfc's working so i thought that if it aint
 broke dont fix it!
 
 I am running the cf and flex as integrated JRun 4 servers on one
 machine on my network, and i am developing and viewing the cf and flex
 applications on my laptop.
 
 Any comments would be helpful.
 
 Thanks,
 
 Barry
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexw5=Software+development