Re: [flexcoders] Query regardind server side logging

2006-07-09 Thread Ralf Bokelberg
Hi Harshada,

the logging api works on the client only. To store the logging events
on the server, you need to create your own logging target, which sends
the items to the server.
Cheers,
Ralf.

On 7/8/06, harshada.gavankar [EMAIL PROTECTED] wrote:
 Hi all,
 I am trying to develop a logging feature in my existing feature. The
 requirement is that i need to log all the client side events on the
 server side. That is what ever is happening on the client , should
 get stored in a file on server which is physically on a different
 location. I tried Flex2 server side APIs . The piece of code that I
 tried is as follows:
 1. Create a Logger class.
 2. Create a TraceTarget class.
 3.
 // Add the traceTarget as a log target.
 Log.addTarget(traceTarget);
 myLogger = Log.getLogger(MyCustomClass);

 and add this logging on event based. This does not seem like a
 server side logging. If i run this with Data service, (I have a
 service running), what is happening is , it is logging events on
 client side where i have configured logging in mm.cfg(in flashLog
 file).
 In short , this is not working as desired. Can anybody please let me
 know how to achieve this?

 Thanks in 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










 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Re: FDS on CFMX configuration problems

2006-07-09 Thread Jeff Tapper
You will want something like this:
mx:Script
private function initApp():void{
 // Create a Channel.
 var customChannel:Channel = new AMFChannel(my-cfamf, 
http://localhost:8500/flex2gateway/;);
 // Add the Channel to the ChannelSet.
 cs.addChannel(customChannel);
 // Assign the ChannelSet to a RemoteObject instance.
 svc.channelSet = cs;
}
/mx:Script

mx:RemoteObject
 id=svc
 destination=ColdFusion
 source=path.yo.your.cfc
 showBusyCursor=true /



At 10:23 AM 7/7/2006, Mike Nimer wrote:

You are right, this is the tricky part. However, there is an easy way 
around it.

Install CF and Flex separately (2 jvm instance, or 2 wars in the same 
instance). Then point you projects -services option to the flex2 
services-config.xml. This will allow you to use the FDS and messaging stuff.

And to use ColdFusions Flash Remoting you will create and configure the 
Channel via actionscript instead of letting FlexBuilder do it 
automatically. I don't have the exact syntax, but you want to create a 
ChannelSet object, and set the mx:RemoteObject channelset property to be 
the channel set instance you created.

When you are creating the ChannelSet object, really the only important 
thing is the endpoint url to the CF FlashRemoting servlet /flex2gateway/

hth,
---nimer

João Fernandes [EMAIL PROTECTED] wrote:

The only problem that I see running seperated instances of FDS  CFMX is 
the fact that FDS doesn't ship with the remoting for CF so when you define 
CF remoting destinations(the ColdFusion one) it throws an error, so to 
be able to use a mix of remoting + data management you'll have to keep 2 
xml files, one for FDS and one for compilation. If there is another way, I 
didn't find any documentation about it.

I have it running CFMX7+ FDS and now without issues but more documentation 
about this would be nice.

One of the issues about the technote is the fact that FDS and CFMX7 both 
uses a MessageBrokerServlet definition. I kept the CF (the Flex one 
couldn't load those CF remoting Classes)

João Fernandes

-Original Message-
From: mailto:flexcoders%40yahoogroups.comflexcoders@yahoogroups.com on 
behalf of Jim
Sent: Thu 06-Jul-06 7:54 PM
To: mailto:flexcoders%40yahoogroups.comflexcoders@yahoogroups.com
Subject: [flexcoders] Re: FDS on CFMX configuration problems

I tried the same thing (combining FDS with CFMX 7.0.2) using the
same technote and wasn't able to get it to work. I emailed an
insider at Adobe on the Coldfusion team I met at the CFObjective
conference and learned that they aren't very happy with that
technote and recommended that I run FDS and CFMX separately for now.

I haven't tried that yet, but apparently you did and it was
working, which is encouraging to me. I've spent three days trying to
get FDS working with a fresh installation of CFMX 7 Multiserver
(JRun4) option. The WEB-INF directory installs in the nested
directories within the JRun4 folder, but the new CF/Flex Wizard
expects the WEB-INF to be in the webroot.

I've been having issues with the services-config.xml file. I found a
copy of the file Ben Forta uses on the sys-con website which has
worked so far.

But if you manage to combine FDS and CFMX 7 and get them working,
please share what you did.

Thanks,

Jim Pickering

--- In mailto:flexcoders%40yahoogroups.comflexcoders@yahoogroups.com, 
Tom Bray [EMAIL PROTECTED] wrote:
 
  When I first started working with FDS, I used the standalone
version with
  integrated JRun and had FB configured to launch FDS and direct its
logging
  to the output pane in FB. I was happy.
 
  Now, I'm trying to configure FDS on top of CFMX and haven't had
much
  success. I used the instructions below at this link:
  
 http://www.adobe.com/cfusion/knowledgebase/index.cfm?http://www.adobe.com/cfusion/knowledgebase/index.cfm?
id=4f079a4dpss=rss_flex_4f079a4d.
  It would be very helpful if Adobe would expand upon those
instructions with
  the steps for getting the sample apps up and running.
 
  Also, the instructions for setting up debugging (
 
http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debuggihttp://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debuggi
ng)
  need to be updated for the final release of FDS and I'd love to
see a
  similar document for setting up debugging with FDS on CFMX.
 
  In the meantime, I'm having errors that I don't know how to get
additional
  information on. I'm trying to get the notes sample app running,
and I get
  this error:
 
  [RPC Fault faultString=Send failed
faultCode=Client.Error.MessageSend
  faultDetail=Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP:
  Status 500]
 
  Subscribing to the notes destination works, but sending a message
doesn't.
  I obviously need more details to diagnose the problem, so an
explanation of
  how to see that logging information would be awesome.
 
  Thanks,
 
  Tom
 



Do you Yahoo!?
Everyone is raving about the 

[flexcoders] Binding htmlText to a variable

2006-07-09 Thread grant.straker
I'm trying to use a variable to populate a htmlText control.

This works

mx:Text width=90%  htmlText={valueObject.body} 
/mx:Text

This doesn't

   mx:Text width=100% 
mx:htmlText
![CDATA[{valueObject.body}]]
/mx:htmlText
/mx:Text

I need the later as my HTML contains a lot of markup that requires
escaping.

I'm sure its a very simple solution but I can't find any examples in
the docs.

Cheers

Grant








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

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

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

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

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





RE: [flexcoders] Binding htmlText to a variable

2006-07-09 Thread Shannon Hicks





You can set it via actionscript 
instead

mx:Textid="myText"width="100%"/

Then, 
in the actionscript:

myText.htmlText = valueObject.body;


Shan





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
grant.strakerSent: Saturday, July 08, 2006 11:44 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Binding htmlText to a 
variable


I'm trying to use a variable to populate a htmlText control.This 
worksmx:Text width="90%" htmlText="{valueObject.body}" 
/mx:TextThis doesn'tmx:Text width="100%" 
mx:htmlText![CDATA[{valueObject.body}]]/mx:htmlText/mx:TextI 
need the later as my HTML contains a lot of markup that 
requiresescaping.I'm sure its a very simple solution but I can't 
find any examples inthe docs.CheersGrant
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 
7/7/2006
__._,_.___





--
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 outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006
 


Re: [flexcoders] Binding htmlText to a variable

2006-07-09 Thread Ralf Bokelberg
To me it looks like you are assigning the text at runtime, so there is
no escaping needed. Only if the text is inserted at compile time, you
need escaping, because the text is inserted into the xml , which
wouldn't be valid thereafter.

Cheers,
Ralf.

On 7/9/06, grant.straker [EMAIL PROTECTED] wrote:
 I'm trying to use a variable to populate a htmlText control.

 This works

 mx:Text width=90%  htmlText={valueObject.body} 
 /mx:Text

 This doesn't

mx:Text width=100% 
 mx:htmlText
 ![CDATA[{valueObject.body}]]
 /mx:htmlText
 /mx:Text

 I need the later as my HTML contains a lot of markup that requires
 escaping.

 I'm sure its a very simple solution but I can't find any examples in
 the docs.

 Cheers

 Grant









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










 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] [FLEX 2 Final] URLRequestMethod.POST produces compile time error

2006-07-09 Thread Hilary Bridel



Hi People,
This worked ok in Flex 2B3, but not in the final release of Flex 2.
The code below produces the compile time error:
1120: Access of undefined property URLRequestMethod.
public function DataLoadingTest (){var request:URLRequest = new URLRequest (urlString);request.contentType = text/xml;request.data = "">request.method = URLRequestMethod.POST
; //This is the offending linetrace(request.data);dataLoader = new URLLoader ();dataLoader.addEventListener (complete, onDataLoad);dataLoader.addEventListener (securityError, onSecurityError);
dataLoader.load (request);}
Any ideas?-- Hilary-- 

__._,_.___





--
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] Passing argument to ItemRenderer ?

2006-07-09 Thread Ralf Bokelberg



Hi Jean-Luc, 
the itemRenderer should'nt really know about the environment it is used
in. So I'd say, create a new dataProvider by wrapping every object into
a new object, which contains the old object and the new property. 

Cheers,
Ralf. 
On 7/7/06, Jean-Luc ESSER [EMAIL PROTECTED]
 wrote:









Hi all !

Let's say you have a TileList with a dataProvider : 
mx:TileList dataProvider={myDataProvider} 
itemRenderer=myIR/
Now you want to pass a new Variable to the 
ItemRenderer myIR.
Would you append this var to myDataProvider (and if 
so how ?) so it is accessible via data.myVar ?
Or is there another way ? (maybe creating a new 
component extending the TileList with a property to set myVar ?)

Thanx,
JL





__._,_.___





--
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] Possible Flex Builder internal error

2006-07-09 Thread Carlos Rovira



AFAIK, Flex Builder 2 are not supported by Eclipse 3.2Hope Flexbuilder team comes with an update soon to the problems generated by Eclipse 3.2, since a lot of people would want to upgrade to 3.2Hope some Adobe guys could bring some news on this.
On 7/7/06, Clint Modien [EMAIL PROTECTED] wrote:













  



Here is some debug info from eclipse on the error...eclipse.buildId=M20060628-1325java.version=1.4.2_09java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -showlocation
Command-line arguments: -os win32 -ws win32 -arch x86 -showlocationErrorThu Jul 06 18:10:36 PDT 2006An internal error occurred during: Retrieving labels.
org.eclipse.swt.SWTException
: Invalid thread accessat org.eclipse.swt.SWT.error(SWT.java:3374)at org.eclipse.swt.SWT.error(SWT.java:3297)at org.eclipse.swt.SWT.error(SWT.java:3268)at org.eclipse.swt.widgets.Display.error(Display.java

:978)at org.eclipse.swt.widgets.Display.checkDevice(Display.java:638)at org.eclipse.swt.widgets.Display.getSystemColor(Display.java:1931)at com.adobe.flexbuilder.debug.ui.FlexDebugModelPresentation.getThreadForeground

(FlexDebugModelPresentation.java:817)at com.adobe.flexbuilder.debug.ui.FlexDebugModelPresentation.getForeground(FlexDebugModelPresentation.java:793)at org.eclipse.debug.internal.ui.LazyModelPresentation.getForeground

(LazyModelPresentation.java:362)at org.eclipse.debug.internal.ui.DelegatingModelPresentation.getForeground(DelegatingModelPresentation.java:327)at org.eclipse.debug.internal.ui.views.launch.DebugElementHelper.getForeground

(DebugElementHelper.java:108)at org.eclipse.debug.internal.ui.elements.adapters.AsynchronousDebugLabelAdapter.getForegrounds(AsynchronousDebugLabelAdapter.java:103)at org.eclipse.debug.internal.ui.viewers.provisional.AsynchronousLabelAdapter.computeLabels

(AsynchronousLabelAdapter.java:105)at org.eclipse.debug.internal.ui.elements.adapters.AsynchronousDebugLabelAdapter.computeLabels(AsynchronousDebugLabelAdapter.java:66)at org.eclipse.debug.internal.ui.viewers.provisional.AsynchronousLabelAdapter$2.run

(AsynchronousLabelAdapter.java:51)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)On 7/6/06, Clint Modien
 
[EMAIL PROTECTED] wrote:ya I just started getting the same error after upgrading to flex2 final... i wasn't getting the error in flex2 beta 3 though...
has anyone contacted you about it?On 7/5/06, 
Angus Johnson [EMAIL PROTECTED] wrote:















  



Has anyone else encountered this error in Eclipse (with the Flex Builder final). I'm using Eclipse 3.2 (M20060629-1905).Occurs during debug:An internal error occurred during: 


Retrieving labels.
Invalid thread accessI also occasionally get 'error removing compiler marker' on builds.Might be unrelated to Flex Builder itself just would like to know if someone has come across this before I start uninstalling plugins.
CheersAngus

  

















  













-- ::| Carlos Rovira::| http://www.carlosrovira.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] Re: WebService Cairngorm 2 Example

2006-07-09 Thread Carlos Rovira



I agree with Darron's changes. when could we expect to have those changes in the offical cairngorm release? (if the changes are approved)On 7/6/06, Steven Webster
 [EMAIL PROTECTED] wrote:












  






Darron makes some very fair points; our reasoning for the 
current Cairngorm implementation was driven from some findings we had during the 
beta, which no longer seem to apply. We'll have some discussion internally 
to reinforce our decisions, but Darron's approach seems a sensible and valid one 
that we may likely end up bringing into the main codebase. 


How would folks feel about us making that change ? 
We're always very reticent of API changes for backward compatibility.would 
folks be ok with this one ?

Steven



  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0)7917 428 947[EMAIL PROTECTED] 
  


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  ben.clinkinbeardSent: 06 July 2006 16:07To: 
  flexcoders@yahoogroups.comSubject:
 [flexcoders] Re: WebService 
   Cairngorm 2 Example
  
  
  Darron Schall just posted a great article about Cairngorm's 
  Responderinterface and what he considers to be a better 
  alternative.http://www.darronschall.com/weblog/archives/000234.cfm


  













-- ::| Carlos Rovira::| http://www.carlosrovira.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 2 Final] URLRequestMethod.POST produces compile time error

2006-07-09 Thread Carson Hager





You likely need to add an import for flash.net.* to your 
code so the compiler can know what class you're referring to. As a note, 
Flex adds a number of implicit imports to mxml applications including 
flash.net.* which would take care of this issue had the code been in an 
application but does not add them to mxml components or AS files. 
The import should do the trick.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Hilary 
BridelSent: Sunday, July 09, 2006 8:18 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] [FLEX 2 Final] 
URLRequestMethod.POST produces compile time error



Hi People,
This worked ok in Flex 2B3, but not in the final release of Flex 2.
The code below produces the compile time error:
"1120: Access of undefined property 
URLRequestMethod."
public function DataLoadingTest 
(){var request:URLRequest = new URLRequest 
(urlString);request.contentType = 
"text/xml";request.data = 
"">request.method = URLRequestMethod.POST ; 
//This is the offending 
linetrace(request.data);dataLoader = 
new URLLoader ();dataLoader.addEventListener ("complete", 
onDataLoad);dataLoader.addEventListener ("securityError", 
onSecurityError); dataLoader.load 
(request);}
Any ideas?-- Hilary-- 

__._,_.___





--
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] z-depth for TabBar

2006-07-09 Thread JesterXL
TabBar's children order is linked to it's child indices.  Therefore, I see 
no possible way to increase the z-depth for a Tab in the TabBar.  If you 
utilize setChildIndex, this changes the child's actual position in the Box, 
and thus put's him at the end.

The current design I have for tabs indicates that the selected tab is 
above the others.  The horizontalGap style makes this work really well on 
the left side of the selected tab because you can see him being above the 
tab to his left.  The right, however, is in front of him (the selected tab), 
and this is not what I want.  If I bring him it front, the Box redraws, and 
throws him at the end.

I understandy why it does this; NavBar was built around the child model of 
Box.

How do I get a child to appear in front?

--JesterXL 



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Does Flex 2 support dynamic WSDL locations?

2006-07-09 Thread ben.clinkinbeard
For the sake of reference, the methodology for mixing services defined
in MXML and AS inside ServiceLocator is explained here:
http://groups.yahoo.com/group/flexcoders/messages/42591?threaded=1m=evar=1tidx=1

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] Camera object

2006-07-09 Thread Greg Hamer



Andy,

Did you get an answer elsewhere on this question that you posted last month?

If not, this technote might be helpful: http://www.adobe.com/go/tn_16454

The technote is dated March 19, 2003 and titled Common Questions
about Macromedia Flash Communication Server.  I am pasting at the end
two relevant excerpts.

fyi ... two non-webcam options I believe can be detected by the
Camera object are Osprey streaming cards and Camtasia. You can find
more on each of these at, respectively:
http://viewcast.com/news/current/press040419.htm
  http://www.techsmith.com/learn/camtasia/current/general/1507.asp

If you have further questions on details related to the Camera object you might want to try the FlashComm list at: 
  http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

The FlashComm list is very well subscribed by developers who frequently work with the Camera object :-)

hth,

g

EXCERPTS FROM TECHNOTE tn_16454

 How is the video captured?
 Video is captured by the Macromedia Flash Player. The Flash
Player can acquire video from anything that has a WDM Video Capture
Driver. This includes almost all web cameras, DV cameras and video
capture boards. It even includes screen grab utilities like Camtasia.
In fact, the Flash Player can even acquire from multiple video sources
at the same time. For streaming video from your DVD player, all that is
required is a video capture board that has a WDM Video Capture Driver. 

Is there a special video capture card or devices  required?
 The capture card just needs to have a WDM Video Capture
Driver. This is simple to test: open the camera settings dialog in the
Flash Player on the system in question and see if the card appears in
the list of video sources. To open this dialog, make sure you have
Macromedia Flash Player 6, right-click while viewing some kind of Flash
content, select Settings, then click the camera icon.
On 6/9/06, Andrew Trice [EMAIL PROTECTED] wrote:









  











Anybody have any ideas on this, or know of
any documentation? The API doesn't say anything about it really.



Thanks,



  Andy
  
_






Andrew Trice


Cynergy Systems, Inc.



http://www.cynergysystems.com


Email: 
[EMAIL PROTECTED]

Office: 866-CYNERGY













From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Andrew Trice
Sent: Friday, June 09, 2006 11:17
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Camera
object



  
Hi Everyone,















Does anyone
the specifics of what defines a "camera" to the Camera object?
Webcams work great, but what if I have other devices that stream video
content? Is there a specification anywhere that states the
interface/criteria that the device must adhere to in order to be detected by
the flash player? Currently, I only have a webcam connected to my machine
and I am wondering what else I can connect. 




Will a
camcorder work? 

Will a video
capture/tv decoder card work?




In the
windows device manager, I see my webcam listed in the "Imaging
devices" category… Does any hardware that is detected by the OS as
an "Imaging device" work within the flash player?



All feedback
appreciated!



Thanks,

Andy



_

Andrew Trice

Cynergy
Systems, Inc.

http://www.cynergysystems.com




Email: [EMAIL PROTECTED]


Office:
866-CYNERGY 

  80   
  
 












__._,_.___





--
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: Keeping DataGrid from scrolling to top on update to dataProvider

2006-07-09 Thread Jordan Snyder



I'm calling a function to set the verticalScrollPosition in the
onResult function of my service call, and it's setting the scroll
position

However, and maybe this is a bug in verticalScrollPosition(?), the
DataGrid sets the scroll position (meaning that the scroll bar is in
the 'remembered' place), but moves the entire content of the grid so
that the first item in the list is still the one being displayed
first. So if I scroll up, there are blank items in the
grid. 

That seems pretty silly. 

Maybe I'm doing something wrong though...? 

Deepa or anyone, do you have any recommendations, based on your knowledge of how the DG works behind the scenes? 

FYI: I'm also setting the selectedIndex in the same swoop, and I will
soon be setting the column sorting at the same time as well.

CheersOn 6/28/06, Jason Y. Kwong [EMAIL PROTECTED] wrote:









  



From
my experiences, the grid takes a beat to update its visual appearance
when its data gets updated. After I know that the data has been
updated, I normally use callLater() to set the scroll position.
On 6/28/06, djbrown_rotonews [EMAIL PROTECTED] wrote:

I'm still not having any luck. The reset event is being calledupstream and processed in my handler, with the proper value ofprevIndex calculated, but the grid still jumps to the top after thedata fill:

if (event.kind == CollectionEventKind.RESET) {var prevIndex:int = this.dgDelays.verticalScrollPosition;trace(prevIndex = ,prevIndex);this.dgDelays.verticalScrollPosition=prevIndex;}--- In 
flexcoders@yahoogroups.com, Deepa Subramaniam[EMAIL PROTECTED] wrote: I'm sorry, I totally misspoke. I meant to say RESET in my
explanation
 below. When your collection is filled with new data after a fill() callto your DataService, the component bound to that collection will receive a CollectionEvent with kind = RESET. Internally, we re-populate the
 component with the new data and reset the scroll position to 0. What you can do is add your own collectionChange event handler toyour collection and upon receiving a RESET, reset the
verticalScrollPosition to whatever value you've been tracking. private function acHandler(event:CollectionEvent):void { if (
event.kind
 == CollectionEventKind.RESET)
dg.verticalScrollPosition = vPos; } There's no need to use the scrollToIndex() method; by setting the
 verticalScrollPosition property directly, the scrollbar andcontent are update as if the user scrolled to that index. Best, deepa 
 From: flexcoders@yahoogroups.com[mailto:
flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews
 Sent: Wednesday, June 28, 2006 7:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keeping DataGrid from scrolling to top on
 update to dataProvider
 I added a collectionChange event to my XMLListCollection (that'sthe dataProvider for the grid) as follows: public function preserveScrollPosition(event:CollectionEvent):void
{ var prevIndex:int = this.dgDelays.verticalScrollPosition; trace(prevIndex = ,prevIndex); this.dgDelays.scrollToIndex(prevIndex); } and the trace info does give me the value of the currentScroll,
but the grid still goes back to the top after the data is populated. is refresh() still being called after this guy? --- In 
flexcoders@yahoogroups.com
 mailto:flexcoders%
40yahoogroups.com , Deepa Subramaniam dsubrama@ wrote:   When the actual data comes in, the DataGrid encounters a REFRESH
  collectionChange event and if you look in  ListBase.collectionChangeHandler's REFRESH case, you'll see that the  verticalScrollPosition is set to 0.   What you need to do is set the scroll position *after* the data
 has come  in and the DataGrid has processed the REFRESH event.   -deepa   -Original Message-  From: 

flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com [mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%
40yahoogroups.com ] On  Behalf Of djbrown_rotonews  Sent: Tuesday, June 27, 2006 12:42 PM
  To: flexcoders@yahoogroups.com mailto:
flexcoders%40yahoogroups.com  Subject: [flexcoders] Re: Keeping DataGrid from scrolling to top
on  update to dataProvider   I actually tried this (my dataProvider for the grid is an  XMLListCollection being populated by a jsp. The grid has custom item
  renderers if that's relevant).
   anyhow, I have an update button which will call the jsp andget  new results when clicked. I've set it up so the click() method  correctly captures the scroll position, calls the jsp, and then
 sets  the scrollToIndex to the previous value of the scroll position.It  works great while the busy cursor is displayed, but it reverts  back to scrolled all the way at the top once the actual data
comes  in from the jsp (it takes about 3 seconds to update the gridwith  the new data).   any ideas on where the scroll position is being reset?   --- In 
flexcoders@yahoogroups.com mailto:
flexcoders%40yahoogroups.com , Deepa Subramaniam  dsubrama@ wrote:
 Hi Jordan - You can keep track of 

Re: [flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-07-09 Thread Jordan Snyder



K Everyone,

I got it to work by calling the rememberDGPosition() on the DG's
render event. So that worked for the scroll position and fixed
the above bug. I can only assume that my earlier solution was
setting the scroll position before the dataProvider registered an
update. 

So, that was nice...but then I was getting a 'flash' on the
selectedItem that I wasn't getting before. So I'm calling the
function to set the selectedIndex on the result handler from my
HTTPService, and calling the function to update the
verticalScrollPosition on the render event for the DataGrid.
Kinda hackish, but it works for now. 

My only remaining complaint is that if you keep the mouse pointer over
the selectedItem in the grid, when the dataProvider updates it kind of
flashes. I'd like to make it completel stale-looking and not
have the highlight flash when the DP gets updated. Is there any
way to do this, or am I stuck with a blinking highlight?

Thanks to everyone for the help/recommendations/etc.

CheersOn 7/9/06, Jordan Snyder [EMAIL PROTECTED] wrote:
I'm calling a function to set the verticalScrollPosition in the
onResult function of my service call, and it's setting the scroll
position

However, and maybe this is a bug in verticalScrollPosition(?), the
DataGrid sets the scroll position (meaning that the scroll bar is in
the 'remembered' place), but moves the entire content of the grid so
that the first item in the list is still the one being displayed
first. So if I scroll up, there are blank items in the
grid. 

That seems pretty silly. 

Maybe I'm doing something wrong though...? 

Deepa or anyone, do you have any recommendations, based on your knowledge of how the DG works behind the scenes? 

FYI: I'm also setting the selectedIndex in the same swoop, and I will
soon be setting the column sorting at the same time as well.

CheersOn 6/28/06, Jason Y. Kwong 
[EMAIL PROTECTED] wrote:









  



From
my experiences, the grid takes a beat to update its visual appearance
when its data gets updated. After I know that the data has been
updated, I normally use callLater() to set the scroll position.
On 6/28/06, djbrown_rotonews [EMAIL PROTECTED] wrote:

I'm still not having any luck. The reset event is being calledupstream and processed in my handler, with the proper value ofprevIndex calculated, but the grid still jumps to the top after thedata fill:


if (event.kind == CollectionEventKind.RESET) {var prevIndex:int = this.dgDelays.verticalScrollPosition;trace(prevIndex = ,prevIndex);this.dgDelays.verticalScrollPosition=prevIndex;}--- In 
flexcoders@yahoogroups.com, Deepa Subramaniam[EMAIL PROTECTED] wrote: I'm sorry, I totally misspoke. I meant to say RESET in my
explanation
 below. When your collection is filled with new data after a fill() callto your DataService, the component bound to that collection will receive a CollectionEvent with kind = RESET. Internally, we re-populate the
 component with the new data and reset the scroll position to 0. What you can do is add your own collectionChange event handler toyour collection and upon receiving a RESET, reset the
verticalScrollPosition to whatever value you've been tracking. private function acHandler(event:CollectionEvent):void { if (
event.kind
 == CollectionEventKind.RESET)
dg.verticalScrollPosition = vPos; } There's no need to use the scrollToIndex() method; by setting the
 verticalScrollPosition property directly, the scrollbar andcontent are update as if the user scrolled to that index. Best, deepa 
 From: flexcoders@yahoogroups.com[mailto:

flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews
 Sent: Wednesday, June 28, 2006 7:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keeping DataGrid from scrolling to top on
 update to dataProvider
 I added a collectionChange event to my XMLListCollection (that'sthe dataProvider for the grid) as follows: public function preserveScrollPosition(event:CollectionEvent):void
{ var prevIndex:int = this.dgDelays.verticalScrollPosition; trace(prevIndex = ,prevIndex); this.dgDelays.scrollToIndex(prevIndex); } and the trace info does give me the value of the currentScroll,
but the grid still goes back to the top after the data is populated. is refresh() still being called after this guy? --- In 

flexcoders@yahoogroups.com
 mailto:flexcoders%

40yahoogroups.com , Deepa Subramaniam dsubrama@ wrote:   When the actual data comes in, the DataGrid encounters a REFRESH
  collectionChange event and if you look in  ListBase.collectionChangeHandler's REFRESH case, you'll see that the  verticalScrollPosition is set to 0.   What you need to do is set the scroll position *after* the data
 has come  in and the DataGrid has processed the REFRESH event.   -deepa   -Original Message-  From: 


flexcoders@yahoogroups.com mailto:flexcoders%

40yahoogroups.com [mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%

40yahoogroups.com ] On  Behalf Of djbrown_rotonews  

[flexcoders] Flex Development Shop

2006-07-09 Thread mudwump_vx
I am a consultant looking for an experienced development shop to
design, develop, field, and support a Flex 2 based web application
that will support a company's new product line. The application will
need to support a very large database using paging and push type data
technologies. The shop will need to be able to optimize the schema and
communication to and from the server. Significant parts of the
application will be based upon data grids and charting. If you are
interested, please respond to [EMAIL PROTECTED]

Thanks
Steve






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

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

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

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

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




Re: [flexcoders] Camera object

2006-07-09 Thread Jeremy Lu




I tried Sony DV camcoder, software caputre driver and TV tuner card several years ago (when flashcom came out), they all worked.

Even tried to use DV cam in a room-based video conference application and it's working very well.

Jeremy.On 6/9/06, Andrew Trice [EMAIL PROTECTED] wrote:









  











Hi Everyone,



Does anyone the specifics of what defines a "camera"
to the Camera object? Webcams work great, but what if I have other
devices that stream video content? Is there a specification anywhere that
states the interface/criteria that the device must adhere to in order to be
detected by the flash player? Currently, I only have a webcam connected
to my machine and I am wondering what else I can connect. 



Will a camcorder work? 

Will a video capture/tv decoder card work?



In the windows device manager, I see my webcam listed in the
"Imaging devices" category… Does any hardware that is detected
by the OS as an "Imaging device" work within the flash player?



All feedback appreciated!



Thanks,

Andy



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com




Email: [EMAIL PROTECTED]


Office: 866-CYNERGY











  















__._,_.___





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



  






__,_._,___