RE: [flexcoders] Determine if a Class implements an Interface

2006-08-15 Thread Gordon Smith












I'll bet that new'ing an instance of the
class and using the 'is' operator on the instance will be faster than calling
describeType() on the class and checking for an 
tag.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
 Chotin
Sent: Tuesday, August 15, 2006
9:04 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Determine if a Class implements an Interface



 









describeType should be able to get you that info I think.

 









From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of thunderstumpgesatwork
Sent: Tuesday, August 15, 2006
5:42 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Determine if
a Class implements an Interface



 








Hi all,

I often use 

if (obj is MyClassOrInterface) 
{
// do whatever
}

but it appears that only works with Instances not Classes. With just a
Class, how can I tell if that class implements a particular interface
or is of a particular base type? Do I have to create an instance of
it and check the instance? I'm sure there must be another way...

thanks in advance,
Thunder
__

var currentDomain:ApplicationDomain = ApplicationDomain.currentDomain;
var psClass:Class = null;
if (currentDomain.hasDefinition(sPropClass))
{
psClass = Class(currentDomain.getDefinition(sPropClass));
}

// below statement doesn't work!
if ( (psClass != null) && (psClass is IPropertySheet) )
{
// make a new one of these classes.
}














__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Mika Kiljunen












Currently using HTTP Services & Remote
Objects …If ya gonna use ‘em, abuse ‘em J

We do use web services also, but they are
hidden behind Java POJOs so Flex sees no Web services.

 

That is Flex 1.5 though. Still planning to
move on to Flex 2.0 as soon as I get the time to do so.

 





--
Mika Kiljunen
Ohjelmistosuunnittelija / Intensium Oy
[EMAIL PROTECTED]
GSM: +358 50 352 4842






http://www.intensium.fi





 





 





 





 













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: 15. elokuuta 2006 17:59
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Web services
or FDS: which are you using?



 







In my ongoing crusade to increase the attention given
by Adobe to web
service support in Flex, I decided to do a little impromptu survey. My
feeling is that its a mistake to focus so heavily on FDS in regards to
articles, tutorials and the like when such a small percentage of
organizations will actually deploy the technology.

So, which are you using? I am more interested in actual production
apps, rather than personal projects used for learning or
experimentation purposes.

Personally, I am evaluating Flex as the front end for an application
that relies heavily on .NET web services.

Ben
http://www.returnundefined.com/






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] FDS 2.0

2006-08-15 Thread Mika Kiljunen












Ahh… thank you Matt. This was
exactly what I needed to know… but now what I wanted to hear J

 





--
Mika Kiljunen
Ohjelmistosuunnittelija / Intensium Oy
[EMAIL PROTECTED]
GSM: +358 50 352 4842






http://www.intensium.fi





 





 





 





 













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: 16. elokuuta 2006 6:16
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS 2.0



 









FDS Express does have the remote object support.  I thought we
were putting more info into the FAQ on the licenses but I can’t find it,
I’ll ask around.

 

Matt

 









From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Mika Kiljunen
Sent: Monday, August 14, 2006
11:08 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] FDS 2.0



 









Hi,

It’s a
bit unclear to me… does FDS 2.0 contain remote object support or is it
contained with Enterprise
license only? 

 

Hint…
Adobe could put more info to the Adobe site concerning the differences of FDS
licenses, please… J



 

-Mika

 



 



 


















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Messaging VS Webservice

2006-08-15 Thread Matt Chotin












Real-time implies messaging to me since
that will support server-push.  Check out the collaborative dashboard sample in
FDS, it has an example of a real-time feed being pushed to clients.  Christophe
also has some examples on his blog I think.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of ginnyboy12
Sent: Tuesday, August 15, 2006
10:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Messaging VS
Webservice



 







Hi,

I'm developing a trading system. I'm debating with my team on the best 
approach to implement the market picture to show real time data. 
Should we use Flex Messaging or Webservice to display the data? I'm 
not sure of the pros and cons. Please help.

Thanks,
Amit






__._,_.___





--
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] Messaging VS Webservice

2006-08-15 Thread ginnyboy12
Hi,

I'm developing a trading system. I'm debating with my team on the best 
approach to implement the market picture to show real time data. 
Should we use Flex Messaging or Webservice to display the data? I'm 
not sure of the pros and cons. Please help.

Thanks,
Amit







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

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

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

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




RE: [flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-15 Thread Matt Chotin












I mean do a Project > Clean to rebuild
the SWF from scratch.  Flashlog.txt would be in c:\documents and
settings\\flashlog.txt by default, though you may not have it if
it’s not configured.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of ben.clinkinbeard
Sent: Tuesday, August 15, 2006
9:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Operation.arguments is populated but nulls are sent



 







This was built from scratch in Flex 2, never even had
1.5 installed.
Not sure what you mean by 'build clean'. Where would flashlog.txt be?
I will try clearing the bin folder tomorrow and see what happens.

Thanks,
Ben

--- In [EMAIL PROTECTED]ups.com,
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Maybe it's some odd timing problem? Any profiler settings from Flex 1.5
> turned on? Have you looked to see if you have a flashlog.txt file that
> has any info in it? Running in the debugger (even with no breakpoints)
> would also let you see the output and if there's anything there. You've
> built clean I assume. Delete everything in the bin folder anyway (with
> FB closed) and see if that changes anything?
> 
> 
> 
> Sounds strange,
> 
> 
> 
> Matt
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of ben.clinkinbeard
> Sent: Tuesday, August 15, 2006 11:54 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: Operation.arguments is populated but nulls are
> sent
> 
> 
> 
> OK, the issue seems to be isolated to my machine. The error began
> happening again, so I sent a coworker the link to the file on my
> machine. He can run the app successfully with no issues whatsoever,
> while I still cannot. I have tried clearing my cache, closing Flex
> Builder and restarting my machine but nothing seems to help. It seems
> like this has to be related to something getting screwed up on my
> machine because it also usually goes away by the time I come in the
> next day.
> 
> Is there anything else I can try clearing or resetting? This has to be
> 'a bug', no?
> 
> Thanks,
> Ben
> 
> --- In [EMAIL PROTECTED]ups.com
40yahoogroups.com>
> , "Matt Chotin"  wrote:
> >
> > You should be calling op.send(), if you call GetDataByGrouping()
> you're
> > ignoring the arguments.
> > 
> > 
> > 
> > Matt
> > 
> > 
> > 
> > 
> > 
> > From: [EMAIL PROTECTED]ups.com
40yahoogroups.com>
> [mailto:[EMAIL PROTECTED]ups.com
40yahoogroups.com>
> ] On
> > Behalf Of ben.clinkinbeard
> > Sent: Monday, August 14, 2006 2:14 PM
> > To: [EMAIL PROTECTED]ups.com
40yahoogroups.com> 
> > Subject: [flexcoders] Operation.arguments is populated but nulls are
> > sent
> > 
> > 
> > 
> > I am having a very odd error, and it only happens sometimes. I am
> > creating an object structure and then assigning that to the arguments
> > property of my mx.rpc.soap.Operation object like this:
> > 
> > op.arguments = args;
> > 
> > I then call the SOAP method like this:
> > 
> > var call:AsyncToken = service.GetDataByGrouping();
> > call.addResponder(responder);
> > 
> > Sometimes (I've not figured out a pattern), Flex somehow loses all of
> > the contents of the arguments property and sends nulls. It is sending
> > the same number of nulls as there were properties though, so I am
> > super confused. The Operation.arguments object is still populated
with
> > the correct data, but none of it gets sent. Does anyone have any idea
> > what is going on here? I am pasting the entire method from my
delegate
> > below. 
> > 
> > // in the delegate constructor
> > service = ServiceLocator.getInstance().getService("cmws")
as
> WebService;
> > 
> > // in the method called by my command class
> > var op:Operation = service.getOperation("GetDataByGrouping")
as
> > Operation;
> > op.resultFormat = "e4x";
> > // temp object to store arguments
> > var args:Object = new Object();
> > args.groupingRequests = new Object();
> > args.groupingRequests.GroupName = "RPRTool";
> > args.groupingRequests.Parameters = new Array();
> > ... populate Parameters array ...
> > op.arguments = args; 
> > var call:AsyncToken = service.GetDataByGrouping();
> > call.addResponder(responder);
> > 
> > // results in sendign an object like this
> > ts
> > xmlns:ns1="http://fmr.com/BackOffice/ClientMeasures
> 

> >  
> ">
> > quest/>
> > quest/>
> > quest/>
> > 
> > Ben
> >
>






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






_

[flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP

2006-08-15 Thread ben.clinkinbeard
The app uses internal web services that are not accessible outside of
our network. I will email you the WSDL tomorrow though and hopefully
they can glean some info from it.

Thanks,
Ben

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> OK, I remember seeing issues like this in 1.5 that I thought we fixed in
> 2.0.  If you have the WSDL and an app that can demonstrate the problem I
> can ask the team to look into it.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ben.clinkinbeard
> Sent: Tuesday, August 15, 2006 7:48 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Clarification needed on how WSDL affects
> conversion of AS objects to SOAP
> 
>  
> 
> That results in this structure being created and sent:
> 
> 
> 78167
> 78173
> 
> 
> Arrays do not seem to have their names preserved consistently. I am
> assuming this is affected by the WSDL. Please, get some clarification
> into the community on these issues. If my experience is
> representative, companies evaluating Flex for web service-based
> applications are going to be very discouraged by the lack of
> documentation and may once again disregard it as a viable solution. I
> would love nothing more than to convince my superiors to use Flex but
> with the issues I have been running into it is making it very hard for
> me to stand behind it as a solid platform for development that is
> heavily reliant on web services.
> 
> Ben
> 
> --- In flexcoders@yahoogroups.com 
> , "Matt Chotin"  wrote:
> >
> > Shouldn't you have another array, PlanNumber hanging off the object
> (not
> > array) SelectedPlans and be pushing your numbers into that?
> > 
> > 
> > 
> > Matt
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of ben.clinkinbeard
> > Sent: Monday, August 14, 2006 6:11 AM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Re: Clarification needed on how WSDL affects
> > conversion of AS objects to SOAP
> > 
> > 
> > 
> > Hi Matt,
> > 
> > My current problem and questions are concerning serialization, not
> > deserialization. Flex is creating SOAP requests differently for 2
> > methods of the same service, even though the AS is virtually
> > identical. My only guess is that its due to the WSDL. Here is a recap
> > from my previous posts.
> > 
> > // SERIALIZES AS EXPECTED AND WORKS CORRECTLY
> > args.ContainersToRetrieve = new Array();
> > args.ContainersToRetrieve.push("Client");
> > args.ContainersToRetrieve.push("IndustryTrends");
> > 
> > // RESULTING SOAP CALL
> > 
> > Client
> > IndustryTrends
> > 
> > // CORRESPONDING PIECE OF WSDL
> >  > type="tns:ContainerType"/>
> > (tns:ContainerType maps to an enum collection)
> > 
> > // 
> > 
> > // DOES NOT SERIALIZE AS EXPECTED, CAUSING AN ERROR IN THE WEB SERVICE
> > args.RPRSelections = new Object();
> > args.RPRSelections.SelectedPlans = new Array();
> > for(var i:int = 0; i < model.arr_selectedPlans.length; i++)
> > {
> > args.RPRSelections.SelectedPlans.push(model.arr_selectedPlans[i]);
> > }
> > 
> > // RESULTING SOAP CALL
> > // ignores the SelectedPlans array that was created.
> > 
> > 78167
> > 78173
> > 
> > // WHAT IT SHOULD LOOK LIKE
> > 
> > 
> > 78167
> > 78173
> > 
> > 
> > 
> > // CORRESPONDING PIECE OF WSDL
> >  > type="tns:ArrayOfString"/>
> > 
> > 
> > 
> >  > nillable="true" type="s:string"/>
> > 
> > 
> > 
> > I would LOVE to know how to fix this as right now its a total deal
> > breaker for my project.
> > 
> > Thanks,
> > Ben
> > 
> > --- In flexcoders@yahoogroups.com
> 
> 
> > , "Matt Chotin"  wrote:
> > >
> > > I'm not sure how WSDL structure would affect deserialization. We
> have
> > > mappings of the standard types into ActionScript versions. There's
> not
> > > a huge number of those types so we map as best as possible. Are you
> > > looking for those exact details? As far as RPC vs. doc-literal, I
> > > believe that the WSDL for a doc-lit generally provides less
> > information
> > > that we can use so we're less likely to be able serialize or
> > deserialize
> > > with as much accuracy as we attempt in RPC. If you use
> > > resultFormat="xml" or e4x of course the doc-lit services will work
> > fine,
> > > though I've seen serialization work fine with doc-lit too.
> > > 
> > > 
> > > 
> > > Sorry, not sure if that is very helpful. If you have a more specific
> > > issue I might be able to forward that in, though the engineer who
> > really
> > > knows our library at this point is on vacation. 
> > > 
> > > 
> > > 
> > > Matt
> > > 
> > > 
> > > 
> > > 
> > > 
> > > ___

RE: [flexcoders] Re: WSDLError:Element not resolvable => LoadEvent doesn't imply service ready

2006-08-15 Thread Franck de Bruijn












Wow! What a quick response!

 

Keep it coming!

Thanks,

Franck

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kaleb_pederson
Sent: Tuesday, August 15, 2006
11:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WSDLError:Element not resolvable => LoadEvent doesn't imply service ready



 







Very cool Seth! Thanks for the heads up and the help
in resolving 
the issue.

--Kaleb

--- In [EMAIL PROTECTED]ups.com,
"Seth Hodgson" <[EMAIL PROTECTED].> 
wrote:
>
> Hi Kaleb,
> 
> 
> 
> Thanks for providing your WSDL/XSD/service code. We've identified 
and
> fixed the issue internally. The problem was that WSDL parsing 
dispatches
> the load event after the WSDL is loaded and parsed, but without 
properly
> waiting for schema imports to be fetched over the network and 
parsed.
> The simplest workaround is to avoid schema imports :-) If that 
isn't an
> option, catch the 'Element not resolvable' error and retry your 
call
> using a Timer on a short delay.
> 
> 
> 
> Thanks again for your help closing out this bug,
> 
> Seth
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of kaleb_pederson
> Sent: Tuesday, August 15, 2006 12:28 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
> 
> 
> Hello all,
> 
> I have provided Bill at Adobe with a copy of the WSDL and XSD for 
> the test service. I haven't received a response but assume that he 
> received them. The WSDL and XSD need not be large. For testing 
> purposes, I created a service that had only a single function that 
I 
> was able to use to reproduce this problem. I also offered to 
> provide that sample service to them.
> 
> I'll take a look at www.xmethods.net and see if the error 
reproduces 
> on some of their publically available services. I'll post back 
once 
> I know whether or not it reproduces.
> 
> Thanks.
> 
> --Kaleb
> 
> --- In [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> , "Franck de Bruijn" 
> > wrote:
> >
> > Hi Bill,
> > 
> > 
> > 
> > Great to see that someone from Adobe is looking into this. I 
hope 
> Kaleb is
> > reading this post and can provide you with the WSDL. I 
personally 
> did not
> > encounter this error myself, but it looks thoroughly 
investigated 
> by Kaleb.
> > 
> > 
> > 
> > If Kaleb is not responding, it's maybe an idea to create a huge 
> WSDL, then
> > load it and immediately after the LoadEvent try to call an 
> operation. It
> > should fail. If you need help with creating this WSDL I can try. 
> Let me
> > know.
> > 
> > 
> > 
> > Cheers,
> > 
> > Franck
> > 
> > 
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> 
> [mailto:[EMAIL PROTECTED]ups.com

40yahoogroups.com>
> ] On
> > Behalf Of Bill Sahlas
> > Sent: Wednesday, August 09, 2006 2:48 PM
> > To: [EMAIL PROTECTED]ups.com

40yahoogroups.com> 
> > Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable 
=> 
> LoadEvent
> > doesn't imply service ready
> > 
> > 
> > 
> > Howdy, 
> > 
> > 
> > 
> > I'd like to reproduce this internally here in the FDS QA lab 
using 
> some of
> > your examples. Can someone on this list forward me a link to a 
> WSDL that is
> > publicly accessible with sample code to execute?
> > 
> > 
> > 
> > Thanks, Bill
> > 
> > 
> > 
> > FDS QA - Adobe Systems Inc.
> > 
> > 
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> 
> [mailto:[EMAIL PROTECTED]ups.com

40yahoogroups.com>
> ] On
> > Behalf Of Franck de Bruijn
> > Sent: Tuesday, August 08, 2006 1:59 PM
> > To: [EMAIL PROTECTED]ups.com

40yahoogroups.com> 
> > Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable 
=> 
> LoadEvent
> > doesn't imply service ready
> > 
> > 
> > 
> > Hi Kaleb,
> > 
> > 
> > 
> > Cool! Great stuff..
> > 
> > 
> > 
> > My guess is that the delay is machine dependent, but not 
> necessarily network
> > dependent. I do believe that the LOAD event does indicate that 
the 
> WSDL
> > actually has loaded successfully. Flex will not need any more 
> access to the
> > network in order to initialize the web service.
> > 
> > 
> > 
> > Anyway, it's a little bit sloppy that the LOAD event does not 
> indicate that
> > the webservice is actually ready for use. I consider this a bug 
if 
> you ask
> > me. So, maybe this is something we can put on the wish list???
> > 
> > 
> > 
> > Thanks,
> > 
> > Franck
> > 
> > 
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> 
> [mailto:[EMAIL PROTECTED]ups.com

40yahoogroups.com>
> ] On
> > Behalf Of kaleb_pederson
> > Sent: Tuesday, August 08, 2006 7:18 PM
> > To: [EMAIL PROTECTED]ups.com

40yahoogroups.com> 
> > Subject: [flexcoders] Re: WSDLError:Element not resolvable => 
> LoadEvent
> > doesn't imply service ready
> > 
> > 
> > 
> > Frank,
> > 
> > I did a bit more research into this. I don't n

[flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-15 Thread ben.clinkinbeard
This was built from scratch in Flex 2, never even had 1.5 installed.
Not sure what you mean by 'build clean'. Where would flashlog.txt be?
I will try clearing the bin folder tomorrow and see what happens.

Thanks,
Ben

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Maybe it's some odd timing problem?  Any profiler settings from Flex 1.5
> turned on?  Have you looked to see if you have a flashlog.txt file that
> has any info in it?  Running in the debugger (even with no breakpoints)
> would also let you see the output and if there's anything there.  You've
> built clean I assume.  Delete everything in the bin folder anyway (with
> FB closed) and see if that changes anything?
> 
>  
> 
> Sounds strange,
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ben.clinkinbeard
> Sent: Tuesday, August 15, 2006 11:54 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Operation.arguments is populated but nulls are
> sent
> 
>  
> 
> OK, the issue seems to be isolated to my machine. The error began
> happening again, so I sent a coworker the link to the file on my
> machine. He can run the app successfully with no issues whatsoever,
> while I still cannot. I have tried clearing my cache, closing Flex
> Builder and restarting my machine but nothing seems to help. It seems
> like this has to be related to something getting screwed up on my
> machine because it also usually goes away by the time I come in the
> next day.
> 
> Is there anything else I can try clearing or resetting? This has to be
> 'a bug', no?
> 
> Thanks,
> Ben
> 
> --- In flexcoders@yahoogroups.com 
> , "Matt Chotin"  wrote:
> >
> > You should be calling op.send(), if you call GetDataByGrouping()
> you're
> > ignoring the arguments.
> > 
> > 
> > 
> > Matt
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of ben.clinkinbeard
> > Sent: Monday, August 14, 2006 2:14 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Operation.arguments is populated but nulls are
> > sent
> > 
> > 
> > 
> > I am having a very odd error, and it only happens sometimes. I am
> > creating an object structure and then assigning that to the arguments
> > property of my mx.rpc.soap.Operation object like this:
> > 
> > op.arguments = args;
> > 
> > I then call the SOAP method like this:
> > 
> > var call:AsyncToken = service.GetDataByGrouping();
> > call.addResponder(responder);
> > 
> > Sometimes (I've not figured out a pattern), Flex somehow loses all of
> > the contents of the arguments property and sends nulls. It is sending
> > the same number of nulls as there were properties though, so I am
> > super confused. The Operation.arguments object is still populated with
> > the correct data, but none of it gets sent. Does anyone have any idea
> > what is going on here? I am pasting the entire method from my delegate
> > below. 
> > 
> > // in the delegate constructor
> > service = ServiceLocator.getInstance().getService("cmws") as
> WebService;
> > 
> > // in the method called by my command class
> > var op:Operation = service.getOperation("GetDataByGrouping") as
> > Operation;
> > op.resultFormat = "e4x";
> > // temp object to store arguments
> > var args:Object = new Object();
> > args.groupingRequests = new Object();
> > args.groupingRequests.GroupName = "RPRTool";
> > args.groupingRequests.Parameters = new Array();
> > ... populate Parameters array ...
> > op.arguments = args; 
> > var call:AsyncToken = service.GetDataByGrouping();
> > call.addResponder(responder);
> > 
> > // results in sendign an object like this
> >  > xmlns:ns1="http://fmr.com/BackOffice/ClientMeasures
>  
> >   > ">
> > 
> > 
> > 
> > 
> > Ben
> >
>






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

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

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

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




RE: [flexcoders] Posting ByteArray with URLRequest...

2006-08-15 Thread Matt Chotin












Try not setting the contentType yourself
and see what gets sent?  It probably will just be raw binary data that you have
to interpret on your own?

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bondbeer
Sent: Tuesday, August 15, 2006
4:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Posting
ByteArray with URLRequest...



 








Hi Guys,

I've seen this question posted previously with no answer given. In
the AS3 docs, it outlines that you can submit ByteArray data to a
server-side script by setting the URLRequest.data property to the
array. The problem is the docs don't seem to indicate how that data
is sent server-side - i.e. what's the key/value pair used?

My server-side code gets triggered, but the data sent doesn't look
like a regular multipart form data that you would receive from a File
upload. I can't parse the data.

Here's what I'm doing (the dataToPost ByteArray will contain Bitmap data):

public function postData(dataToPost:ByteArray):void
{
// Create a loader and init it's events
var loader:URLLoader = new URLLoader();
configureListeners(loader);

// Create a Request object
var url:String = "http://localhost/test/upload.aspx";
var request:URLRequest = new URLRequest(url);
request.contentType = "multipart/form-data";
request.method = URLRequestMethod.POST; 

// Set the data 
request.data = "">

try 
{
// Execute the send 
loader.load(request);
} 
catch (error:Error) 
{
trace("Unable to load requested document.");
}
}

Thanks for any insight!

B.






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Determine if a Class implements an Interface

2006-08-15 Thread Matt Chotin












describeType should be able to get you
that info I think.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork
Sent: Tuesday, August 15, 2006
5:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Determine if
a Class implements an Interface



 








Hi all,

I often use 

if (obj is MyClassOrInterface) 
{
// do whatever
}

but it appears that only works with Instances not Classes. With just a
Class, how can I tell if that class implements a particular interface
or is of a particular base type? Do I have to create an instance of
it and check the instance? I'm sure there must be another way...

thanks in advance,
Thunder
__

var currentDomain:ApplicationDomain = ApplicationDomain.currentDomain;
var psClass:Class = null;
if (currentDomain.hasDefinition(sPropClass))
{
psClass = Class(currentDomain.getDefinition(sPropClass));
}

// below statement doesn't work!
if ( (psClass != null) && (psClass is IPropertySheet) )
{
// make a new one of these classes.
}






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Dispatch Event?

2006-08-15 Thread Matt Chotin












We don’t’ ship the source for
the web service code.  In looking at it the line number you give shouldn’t
have any errors, so I think that maybe it’s complaining about you passing
a null into the web service?  I’m not sure about this though, I guess
just make sure every argument to the method on the web service you’re
invoking is correct.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ldyhwke24
Sent: Tuesday, August 15, 2006
4:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dispatch
Event?



 







I've been running tests with .NET web services and
Flex and have come 
upon an error..

[RPC Fault faultString="Error #1009: Cannot access a property or 
method of a null object reference." faultCode="EncodingError"

faultDetail="null"]
at 
mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::inv
okePendingCall()
[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\Operation.as:582
at mx.rpc.soap::Operation/send()
[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\Operation.as:492]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.rpc.soap.mxml::Operation/send()
[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\mxml\Operation.as:139]
at EditDragNDrop/___Button3_click()[C:\Documents and 
Settings\abratty\My Documents\Flex Builder 2
\BasicTests\EditDragNDrop.mxml:120]

but I've also seen the error while debugging:

mx.rpc.soap.mxml::WebService/dispatchEvent

Source not found.

I thought this would be in the SDK or Flex Builder 2? But, it's not 
on my local system.. can anyone give me a hint as to how to fix this?

thanks! 
-Amy






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Enterprise Development

2006-08-15 Thread Matt Chotin












Yes, Flex and Flex Data Services would be
ideal for this.  One of the greatest values of FDS is its ability to
handle data in realtime and push updates to interested clients so that they are
synchronized with the backend.  The only thing is that FDS is meant to run
in a Java server and you don’t mention that as one of your team’s
skills.  If you have someone who is familiar with building Java webapps,
adding FDS into the equation is not difficult.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Hershel Robinson
Sent: Tuesday, August 15, 2006
12:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Enterprise
Development



 







I am in
the early stages of a complete rebuild of an existing business 
web app. There are two interfaces to the app, an internal one for staff 
and the external one for clients. We are beginning with the internal one 
and we have developed an extensive and detailed Functional Specification 
and DB Schema (for MySQL). We have actually also begun coding a bit in 
PHP using the CakePHP MVC framework (http://cakephp.org/).

I had examined Flex some six months ago and at that time, it didn't 
quite appear production-ready. We have now decided that it bears 
re-evaluation.

Aside from a 'slick' interface, the main attraction for me of Flex is 
real-time data availability in the browser. If a staff member is looking 
at data in his browser and that data changes on the server, it is vital 
that the data be updated in his browser in real time. As far as I 
understand, this is a feature of Flex.

The app in question needs to support an average 200 internal users 
(that's this year's estimate) all logged on and actively using the 
system with estimated average of 2000 visits a day from clients, 
including spikes of up to 2000 clients simultaneously logged in.

My questions for now are:

Is there evidence to indicate that Flex can handle this?

Are there any comparable Flex apps out there?

Is there any other information or advice anyone can provide?

My programming team knows PHP/HTML/CSS/_javascript_/XML. Some know
Flash, 
but some don't. I haven't looked into the finer details of Flex, but it 
appears that there is a significant learning curve. If anyone can 
comment on that, I would also be very interested to hear.

Thank you,
Hershel Robinson

-- 
Web Site Construction by Gallery Robinson
http://galleryrobinson.com/






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] ArrayCollection object to Model for Remoting Help

2006-08-15 Thread Nick Collins



The problem was how to get the right data into the model. I figured it out.. had to put them in using arrayName.getItemAt(item).fieldNameOn 8/15/06, Matt Chotin
 <[EMAIL PROTECTED]> wrote:












  













When you add the item into the transaction
array it's a new object each time right?  So each element in the array
essentially should be the copy of the model at that point?  You should then
just call saveItem(item) when you iterate through the transactionArray I think.
 

 

Matt

 









From: [EMAIL PROTECTED]
ups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Nick Collins
Sent: Tuesday, August 15, 2006
12:12 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders]
ArrayCollection object to Model for Remoting Help



 







Ok, I've
got a form that requires me to be able to have multiple subtransactions that
can be submitted with one click.

The way I have it set up is when you've completed the form you click a button
and it adds the values of the form fields to an object within an
ArrayCollection. That ArrayCollection is bindable and is set as the dataprovider
for a datagrid that lists these sub-transactions. I can add as many items to
this "queue" as I like, and that part works just fine. 

The part I'm having trouble with is when I want to post those records to the
database.

I have a model set up for the remoting. It worked fine when I was passing the
values from the form to the model then to the DB, but I'm not sure how to pass
the data from the ArrayCollection into the model to be submitted. 

In the save function I have the following code

for each (var item:Object in transactionArray)
                {
               
    saveItem(this.detailObject);
                }

where transactionArray is the ArrayCollection and detailObject is the model.
Now, it does run the remoting call for each of the line items, it's just not
putting the data into the model, so I'm getting empty records. 

My ArrayCollection looks like this:

private var transactionArray:ArrayCollection = new ArrayCollection(
               
            [{
               
                EnvNum:
'',
               
               
DateTrans: '', 
               
               
Currency: '', 
               
               
CheckNum: '', 
               
               
Fund: '', 
               
               
Amount: '', 
               
               
Comment: '', 
               
               
TransID: '',
               
               
UUID: ''
               
            }]);

How can I bind an individual property of transactionArray, such as EnvNum to my
model, detailObject 


        {this._key as
String}
        {Number(subTransEnvNum.itemToLabel(this))}

        {subTransDateTrans.itemToLabel(this)
as Date}
        {subTransCurrency.itemToLabel(this)
as String}
        {Number(
subTransCheckNum.itemToLabel(this))}
        {subTransFund.itemToLabel(this)
as String}
        {Number(subTransAmount.itemToLabel(this))}

        {subTransComment.itemToLabel(this)
as String}
        {subTransTransID.itemToLabel(this)
as String}
        { subTransUUID.itemToLabel(this)
as String}


this doesn't work, all the values come in as null. I was trying to pull the
values from the DataGridColumns, but that wasn't working for me here. Please
help! Thanks if advance. 










  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Determine if a Class implements an Interface

2006-08-15 Thread Jeremy Lu





if( describeType(MyClass).implementsInterface.(@type) == interfaceName).length() ){
    //do something;
}

but it's a bit expensive to iterate over the tags everytime you want to check.


On 8/16/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote:













  




Hi all,

I often use 

if (obj is MyClassOrInterface) 
{
//  do whatever
}

but it appears that only works with Instances not Classes. With just a
Class, how can I tell if that class implements a particular interface
or is of a particular base type?  Do I have to create an instance of
it and check the instance? I'm sure there must be another way...

thanks in advance,
Thunder
__

var currentDomain:ApplicationDomain = ApplicationDomain.currentDomain;
var psClass:Class = null;
if (currentDomain.hasDefinition(sPropClass))
{
	psClass = Class(currentDomain.getDefinition(sPropClass));
}

// below statement doesn't work!
if ( (psClass != null) && (psClass is IPropertySheet) )
{
	// make a new one of these classes.
}


  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] ASDoc is now available for download

2006-08-15 Thread Jeremy Lu





Great, thanks for the info, having a release out there is much better
than having nothing out there, I'm already very grateful for it, just
made my day :-)


On 8/16/06, Brian Deitte <[EMAIL PROTECTED]> wrote:













  



Hi Tom,

I wasn't very happy releasing the code this way either.  Releasing code
for only two OSs causes my Java side to twitch.  But there's some
reasons behind this, and I'll try to explain what I can.

ASDoc has a long history in at Macromedia/Adobe, as you probably know
from the number of times we've released API documentation.  I'm the
lastest person to pick up it's helm, but there's a long line of people
who put a lot more effort than I did into it.  We had a joke for awhile
that anybody working on the compiler team was required to work on ASDoc
at least once.  All these changes were made over time not for external
consumption but for our internal needs.  At some point, we got some
executable code mixed in there.  I can't really share the specifics of
this... but let me say it's a big chunk of code that isn't easily
switched to Linux.  And there's a lot of it.  And it contains code that
from other products, where we can't quickly make the decision to release
this in the open.  So now we're stuck in the current situation.  Again,
as this was always thought to be for internal use, and since ASDoc
usually only runs on a Windows build machine, we only ran into this
problem when I started to put together things for an external release.

So what's being done about this?  As a long term plan, we're hoping (and
starting to plan) to move the executable code over to Java.  As a short
term plan, we want to get this working on Linux for the next full
release.

-Brian

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Chiverton
> Sent: Tuesday, August 15, 2006 4:39 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] ASDoc is now available for download
> 
> On Tuesday 15 August 2006 09:16, Tom Chiverton wrote:
> > Rar !
> 
> Boo.
> 
> You *knew* what would happen if you released a tool that only 
> ran on Windows 
> and OSX didn't you, without the source so the community can 
> fix whatever you 
> know is wrong with it ?
> 
> -- 
> Tom Chiverton, http://www.rachaelandtom.info/node/1359
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered 
> in England and Wales under registered number OC307980 whose 
> registered office address is at St James's Court Brown Street 
> Manchester M2 2JF.  A list of members is available for 
> inspection at the registered office. Any reference to a 
> partner in relation to Halliwells LLP means a member of 
> Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee 
> named above and may be confidential or legally privileged.  
> If you are not the addressee you must not read it and must 
> not use any information contained in nor copy it nor inform 
> any person other than Halliwells LLP or the addressee of its 
> existence or contents.  If you have received this email in 
> error please delete it and notify Halliwells LLP IT 
> Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 

  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Flex/Cairngorm Syntax

2006-08-15 Thread Matt Chotin












You can learn more about the * datatype
here: http://livedocs.macromedia.com/flex/2/docs/1826.html

 

Default parameters are described here: http://livedocs.macromedia.com/flex/2/docs/1834.html



 

HTH,

Matt







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006
9:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Flex/Cairngorm Syntax



 







The * is an approximation of the
Object keyword. Can be any type. Im not sure whether the typing is preserved or
not but im sure Matt can confirm this. In effect event is cast as any object
rather than having a strongly typed function call. Be aware in doing this
though as type coercion issues may occur later on when dealing with the result.

Since all event classes usually subclass from Event, you might use Event rather
than * for type safety.

Regards
Samuel

On 15/8/06 15:02, "grahampengelly" <[EMAIL PROTECTED]ultants.com>
wrote:




 
 

Hi

I am just embarking on my first Cairngorm based Flex app. In one of the sample
apps there is the following syntax

public function
onResult(event:* = null):void
{

}

Could somebody please explain exactly what the argument
"(event:* = null)" is actually doing. Obviously the argument is
called 'event', I have got that far. Is the asterisk a wildcard for the type,
and if so why, and is the null a default value if the argument is not supplied?

I have had a look around the web and the docs but can't find any explanation of
this syntax. What is more, I am not getting it to work but as I don't
understand what it is supposed to be I'm not sure where the problem lies.

Thanks for your help in advance...

Graham


 




 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Bug in mac version of uploading code

2006-08-15 Thread Matt Chotin












I see a bug in our bugbase currently under
review for this issue.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
Sent: Tuesday, August 15, 2006
6:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Bug in
mac version of uploading code



 







Well, I
had searched on flashcoders and flexcoders and hadnt found any
references to this bug, but after posting I googled a bit and found
that this is a known bug.

The work around is described here:
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/workaround_file.php

In summary, the bug is exacty as I stated, it is actually a bug from
flash 8 that has apparently not been fixed in 9. And without this fix,
it seems you cannot effectively upload from flash 8 or 9 from the mac.

Hank

On 8/15/06, hank williams <[EMAIL PROTECTED]com>
wrote:
> I think I have found a bug in the mac filereference/upload code or at
> least an important difference between the two that has unfortunate
> consequences.
>
> I am having a hard time uploading using the mac uploader. The file
> actually totally uploads but I am not getting the onComplete message
> as I do under windows. As a result, the screen that I put up to
> indicate success just hangs, waiting to be told the upload was
> successful.
>
> As I dug a little further, I discovered that the post message on the
> mac includes a "close" command whereas the post on the windows
side
> does not. Typically, a close means "don't wait for anything after
this
> message and immediately close when done". I am not an http expert,
but
> perhaps the onComplete message is waiting for a signal that will never
> come because the connection is closed before the last bit of
> information comes in.
>
> I don't know if this is the actual cause of the problem, its just a
> theory, but I know that my app doesn't have this problem under
> windows, and that mac contains this close message in the request
> object, which the windows flash client doesn't generate.
>
> At this point I at least need a work around for the mac side as I am
> dead in the water without a complete message, or at least some
> trustable way to know the upload was successful. I thought of using
> the progress percentage, but even that does not seem to come through
> consistently. It may be that with smaller files it doesn't come
> through, but in any case, on the mac it is inconsistent.
>
> Hank
>






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-15 Thread Matt Chotin












Maybe it’s some odd timing problem? 
Any profiler settings from Flex 1.5 turned on?  Have you looked to see if you
have a flashlog.txt file that has any info in it?  Running in the debugger
(even with no breakpoints) would also let you see the output and if there’s
anything there.  You’ve built clean I assume.  Delete everything in the
bin folder anyway (with FB closed) and see if that changes anything?

 

Sounds strange,

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
Sent: Tuesday, August 15, 2006
11:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Operation.arguments is populated but nulls are sent



 







OK, the issue seems to be isolated to my machine. The
error began
happening again, so I sent a coworker the link to the file on my
machine. He can run the app successfully with no issues whatsoever,
while I still cannot. I have tried clearing my cache, closing Flex
Builder and restarting my machine but nothing seems to help. It seems
like this has to be related to something getting screwed up on my
machine because it also usually goes away by the time I come in the
next day.

Is there anything else I can try clearing or resetting? This has to be
'a bug', no?

Thanks,
Ben

--- In [EMAIL PROTECTED]ups.com,
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> You should be calling op.send(), if you call GetDataByGrouping()
you're
> ignoring the arguments.
> 
> 
> 
> Matt
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of ben.clinkinbeard
> Sent: Monday, August 14, 2006 2:14 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Operation.arguments is populated but nulls are
> sent
> 
> 
> 
> I am having a very odd error, and it only happens sometimes. I am
> creating an object structure and then assigning that to the arguments
> property of my mx.rpc.soap.Operation object like this:
> 
> op.arguments = args;
> 
> I then call the SOAP method like this:
> 
> var call:AsyncToken = service.GetDataByGrouping();
> call.addResponder(responder);
> 
> Sometimes (I've not figured out a pattern), Flex somehow loses all of
> the contents of the arguments property and sends nulls. It is sending
> the same number of nulls as there were properties though, so I am
> super confused. The Operation.arguments object is still populated with
> the correct data, but none of it gets sent. Does anyone have any idea
> what is going on here? I am pasting the entire method from my delegate
> below. 
> 
> // in the delegate constructor
> service = ServiceLocator.getInstance().getService("cmws")
as WebService;
> 
> // in the method called by my command class
> var op:Operation = service.getOperation("GetDataByGrouping")
as
> Operation;
> op.resultFormat = "e4x";
> // temp object to store arguments
> var args:Object = new Object();
> args.groupingRequests = new Object();
> args.groupingRequests.GroupName = "RPRTool";
> args.groupingRequests.Parameters = new Array();
> ... populate Parameters array ...
> op.arguments = args; 
> var call:AsyncToken = service.GetDataByGrouping();
> call.addResponder(responder);
> 
> // results in sendign an object like this
> ts
> xmlns:ns1="http://fmr.com/BackOffice/ClientMeasures
> 
">
> quest/>
> quest/>
> quest/>
> 
> Ben
>






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] fldbg9.ocx

2006-08-15 Thread Matt Chotin












The Player should never cause a crash like
that.  Can you we run your SWF without needing to connect to any data on your
end?  Or can you point us at a url so we can try it out ourselves?  As much
info as possible would be helpful.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexnewbie06
Sent: Tuesday, August 15, 2006
5:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] fldbg9.ocx



 







Hi...

I am just wondering if everybody experiences the periodic crashing of 
IE6 when running or debugging a flex app.

Basically everytime i run my flex app, it may run okay for a few 
minutes then i will get a ie error window with:

AppName: iexplore.exe AppVer: 6.0.2800.1106 ModName: fldbg9.ocx
ModVer: 9.0.16.0 Offset: 00091fcd

My concern is this...if this just my machine i can find a fix for it. 
But when this app is deployed to THOUSANDS of people is it going to 
happen to all of them also??? My deliverable date is October, so I 
have some time to find a fix, but i would love to find one sooner 
than later.

And if u can fix it, how can it be done. I've been to the Adobe 
updates site and that someone posted and downloaded the new debuggers 
flash 9 but that didn't fix it.

Any Feedback?

Much appreciated!
Jenn






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] CreationComplete?

2006-08-15 Thread Matt Chotin












Every component has a creationComplete
event, you could still use that.  If it’s a container that’s in a
view stack maybe you want to use the show event instead?

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson
Sent: Tuesday, August 15, 2006
8:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
CreationComplete?



 







Hi,

I am trying to populate this data grid upon page load. If the page I 
am working has the  tag, then I can use 
creationComplete(), but what can I do if I am working on a page which 
does not contain the  I can load the data grid if I 
write a function, but I want it to execute automatically.

-Malik






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] ArrayCollection object to Model for Remoting Help

2006-08-15 Thread Matt Chotin












When you add the item into the transaction
array it’s a new object each time right?  So each element in the array
essentially should be the copy of the model at that point?  You should then
just call saveItem(item) when you iterate through the transactionArray I think.
 

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Nick Collins
Sent: Tuesday, August 15, 2006
12:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
ArrayCollection object to Model for Remoting Help



 







Ok, I've
got a form that requires me to be able to have multiple subtransactions that
can be submitted with one click.

The way I have it set up is when you've completed the form you click a button
and it adds the values of the form fields to an object within an
ArrayCollection. That ArrayCollection is bindable and is set as the dataprovider
for a datagrid that lists these sub-transactions. I can add as many items to
this "queue" as I like, and that part works just fine. 

The part I'm having trouble with is when I want to post those records to the
database.

I have a model set up for the remoting. It worked fine when I was passing the
values from the form to the model then to the DB, but I'm not sure how to pass
the data from the ArrayCollection into the model to be submitted. 

In the save function I have the following code

for each (var item:Object in transactionArray)
                {
               
    saveItem(this.detailObject);
                }

where transactionArray is the ArrayCollection and detailObject is the model.
Now, it does run the remoting call for each of the line items, it's just not
putting the data into the model, so I'm getting empty records. 

My ArrayCollection looks like this:

private var transactionArray:ArrayCollection = new ArrayCollection(
               
            [{
               
                EnvNum:
'',
               
               
DateTrans: '', 
               
               
Currency: '', 
               
               
CheckNum: '', 
               
               
Fund: '', 
               
               
Amount: '', 
               
               
Comment: '', 
               
               
TransID: '',
               
               
UUID: ''
               
            }]);

How can I bind an individual property of transactionArray, such as EnvNum to my
model, detailObject 

d id="detailObject">
        {this._key as
String}
        {Number(subTransEnvNum.itemToLabel(this))}

        {subTransDateTrans.itemToLabel(this)
as Date}
        {subTransCurrency.itemToLabel(this)
as String}
        {Number(
subTransCheckNum.itemToLabel(this))}
        {subTransFund.itemToLabel(this)
as String}
        {Number(subTransAmount.itemToLabel(this))}

        {subTransComment.itemToLabel(this)
as String}
        {subTransTransID.itemToLabel(this)
as String}
        { subTransUUID.itemToLabel(this)
as String}
d>

this doesn't work, all the values come in as null. I was trying to pull the
values from the DataGridColumns, but that wasn't working for me here. Please
help! Thanks if advance. 






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue

2006-08-15 Thread Matt Chotin












What’s the information contained in
the event when you get the itemDoubleClicked?  I can forward this in as a
potential bug, but if you have that info it’d be helpful.

 

Matt 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972
Sent: Tuesday, August 15, 2006
3:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: flex2
final - datagrid sortableColumns=false and itemDoubleClick event issue



 







Anyone from Adobe please comment?

here's a little test example. All you need to do is change the dg 
attribute sortableColumns=false | true.

and double click the header. i believe the itemDoubleClick event 
should not be triggered when sortableColumns=false

8"?>
http://www.adobe.com/2006/mxml">

"true" 
itemDoubleClick="mx.controls.Alert.show('item double
clicked')" 
sortableColumns="false">


>
>
>





 



--- In [EMAIL PROTECTED]ups.com,
"bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> i have a datagrid with the following attributes.
> 
> "true" sortableColumns="false"

> itemDoubleClick="mx.controls.Alert.show('item double
clicked')">
> 
> i'm finding that if i doubleClick the header, i'm getting the 
> itemDoubleClick evnt being trigged.
> 
> 
> is this the correct behaviour. 
> 
> (i'd assume not)
> 
> please verify
> 
> 
> regards
> bod
>






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] CreationComplete?

2006-08-15 Thread malik_robinson
Hi,

I am trying to populate this data grid upon page load.  If the page I 
am working has the  tag, then I can use 
creationComplete(), but what can I do if I am working on a page which 
does not contain the   I can load the data grid if I 
write a function, but I want it to execute automatically.

-Malik






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

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

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

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





RE: [flexcoders] FDS 2.0

2006-08-15 Thread Matt Chotin












FDS Express does have the remote object
support.  I thought we were putting more info into the FAQ on the licenses but
I can’t find it, I’ll ask around.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mika Kiljunen
Sent: Monday, August 14, 2006
11:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS 2.0



 









Hi,

It’s a
bit unclear to me… does FDS 2.0 contain remote object support or is it
contained with Enterprise
license only? 

 

Hint…
Adobe could put more info to the Adobe site concerning the differences of FDS
licenses, please… J



 

-Mika

 



 



 








__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP

2006-08-15 Thread malik_robinson

Hi,

Well, good news, problem solved.  I reinstalled Updater 7.02 for CF and
boom, my code works again.  I then looked in the CF Admin and that beta
text is gone next to the CF version so apparently that was the issue.

-Malik
--- In flexcoders@yahoogroups.com, "malik_robinson" <[EMAIL PROTECTED]>
wrote:
>
>
> Hi,
>
> I believe your right. I am just perplexed on why I am getting this
> error. The CFC works fine, The code worked before and is exactly the
> same. I am using FDS 2, and Flex Builder 2 so when I saw that beta in
> the CF admin, I thought it may be the reason why remote services is
not
> working.
>
> -Malik
>
>
> --- In flexcoders@yahoogroups.com, "Simeon Bateman" simbateman@
> wrote:
> >
> > Malik,
> >
> > When mystic was made final did you install the last release? Mystic
> was the
> > code name for 7.0.2 when it was in beta, and it was released the
same
> day
> > the Flex Builder was released.
> >
> > I would guess your "beta" message is in response to that, not flex
> builder.
> >
> > simeon
> >
> > On 8/15/06, malik_robinson Malik_Robinson@ wrote:
> > >
> > > Hi,
> > >
> > > I checked in the ColdFusion Server Admin Area and I noticed this
> > > next to the CF version:
> > >
> > > ColdFusion/Flex Connectivity Beta 3
> > >
> > > I am using Flex Builder 2, not the beta, but it still says this.
> > > Perhaps this is the issue? I thought CF 7.02 came with the flex/cf
> > > connector, but for some reason mine is showing Beta and I am
unsure
> > > how to remove the beta connector.
> > >
> > > -Malik
> > >
> > >
> > > --- In flexcoders@yahoogroups.com ,
> Tom
> > > Chiverton tom.chiverton@
> > > wrote:
> > > >
> > > > On Monday 14 August 2006 06:50, malik_robinson wrote:
> > > > > error NetConnection.Call.Failed: HTTP: Status 500"]
> > > >
> > > > That's the internal error HTTP status code.
> > > > What's in the server logs ?
> > > >
> > > > --
> > > > Tom Chiverton
> > > >
> > > > 
> > > >
> > > > This email is sent for and on behalf of Halliwells LLP.
> > > >
> > > > Halliwells LLP is a limited liability partnership registered in
> > > England and Wales under registered number OC307980 whose
registered
> > > office address is at St James's Court Brown Street Manchester M2
> > > 2JF. A list of members is available for inspection at the
> > > registered office. Any reference to a partner in relation to
> > > Halliwells LLP means a member of Halliwells LLP. Regulated by the
> > > Law Society.
> > > >
> > > > CONFIDENTIALITY
> > > >
> > > > This email is intended only for the use of the addressee named
> > > above and may be confidential or legally privileged. If you are
not
> > > the addressee you must not read it and must not use any
information
> > > contained in nor copy it nor inform any person other than
Halliwells
> > > LLP or the addressee of its existence or contents. If you have
> > > received this email in error please delete it and notify
Halliwells
> > > LLP IT Department on 0870 365 8008.
> > > >
> > > > For more information about Halliwells LLP visit
> www.halliwells.com.
> > > >
> > >
> > >
> > >
> >
>








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

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

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

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




[flexcoders] Re: Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP

2006-08-15 Thread malik_robinson

Hi,

I believe your right.  I am just perplexed on why I am getting this
error.  The CFC works fine,  The code worked before and is exactly the
same.  I am using FDS 2, and Flex Builder 2 so when I saw that beta in
the CF admin, I thought it may be the reason why remote services is not
working.

-Malik


--- In flexcoders@yahoogroups.com, "Simeon Bateman" <[EMAIL PROTECTED]>
wrote:
>
> Malik,
>
> When mystic was made final did you install the last release? Mystic
was the
> code name for 7.0.2 when it was in beta, and it was released the same
day
> the Flex Builder was released.
>
> I would guess your "beta" message is in response to that, not flex
builder.
>
> simeon
>
> On 8/15/06, malik_robinson [EMAIL PROTECTED] wrote:
> >
> > Hi,
> >
> > I checked in the ColdFusion Server Admin Area and I noticed this
> > next to the CF version:
> >
> > ColdFusion/Flex Connectivity Beta 3
> >
> > I am using Flex Builder 2, not the beta, but it still says this.
> > Perhaps this is the issue? I thought CF 7.02 came with the flex/cf
> > connector, but for some reason mine is showing Beta and I am unsure
> > how to remove the beta connector.
> >
> > -Malik
> >
> >
> > --- In flexcoders@yahoogroups.com ,
Tom
> > Chiverton tom.chiverton@
> > wrote:
> > >
> > > On Monday 14 August 2006 06:50, malik_robinson wrote:
> > > > error NetConnection.Call.Failed: HTTP: Status 500"]
> > >
> > > That's the internal error HTTP status code.
> > > What's in the server logs ?
> > >
> > > --
> > > Tom Chiverton
> > >
> > > 
> > >
> > > This email is sent for and on behalf of Halliwells LLP.
> > >
> > > Halliwells LLP is a limited liability partnership registered in
> > England and Wales under registered number OC307980 whose registered
> > office address is at St James's Court Brown Street Manchester M2
> > 2JF. A list of members is available for inspection at the
> > registered office. Any reference to a partner in relation to
> > Halliwells LLP means a member of Halliwells LLP. Regulated by the
> > Law Society.
> > >
> > > CONFIDENTIALITY
> > >
> > > This email is intended only for the use of the addressee named
> > above and may be confidential or legally privileged. If you are not
> > the addressee you must not read it and must not use any information
> > contained in nor copy it nor inform any person other than Halliwells
> > LLP or the addressee of its existence or contents. If you have
> > received this email in error please delete it and notify Halliwells
> > LLP IT Department on 0870 365 8008.
> > >
> > > For more information about Halliwells LLP visit
www.halliwells.com.
> > >
> >
> >
> >
>








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

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

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

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




Re: [flexcoders] Re: Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP

2006-08-15 Thread Simeon Bateman



Malik,When mystic was made final did you install the last release?  Mystic was the code name for 7.0.2 when it was in beta, and it was released the same day the Flex Builder was released.I would guess your "beta" message is in response to that, not flex builder.
simeonOn 8/15/06, malik_robinson <
[EMAIL PROTECTED]> wrote:













  



Hi,

I checked in the ColdFusion Server Admin Area and I noticed this 
next to the CF version:

ColdFusion/Flex Connectivity Beta 3

I am using Flex Builder 2, not the beta, but it still says this.  
Perhaps this is the issue?  I thought CF 7.02 came with the flex/cf 
connector, but for some reason mine is showing Beta and I am unsure 
how to remove the beta connector.

-Malik

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Monday 14 August 2006 06:50, malik_robinson wrote:
> > error NetConnection.Call.Failed: HTTP: Status 500"]
> 
> That's the internal error HTTP status code. 
> What's in the server logs ?
> 
> -- 
> Tom Chiverton
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>


  
















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex doesnt like CFCs...

2006-08-15 Thread Simeon Bateman



Glad you got it worked out man.simeonOn 8/15/06, Greg Morphis <[EMAIL PROTECTED]> wrote:













  



Doh! you were right.. I was missing the {} data binding in the webservice call.. whew.. the goat has been spared.. Thanks Simeon for directing me to that.. geeze, can't believe I overlooked it..

On 8/15/06, Greg Morphis <[EMAIL PROTECTED]> wrote:

well, see I know it's not that.. because if I put in values for npa, nxx, and data everything works.. it just breaks when I try to use the mid() function.. for example..        
                                                                                works fine, it's just when I try to use the mid() function to break apart the damin argument.. however.. here's my  call             wsdl="
http://localhost:8300/npanxx/npanxx.cfc?wsdl"         fault="handleFault( event )"
         showBusyCursor="true" >        
                                    txtMIN.text            
                On 8/15/06, Simeon Bateman
 <[EMAIL PROTECTED]
> wrote:


How are you calling this from flex?  Because it appears the error is in flex trying to reach the destination you have provided.  You are correct in that your cf should be fine, so lets look at how you are trying to talk to it from flex.
simeonOn 8/15/06, Greg Morphis <


[EMAIL PROTECTED]> wrote:













  



I'm passing a 10 digit number to my cfc and within the cfc I want to
divide the 10 digit number into 3 parts using the ColdFusion mid()
function. I cannot seem to get it to work.

here's what I'm trying.. and failing at..

	




		



		
  

If I run this from a CFM page, no problem.. however, from Flex I'm getting..
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:8300/npanxx/npanxx.cfc"].
URL:http://localhost:8300/npanxx/npanxx.cfc'

There isn't anything wrong with my CFC, so why is Flex freaking out on
me? And is there some other way of accomplishing what I'm trying to
do, does Flex require that we sacrifice a goat or something before
it'll behave?

  






















  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP

2006-08-15 Thread malik_robinson
Hi,

I checked in the ColdFusion Server Admin Area and I noticed this 
next to the CF version:

ColdFusion/Flex Connectivity Beta 3

I am using Flex Builder 2, not the beta, but it still says this.  
Perhaps this is the issue?  I thought CF 7.02 came with the flex/cf 
connector, but for some reason mine is showing Beta and I am unsure 
how to remove the beta connector.

-Malik

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Monday 14 August 2006 06:50, malik_robinson wrote:
> > error NetConnection.Call.Failed: HTTP: Status 500"]
> 
> That's the internal error HTTP status code. 
> What's in the server logs ?
> 
> -- 
> Tom Chiverton
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>







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

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

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

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




[flexcoders] videodisplay no bitrate match follow up

2006-08-15 Thread Impudent1
I lost the original post but I thought this might help whoever it was, 
or someone else.

I was going nuts trying to figure out why I couldn't get even the 
example videodisplay code to show my flvs when they were on the server.

I kept getting this no_bitrate_match 1001 error with the compile.

The fix that I found is here:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19439

hth

Impudent1
LeapFrog Productions


--
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: DataGridColumn custom itemRenderers

2006-08-15 Thread Barry Beattie
> It isn't fancy, but this example...

maybe not but it does show me just what I'm looking for
(and you've got headerRenderers! I must have missed that in the docs...)

thanx Tim

b


--
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] Determine if a Class implements an Interface

2006-08-15 Thread thunderstumpgesatwork

Hi all,

I often use 

if (obj is MyClassOrInterface) 
{
//  do whatever
}

but it appears that only works with Instances not Classes. With just a
Class, how can I tell if that class implements a particular interface
or is of a particular base type?  Do I have to create an instance of
it and check the instance? I'm sure there must be another way...

thanks in advance,
Thunder
__

var currentDomain:ApplicationDomain = ApplicationDomain.currentDomain;
var psClass:Class = null;
if (currentDomain.hasDefinition(sPropClass))
{
psClass = Class(currentDomain.getDefinition(sPropClass));
}

// below statement doesn't work!
if ( (psClass != null) && (psClass is IPropertySheet) )
{
// make a new one of these classes.
}








--
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] Posting ByteArray with URLRequest...

2006-08-15 Thread bondbeer

Hi Guys,

I've seen this question posted previously with no answer given.  In
the AS3 docs, it outlines that you can submit ByteArray data to a
server-side script by setting the URLRequest.data property to the
array.  The problem is the docs don't seem to indicate how that data
is sent server-side - i.e. what's the key/value pair used?

My server-side code gets triggered, but the data sent doesn't look
like a regular multipart form data that you would receive from a File
upload.  I can't parse the data.

Here's what I'm doing (the dataToPost ByteArray will contain Bitmap data):

public function postData(dataToPost:ByteArray):void
{
  // Create a loader and init it's events
  var loader:URLLoader = new URLLoader();
  configureListeners(loader);

  // Create a Request object
  var url:String = "http://localhost/test/upload.aspx";;
  var request:URLRequest = new URLRequest(url);
  request.contentType = "multipart/form-data";
  request.method = URLRequestMethod.POST;  

  // Set the data   
  request.data = dataToPost;

  try 
  {
// Execute the send 
loader.load(request);
  } 
  catch (error:Error) 
  {
trace("Unable to load requested document.");
  }
}

Thanks for any insight!

B.






--
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: What is wrong with my component

2006-08-15 Thread Faisal Abid
I dont see why I would since it is a dynamic link. here is the full
code  to my component and the part where it is being called in my
main.mxml file


http://www.adobe.com/2006/mxml"; width="420"
height="144" title="{TitlePanel}">












and this is how i am calling it 

http://www.g-unix.com/apps/fifa/index.html";
width="100%">






--
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] Dispatch Event?

2006-08-15 Thread ldyhwke24
I've been running tests with .NET web services and Flex and have come 
upon an error..

[RPC Fault faultString="Error #1009: Cannot access a property or 
method of a null object reference." faultCode="EncodingError" 
faultDetail="null"]
at 
mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::inv
okePendingCall()
[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\Operation.as:582
at mx.rpc.soap::Operation/send()
[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\Operation.as:492]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.rpc.soap.mxml::Operation/send()
[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\mxml\Operation.as:139]
at EditDragNDrop/___Button3_click()[C:\Documents and 
Settings\abratty\My Documents\Flex Builder 2
\BasicTests\EditDragNDrop.mxml:120]

but I've also seen the error while debugging:

mx.rpc.soap.mxml::WebService/dispatchEvent

Source not found.

I thought this would be in the SDK or Flex Builder 2? But, it's not 
on my local system.. can anyone give me a hint as to how to fix this?

thanks! 
-Amy





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

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

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

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





Re: [flexcoders] Flex doesnt like CFCs...

2006-08-15 Thread Greg Morphis



Doh! you were right.. I was missing the {} data binding in the webservice call.. whew.. the goat has been spared.. Thanks Simeon for directing me to that.. geeze, can't believe I overlooked it..
On 8/15/06, Greg Morphis <[EMAIL PROTECTED]> wrote:
well, see I know it's not that.. because if I put in values for npa, nxx, and data everything works.. it just breaks when I try to use the mid() function.. for example..        
                                                                                works fine, it's just when I try to use the mid() function to break apart the damin argument.. however.. here's my  call             wsdl="
http://localhost:8300/npanxx/npanxx.cfc?wsdl"         fault="handleFault( event )"
         showBusyCursor="true" >        
                                    txtMIN.text            
                On 8/15/06, Simeon Bateman
 <[EMAIL PROTECTED]
> wrote:


How are you calling this from flex?  Because it appears the error is in flex trying to reach the destination you have provided.  You are correct in that your cf should be fine, so lets look at how you are trying to talk to it from flex.
simeonOn 8/15/06, Greg Morphis <

[EMAIL PROTECTED]> wrote:













  



I'm passing a 10 digit number to my cfc and within the cfc I want to
divide the 10 digit number into 3 parts using the ColdFusion mid()
function. I cannot seem to get it to work.

here's what I'm trying.. and failing at..

	




		



		
  

If I run this from a CFM page, no problem.. however, from Flex I'm getting..
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:8300/npanxx/npanxx.cfc"].
URL:http://localhost:8300/npanxx/npanxx.cfc'

There isn't anything wrong with my CFC, so why is Flex freaking out on
me? And is there some other way of accomplishing what I'm trying to
do, does Flex require that we sacrifice a goat or something before
it'll behave?

  






















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex doesnt like CFCs...

2006-08-15 Thread Greg Morphis



well, see I know it's not that.. because if I put in values for npa, nxx, and data everything works.. it just breaks when I try to use the mid() function.. for example..        
                                                                                works fine, it's just when I try to use the mid() function to break apart the damin argument.. however.. here's my  call             wsdl="
http://localhost:8300/npanxx/npanxx.cfc?wsdl"         fault="handleFault( event )"         showBusyCursor="true" >        
                                    txtMIN.text            
                On 8/15/06, Simeon Bateman <[EMAIL PROTECTED]
> wrote:


How are you calling this from flex?  Because it appears the error is in flex trying to reach the destination you have provided.  You are correct in that your cf should be fine, so lets look at how you are trying to talk to it from flex.
simeonOn 8/15/06, Greg Morphis <
[EMAIL PROTECTED]> wrote:













  



I'm passing a 10 digit number to my cfc and within the cfc I want to
divide the 10 digit number into 3 parts using the ColdFusion mid()
function. I cannot seem to get it to work.

here's what I'm trying.. and failing at..

	




		



		
  

If I run this from a CFM page, no problem.. however, from Flex I'm getting..
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:8300/npanxx/npanxx.cfc"].
URL:http://localhost:8300/npanxx/npanxx.cfc'

There isn't anything wrong with my CFC, so why is Flex freaking out on
me? And is there some other way of accomplishing what I'm trying to
do, does Flex require that we sacrifice a goat or something before
it'll behave?

  




















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Gantt chart

2006-08-15 Thread FineLine










Hi, I have searched the archives and found a couple
of suggestions about constructing a gantt chart, but mostly related to Flex
1.5. Does anyone know of any available Flex 2 Gantt components, or have
suggestions on where to start with building such a component?

 

Cheers, Tim




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





Re: [flexcoders] Flex doesnt like CFCs...

2006-08-15 Thread Simeon Bateman



How are you calling this from flex?  Because it appears the error is in flex trying to reach the destination you have provided.  You are correct in that your cf should be fine, so lets look at how you are trying to talk to it from flex.
simeonOn 8/15/06, Greg Morphis <[EMAIL PROTECTED]> wrote:













  



I'm passing a 10 digit number to my cfc and within the cfc I want to
divide the 10 digit number into 3 parts using the ColdFusion mid()
function. I cannot seem to get it to work.

here's what I'm trying.. and failing at..

	




		



		
  

If I run this from a CFM page, no problem.. however, from Flex I'm getting..
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:8300/npanxx/npanxx.cfc"].
URL:http://localhost:8300/npanxx/npanxx.cfc'

There isn't anything wrong with my CFC, so why is Flex freaking out on
me? And is there some other way of accomplishing what I'm trying to
do, does Flex require that we sacrifice a goat or something before
it'll behave?

  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Dimitrios Gianninas





My projects uses a bit of everything, RPC, FDS and WS. But 
FDS is the main focus and probably will be in other 
projects.
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ben.clinkinbeardSent: Tuesday, August 15, 2006 10:59 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Web 
services or FDS: which are you using?


In my ongoing crusade to increase the attention given by Adobe to 
webservice support in Flex, I decided to do a little impromptu survey. 
Myfeeling is that its a mistake to focus so heavily on FDS in regards 
toarticles, tutorials and the like when such a small percentage 
oforganizations will actually deploy the technology.So, which are 
you using? I am more interested in actual productionapps, rather than 
personal projects used for learning orexperimentation 
purposes.Personally, I am evaluating Flex as the front end for an 
applicationthat relies heavily on .NET web services.Benhttp://www.returnundefined.com/
 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Web services or FDS: which are you using?

2006-08-15 Thread ldyhwke24
I'm using Flex right now with .NET Web Services.  For now, it's been an 
interesting learning curve!

Thank goodness for newsgroups, forums, and blogs!!

By the way, anyone have an issue with passing a null date to a Web 
Service Method?  I've tried hard coding it in the Flex code, but I'm 
still coming up with an error.

Error #1009: Cannot access a property or method of a null object 
reference.


--- In flexcoders@yahoogroups.com, "ben.clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> In my ongoing crusade to increase the attention given by Adobe to web
> service support in Flex, I decided to do a little impromptu survey. My
> feeling is that its a mistake to focus so heavily on FDS in regards to
> articles, tutorials and the like when such a small percentage of
> organizations will actually deploy the technology.
> 
> So, which are you using? I am more interested in actual production
> apps, rather than personal projects used for learning or
> experimentation purposes.
> 
> Personally, I am evaluating Flex as the front end for an application
> that relies heavily on .NET web services.
> 
> Ben
> http://www.returnundefined.com/
>






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

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

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

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





[flexcoders] Re: Flex Timeout issue

2006-08-15 Thread digital_eyezed
For info, this is how I fixed this issue:

It turns out that MSIE has a TCP receive timeout set in the registry:

This ReceiveTimeout can be found at 
HKEY_CURRENT_USER/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/INTERNET 
SETTINGS

If it is set to 6000 the the client (browser) will timeout waiting 
for the reply from the AMF Gateway.

This stumbled me as I was using a built in browser to eclipse 
through the myEclipse plugin, however I have since found out that 
this is actually just an embedded IE browser.

I only found the resolution to the issue after testing with firefox 
and the problem disapeared.

Weird but true, I'll just have to write off those four days pulling 
my hair out then!

Cheers All.

--- In flexcoders@yahoogroups.com, "Mika Kiljunen" 
<[EMAIL PROTECTED]> wrote:
>
> Yeah, well my guess is that it won't help if Array works under 60
> secs... it should work after 60 secs too :-)
> 
> BTW, I have always used ArrayList instead of Array.
> 
>  
> 
> -Mika
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: 11. elokuuta 2006 16:02
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex Timeout issue
> 
>  
> 
> Hi,
> 
> Yeah, I've tried to strip it down to the minimum (as you can see 
> from the extremely bare app below, but it is tied to the 1 minute 
> barrier as I have increased the t value by one day at a time until 
I 
> get to a second return time and it fails exactly at 60 seconds, 
> although the debuh shows the return being thrown back to the 
client.
> 
> I'll try changing the return object from an Array of objects to an 
> ArrayList to see if that makes any difference.
> 
> Cheers!
> 
> Iain
> 
> --- In flexcoders@yahoogroups.com 
> , "Mika Kiljunen" 
>  wrote:
> >
> > That's really weird. I would suggest to strip down the code to 
> minimum.
> > Drop out the showBusyCursor (set it to false), try to call 
service
> > several times with different params and see what happens. On
> > faulthandler I believe you should have
> > mx.core.Application.alert(event.fault) instead of event.result.
> > 
> > 
> > 
> > If that does not help anything, then I would change the data 
> returned by
> > the server to minimum (ie to just a String) to see if it's a data
> > convert error (from Java to flex) and try to work from there up 
to 
> the
> > problem.
> > 
> > 
> > 
> > I have worked with remote objects for over a year now and only 
> problems
> > that I've encountered have been some conversion errors (that 
> sometimes
> > fail silently!) and some problems with responder objects that 
were
> > actually a bug in my code. And we do run long methods too, some 
> may take
> > as much as 5 minutes and they do return results and come back 
> alive.
> > 
> > 
> > 
> > -Mika
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of digital_eyezed
> > Sent: 11. elokuuta 2006 14:18
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Flex Timeout issue
> > 
> > 
> > 
> > Hi,
> > 
> > I've been working on this issue now for 3 days and I am at a 
> > complete loss.
> > 
> > I have a simple request which uses a remoteObject, this works 
fine 
> > if the result is returned in under 1 minute, however if the 
result 
> > takes longer than 1 miinute to return the client doesn't recive 
> the 
> > result and the busy cusror just keeps on showing.
> > 
> > Here is the page (stripped down to focus on the problem):
> > 
> > http://www.macromedia.com/2003/mxml
>  
> >   > " 
> > width="100%" height="100%">
> > 
> > 
> > 
> >  result="hello
> > (event)" fault="onRemObjError(event)" showBusyCursor="true"/>
> > 
> > 
> >
>






--
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: WSDLError:Element not resolvable => LoadEvent doesn't imply service ready

2006-08-15 Thread kaleb_pederson
Very cool Seth!  Thanks for the heads up and the help in resolving 
the issue.

--Kaleb

--- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> 
wrote:
>
> Hi Kaleb,
> 
>  
> 
> Thanks for providing your WSDL/XSD/service code. We've identified 
and
> fixed the issue internally. The problem was that WSDL parsing 
dispatches
> the load event after the WSDL is loaded and parsed, but without 
properly
> waiting for schema imports to be fetched over the network and 
parsed.
> The simplest workaround is to avoid schema imports :-) If that 
isn't an
> option, catch the 'Element not resolvable' error and retry your 
call
> using a Timer on a short delay.
> 
>  
> 
> Thanks again for your help closing out this bug,
> 
> Seth
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of kaleb_pederson
> Sent: Tuesday, August 15, 2006 12:28 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
>  
> 
> Hello all,
> 
> I have provided Bill at Adobe with a copy of the WSDL and XSD for 
> the test service. I haven't received a response but assume that he 
> received them. The WSDL and XSD need not be large. For testing 
> purposes, I created a service that had only a single function that 
I 
> was able to use to reproduce this problem. I also offered to 
> provide that sample service to them.
> 
> I'll take a look at www.xmethods.net and see if the error 
reproduces 
> on some of their publically available services. I'll post back 
once 
> I know whether or not it reproduces.
> 
> Thanks.
> 
> --Kaleb
> 
> --- In flexcoders@yahoogroups.com 

> , "Franck de Bruijn" 
>  wrote:
> >
> > Hi Bill,
> > 
> > 
> > 
> > Great to see that someone from Adobe is looking into this. I 
hope 
> Kaleb is
> > reading this post and can provide you with the WSDL. I 
personally 
> did not
> > encounter this error myself, but it looks thoroughly 
investigated 
> by Kaleb.
> > 
> > 
> > 
> > If Kaleb is not responding, it's maybe an idea to create a huge 
> WSDL, then
> > load it and immediately after the LoadEvent try to call an 
> operation. It
> > should fail. If you need help with creating this WSDL I can try. 
> Let me
> > know.
> > 
> > 
> > 
> > Cheers,
> > 
> > Franck
> > 
> > 
> > 
> > _ 
> > 
> > From: flexcoders@yahoogroups.com 

> 
> [mailto:flexcoders@yahoogroups.com 

> ] On
> > Behalf Of Bill Sahlas
> > Sent: Wednesday, August 09, 2006 2:48 PM
> > To: flexcoders@yahoogroups.com 
 
> > Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable 
=> 
> LoadEvent
> > doesn't imply service ready
> > 
> > 
> > 
> > Howdy, 
> > 
> > 
> > 
> > I'd like to reproduce this internally here in the FDS QA lab 
using 
> some of
> > your examples. Can someone on this list forward me a link to a 
> WSDL that is
> > publicly accessible with sample code to execute?
> > 
> > 
> > 
> > Thanks, Bill
> > 
> > 
> > 
> > FDS QA - Adobe Systems Inc.
> > 
> > 
> > 
> > _ 
> > 
> > From: flexcoders@yahoogroups.com 

> 
> [mailto:flexcoders@yahoogroups.com 

> ] On
> > Behalf Of Franck de Bruijn
> > Sent: Tuesday, August 08, 2006 1:59 PM
> > To: flexcoders@yahoogroups.com 
 
> > Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable 
=> 
> LoadEvent
> > doesn't imply service ready
> > 
> > 
> > 
> > Hi Kaleb,
> > 
> > 
> > 
> > Cool! Great stuff..
> > 
> > 
> > 
> > My guess is that the delay is machine dependent, but not 
> necessarily network
> > dependent. I do believe that the LOAD event does indicate that 
the 
> WSDL
> > actually has loaded successfully. Flex will not need any more 
> access to the
> > network in order to initialize the web service.
> > 
> > 
> > 
> > Anyway, it's a little bit sloppy that the LOAD event does not 
> indicate that
> > the webservice is actually ready for use. I consider this a bug 
if 
> you ask
> > me. So, maybe this is something we can put on the wish list???
> > 
> > 
> > 
> > Thanks,
> > 
> > Franck
> > 
> > 
> > 
> > _ 
> > 
> > From: flexcoders@yahoogroups.com 

> 
> [mailto:flexcoders@yahoogroups.com 

> ] On
> > Behalf Of kaleb_pederson
> > Sent: Tuesday, August 08, 2006 7:18 PM
> > To: flexcoders@yahoogroups.com 
 
> > Subject: [flexcoders] Re: WSDLError:Element not resolvable => 
> LoadEvent
> > doesn't imply service ready
> > 
> > 
> > 
> > Frank,
> > 
> > I did a bit more research into this. I don't need nearly a 
second 
> > for the WebService to be ready after the load event. I just put 
> the 
> > whole process in a loop to see what kind of delay I need

[flexcoders] Re: Getting RPC Error, Channel.Connect.Failed error NetConnection.Call.Failed:HTTP

2006-08-15 Thread malik_robinson

Hi,

Where are the log files located that would contain information about an
error like this and if there are multiple similar to the logs in
ColdFusion (if your familiar), which log am I looking for?

Thanks,


Malik


--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Monday 14 August 2006 06:50, malik_robinson wrote:
> > error NetConnection.Call.Failed: HTTP: Status 500"]
>
> That's the internal error HTTP status code.
> What's in the server logs ?
>
> --
> Tom Chiverton
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF. A
list of members is available for inspection at the registered office.
Any reference to a partner in relation to Halliwells LLP means a member
of Halliwells LLP. Regulated by the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged. If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells LLP
or the addressee of its existence or contents. If you have received this
email in error please delete it and notify Halliwells LLP IT Department
on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>







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

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

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

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




[flexcoders] Flex doesnt like CFCs...

2006-08-15 Thread Greg Morphis
I'm passing a 10 digit number to my cfc and within the cfc I want to
divide the 10 digit number into 3 parts using the ColdFusion mid()
function. I cannot seem to get it to work.

here's what I'm trying.. and failing at..

   









  


If I run this from a CFM page, no problem.. however, from Flex I'm getting..
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:8300/npanxx/npanxx.cfc";].
URL:http://localhost:8300/npanxx/npanxx.cfc'

There isn't anything wrong with my CFC, so why is Flex freaking out on
me? And is there some other way of accomplishing what I'm trying to
do, does Flex require that we sacrifice a goat or something before
it'll behave?


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

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

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

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





RE: [flexcoders] Re: ASDoc now available on Labs

2006-08-15 Thread Brian Deitte
Hi Ricardo, that looks like a different issue.  Can you remove your
"package" parameters and see if this fixes it?  Do you have any special
characters used with a "package" parameter?  -Brian 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of ricardopettine
> Sent: Tuesday, August 15, 2006 2:34 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: ASDoc now available on Labs
> 
> Hi, I was getting the same error "The definition is in circular 
> inheritance" when using the doc-sources option. I tried to use the 
> doc-classes and I got the following error for some classes:
> 
> Loading configuration file D:\Java\Adobe\Flex Builder 2 Plug-in\Flex 
> SDK 2\frame
> works\flex-config.xml
> An unexpected error occurred.
> Error #1085: The element type "shortDescription" must be terminated 
> by the match
> ing end-tag "".
> 
> XSLT Error (javax.xml.transform.TransformerException): 
> java.io.FileNotFoundException: toplevel_classes.xml 
> 
> Any ideas?
> 
> thanks,
> 
> Ricardo.
> 
> --- In flexcoders@yahoogroups.com, "Brian Deitte" <[EMAIL PROTECTED]> wrote:
> >
> > Hi, I would just stick to doc-classes then.  :)  Well, I'm not sure 
> why
> > you'd get that with doc-sources.  The compiler believes that you 
> have
> > something similar to a class A which extends B which extends A.  If 
> you
> > could send me the files you use to reproduce this or a smaller test
> > case, I can look into this for a later release.  -Brian 
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams
> > > Sent: Monday, August 14, 2006 3:24 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: ASDoc now available on Labs
> > > 
> > > Any Idea what would fire off the following:
> > > 
> > > Error: The definition is in circular inheritance.
> > > 
> > > I can get it going by specifying individual classes but when I 
> use -
> > > doc-sources I get an output of a few of those errors.
> > > 
> > > --- In flexcoders@yahoogroups.com, "Brian Deitte"  
> wrote:
> > > >
> > > > And I'll be trying to awaken myself from my hibernation on 
> > > flexcoders,
> > > > so if you have any questions about it, fire away.  -Brian
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > > Yahoo! Groups Links
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > > 
> > >
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


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

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

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

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





Re: [flexcoders] hi

2006-08-15 Thread Marcelo de Moraes Serpa



Hey Samuel, you´re absolutely right on the sleepless nights and our best friend coffee! And of course once you´re in you can never go back! Flash Platform will hook you forever.And no, you shouldn´t know java. However both languages are pretty similar, so, knowing one will let you move to another without a long learning curve. I would recomend you to look for OOP books and design patterns and of course, AS3 and Flex books.. any questions I would be happy to help!
On 8/15/06, Samuel D. Colak <[EMAIL PROTECTED]> wrote:













  






Flex is a new up and coming technology and being honest one requirement is a sense of humor and a willingness (at least at the moment anyhow) to spend a lot of nights without sleep ;P


Welcome to the club, pull up a seat and try the coffee – Stay a while, Stay Forever !!

Samuel


On 15/8/06 19:52, "bardnivar" <[EMAIL PROTECTED]> wrote:

 
 
 

hi iam new to flex, for learning flex should i know java plz let
me know what is the minimum requirements to choose my career as a flex
coder, is there any jobs for flex coders (i know only flash)& what
applications should know the flex coders.***plz let me know***

 







  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Flex Data Services

2006-08-15 Thread Matt Chotin












If the firewall is simply a passthrough to
the web services then you need to adjust the WSDL to use the external IP
address rather than the internal IP address.  That’s what would cause the
problem outside the firewall.  You could also look into setting the endpointURI
on the WebService which will override the URI in the WSDL.  You would simply
override it to be the same as the path you specified for the WSDL itself.  This
would therefore not require a proxy.  I am assuming that your SWF is served
from the same URL as the firewall at this point, if it is not then David’s
comment about crossdomain.xml comes into play (or the need for the FDS proxy at
the same location where the SWF was served).

 

HTH,

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels
Sent: Tuesday, August 15, 2006
2:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
Data Services



 







Hi,

 

Others are more knowledgable on the Flex
team, but I think the options below are not your only options.

 

Please look into whether using the
crossdomainXML file on your server solves the problem.  Secondly, you may
need to proxy the web service--FDS comes with a proxy, but if you are only
using it for that and not taking advantage of dataSerices or messaging or
remoting you could just write a proxy yourself.  This is
generally not a large project.

 

-David

 







From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Franck de Bruijn
Sent: Tuesday, August 15, 2006
1:49 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Flex
Data Services



Webservices are indeed never meant to be hard and if they work
it’s totally simple. If they don’t work ... you’re in for
trouble: check the posts ... :) Unfortunately, my feeling tells me that Flex
has more problems communicating with .Net webservices than Java (AXIS based)
webservices.

 

For the problem mentioned originally by Scott, the following:

 

You cannot access the webservices behind a firewall directly from
the Flex application. The Flex application will be served to the client, but in
the end it does not matter. The Flex application will run locally. And if the
local machine cannot reach behind the firewall you’re out of luck. Even
if the webservices are not behind the webservices you probably will have a
problem accessing them, since Flash only allows you to address URLs with the
base identical to the URL you have downloaded your app from. Since you are
talking about two different machines, these base addresses will not match and
you’ll have a security issue.

 

To solve this you have to the ‘proxy’ way, which gives
you 2 directions:


 On the machine where you host
 your Flex application, set-up a server hosting your own webservices. These
 webservices can be called from the Flex app. The implementation behind
 these webservices can then forward the Flex requests to the real server.
 
 On the machine where you host
 your Flex application, set-up FDS. But here my experience lacks, so I
 cannot give you guidelines how to accomplish that. 


 

Good luck!

Franck

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006
6:48 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Flex
Data Services



 







You
can use Flex alone with its webservice support.
Im not sure what all the fuss is with FDS but webservices were never meant to
be that hard in general.


On 15/8/06 08:10, "scott.kinder" yahoo.com>
wrote:




 
 

Hi All,

I'm new to Flex 2 and Flex Data Services. I have a problem and I need
to find out if I need Flex 2 Data Services. I have an external server
serving up a SWF, and then a server behind the firewall that contains
.NET web services. If I want my users to be able to browse to the SWF,
and then communicate with the .NET services behind the firewall, do I
need to use Flex Data Services or can I use regular Flex 2?

Cheers

Scott Kinder

 




 














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  







Re: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Impudent1
> Personally, I am evaluating Flex as the front end for an application
> that relies heavily on .NET web services.


Similar situation, only I am making sure to keep as far from a 
coldfusion or .net solution as possible, keeping the backend stuff open 
source with mysql, php, amfphp.

Impudent1
LeapFrog Productions



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

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

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

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




RE: [flexcoders] Flex 2 ColdFusion Apps with IIS and Virtual directories.

2006-08-15 Thread Seth Hodgson












This fault on the client is indicating
that the client-side Channel wasn’t able to connect to the server-side
endpoint. Take a look at the  in your config file and
make sure that the endpoint URI defined there is actually reachable in a
browser.

 

Best,
Seth

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kjlinboomer
Sent: Tuesday, August 15, 2006
11:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2
ColdFusion Apps with IIS and Virtual directories.



 







Hello,

I am trying to set up a Flex2 app that calls CFCs via the new remoting
gateway. I am using ColdFusion integrated with IIS and virtual
directories. I am able to compile the application but cant call any
CFCs living in an IIS virtual directory. I receive the following error:

faultCode:Client.Error.MessageSend 
faultString:'Send failed' 
faultDetail:'Channel.Connect.Failed 
error NetConnection.Call.Failed: HTTP: Failed'

Now, I have set up all the proper mappings in CF, enabled mappings in
the services-config file and am sure my remoteObject mxml code is
correct. I'm thinking I might need to change something in the channel
setup in the services-config file but really cant find any
documentation on it. 

I am able to run apps and connect to CFCs fine when I have the
standalone version of ColdFusion installed and CFCs living in the CF
wwwroot. 

Has anybody been able to connect to CFCs in Flex2 with ColdFusion
integreated with IIS and virtual directories?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] unable to load wsdl?? flex, you're pissing me off...

2006-08-15 Thread Greg Morphis



cool, thanksOn 8/15/06, Clint Modien <[EMAIL PROTECTED]> wrote:



http://www.martijndevisser.com/blog/article/why-crossdomainxml-is-a-good-thing
On 8/15/06, 
Greg Morphis <[EMAIL PROTECTED]> wrote:














  



When I run my app I get the error "Unable to load WSDL..."
I can view my cfc in the component explorer and I can create a .cfm
page to reference the cfc file. So I know my cfc is okay. Something I
did notice was in CF I am getting these strange error messages that I
havent seen before.

08/15 15:28:44 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:31:38 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:32:06 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:35:40 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found

WTH is %2crossdomain.xml?

  




















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Accordion Headers: Only one?

2006-08-15 Thread Gordon Smith












An Accordion automatically creates one
instance of AccordionHeader for each child pane that you add to the Accordion. You
can get a reference to the i-th header with getHeaderAt(i), which is conceptually
similar to getChildAt(i).

 

Can you clarify what it is about the description
that made you think an Accordion has only a single AccordionHeader?

 

I don't know what you mean by an Accordion
"session".

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Ortega
Sent: Tuesday, August 15, 2006
12:12 PM
To: flexcoders
Subject: [flexcoders] Accordion
Headers: Only one?



 







An
according can only have one header, correct?  I'm asssuming so since the
AccordionHeader section has this bit in its description:

The AccordionHeader class defines the appearance of the navigation buttons of
an Accordion. You use the getHeaderAt() method of the
Accordion class to get a reference to an individual AccordionHeader object.


So, no different header per accordion session then, eh?

Thanks,
Tom






__._,_.___





--
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] Flex2: Trouble with BaseListData.rowIndex

2006-08-15 Thread Tobias Patton










Hello Flexcoders;

 

I’m trying to write a list item renderer that alternates
its background color based on its position in its parent list’s data
provider. I know I could use the alternatingItemColors style on the list, but I
don’t like the way it’s implemented. (Even rows with no content get
the alternating colors. IMHO, empty rows should look like empty rows.)

 

My item renderer implements IDropInListItemRenderer and
caches the rowIndex parameter of the list data in a bindable attribute. However,
if you run the test application included at the bottom of this email, you’ll
see that the rowIndex parameter is incorrect when the list is scrolled. When
scrolling down, items added to the bottom of the list get the same rowIndex as
the item above them. When scrolling up, items added to the top of the list
always get rowIndex 0. 

 

The rowIndex parameters can be re-established with the
correct values by making some change to the list that forces it to redraw. For
instance, changing the rowHeight parameter.

 

Is this a bug, or am I doing something wrong?

 

Thanks.

Tobias.

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 

 





 

  

    Zero

    One

    Two

    Three

    Four

    Five

    Six

    Seven

    Eight

    Nine

    Ten

  

  

  

    {ac}

    

  

    

  horizontalScrollPolicy="off"

  implements="mx.controls.listClasses.IDropInListItemRenderer">

  

    

    

  

      

  

    

    

  

  

  

  

  

    

    

    



 




__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Re: WSDLError:Element not resolvable => LoadEvent doesn't imply service ready

2006-08-15 Thread Seth Hodgson












Hi Kaleb,

 

Thanks for providing your WSDL/XSD/service
code. We’ve identified and fixed the issue internally. The problem was
that WSDL parsing dispatches the load event after the WSDL is loaded and parsed,
but without properly waiting for schema imports to be fetched over the network and
parsed. The simplest workaround is to avoid schema imports J If that isn’t an
option, catch the ‘Element not resolvable’ error and retry your
call using a Timer on a short delay.

 

Thanks again for your help closing out
this bug,

Seth

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kaleb_pederson
Sent: Tuesday, August 15, 2006
12:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WSDLError:Element not resolvable => LoadEvent doesn't imply service ready



 







Hello all,

I have provided Bill at Adobe with a copy of the WSDL and XSD for 
the test service. I haven't received a response but assume that he 
received them. The WSDL and XSD need not be large. For testing 
purposes, I created a service that had only a single function that I 
was able to use to reproduce this problem. I also offered to 
provide that sample service to them.

I'll take a look at www.xmethods.net and see if the error reproduces 
on some of their publically available services. I'll post back once 
I know whether or not it reproduces.

Thanks.

--Kaleb

--- In [EMAIL PROTECTED]ups.com,
"Franck de Bruijn" 
...> wrote:
>
> Hi Bill,
> 
> 
> 
> Great to see that someone from Adobe is looking into this. I hope 
Kaleb is
> reading this post and can provide you with the WSDL. I personally 
did not
> encounter this error myself, but it looks thoroughly investigated 
by Kaleb.
> 
> 
> 
> If Kaleb is not responding, it's maybe an idea to create a huge 
WSDL, then
> load it and immediately after the LoadEvent try to call an 
operation. It
> should fail. If you need help with creating this WSDL I can try. 
Let me
> know.
> 
> 
> 
> Cheers,
> 
> Franck
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Bill Sahlas
> Sent: Wednesday, August 09, 2006 2:48 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
> 
> 
> Howdy, 
> 
> 
> 
> I'd like to reproduce this internally here in the FDS QA lab using 
some of
> your examples. Can someone on this list forward me a link to a 
WSDL that is
> publicly accessible with sample code to execute?
> 
> 
> 
> Thanks, Bill
> 
> 
> 
> FDS QA - Adobe Systems Inc.
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Franck de Bruijn
> Sent: Tuesday, August 08, 2006 1:59 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
> 
> 
> Hi Kaleb,
> 
> 
> 
> Cool! Great stuff..
> 
> 
> 
> My guess is that the delay is machine dependent, but not 
necessarily network
> dependent. I do believe that the LOAD event does indicate that the 
WSDL
> actually has loaded successfully. Flex will not need any more 
access to the
> network in order to initialize the web service.
> 
> 
> 
> Anyway, it's a little bit sloppy that the LOAD event does not 
indicate that
> the webservice is actually ready for use. I consider this a bug if 
you ask
> me. So, maybe this is something we can put on the wish list???
> 
> 
> 
> Thanks,
> 
> Franck
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of kaleb_pederson
> Sent: Tuesday, August 08, 2006 7:18 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
> 
> 
> Frank,
> 
> I did a bit more research into this. I don't need nearly a second 
> for the WebService to be ready after the load event. I just put 
the 
> whole process in a loop to see what kind of delay I need to make 
it 
> work on my box (with the service running on my box). 
Unfortunately, 
> the delay is probably machine and network dependent and, 
therefore, 
> would have to be different on other machines.
> 
> My results were:
> 
> res[delay in ms] = # successes (out of 100)
> res[1] = 0
> res[2] = 5 ...
> res[10] = 13 ...
> res[15] = 42 ...
> res[20] = 53 ...
> res[30] = 77 ...
> res[38] = 100
> (and the rest were 100 also)
> 
> Somebody else had what may have been a similar problem and he just 
> re-fired the request 
> (http://groups. 

> yahoo.com/group/flexcoders/message/46401). That's 
> certainly not an elegant solution
> 
> So, I still don't have a solution, just a work-around. Does 
anybody 
> else have any ideas or suggestions?
> 
> Thanks.
> 
> --Kaleb
> 
> --- In [EMAIL PROTECTED] 40yahoogroups.com>

ups.com,
> "Franck de Bruijn" 
> > wrote:
> >
> > Hi Kaleb,
> > 
> > 
> > 
> > I al

[flexcoders] Popup TitleWindow is 50% Alpha by default?

2006-08-15 Thread Mike Anderson
Hello All,

Every time I popup a Container Window, it's always see-through around
the edges.

The actual content within the TitleWindow (like a  or other
control) is just fine, but the area making up the outer-portion of the
TitleWindow is all see-through.

Is this the default behavior of the TitleWindow (or any other Panel-type
control for that matter) when it's being displayed as a PopUp??  I
really need to make the entire window, completely solid in color - 

Any ideas anybody?

Thanks,

Mike


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

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

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

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




Re: [flexcoders] Re: MediaPlayback for Flex 2

2006-08-15 Thread hank williams



On 8/15/06, Bruno Martins <[EMAIL PROTECTED]> wrote:




I know that the MediaDisplay now is the VideoDisplay but I need the MediaPlayback witch is a component that use the MediaDisplay and MediaController, however the Flex Framework 2 don't have any substitute to the MediaController and also the MediaPlayback. 
That is correct, you have to do it yourself.Hank 
On 8/15/06, Renaun Erickson <
[EMAIL PROTECTED]
> wrote: 






Name change "VideoDisplay" now.http://livedocs.macromedia.com/flex/2/langref/mx/controls/VideoDisplay.html 

--- In flexcoders@yahoogroups.com, "Bruno Martins" <[EMAIL PROTECTED]> wrote: 
>> Any one know where I can find it?> > Tks..> > -- > Bruno Gustavo Martins> Office: (11)3443-9527> experience everywhere> 

http://www.dclick.com.br/blog>

 -- Bruno Gustavo Martins 
Office: (11)3443-9527experience everywherehttp://www.dclick.com.br/blog 

-- Bruno Gustavo MartinsOffice: (11)3443-9527experience everywherehttp://www.dclick.com.br/blog
 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] job opportunity in NYC

2006-08-15 Thread Matt Chotin













At last check the group voted to keep
allowing job postings that are Flex-related in.  It’s the ones that aren’t
Flex-related that we boot very quickly.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006
1:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] job
opportunity in NYC



 







You have to be kidding me –
job adverts in the flex group ?
Samuel


On 15/8/06 21:12, "vgriffith1968" <[EMAIL PROTECTED]ment.com>
wrote:




 
 

Software Engineer, Actionscript and Flex

We are seeking a Senior Software Engineer to be responsible for 
developing in Flex. In this role, you will contribute to the 
architecture, coding, debugging, and product release for solutions 
developed in Flex.  Strong OOP and Actionscript skills are requi

Requirements 
 Bachelor's degree in Computer
Science or equivalent. 
 Requires a minimum of four years'
industry experience in OOP.
 Experience with the following
technologies: Flex, 
Actionscript, Java / .NET / C#, SOAP, web services, HTML, CSS, XML, 
RSS, Flex, Eclipse Platform. 
 Knowledge of design patterns.
 Knowledge of Flex Frameworks
(Cairngorm, FAST) a plus
 Excellent written and verbal
communication skills. 
 Ability to balance team and
individual responsibilities. 
 Commitment to the highest levels
of quality. 
 Demonstrated ability to work with
accuracy and thoroughness. 
 Ability to work with integrity and
to uphold ethically and 
continuously organizational values. 

For immediate consideration, please email resume in confidence to 
[EMAIL PROTECTED]ment.com 40taskmanagement.com>


 




 






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: MediaPlayback for Flex 2

2006-08-15 Thread Bruno Martins




I know that the MediaDisplay now is the VideoDisplay but I need the MediaPlayback witch is a component that use the MediaDisplay and MediaController, however the Flex Framework 2 don't have any substitute to the MediaController and also the MediaPlayback. 


On 8/15/06, Renaun Erickson <[EMAIL PROTECTED]
> wrote: 






Name change "VideoDisplay" now.http://livedocs.macromedia.com/flex/2/langref/mx/controls/VideoDisplay.html 

--- In flexcoders@yahoogroups.com, "Bruno Martins" <[EMAIL PROTECTED]> wrote: 
>> Any one know where I can find it?> > Tks..> > -- > Bruno Gustavo Martins> Office: (11)3443-9527> experience everywhere> 
http://www.dclick.com.br/blog>

 -- Bruno Gustavo Martins 
Office: (11)3443-9527experience everywherehttp://www.dclick.com.br/blog 
-- Bruno Gustavo MartinsOffice: (11)3443-9527experience everywherehttp://www.dclick.com.br/blog 

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: ASDoc now available on Labs

2006-08-15 Thread ricardopettine
Hi, I was getting the same error "The definition is in circular 
inheritance" when using the doc-sources option. I tried to use the 
doc-classes and I got the following error for some classes:

Loading configuration file D:\Java\Adobe\Flex Builder 2 Plug-in\Flex 
SDK 2\frame
works\flex-config.xml
An unexpected error occurred.
Error #1085: The element type "shortDescription" must be terminated 
by the match
ing end-tag "".

XSLT Error (javax.xml.transform.TransformerException): 
java.io.FileNotFoundException: toplevel_classes.xml 

Any ideas?

thanks,

Ricardo.

--- In flexcoders@yahoogroups.com, "Brian Deitte" <[EMAIL PROTECTED]> wrote:
>
> Hi, I would just stick to doc-classes then.  :)  Well, I'm not sure 
why
> you'd get that with doc-sources.  The compiler believes that you 
have
> something similar to a class A which extends B which extends A.  If 
you
> could send me the files you use to reproduce this or a smaller test
> case, I can look into this for a later release.  -Brian 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams
> > Sent: Monday, August 14, 2006 3:24 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: ASDoc now available on Labs
> > 
> > Any Idea what would fire off the following:
> > 
> > Error: The definition is in circular inheritance.
> > 
> > I can get it going by specifying individual classes but when I 
use -
> > doc-sources I get an output of a few of those errors.
> > 
> > --- In flexcoders@yahoogroups.com, "Brian Deitte"  
wrote:
> > >
> > > And I'll be trying to awaken myself from my hibernation on 
> > flexcoders,
> > > so if you have any questions about it, fire away.  -Brian
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >
>






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

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

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

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





Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript





Franck,

PM me directly on [EMAIL PROTECTED] and ill send though the code for the ws queue I developed. It will save you some sleepless nights believe me !

Samuel


On 15/8/06 20:28, "Franck de Bruijn" <[EMAIL PROTECTED]> wrote:

 
 
 

Hi Samuel,
 
H Sounds a little complicated to me :)
 
I have built a small demo-application that has all the intricacies of what I call an Enterprise Administrative System. The webservices look like this:
CustomerWebService (wsdl)  
findCustomersByCriteria 
findCustomerByNumber 
createCustomer 
updateCustomer 
removeCustomer 
SecurityWebService (wsdl)  
updateUser 
changePassword 
resetPassword 
findUserSessions 
timeoutSession 
findUsers 
findUser 
createUser 
deleteUser 
logoff 
LoginWebService (wsdl)  
login 
In Flex I have ‘dynamic’ ActionScript classes that extend mx.rpc.soap.WebService. 
 
Let’s take the LoginWebService as an example, to see how I deal with webservices.
 
Somewhere at application startup I do the following:
var loginService:LoginService; 
loginImpl = new LoginWebServiceImpl(); 
loginService.addEventListener(LoadEvent.LOAD, handleWsLoaded); 
loginService.addEventListener(“fault”, handleWsError); 
loginService.loadWSDL(); 
 
Then, in the handleWsLoaded() method you could for example enable the Login button (as I do). The loginService variable I keep somewhere statically available, so that I can always reuse it in my application.
 
After the user has entered his username/password combination, I do the following:
loginService.login.addEventListener(“result”, handleResultEvent); 
loginService.login.addEventListener(“fault”, handleFaultEvent); 
loginService.login(“username”, “password”) 
 
Then, in your handleResultEvent you can retrieve your results (my login method gives back a UserSession object, which has all kinds of properties and a sub-object):
private function handleResultEvent (aEvent:ResultEvent):void 
var userSession:UserSession; 
userSession = UserSession.parse(aEvent.result); 
 
Don’t bother about the UserSession part; it’s the aEvent.result part where you get your info.
 
I have to admit that I did not try this yet in Flex 2, official release. I’m still in the process of acquiring a license ... it’s a little bit of a political challenge :). But I presume that this code will still be valid; otherwise I have a huge problem myself.
 
Recently, I see al this AsyncToken stuff popping up ... I don’t know where that comes from. I never used it ... and I hope I’ll never will.
 
My 2 cents,
Cheers,
Franck





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006 6:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript
 

Hey Franck,

You use how many wsdl’s? Wow – I always thought that one wsdl caters for many functions. What I do, in psuedo code, is create a queue (array of objects) inside a class – the class instantiates the wsdl reference, and keeps this connected (until the app dies or the world ends) – I only need to do this once per wsdl and then when I call a webservice, I instantiate a AbstactOperation as a class inside the array. Add a couple of event catchers and you have a capability to call many webservices asynchronously and very very little code to burn. You have to be careful with the AsyncToken, as you mentioned a number of sleepless nights, as you cant guarantee that you see something in there after the send operation. This took about 2 days to work out before I suddenly “homer’d”.

Samuel

On 15/8/06 06:34, "Franck de Bruijn" <[EMAIL PROTECTED]> wrote:


 
 

Hi Samuel,
 
Good to hear that it works now. It’s the tedious hours chasing a stupid bug that gives the greatest learning curve!
 
When I start up my application I load all the WSDLs I need. For each load I register on the LoadEvent. I know how much WSDLs I’m loading, so I count the number of events that I receive back. Only when I have received all WSDLs I unlock the ‘Login’ button. In my opinion you have to wait until all WSDLs have loaded successfully, otherwise it has no use to start your application.
 
I only (try to) use MXML for the visual parts. For all other parts like models, controllers, webservices and the like I’m using actionscript.
 
Cheers,
Franck
 





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 5:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript




Franck,



i managed to get it working without any issues - yes i own ifeel3.com, so there arent any security violations as the flash file is originating from the same site.



The code issue you mention is very valid for the startup - once the wsdl is cached it doesnt take much more time - i forgot to take into account that when you query an iis server running dotNet framewo

[flexcoders] Re: What is wrong with my component

2006-08-15 Thread dadrobson
Did you set the value of "URL"? I see where you declared the variable,
and made it Bindable, but I don't see where you set the value.

In other words, I see this:
[Bindable]
public var URL:String;

But I don't see anything like this:

URL = "http://www.myWebSite.com";;


--- In flexcoders@yahoogroups.com, "Faisal Abid" <[EMAIL PROTECTED]> wrote:
>
> I am developing a download widget and I have created bindable
propertys and etc and my URL var is linked to navigateToURL and when i
fill the URL with a property eg  it
will nto go to myurl instead it will go to projectroot/myurl . here is
the portion of the code. rember it is just a portion of the code , i
dont want to reveal all the code.
> 
> 
> 
> 
> 
> 
>






--
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 Data Services

2006-08-15 Thread scott.kinder
Franck, this is exactly what I was looking for - thank you!!

-Ryan

--- In flexcoders@yahoogroups.com, "Franck de Bruijn"
<[EMAIL PROTECTED]> wrote:
>
> Webservices are indeed never meant to be hard and if they work it's
totally
> simple. If they don't work ... you're in for trouble: check the
posts ... :)
> Unfortunately, my feeling tells me that Flex has more problems
communicating
> with .Net webservices than Java (AXIS based) webservices.
> 
>  
> 
> For the problem mentioned originally by Scott, the following:
> 
>  
> 
> You cannot access the webservices behind a firewall directly from
the Flex
> application. The Flex application will be served to the client, but
in the
> end it does not matter. The Flex application will run locally. And
if the
> local machine cannot reach behind the firewall you're out of luck.
Even if
> the webservices are not behind the webservices you probably will have a
> problem accessing them, since Flash only allows you to address URLs
with the
> base identical to the URL you have downloaded your app from. Since
you are
> talking about two different machines, these base addresses will not
match
> and you'll have a security issue.
> 
>  
> 
> To solve this you have to the 'proxy' way, which gives you 2 directions:
> 
> * On the machine where you host your Flex application, set-up a server
> hosting your own webservices. These webservices can be called from
the Flex
> app. The implementation behind these webservices can then forward
the Flex
> requests to the real server.
> * On the machine where you host your Flex application, set-up FDS. But
> here my experience lacks, so I cannot give you guidelines how to
accomplish
> that.
> 
>  
> 
> Good luck!
> 
> Franck
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Samuel D. Colak
> Sent: Tuesday, August 15, 2006 6:48 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Flex Data Services
> 
>  
> 
> You can use Flex alone with its webservice support.
> Im not sure what all the fuss is with FDS but webservices were never
meant
> to be that hard in general.
> 
> 
> On 15/8/06 08:10, "scott.kinder" <[EMAIL PROTECTED]> wrote:
> 
> 
>  
>  
> 
> Hi All,
> 
> I'm new to Flex 2 and Flex Data Services. I have a problem and I need
> to find out if I need Flex 2 Data Services. I have an external server
> serving up a SWF, and then a server behind the firewall that contains
> .NET web services. If I want my users to be able to browse to the SWF,
> and then communicate with the .NET services behind the firewall, do I
> need to use Flex Data Services or can I use regular Flex 2?
> 
> Cheers
> 
> Scott Kinder
>







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

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

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

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




RE: [flexcoders] unable to load wsdl?? flex, you're pissing me off...

2006-08-15 Thread Seth Hodgson












Flash runs in a security sandbox that
blocks access to remote domains that the swf was not served from.

 

Here’s a technote that describes
this in detail.

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

 

Best,

Seth

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Greg Morphis
Sent: Tuesday, August 15, 2006
1:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] unable to
load wsdl?? flex, you're pissing me off...



 







When I
run my app I get the error "Unable to load WSDL..."
I can view my cfc in the component explorer and I can create a .cfm
page to reference the cfc file. So I know my cfc is okay. Something I
did notice was in CF I am getting these strange error messages that I
havent seen before.

08/15 15:28:44 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:31:38 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:32:06 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:35:40 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found

WTH is %2crossdomain.xml?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] unable to load wsdl?? flex, you're pissing me off...

2006-08-15 Thread Clint Modien



http://www.martijndevisser.com/blog/article/why-crossdomainxml-is-a-good-thingOn 8/15/06, 
Greg Morphis <[EMAIL PROTECTED]> wrote:













  



When I run my app I get the error "Unable to load WSDL..."
I can view my cfc in the component explorer and I can create a .cfm
page to reference the cfc file. So I know my cfc is okay. Something I
did notice was in CF I am getting these strange error messages that I
havent seen before.

08/15 15:28:44 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:31:38 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:32:06 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:35:40 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found

WTH is %2crossdomain.xml?

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: ArrayCollection object to Model for Remoting Help

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: ArrayCollection object to Model for Remoting Help





To reference individual items in the array object simply do

object.EnvNum (replacing object for the array index property) - for instance...

for (var counter:Number = 0; counter < array.length; counter++) {
var objectInFocus:Object = array[counter];
// reference item as ‘objectInFocus.EnvNum’ and do something with it.
}

MXML should reference individual entities in more or less the same manner.

Regards
Samuel


On 15/8/06 22:28, "Nick Collins" <[EMAIL PROTECTED]> wrote:

 
 
 

Doesn't anyone have any insight on this?

On 8/15/06, Nick Collins <[EMAIL PROTECTED]> wrote:
Ok, I've got a form that requires me to be able to have multiple subtransactions that can be submitted with one click.

The way I have it set up is when you've completed the form you click a button and it adds the values of the form fields to an object within an ArrayCollection. That ArrayCollection is bindable and is set as the dataprovider for a datagrid that lists these sub-transactions. I can add as many items to this "queue" as I like, and that part works just fine. 

The part I'm having trouble with is when I want to post those records to the database.

I have a model set up for the remoting. It worked fine when I was passing the values from the form to the model then to the DB, but I'm not sure how to pass the data from the ArrayCollection into the model to be submitted. 

In the save function I have the following code

for each (var item:Object in transactionArray)
{
saveItem(this.detailObject);
}

where transactionArray is the ArrayCollection and detailObject is the model. Now, it does run the remoting call for each of the line items, it's just not putting the data into the model, so I'm getting empty records. 

My ArrayCollection looks like this:

private var transactionArray:ArrayCollection = new ArrayCollection(
[{
EnvNum: '',
DateTrans: '', 
Currency: '', 
CheckNum: '', 
Fund: '', 
Amount: '', 
Comment: '', 
TransID: '',
UUID: ''
}]);

How can I bind an individual property of transactionArray, such as EnvNum to my model, detailObject 


{this._key as String}
{Number(subTransEnvNum.itemToLabel(this))} 
{subTransDateTrans.itemToLabel(this) as Date}
{subTransCurrency.itemToLabel(this) as String}
{Number( subTransCheckNum.itemToLabel(this))}
{subTransFund.itemToLabel(this) as String}
{Number(subTransAmount.itemToLabel(this))} 
{subTransComment.itemToLabel(this) as String}
{subTransTransID.itemToLabel(this) as String}
{ subTransUUID.itemToLabel(this) as String}


this doesn't work, all the values come in as null. I was trying to pull the values from the DataGridColumns, but that wasn't working for me here. Please help! Thanks if advance. 

 




__._,_.___





--
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] unable to load wsdl?? flex, you're pissing me off...

2006-08-15 Thread Greg Morphis
When I run my app I get the error "Unable to load WSDL..."
I can view my cfc in the component explorer and I can create a .cfm
page to reference the cfc file. So I know my cfc is okay. Something I
did notice was in CF I am getting these strange error messages that I
havent seen before.

08/15 15:28:44 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:31:38 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:32:06 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found
08/15 15:35:40 error Requested resource '/crossdomain.xml' (%2fcrossdomain.xml)
not found

WTH is %2crossdomain.xml?


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

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

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

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





Re: [flexcoders] job opportunity in NYC

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] job opportunity in NYC





You have to be kidding me – job adverts in the flex group ?
Samuel


On 15/8/06 21:12, "vgriffith1968" <[EMAIL PROTECTED]> wrote:

 
 
 

Software Engineer, Actionscript and Flex

We are seeking a Senior Software Engineer to be responsible for 
developing in Flex. In this role, you will contribute to the 
architecture, coding, debugging, and product release for solutions 
developed in Flex.  Strong OOP and Actionscript skills are requi

Requirements 
 Bachelor's degree in Computer Science or equivalent. 
 Requires a minimum of four years' industry experience in OOP.
 Experience with the following technologies: Flex, 
Actionscript, Java / .NET / C#, SOAP, web services, HTML, CSS, XML, 
RSS, Flex, Eclipse Platform. 
 Knowledge of design patterns.
 Knowledge of Flex Frameworks (Cairngorm, FAST) a plus
 Excellent written and verbal communication skills. 
 Ability to balance team and individual responsibilities. 
 Commitment to the highest levels of quality. 
 Demonstrated ability to work with accuracy and thoroughness. 
 Ability to work with integrity and to uphold ethically and 
continuously organizational values. 

For immediate consideration, please email resume in confidence to 
[EMAIL PROTECTED]  

 




__._,_.___





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








   



  




  
  
  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] What is wrong with my component

2006-08-15 Thread Faisal Abid



I am developing a download widget and I have created bindable propertys and etc and my URL var is linked to navigateToURL and when i fill the URL with a property eg  it will nto go to myurl instead it will go to projectroot/myurl . here is the portion of the code. rember it is just a portion of the code , i dont want to reveal all the code.                     

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] hi

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] hi





Flex is a new up and coming technology and being honest one requirement is a sense of humor and a willingness (at least at the moment anyhow) to spend a lot of nights without sleep ;P

Welcome to the club, pull up a seat and try the coffee – Stay a while, Stay Forever !!

Samuel


On 15/8/06 19:52, "bardnivar" <[EMAIL PROTECTED]> wrote:

 
 
 

hi iam new to flex, for learning flex should i know java plz let
me know what is the minimum requirements to choose my career as a flex
coder, is there any jobs for flex coders (i know only flash)& what
applications should know the flex coders.***plz let me know***

 




__._,_.___





--
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: ArrayCollection object to Model for Remoting Help

2006-08-15 Thread Nick Collins



Doesn't anyone have any insight on this?On 8/15/06, Nick Collins <[EMAIL PROTECTED]> wrote:
Ok, I've got a form that requires me to be able to have multiple subtransactions that can be submitted with one click.The way I have it set up is when you've completed the form you click a button and it adds the values of the form fields to an object within an ArrayCollection. That ArrayCollection is bindable and is set as the dataprovider for a datagrid that lists these sub-transactions. I can add as many items to this "queue" as I like, and that part works just fine.
The part I'm having trouble with is when I want to post those records to the database.I have a model set up for the remoting. It worked fine when I was passing the values from the form to the model then to the DB, but I'm not sure how to pass the data from the ArrayCollection into the model to be submitted.
In the save function I have the following codefor each (var item:Object in transactionArray)                {                    saveItem(this.detailObject);                }where transactionArray is the ArrayCollection and detailObject is the model. Now, it does run the remoting call for each of the line items, it's just not putting the data into the model, so I'm getting empty records.
My ArrayCollection looks like this:private var transactionArray:ArrayCollection = new ArrayCollection(                            [{                                EnvNum: '',                                DateTrans: '',
                                Currency: '',                                 CheckNum: '',                                 Fund: '',                                 Amount: '',                                 Comment: '',
                                TransID: '',                                UUID: ''                            }]);How can I bind an individual property of transactionArray, such as EnvNum to my model, detailObject
        {this._key as String}        {Number(subTransEnvNum.itemToLabel(this))}
        {subTransDateTrans.itemToLabel(this) as Date}        {subTransCurrency.itemToLabel(this) as String}        {Number(
subTransCheckNum.itemToLabel(this))}        {subTransFund.itemToLabel(this) as String}        {Number(subTransAmount.itemToLabel(this))}
        {subTransComment.itemToLabel(this) as String}        {subTransTransID.itemToLabel(this) as String}        {
subTransUUID.itemToLabel(this) as String}this doesn't work, all the values come in as null. I was trying to pull the values from the DataGridColumns, but that wasn't working for me here. Please help! Thanks if advance.




__._,_.___





--
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: XML vs. Array data provider... inline renderer for DataGridColumn discrepanc

2006-08-15 Thread lostinrecursion
Don't quote me on this, but I think you can use an inline renderer on
a leaf node. If not, look at the Class and go one up. See if the class
it extends from has any properties for the children and go from there.

--- In flexcoders@yahoogroups.com, "Jeff" <[EMAIL PROTECTED]> wrote:
>
> 
> Thanks Kenny, for the sanity check and the example! At least I'm not as
> crazy or stoopid as I was beginning to feel.
> 
> OK, so if that's the way it has to be, I can easily turn my XML into
> arrayCollections for dataGrids.
> 
> In another part of the app, though, I need to have a tree of checkboxes
> in which every branch and leaf has a checkbox on it (think "MSBackup",
> for example). Any ideas for that?
> 
> Cheers,
> Jeff
> 
> 
> --- In flexcoders@yahoogroups.com, "lostinrecursion" 
> wrote:
> >
> > Hi there. I have had a lot of trouble over the Flex 2 launch with
> > getting XML to behave correctly as a DataProvider. I have found that
> > converting the XML to an ArrayCollection first solves most problems.
> > YOu don't have to do it by looping either. You can typically use the
> >  tag to accomplish it simply.
> >
> > See the following post:
> >
> > http://www.mail-archive.com/flexcoders@yahoogroups.com/msg33137.html
> >
> > HTH
> > -Kenny
>







--
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: MediaPlayback for Flex 2

2006-08-15 Thread Renaun Erickson
Name change "VideoDisplay" now.

http://livedocs.macromedia.com/flex/2/langref/mx/controls/VideoDisplay.html

--- In flexcoders@yahoogroups.com, "Bruno Martins" <[EMAIL PROTECTED]> wrote:
>
> Any one know where I can find it?
> 
> Tks..
> 
> -- 
> Bruno Gustavo Martins
> Office: (11)3443-9527
> experience everywhere
> http://www.dclick.com.br/blog
>







--
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: WSDLError:Element not resolvable => LoadEvent doesn't imply service ready

2006-08-15 Thread kaleb_pederson
Hello all,

I have provided Bill at Adobe with a copy of the WSDL and XSD for 
the test service.  I haven't received a response but assume that he 
received them.  The WSDL and XSD need not be large.  For testing 
purposes, I created a service that had only a single function that I 
was able to use to reproduce this problem.  I also offered to 
provide that sample service to them.

I'll take a look at www.xmethods.net and see if the error reproduces 
on some of their publically available services.  I'll post back once 
I know whether or not it reproduces.

Thanks.

--Kaleb

--- In flexcoders@yahoogroups.com, "Franck de Bruijn" 
<[EMAIL PROTECTED]> wrote:
>
> Hi Bill,
> 
>  
> 
> Great to see that someone from Adobe is looking into this. I hope 
Kaleb is
> reading this post and can provide you with the WSDL. I personally 
did not
> encounter this error myself, but it looks thoroughly investigated 
by Kaleb.
> 
>  
> 
> If Kaleb is not responding, it's maybe an idea to create a huge 
WSDL, then
> load it and immediately after the LoadEvent try to call an 
operation. It
> should fail. If you need help with creating this WSDL I can try. 
Let me
> know.
> 
>  
> 
> Cheers,
> 
> Franck
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Bill Sahlas
> Sent: Wednesday, August 09, 2006 2:48 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
>  
> 
> Howdy, 
> 
>  
> 
> I'd like to reproduce this internally here in the FDS QA lab using 
some of
> your examples.  Can someone on this list forward me a link to a 
WSDL that is
> publicly accessible with sample code to execute?
> 
>  
> 
> Thanks, Bill
> 
>  
> 
> FDS QA - Adobe Systems Inc.
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Franck de Bruijn
> Sent: Tuesday, August 08, 2006 1:59 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
>  
> 
> Hi Kaleb,
> 
>  
> 
> Cool! Great stuff..
> 
>  
> 
> My guess is that the delay is machine dependent, but not 
necessarily network
> dependent. I do believe that the LOAD event does indicate that the 
WSDL
> actually has loaded successfully. Flex will not need any more 
access to the
> network in order to initialize the web service.
> 
>  
> 
> Anyway, it's a little bit sloppy that the LOAD event does not 
indicate that
> the webservice is actually ready for use. I consider this a bug if 
you ask
> me. So, maybe this is something we can put on the wish list???
> 
>  
> 
> Thanks,
> 
> Franck
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of kaleb_pederson
> Sent: Tuesday, August 08, 2006 7:18 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: WSDLError:Element not resolvable => 
LoadEvent
> doesn't imply service ready
> 
>  
> 
> Frank,
> 
> I did a bit more research into this. I don't need nearly a second 
> for the WebService to be ready after the load event. I just put 
the 
> whole process in a loop to see what kind of delay I need to make 
it 
> work on my box (with the service running on my box). 
Unfortunately, 
> the delay is probably machine and network dependent and, 
therefore, 
> would have to be different on other machines.
> 
> My results were:
> 
> res[delay in ms] = # successes (out of 100)
> res[1] = 0
> res[2] = 5 ...
> res[10] = 13 ...
> res[15] = 42 ...
> res[20] = 53 ...
> res[30] = 77 ...
> res[38] = 100
> (and the rest were 100 also)
> 
> Somebody else had what may have been a similar problem and he just 
> re-fired the request 
> (http://groups. 

> yahoo.com/group/flexcoders/message/46401). That's 
> certainly not an elegant solution
> 
> So, I still don't have a solution, just a work-around. Does 
anybody 
> else have any ideas or suggestions?
> 
> Thanks.
> 
> --Kaleb
> 
> --- In [EMAIL PROTECTED]  
ups.com,
> "Franck de Bruijn" 
>  wrote:
> >
> > Hi Kaleb,
> > 
> > 
> > 
> > I always expected the web service to be ready after the load 
event
> > completed. Probably it's a matter of milliseconds. I never 
> encountered your
> > problem before, since I don't automatically call web services 
> after loading.
> > So far, my webservices are only invoked behind a button.
> > 
> > 
> > 
> > But sooner or later I probably will, since I will want to push 
> master data
> > from the server into the application (like a country table or 
> something like
> > that) directly after startup.
> > 
> > 
> > 
> > So, this does not sound good ...
> > 
> > 
> > 
> > I expect that your workaround is the only solution.
> > 
> > 
> > 
> > Cheers,
> > 
> > Franck
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED] 

[flexcoders] job opportunity in NYC

2006-08-15 Thread vgriffith1968
Software Engineer, Actionscript and Flex

We are seeking a Senior Software Engineer to be responsible for 
developing in Flex. In this role, you will contribute to the 
architecture, coding, debugging, and product release for solutions 
developed in Flex.  Strong OOP and Actionscript skills are requi

Requirements 
•   Bachelor's degree in Computer Science or equivalent. 
•   Requires a minimum of four years' industry experience in OOP.
•   Experience with the following technologies: Flex, 
Actionscript, Java / .NET / C#, SOAP, web services, HTML, CSS, XML, 
RSS, Flex, Eclipse Platform. 
•   Knowledge of design patterns.
•   Knowledge of Flex Frameworks (Cairngorm, FAST) a plus
•   Excellent written and verbal communication skills. 
•   Ability to balance team and individual responsibilities. 
•   Commitment to the highest levels of quality. 
•   Demonstrated ability to work with accuracy and thoroughness. 
•   Ability to work with integrity and to uphold ethically and 
continuously organizational values. 

For immediate consideration, please email resume in confidence to 
[EMAIL PROTECTED]







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

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

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

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




RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster!

2006-08-15 Thread Evan Gifford












Sorry, ,last post didn’t work,

 

>> Is the
FrontController tilting for a specific reason?

 

I chose this orientation because it allows
for a flow from the EventBroadcaster to the commands. I think this tilt makes
the flow of the even more visually intuitive. 

 

The only alternative is to make it
horizontal – This disrupts the flow to the Business Delegate

.. or make it Vertical – which disrupts
the flow from the Event Broadcaster.

 

However, I’m always open to feedback so
feel free to download the Visio diagram here:

http://www.undustrial.com/flexdocs/cairngorm2_rpc.vsd

 

And submit changes back to me.

 

Thanks!

-Evan

 




__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 8/14/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 8/14/2006
 


[flexcoders] Subversion SVN and the bin directory problems - copied .svn dirscausing confict

2006-08-15 Thread Jason
We use the Subversion SVN version management server and the Tortoise
SVN client GUI.  It works fine and we like it for the most part.

I have an "assets" directory in my Flex 2 project.  That directory is
under version controll.  It has hidden .svn folders in each
subdirectory.  When I compile the project Flex 2 copies all of the
files from my assets folder to the bin folder ... including the .svn
folders.

When I "commit" the project back up to the SVN server it has a
conflict with the bin folder due to the copied .svn folders.  I have
gottern around it ATM by adding the bin directory to my ignore list in
Tortoise SVN.

Is there a way to filter out the .svn files from being copied to the
bin folder?

thanks

--jason








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

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

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

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





Re: [flexcoders] flex 2 with CFC help...

2006-08-15 Thread Douglas Knudsen



in the CFC in the method, you need to set cfarguemnt tags for each variable you pass to teh method.DKOn 8/15/06, Greg Morphis <
[EMAIL PROTECTED]> wrote:In my flex 2 application, I'm trying to call to a CFC and return a
query.. I'm getting an error stating.. "faultCode:Client.InputfaultString:'unexpected parameter 'nxx' found in input arguments.'faultDetail:null"This is what my webservice call looks like..
useProxy="false"wsdl="http://localhost:8300/npanxx/npanxx.cfc?wsdl
"showBusyCursor="true">fault="Alert.show(event.fault.message)" resultFormat="object">
{txtNPA.text}{txtNXX.text}{txtDATA.text}
and my CFC
output="false">
      SELECT npa, nxx
   FROM npanxx   where npa = value="#npa#" />   and nxx = value="#nxx#" />   and t_strt < value="#data#" />   and t_finish > value="#data#" />   I'm not sure what I'm doing wrong, can someone assist?
Thanks--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Enterprise Development

2006-08-15 Thread Hershel Robinson
I am in the early stages of a complete rebuild of an existing business 
web app. There are two interfaces to the app, an internal one for staff 
and the external one for clients. We are beginning with the internal one 
and we have developed an extensive and detailed Functional Specification 
and DB Schema (for MySQL). We have actually also begun coding a bit in 
PHP using the CakePHP MVC framework (http://cakephp.org/).

I had examined Flex some six months ago and at that time, it didn't 
quite appear production-ready. We have now decided that it bears 
re-evaluation.

Aside from a 'slick' interface, the main attraction for me of Flex is 
real-time data availability in the browser. If a staff member is looking 
at data in his browser and that data changes on the server, it is vital 
that the data be updated in his browser in real time. As far as I 
understand, this is a feature of Flex.

The app in question needs to support an average 200 internal users 
(that's this year's estimate) all logged on and actively using the 
system with estimated average of 2000 visits a day from clients, 
including spikes of up to 2000 clients simultaneously logged in.

My questions for now are:

Is there evidence to indicate that Flex can handle this?

Are there any comparable Flex apps out there?

Is there any other information or advice anyone can provide?

My programming team knows PHP/HTML/CSS/Javascript/XML. Some know Flash, 
but some don't. I haven't looked into the finer details of Flex, but it 
appears that there is a significant learning curve. If anyone can 
comment on that, I would also be very interested to hear.

Thank you,
Hershel Robinson

-- 
Web Site Construction by Gallery Robinson
http://galleryrobinson.com/


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

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

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

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





[flexcoders] CheckBoxes not working......datagrid not updating.

2006-08-15 Thread jlingwai
I have the following function assigned to a datagrid that contains 
checkboxes using click="RegraphTime()"

private function RegraphTime():void
{
//create variable
var monthTotal: Number;
var state:String,prvstate:String,prvstateF:String;
var CurrentState:String;
var Issue:Number;
var Size:Number;
var DSize:Number;
var Adratio:Number;
var mktS:Number;
var mktS2:Number;
var count:Number;
var check:Boolean ;
var statecount:Number;
var current:Number;
monthData = new Array(rawdata.length);
 
//ini varaible
count=0;
mktS=0;
DSize=0;
Size=0;
Issue=0;
Adratio=0;
mktS2=0;
statecount=1;

//ini array
listdata2 = new Array(rawdata.length);
statelist= new Array(rawdata.length);
   
//save the first publication name
prvstate=rawdata[0].state;
prvstateF=rawdata[0].stateF;
//statelist[0]={State: state, InGraph: true };

//here we are going to calculate the yearly total for each 
publication
//first we need to loop into each row of the raw data
for (var i: Number = 0; i < rawdata.length; i++) 
{
Obj= rawdata[i];
current=Obj.date;

state=Obj.state;
//if still the same publication
if(StringUtil.trim(state)==StringUtil.trim(prvstate))
{
//then if withing selected time range 1, add totals
if (from <= current && current <= to )
{
Issue += 1; 
}

}
//if different publication
{
if(Issue>0)
{
//add publication total to the arrays
listdata2[count] = {State: prvstate,StateF: prvstateF, Seminar: 
Issue, InGraph: true };
count++;
}
state=Obj.state;
prvstate=state;
prvstateF=Obj.stateF;
if (from <= current && current <= to )
{
Issue = 1;
}
else
{
Issue=0;
}
}
}
if(Issue!=0)
{
listdata2[count] = {State: state,StateF: prvstateF, Seminar: Issue, 
InGraph: true };
count++;
}
//resize both arrays
listdata2.splice(count);

//copy array
monthData = listdata2.slice(0);
  
//now that we have a array containing the yearly totals for each 
publication
//we have to check which publication to display

statelist = DtgSelection1.selectedItems;

for (i=1;i< statelist.length;i++)
{
var Ro:Object;

Ro = statelist[i];
if(Ro.length!=0)
{
check= Ro[0].selected;
name = Ro[1].text;
for (var y: Number = 0; y < monthData.length; y++) 
{
//if the publication is unchecked
if ((monthData[y].stateF ==name) && (check==false))
{
//remove the publication from the array
monthData.splice(y,1);
}
}
}
}
if(count!=0)
populateGrid("ALL");
}   

Is there a simplier way?¿?¿ or can you see my error?¿?¿

thanks
JoSh





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

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

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

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





Re: [flexcoders] Flex/Cairngorm Syntax

2006-08-15 Thread Darren Houle
Actually... in Cairngorm, if a Command implements Responder the Command 
*must* contain:

public function onResult( event : * = null ) : void {}
public function onFault( event : * = null ) : void {}

...and if a Command implements IResponder that changes to

public function result( event : Object ) : void {}
public function fault( event : Object ) : void {}

So in Graham's case, if he's using vanilla Cairngorm 2.0 his Commands are 
implemeting Responder, so he can't use Event in place of *...  if he goes to 
Cairngorm 2.01 (my numbering, not a real thing) and uses IResponder he can 
use an Object type for the arg... but to use any other arg type (like event 
: Event) the Command would need to implement some totally new Responder 
class.

Darren




>From: "Samuel D. Colak" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: 
>Subject: Re: [flexcoders] Flex/Cairngorm Syntax
>Date: Tue, 15 Aug 2006 18:52:07 +0200
>
>The * is an approximation of the Object keyword. Can be any type. Im not
>sure whether the typing is preserved or not but im sure Matt can confirm
>this. In effect event is cast as any object rather than having a strongly
>typed function call. Be aware in doing this though as type coercion issues
>may occur later on when dealing with the result.
>
>Since all event classes usually subclass from Event, you might use Event
>rather than * for type safety.
>
>Regards
>Samuel
>
>On 15/8/06 15:02, "grahampengelly" <[EMAIL PROTECTED]> wrote:
>
> >
> >
> >
> >
> > Hi
> >
> > I am just embarking on my first Cairngorm based Flex app. In one of the 
>sample
> > apps there is the following syntax
> >> public function onResult(event:* = null):void
> >> {
> >>
> >> }
> > Could somebody please explain exactly what the argument "(event:* = 
>null)" is
> > actually doing. Obviously the argument is called 'event', I have got 
>that far.
> > Is the asterisk a wildcard for the type, and if so why, and is the null 
>a
> > default value if the argument is not supplied?
> >
> > I have had a look around the web and the docs but can't find any 
>explanation
> > of this syntax. What is more, I am not getting it to work but as I don't
> > understand what it is supposed to be I'm not sure where the problem 
>lies.
> >
> > Thanks for your help in advance...
> >
> > Graham




--
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] MediaPlayback for Flex 2

2006-08-15 Thread Bruno Martins



Any one know where I can find it?
 
Tks..-- Bruno Gustavo MartinsOffice: (11)3443-9527experience everywherehttp://www.dclick.com.br/blog 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] again - DataGrid rows and wows

2006-08-15 Thread Brian

I have seen this problem when I was binding to an Array instead of an 
ArrayCollection.

The datagrid uses the ArrayCollection.getItemAt() function

Make sure your dataProvider is an ArrayCollection and not an Array.

It is easy to make an ArrayCollection it takes and array as source



then bind to the ArrayCollection.

At least this resolved my problem

--Brian 

On Wed, 2 Aug 2006 12:46:41 +0300, Matti Bar-Zeev wrote:
> Hi list,
>
> Can someone please tell me if the mess that scrolling a datagrid produces is 
> a known bug or just me doing something wrong?
>
> What I mean by "mess"? I mean that the top row goes to the bottom; the bottom 
> row goes to the top only to prevent rendering non-viewable rows. This causes 
> my cell renderers to lose touch with their initial place and state… and what 
> not.



--
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: Trouble Printing lots of images--PLEASE HELP!!!!!!

2006-08-15 Thread wayneposner
Unfortunately, when a user requests a print job it will mean print 
all the images.  

cacheAsBitmapbeen having problems with bitmaps as they don't 
seem to load into an IUIComponent.  Any insite into possibly why?

Wayne

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Yeah, I'm not saying load all of the images at one time, just the 
> ones that you want to print.  Possible use of cacheAsBitmap here 
too.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "wayneposner"  
> wrote:
> >
> > I thought about doing that, but am concerned about the 
possiblity 
> of 
> > loading anywhere from 500 to 1000 2k-10k images into memory and 
> how 
> > it will affect the system while waiting for all those images to 
> > load.  Additionally, I need to add some metadata text which is 
> also 
> > coming from the XML file.  Which brings me back to one at a time 
> or 
> > somehow preloading each image before the canvas is rendered.
> > 
> > Wayne
> > 
> > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > >
> > > Hi Wayne,
> > > 
> > > This a little out of my area, but maybe it will spark an 
idea.  
> > > Instead of loading the images that you want to print, one-at-a-
> > time, 
> > > into a canvas.  You could load all of the images, at the same 
> > time, 
> > > into a Repeater (or a list-based control).  On 
creationComplete 
> of 
> > > the Repeater, add the child (Repeater) to the PrintJob.
> > > 
> > > If you are also embedding the images, this approach may 
consume 
> a 
> > > lot of CPU resources.  But, I'm sure that you can find a 
balance 
> > > here.
> > > 
> > > Hope this helps,
> > > Tim
> > > 
> > > --- In flexcoders@yahoogroups.com, "wayneposner" 
 
> > > wrote:
> > > >
> > > > I've been trying to figure this one out for about a week now 
> > with 
> > > no 
> > > > success.
> > > > 
> > > > I'm trying to load a bunch of images dynamically from an XML 
> > file, 
> > > > pass each image, one at a time, to a Canvas and then print 
> that 
> > > > Canvas, but only being prompted with the print dialog for 
the 
> > > first 
> > > > image.  If I just pass the image to the canvas, the print 
> > command 
> > > > has executed before the image loads.
> > > > 
> > > > If I use an event listener for the complete action on my 
> canvas 
> > I 
> > > > get the print dialog for every canvas that tries to print, 
> > > provided 
> > > > I instatiate a new FlexPrintJob in my event handler--as 
> opposed 
> > to 
> > > a 
> > > > global FlexPrintJob which simply results in an empty print 
job.
> > > > 
> > > > I've tried writing a preloader using the Loader class and a  
> > > sprite 
> > > > to hold the image and then add the sprite to my canvas, but  
> my 
> > > code 
> > > > fails at the addChild() statement at run time because flex 
> > cannot 
> > > > coerce the Loader into an IUIComponent. 
> > > > 
> > > > I've also tried a preinitialze event on my canvas which 
calls 
> > the 
> > > > image.Load command for an mx:image tag, but that doesn't 
work 
> > > either.
> > > > 
> > > > 
> > > > It seems like I'm running out of options here.  I didn't 
think 
> > it 
> > > > would be so difficult to print multiple pages of images in 
> > Flex.  
> > > > Can someone please help
> > > > 
> > > > Thanks
> > > > Wayne
> > > >
> > >
> >
>







--
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: Deserializing WebService call... Flex/Cairngorm

2006-08-15 Thread ben.clinkinbeard
Nothing definitive here but I do have a couple of suggestions. Any
time I see ObjectProxy mentioned in an error description, I
immediately wonder if makeObjectsBindable is at fault. Try setting it
to false on your WS and see what happens.

Personally, I always use e4x as my resultFormat (for various reasons),
so I don't have experience casting to a custom object but if you do
end up needing to use Franck's suggested methodology I would certainly
recommend creating a factory that will accept the SOAP return values
and return an instance of your custom object.

HTH,
Ben


--- In flexcoders@yahoogroups.com, "grahampengelly" <[EMAIL PROTECTED]> wrote:
>
> I am just getting up to speed with the Cairngorm architecture and have
> been struggling with this problem for a while. I have got to the point
> where I am getting a response from my web service call that has the data
> in that I expect but I cannot seem to get it to deserialize into the
> object that I need.
> 
> The code (I have used IResponder rather than the cairngorm Responder
> here as suggested during an earlier post here 
>   )
> 
>  public function result( data:Object ):void
>  {
>   var event:ResultEvent = data as ResultEvent;
> 
>   var testString:String = "";
>   for each(var thing:Object in event.result)
>   {
>   testString += " " + thing + " ";
>   }
>   //test alert 1
>   Alert.show(testString);
>   //test alert 2
>   Alert.show("event.result.Id = " + event.result.Id + ",
> event.result.Name = " + event.result.Name);
> 
>   var tObj:TestObj = event.result as TestObj;
>   Alert.show("TestObj.Id = " + tObj.Id);
> 
>  }
> The test alerts print out:
>  test 1: Graham 1
>  test 2: "event.result.Id = 1, event.result.Name = Graham
> 
> The subsequent line throws an exception:
> 
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.utils::[EMAIL PROTECTED] to HASAW.ClientApp.Model.TestObj.
> 
> The object that I am trying to create from the results looks like this:
> 
>  public class TestObj implements ValueObject
>  {
> 
>  public var Id:int;
>  public var Name:String;
>  public function TestObj()
>  {
>  Id = 0;
>  Name = "";
>  }
>  }
> 
> 
> I have tried various implementations and can't get the web service
> response to cast to TestObj. To be honest, I wouldn't have thought that
> it should cast to TestObj but I have followed all of the code samples
> for Cairngorm and they all do it like this.
> 
> I am using .NET for the web service which may be an issue as the samples
> don't. It is returning the following SOAP in event.result.body
> 
>   - <#>   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>   - <#> - <#>
>  1
> Graham  
>   
> I know I could manually populate the object with the values but the
> objects I will be deserializing in the application are much more complex
> than this which would make a manual approach a pain.
> 
> Thanks in advance...
> 
> Graham
>







--
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] Accordion Headers: Only one?

2006-08-15 Thread Tom Ortega



An according can only have one header, correct?  I'm asssuming so since the AccordionHeader section has this bit in its description:The AccordionHeader class defines the appearance of the navigation buttons
  of an Accordion.
  You use the getHeaderAt() method of the Accordion class to get a reference
  to an individual AccordionHeader object.So, no different header per accordion session then, eh?Thanks,Tom

__._,_.___





--
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: Operation.arguments is populated but nulls are sent

2006-08-15 Thread ben.clinkinbeard
OK, the issue seems to be isolated to my machine. The error began
happening again, so I sent a coworker the link to the file on my
machine. He can run the app successfully with no issues whatsoever,
while I still cannot. I have tried clearing my cache, closing Flex
Builder and restarting my machine but nothing seems to help. It seems
like this has to be related to something getting screwed up on my
machine because it also usually goes away by the time I come in the
next day.

Is there anything else I can try clearing or resetting? This has to be
'a bug', no?

Thanks,
Ben


--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> You should be calling op.send(), if you call GetDataByGrouping() you're
> ignoring the arguments.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ben.clinkinbeard
> Sent: Monday, August 14, 2006 2:14 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Operation.arguments is populated but nulls are
> sent
> 
>  
> 
> I am having a very odd error, and it only happens sometimes. I am
> creating an object structure and then assigning that to the arguments
> property of my mx.rpc.soap.Operation object like this:
> 
> op.arguments = args;
> 
> I then call the SOAP method like this:
> 
> var call:AsyncToken = service.GetDataByGrouping();
> call.addResponder(responder);
> 
> Sometimes (I've not figured out a pattern), Flex somehow loses all of
> the contents of the arguments property and sends nulls. It is sending
> the same number of nulls as there were properties though, so I am
> super confused. The Operation.arguments object is still populated with
> the correct data, but none of it gets sent. Does anyone have any idea
> what is going on here? I am pasting the entire method from my delegate
> below. 
> 
> // in the delegate constructor
> service = ServiceLocator.getInstance().getService("cmws") as WebService;
> 
> // in the method called by my command class
> var op:Operation = service.getOperation("GetDataByGrouping") as
> Operation;
> op.resultFormat = "e4x";
> // temp object to store arguments
> var args:Object = new Object();
> args.groupingRequests = new Object();
> args.groupingRequests.GroupName = "RPRTool";
> args.groupingRequests.Parameters = new Array();
> ... populate Parameters array ...
> op.arguments = args; 
> var call:AsyncToken = service.GetDataByGrouping();
> call.addResponder(responder);
> 
> // results in sendign an object like this
>  xmlns:ns1="http://fmr.com/BackOffice/ClientMeasures
>  ">
> 
> 
> 
> 
> Ben
>






--
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 2 ColdFusion Apps with IIS and Virtual directories.

2006-08-15 Thread kjlinboomer
Hello,

I am trying to set up a Flex2 app that calls CFCs via the new remoting
gateway.  I am using ColdFusion integrated with IIS and virtual
directories.  I am able to compile the application but cant call any
CFCs living in an IIS virtual directory.  I receive the following error:

faultCode:Client.Error.MessageSend 
faultString:'Send failed' 
faultDetail:'Channel.Connect.Failed 
error NetConnection.Call.Failed: HTTP: Failed'

Now, I have set up all the proper mappings in CF, enabled mappings in
the services-config file and am sure my remoteObject mxml code is
correct.  I'm thinking I might need to change something in the channel
setup in the services-config file but really cant find any
documentation on it. 

I am able to run apps and connect to CFCs fine when I have the
standalone version of ColdFusion installed and CFCs living in the CF
wwwroot.  

Has anybody been able to connect to CFCs in Flex2 with ColdFusion
integreated with IIS and virtual directories?






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

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

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

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





Re: [flexcoders] Image manipulation on client side

2006-08-15 Thread John Dowdell
Summary: Search term "colormatrixfilter flex" pulls up details.


edugalvez wrote:
> How can my flex 2 application manipulate images on the client file 
> system?
> Read manipulate as sepia-toning, resizing, rotating, exif-reading and 
> uploading to server. Mainly jpgs.

That's funny... I just replied to a similar question on a ColdFusion 
mailing list... let me paste the links here:

> Subject: Re: OT: Flash or Ajax to Compliment CF Project
> Date: Tue, 15 Aug 2006 11:29:48 -0700
> From: John Dowdell <[EMAIL PROTECTED]>
> To: cf-talk@houseoffusion.com
> References: <[EMAIL PROTECTED]>
> 
> Dakota Burns wrote:
>> I have a fairly large CF project coming up with an interactive piece that
>> will involve changing colors on car parts (roll mouse over hood for design
>> or color, select & post to database or session), possibly an audio greeting
>> - that sort of thing.
> 
> The audio requirement may resolve the question in itself, although for 
> some presentations it may not matter exactly how each browser invokes 
> the audio file.
> 
> A more subtle advantage may be in the on-demand coloring... it's 
> possible to use the realtime color matrix filtering in Adobe Flash 
> Player 8 and above to change the coloring of an image without having to 
> download a new file. Docs & example:
> http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2079.html
> http://page.freett.com/isolations_nest/upload/test20.html


The realtime clientside filtering capabilities can be set through the 
Adobe Flash Professional 8 authoring environment, but are also exposed 
to ActionScript control. Lots of good Flex-specific links here too:
http://www.google.com/search?q=ColorMatrixFilter+flex

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


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

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

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

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





RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster!

2006-08-15 Thread Evan Gifford












>> Is the FrontController tilting for a
specific reason?

 




__._,_.___





--
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.



  






__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 8/14/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 8/14/2006
 


RE: [flexcoders] Deserializing WebService call... Flex/Cairngorm

2006-08-15 Thread Franck de Bruijn












Hi Graham,

 

I did not read your entire post, nor do I
have any knowledge about cairngorm. But I’ll give a try ...

 

Your code: var tObj:TestObj = event.result
as TestObj; will not work.

 

event.result is a dynamic Object and you
cannot cast it to your own custom made ActionScript class TestObj. If you want
to put the webservice result into an ActionScript object, you will have to do
the following:


 var
 tObj:TestObj
 tObj
 = new TestObj();
 tObj.Id
 = event.result.Id
 tObj.Name
 = event.result.Name


 

Yep, it’s tedious and boring, but
that’s exactly the way I’m doing it at the moment ...

 

On the other hand: it’s quite
understandable. How can Flex know that the result coming back from a webservice
is actually some sort of custom type? It would be an extremely interesting
feature of Flex if you could specify that somehow ...

 

Cheers,

Franck

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of grahampengelly
Sent: Tuesday, August 15, 2006
6:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Deserializing WebService call... Flex/Cairngorm



 







I am just getting up to speed with
the Cairngorm architecture and have been struggling with this problem for a
while. I have got to the point where I am getting a response from my web
service call that has the data in that I expect but I cannot seem to get it to
deserialize into the object that I need.

The code (I have used IResponder rather than the cairngorm Responder here as
suggested during an earlier post here
 )

        public function result( data:Object
):void
        {
         var
event:ResultEvent = data as ResultEvent;
         
         var
testString:String = "";
         for each(var
thing:Object in event.result)
         {
        
    testString += " " + thing + " ";
         }
         //test alert 1
        
Alert.show(testString);
         //test alert 2
         Alert.show("event.result.Id
= " + event.result.Id + ", event.result.Name = " +
event.result.Name);
         
         var tObj:TestObj
= event.result as TestObj;
         Alert.show("TestObj.Id
= " + tObj.Id);
         
        }
The test alerts print out:
    test 1: Graham 1
    test 2: "event.result.Id = 1, event.result.Name
= Graham

The subsequent line throws an exception:

TypeError: Error #1034: Type Coercion failed: cannot convert mx.utils::ObjectPro[EMAIL PROTECTED]
to HASAW.ClientApp.Model.TestObj.

The object that I am trying to create from the results looks like this:

    public class TestObj implements ValueObject
    {
        
        public var Id:int;
        public var Name:String;
        public function TestObj()
        {
            Id = 0;
            Name = "";
        }
    }


I have tried various implementations and can't get the web service response to
cast to TestObj. To be honest, I wouldn't have thought that it should cast to
TestObj but I have followed all of the code samples for Cairngorm and they all
do it like this.

I am using .NET for the web service which may be an issue as the samples don't.
It is returning the following SOAP in event.result.body



  xml version="1.0" encoding="utf-8" ?> 







-
    














-
        









-
            









     
            1Id> 









     
            GrahamName>








     
    GetTesterResult>









     
GetTesterResponse>









     
soap:Body>









  soap:Envelope>








I know I could manually populate the object with the values but the objects I
will be deserializing in the application are much more complex than this which
would make a manual approach a pain. 

Thanks in advance...

Graham






__._,_.___





--
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 2 with CFC help...

2006-08-15 Thread Greg Morphis
In my flex 2 application, I'm trying to call to a CFC and return a
query.. I'm getting an error stating.. "faultCode:Client.Input
faultString:'unexpected parameter 'nxx' found in input arguments.'
faultDetail:null"

This is what my webservice call looks like..
http://localhost:8300/npanxx/npanxx.cfc?wsdl";
showBusyCursor="true">


{txtNPA.text}
{txtNXX.text}
{txtDATA.text}





and my CFC











   
   SELECT npa, nxx
   FROM npanxx
   where npa = 
   and nxx = 
   and t_strt < 
   and t_finish > 
   






I'm not sure what I'm doing wrong, can someone assist?

Thanks


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

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

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

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





RE: [flexcoders] Re: WSDLError:Element not resolvable => LoadEvent doesn't imply service ready

2006-08-15 Thread Franck de Bruijn












Hi Bill,

 

Great to see that someone from Adobe is looking
into this. I hope Kaleb is reading this post and can provide you with the WSDL.
I personally did not encounter this error myself, but it looks thoroughly
investigated by Kaleb.

 

If Kaleb is not responding, it’s
maybe an idea to create a huge WSDL, then load it and immediately after the
LoadEvent try to call an operation. It should fail. If you need help with
creating this WSDL I can try. Let me know.

 

Cheers,

Franck

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bill Sahlas
Sent: Wednesday, August 09, 2006
2:48 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
WSDLError:Element not resolvable => LoadEvent doesn't imply service ready



 









Howdy, 

 

I’d like to reproduce this internally here in the FDS QA lab
using some of your examples.  Can someone on this list forward me a link
to a WSDL that is publicly accessible with sample code to execute?

 

Thanks, Bill

 

FDS QA – Adobe Systems Inc.

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Franck de Bruijn
Sent: Tuesday, August 08, 2006
1:59 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Re:
WSDLError:Element not resolvable => LoadEvent doesn't imply service ready



 









Hi Kaleb,

 

Cool! Great stuff..

 

My guess is that the delay is machine dependent, but not
necessarily network dependent. I do believe that the LOAD event does indicate that
the WSDL actually has loaded successfully. Flex will not need any more access
to the network in order to initialize the web service.

 

Anyway, it’s a little bit sloppy that the LOAD event does not
indicate that the webservice is actually ready for use. I consider this a bug
if you ask me. So, maybe this is something we can put on the wish list???

 

Thanks,

Franck

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of kaleb_pederson
Sent: Tuesday, August 08, 2006
7:18 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re:
WSDLError:Element not resolvable => LoadEvent doesn't imply service ready



 







Frank,

I did a bit more research into this. I don't need nearly a second 
for the WebService to be ready after the load event. I just put the 
whole process in a loop to see what kind of delay I need to make it 
work on my box (with the service running on my box). Unfortunately, 
the delay is probably machine and network dependent and, therefore, 
would have to be different on other machines.

My results were:

res[delay in ms] = # successes (out of 100)
res[1] = 0
res[2] = 5 ...
res[10] = 13 ...
res[15] = 42 ...
res[20] = 53 ...
res[30] = 77 ...
res[38] = 100
(and the rest were 100 also)

Somebody else had what may have been a similar problem and he just 
re-fired the request 
(http://groups.yahoo.com/group/flexcoders/message/46401).
That's 
certainly not an elegant solution

So, I still don't have a solution, just a work-around. Does anybody 
else have any ideas or suggestions?

Thanks.

--Kaleb

--- In [EMAIL PROTECTED]ups.com,
"Franck de Bruijn" 
...> wrote:
>
> Hi Kaleb,
> 
> 
> 
> I always expected the web service to be ready after the load event
> completed. Probably it's a matter of milliseconds. I never 
encountered your
> problem before, since I don't automatically call web services 
after loading.
> So far, my webservices are only invoked behind a button.
> 
> 
> 
> But sooner or later I probably will, since I will want to push 
master data
> from the server into the application (like a country table or 
something like
> that) directly after startup.
> 
> 
> 
> So, this does not sound good ...
> 
> 
> 
> I expect that your workaround is the only solution.
> 
> 
> 
> Cheers,
> 
> Franck
> 
> 
> 
> 
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of kaleb_pederson
> Sent: Tuesday, August 08, 2006 1:38 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] WSDLError:Element not resolvable => 
LoadEvent doesn't
> imply service ready
> 
> 
> 
> I have been struggling with the "Element not resolvable" error 
today 
> in some of my unit tests using FlexUnit. As far as I can tell, the 
> LoadEvent doesn't imply that the service is ready. If I put a 
timer 
> in and wait 1 second after the load event to make my service call, 
> everything works correctly. If I don't wait 1 second, however, 
then 
> I receive the "Element not resolvable" error. This appears to be
a 
> bug in the WebService class.
> 
> Here's my sample code:
> 
> import mx.rpc.soap.WebService;
> import flash.events.Event;
> import mx.rpc.events.ResultEvent;
> import mx.rpc.soap.LoadEvent;
> import flash.utils.Timer;
> import flash.events.TimerEvent;
> 
> public class SoapDemoTest {
> 
> public function testListVocabularies():void {
> trace('testListVocabularies');
> ws = new mx.rpc.soap.WebService();
> ws.addEventListener(LoadEvent.LOAD,

RE: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Brian Deitte
The person who is thinking about this the most lately isn't going to be
able to answer your crusade.  Pete Farland is out traveling in Australia
and other countries for his sabbatical, so you may want to bring this up
again in a month.  -Brian 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
> Sent: Tuesday, August 15, 2006 10:59 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Web services or FDS: which are you using?
> 
> In my ongoing crusade to increase the attention given by Adobe to web
> service support in Flex, I decided to do a little impromptu survey. My
> feeling is that its a mistake to focus so heavily on FDS in regards to
> articles, tutorials and the like when such a small percentage of
> organizations will actually deploy the technology.
> 
> So, which are you using? I am more interested in actual production
> apps, rather than personal projects used for learning or
> experimentation purposes.
> 
> Personally, I am evaluating Flex as the front end for an application
> that relies heavily on .NET web services.
> 
> Ben
> http://www.returnundefined.com/
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


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

<*> 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] hi

2006-08-15 Thread bardnivar
hi iam new to flex, for learning flex should i know java plz let
me know what is the minimum requirements to choose my career as a flex
coder, is there any jobs for flex coders (i know only flash)& what
applications should know the flex coders.***plz let me know***






--
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] Developers needed: Flex 2, Flash, FMS, FDS

2006-08-15 Thread Tom Bray



Hey flexcoders,Userplane Technologies, the chat and IM provider for MySpace and thousands of other communites, was just acquired by AOL and we're looking to expand our team of Flex, Flash, and FMS developers.  Check out this press release to see what we're up to:  
http://tinyurl.com/jgdluWe're based in L.A. (moving to the beach very soon) and looking for locals or people willing to become locals.  Send me an email offlist with your resume and links to your work if you're interested.
Thanks!Tom BraySenior Software EngineerUserplane Technologies[EMAIL PROTECTED]

__._,_.___





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








   



  




  
  
  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] Help onTab Navigator !!!

2006-08-15 Thread Mauro Pelaez Vasquez
i would know if exists some way to set text color on event Mouse Over 
to a Tab from Tab navigator, only i know so exist SelectedTabStyle 
because by default Tab Mouse Over is Black Color Text and i want to 
change, anybody know? please help me!

Mauricio





--
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] Deserializing WebService call... Flex/Cairngorm

2006-08-15 Thread grahampengelly



I am just getting up to speed with the Cairngorm architecture and have been struggling with this problem for a while. I have got to the point where I am getting a response from my web service call that has the data in that I expect but I cannot seem to get it to deserialize into the object that I need.The code (I have used IResponder rather than the cairngorm Responder here as suggested during an earlier post here  )        public function result( data:Object ):void        {         var event:ResultEvent = data as ResultEvent;                  var testString:String = "";         for each(var thing:Object in event.result)         {             testString += " " + thing + " ";         }         //test alert 1         Alert.show(testString);         //test alert 2         Alert.show("event.result.Id = " + event.result.Id + ", event.result.Name = " + event.result.Name);                  var tObj:TestObj = event.result as TestObj;         Alert.show("TestObj.Id = " + tObj.Id);                 }The test alerts print out:    test 1: Graham 1    test 2: "event.result.Id = 1, event.result.Name = GrahamThe subsequent line throws an exception:TypeError: Error #1034: Type Coercion failed: cannot convert mx.utils::[EMAIL PROTECTED] to HASAW.ClientApp.Model.TestObj.The object that I am trying to create from the results looks like this:    public class TestObj implements ValueObject    {                public var Id:int;        public var Name:String;        public function TestObj()        {            Id = 0;            Name = "";        }    }I have tried various implementations and can't get the web service response to cast to TestObj. To be honest, I wouldn't have thought that it should cast to TestObj but I have followed all of the code samples for Cairngorm and they all do it like this.I am using .NET for the web service which may be an issue as the samples don't. It is returning the following SOAP in event.result.body  xml 
version="1.0" encoding="utf-8" ?> 

-     





-         


-             


                  1Id> 

                  GrahamName> 
          GetTesterResult>
      GetTesterResponse>
      soap:Body>
  soap:Envelope>I know I could manually populate the object with the values but the objects I will be deserializing in the application are much more complex than this which would make a manual approach a pain. Thanks in advance...Graham

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Web services or FDS: which are you using?





YaHOOO ! Someone after my own heart – Welcome to the club – Now I count 2. F**k AJAX when you can use intelligent flex engines infront of Webservices :)

Now we truly use client/server design – It continuously amazes me how often I come across people specifically trying to mesh php and AJAX together and really not getting the point. 

Are there any other people out there in the same boat – personally I managed to get dotNet WS and Flex working very happily together – wondered if I was a minority..

Samuel


On 15/8/06 16:58, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote:

 
 
 

In my ongoing crusade to increase the attention given by Adobe to web
service support in Flex, I decided to do a little impromptu survey. My
feeling is that its a mistake to focus so heavily on FDS in regards to
articles, tutorials and the like when such a small percentage of
organizations will actually deploy the technology.

So, which are you using? I am more interested in actual production
apps, rather than personal projects used for learning or
experimentation purposes.

Personally, I am evaluating Flex as the front end for an application
that relies heavily on .NET web services.

Ben
http://www.returnundefined.com/

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Flex Data Services

2006-08-15 Thread Franck de Bruijn












Webservices are indeed never meant to be
hard and if they work it’s totally simple. If they don’t work ...
you’re in for trouble: check the posts ... :) Unfortunately, my feeling
tells me that Flex has more problems communicating with .Net webservices than Java
(AXIS based) webservices.

 

For the problem mentioned originally by Scott,
the following:

 

You cannot access the webservices behind a
firewall directly from the Flex application. The Flex application will be
served to the client, but in the end it does not matter. The Flex application
will run locally. And if the local machine cannot reach behind the firewall you’re
out of luck. Even if the webservices are not behind the webservices you
probably will have a problem accessing them, since Flash only allows you to
address URLs with the base identical to the URL you have downloaded your app
from. Since you are talking about two different machines, these base addresses
will not match and you’ll have a security issue.

 

To solve this you have to the ‘proxy’
way, which gives you 2 directions:


 On
 the machine where you host your Flex application, set-up a server hosting
 your own webservices. These webservices can be called from the Flex app.
 The implementation behind these webservices can then forward the Flex
 requests to the real server.
 On
 the machine where you host your Flex application, set-up FDS. But here my
 experience lacks, so I cannot give you guidelines how to accomplish that.


 

Good luck!

Franck

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006
6:48 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex
Data Services



 







You can use Flex alone with its
webservice support.
Im not sure what all the fuss is with FDS but webservices were never meant to
be that hard in general.


On 15/8/06 08:10, "scott.kinder" yahoo.com>
wrote:




 
 

Hi All,

I'm new to Flex 2 and Flex Data Services. I have a problem and I need
to find out if I need Flex 2 Data Services. I have an external server
serving up a SWF, and then a server behind the firewall that contains
.NET web services. If I want my users to be able to browse to the SWF,
and then communicate with the .NET services behind the firewall, do I
need to use Flex Data Services or can I use regular Flex 2?

Cheers

Scott Kinder

 




 






__._,_.___





--
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.



  






__,_._,___






  1   2   >