RE: [flexcoders] Local data access in Flex

2005-12-14 Thread Mink, Joseph





As far as I know, this can not be done in Flex 1.5, but can 
be done in Flex 2.0 (now in beta). I'm sure I'll be corrected if I'm 
wrong, though : )


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
weeksie31Sent: Wednesday, December 14, 2005 8:11 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Local data access in 
Flex
Hi all,I need to evaluate the ability of a flex app to 
read from xml files stored locally (local disk/network).Is this at 
all possible? Anyone know of any blog entries etc that discuss offline 
flex usage?Thanks,Nick





--
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] Introspection and ASSetPropFlags ()

2005-12-14 Thread Mink, Joseph





Hi 
all,

I'm trying to 
introspect an object in Flex 1.5, and I'm trying to use ASSetPropFlags to do 
it...but I'm getting an error saying that the method doesn't 
exist:

Error /ROTest.as:7 
There is no method with the name 'ASSetPropFlags'.

Should 
that method work in Flex? Has any one had experience using it? 
Here's my usage:

function gimmeBackResultHandler (result:Object){trace 
("Begin gimmeBackResultHandler ()");ASSetPropFlags 
(result,null,//Make all properties 
viewable1,//Linux-like bitwise 
permissionstrue//Whether these permissions can be 
hidden again 
later);for(prop in 
result){ trace 
(prop);}trace ("End gimmeBackResultHandler 
()");}
Thanks...

Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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








  
  
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] Introspection and ASSetPropFlags ()

2005-12-14 Thread Mink, Joseph





Thanks, Dirk.

I ended up not using ASSetPropFlags because it seems that 
you can't have a Java Remote Object call return atype that doesn't already 
have a AS equivalent class defined.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
EismannSent: Tuesday, December 13, 2005 8:58 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Introspection and 
ASSetPropFlags ()

The trick is to use _global.ASSetPropsFlags() - should 
work.

Dirk.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Mink, 
  JosephSent: Tuesday, December 13, 2005 1:59 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Introspection and 
  ASSetPropFlags ()
  
  My apologies if this is a repeat...my last post 
  didn't go through:
  
  
  Hi 
  all,
  
  I'm trying to 
  introspect an object in Flex 1.5, and I'm trying to use ASSetPropFlags to do 
  it...but I'm getting an error saying that the method doesn't 
  exist:
  
  Error /ROTest.as:7 
  There is no method with the name 'ASSetPropFlags'.
  
  Should that method work in Flex? Has any one had experience using 
  it? Here's my usage:
  
  function gimmeBackResultHandler (result:Object){trace 
  ("Begin gimmeBackResultHandler ()");ASSetPropFlags 
  (result,null,//Make all properties 
  viewable1,//Linux-like bitwise 
  permissionstrue//Whether these permissions can be 
  hidden again 
  later);for(prop in 
  result){ trace 
  (prop);}trace ("End gimmeBackResultHandler 
  ()");}
  Thanks...
  
  Joey Mink
  [Software Engineer @ Solers, 
  Inc.]
  Voice: 703 480 2450
  Fax: 703 263 2663
  [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] Introspection and ASSetPropFlags ()

2005-12-13 Thread Mink, Joseph





My apologies if this is a repeat...my last post didn't 
go through:


Hi 
all,

I'm trying to 
introspect an object in Flex 1.5, and I'm trying to use ASSetPropFlags to do 
it...but I'm getting an error saying that the method doesn't 
exist:

Error /ROTest.as:7 
There is no method with the name 'ASSetPropFlags'.

Should 
that method work in Flex? Has any one had experience using it? 
Here's my usage:

function gimmeBackResultHandler (result:Object){trace 
("Begin gimmeBackResultHandler ()");ASSetPropFlags 
(result,null,//Make all properties 
viewable1,//Linux-like bitwise 
permissionstrue//Whether these permissions can be 
hidden again 
later);for(prop in 
result){ trace 
(prop);}trace ("End gimmeBackResultHandler 
()");}
Thanks...

Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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








  
  
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] Handles for resizing?

2005-12-05 Thread Mink, Joseph





Sree,

Thanks for the link! It definitely contained the all 
the info I needed. Much appreciated,

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sreejith 
UnnikrishnanSent: Friday, December 02, 2005 8:38 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Handles for 
resizing?
Excellent example!http://weblogs.macromedia.com/khoyt/archives/2005/01/drag-and-resize.cfmSreeMink, 
Joseph wrote: 

  
  Hi 
  all,
  
  I have a rectangle 
  that I'm drawing with the flex drawing API, and I want to allow the user to 
  resize it (grab the bottom-right corner and change the dimensions). I've 
  seen this done in flash many times...does anyone know of an example that might 
  shed some light on the way to go about doing this?
  
  I recently solved 
  the problem of using Flash's startDrag and stopDrag, which was a bit awkward 
  because using Flex-style eventListeners seemed to interfere with startDrag and 
  stopDrag.So I had to make sure I did everything with the Flash 
  mouse handling methods. I assume this resizing trick will put me up 
  against the same kind of wierdness?
  
  Thanks,
  Joey Mink
  [Software Engineer @ Solers, 
  Inc.]
  Voice: 703 480 2450
  Fax: 703 263 2663
  [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








  
  
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] Handles for resizing?

2005-12-02 Thread Mink, Joseph





Hi 
all,

I have a rectangle 
that I'm drawing with the flex drawing API, and I want to allow the user to 
resize it (grab the bottom-right corner and change the dimensions). I've 
seen this done in flash many times...does anyone know of an example that might 
shed some light on the way to go about doing this?

I recently solved 
the problem of using Flash's startDrag and stopDrag, which was a bit awkward 
because using Flex-style eventListeners seemed to interfere with startDrag and 
stopDrag.So I had to make sure I did everything with the Flash mouse 
handling methods. I assume this resizing trick will put me up against the 
same kind of wierdness?

Thanks,
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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.



  









RE: [flexcoders] Flex 1.x web-service and out-parameters

2005-11-11 Thread Mink, Joseph





You will probably need to copy your "out parameters" to 
variables defined in the script section of your MXML 
document.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of knly 
browneSent: Friday, November 11, 2005 10:01 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 1.x web-service 
and out-parameters
If i call a web-service that has out parameters..how do i access 
those out parameters when the web-service call returnes.Thanks-- Kenlie BrowneSoftware Developer 





--
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 Setup on Tomcat

2005-11-09 Thread Mink, Joseph





All I had to do was drop the flex.war into Tomcat's webapps 
directory, restart Tomcat, and away I went. Is there something more you're 
trying to do that I'm missing? Maybe you're dealing with RemoteObjects or 
something additional?

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
gradykellydesignSent: Wednesday, November 09, 2005 10:57 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 
Setup on Tomcat
Trying to find some good documentation on getting flex apps 
running onTomcat. I need help in setting up classpaths/mappings for 
ourspecific app in Tomcat. This is an easy task in JRun, but have 
hadzero luck in Tomcat.Any 
ideas?Thanks,Grady





--
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: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-04 Thread Mink, Joseph





Dear to the heart, indeed! A recent lane-split passed 
5 cars recently on I66 has me revisiting the pattern in this 
lane-splitting-illegal state of VA. Luckily the whole experience was one 
of braking, because I'd have only had ~30hp to put to the road if acceleration 
was involved : )

"So of course, I wanted something equipped to drive across 
arctic tundra. It just makes me feel better."

Good times, good times!




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Roger GonzalezSent: Thursday, November 03, 2005 1:20 
PMTo: flexcoders@yahoogroups.comSubject: RE: helper 
object? what's that? (was Re: [flexcoders] To code-behind or not to 
code-behind?)
 OK, we're analysing this to a level it was never meant to be 
 analysed at. This often seems to happen, though. 
I find design patterns to beincredibly useful for attaching names to common 
code constructs (bothfor describing how something was implemented or how it 
could/should beimplemented) but I find them unhelpful whenever they're 
wedged into acontext where the potential user of the pattern hasn't 
previously workedon the problem and personally experienced the pain of 
coding themselvesinto a corner. They get locked up in a terror that 
they aren'tfollowing the pattern to the letter, and freak out when the 
patternisn't a 100% match for what they're trying to do. I once saw 
some codethat had a class factory that produced class factories, for no 
reasonother than they didn't dare put two factory methods on the same 
object,because the pattern didn't say that was ok.To bring it back 
to an area near and dear to my heart, its likeexplaining lanesplitting 
techniques to a motorcyclist who lives in arural area with no traffic. 
Sure, there are lots of best practices andpotential gotchas and 
what-to-do-when, but they're only interesting froma theoretical perspective 
if you're never in that situation. However,they'll make a lot more 
sense -after- a cell-phone-babbling soccer momin a Maibatsu Monstrosity 
suddenly realizes she needs to exit soon andcuts you off, forcing you to 
threshold brake, release, swerve a fulllanes-width in front of a bus to the 
next gap between lanes, and thenaccelerate so hard you pull a small wheelie 
off a rain-slicked Bott'sDot while still leaned over, three cylinders of 
bottled impatiencehowling as you feed 120hp to the ground via a sticky 
rubber contactpatch the size of a deck of cards[1] (Ah, Lanesplitting 
Pattern #4, on-and off-ramps are like tributaries in the traffic stream, 
they causeturbulence...)-rg[1] Part of my employment 
agreement is that I must checkpoint my codeinto source control a bit more 
frequently than my sane coworkers.





--
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
  
  
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] need help from web service in action script 2

2005-11-04 Thread Mink, Joseph





Hi,

I was unable to dynamically instantiate Webservice objects 
in ActionScript (this has been rather extensively discussed in this group 
previously). Macromedia pretty much told me that dynamic instantiation of 
Webservice objects was not supported in Flex 1.5, and that you must define the 
Webservice object statically in MXML.

See the flex docs for how to do that, here's mine as a 
reference:

 
mx:WebService fault="wsFault 
(event)" 
id="uiMgrWs" 
protocol="http" wsdl="http://localhost:8080/uimanager/UIManagerService?wsdl" 
mx:operation name="getAlerts" result="handleGetAlertsResult 
(event.result)"/ 
mx:operation name="getDSHeaders" result="handleGetDSHeadersResult 
(event.result)"/ 
mx:operation name="getDS" result="handleGetDSResult 
(event.result)"/ 
mx:operation name="makeDecision" result="handleMakeDecisionResult 
(event.result)"/ 
/mx:WebService

Hope that's worth something to you! Your AS code can 
refer to the above object as uiMgrWs, and might call something like 
uiMgrWS.getAlerts ();


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
collection711Sent: Friday, November 04, 2005 2:27 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] need 
help from web service in action script 2
hi there!i'm try to write custom a class about make the 
call web service to.net webservice server. The class will be in actionscript 
2 , i cannot find any document to do that. i found some example code like 
this:new mx.servicetags.Service(this._url,"http://localhost:8500/mmcourses/faad2004/dbs/Bikeparts.cfc?wsdl", 
newmx.services.Log(1, "WebService"), null, this, null, null, null, 
null,false);is any one can show me where i can find document about 
mx.servicetagsin flex. I also read flex document but i confuse about how to 
callconstructor like example above what is exactly first parameter 
about,i know the second is address of webservice, what's about thrid and 
soon parameter about.thanks.





--
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
  
  
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] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





I just read about 
fscommand ():

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=2349.htm

...very 
wierd.

Anyway, I was hoping 
to actually obtain information as a return value from a JS function that gets 
called. I didn't see any way to obtain data in return using the fscommand 
function. Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML document?

Thanks!
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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.



  









RE: [flexcoders] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





I was just recently made aware of this 
link:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15683

Which basically shows a way, from JS,to set the value 
of a variable in the Flash Player. Awesome!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mink, 
JosephSent: Friday, November 04, 2005 3:56 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Obtaining data from 
the outer HTML's DOM

I just read about 
fscommand ():

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=2349.htm

...very 
wierd.

Anyway, I was hoping 
to actually obtain information as a return value from a JS function that gets 
called. I didn't see any way to obtain data in return using the fscommand 
function. Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML document?

Thanks!
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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








  
  
SPONSORED LINKS
  
  
  

Web site design 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] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





Thanks again, Tracy. That's awesome info! 
Definitely easier than I would've thought...


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
SprattSent: Friday, November 04, 2005 4:24 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Obtaining data 
from the outer HTML's DOM


And a quick 
follow-up:
setVariable() will work 
with a Flex setter function, so you can use it to trigger any action in 
flex.

I use this callback 
setup for programmatic security. I use 
getURL(_javascript_:myWrapperFunc(mydata));
Tracy





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tracy SprattSent: Friday, November 04, 2005 4:18 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Obtaining data 
from the outer HTML's DOM

Could you use a 
callback setup? Fscommand or getURL out to the wrapper, then 
FlashMovieObject.setVariable(myData) back to Flex?

Tracy





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mink, 
JosephSent: Friday, November 
04, 2005 3:56 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Obtaining data from 
the outer HTML's DOM


I just read about fscommand 
():



http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=2349.htm



...very 
wierd.



Anyway, I was hoping to actually 
obtain information as a return value from a JS function that gets called. 
I didn't see any way to obtain data in return using the fscommand 
function. Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML 
document?



Thanks!
Joey 
Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 
2450
Fax: 703 263 
2663
[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








  
  
SPONSORED LINKS
  
  
  

Web site design 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] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





Yes indeed! I just found out about the 
FlashMovObj.setVariable...didn't know about that! Thanks 
much!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
SprattSent: Friday, November 04, 2005 4:18 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Obtaining data 
from the outer HTML's DOM


Could you use a 
callback setup? Fscommand or getURL out to the wrapper, then 
FlashMovieObject.setVariable(myData) back to Flex?

Tracy





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mink, 
JosephSent: Friday, November 
04, 2005 3:56 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Obtaining data from 
the outer HTML's DOM


I just read about fscommand 
():



http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=2349.htm



...very 
wierd.



Anyway, I was hoping to actually 
obtain information as a return value from a JS function that gets called. 
I didn't see any way to obtain data in return using the fscommand 
function. Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML 
document?



Thanks!
Joey 
Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 
2450
Fax: 703 263 
2663
[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.



  









RE: [flexcoders] Code-only Flex apps

2005-11-03 Thread Mink, Joseph





The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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] Code-only Flex apps

2005-11-03 Thread Mink, Joseph





Yes indeed! Nothing like the convenience of MXML when 
you can use it...and it's easy to forget to use MXML if you're a developer fresh 
off another programming project (Java, C++, etc).

From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:27 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps

Don't get me wrong; 90% of my work currently in 
Flex is ActionScript; mainly because I'm building just what you said, extremely 
dynamic components.

...however, using those components is lovely, easy, 
MXML.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:20 AM
Subject: RE: [flexcoders] Code-only Flex apps

The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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: Code-only Flex apps

2005-11-03 Thread Mink, Joseph





Revisit this after you develop in Flex for about 2 
months...you might find that you made life harder on yourself or that you are 
having a harder time making modifications. On the flipside, maybe you'll 
disagree with that entirely.

The bottomline is that if you look @ Flex as a technology, 
as opposed to a language, it won't really matter to the developer whether he/she 
writes mxml or as. Both approaches represent the same thing in different 
ways. Would you want to write a complete native application's UI in 
C++? Or would you like to create the forms with the GUI builder IDE and 
then interface with those UI objects in C++?

MXML vs. AS isn't EXACTLY the same as the example just 
given, but it's in the same ballpark. Again, do it your way and then 
revisit. I know I started with no MXML, and changed pretty quickly, but 
that's me!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
CascaisSent: Thursday, November 03, 2005 1:16 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Code-only Flex 
apps
Thanks for your replies Jesse and Joseph,I get your 
points, but to me it seems more appropriate, maybe cleaner,with AS only. I 
can understand the need for MXML, maybe one of themain reasons is to make 
easier/faster development for people thatmight not have a strong coding 
background, which increases the userbase. But why force it on developers 
that can handle just as good ormaybe better without it (for whatever 
reason)?--Daniel Cascais





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

   
  







  
  
  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] SWC creation in Flash...AS goes where?

2005-11-01 Thread Mink, Joseph





Hi,

I'm using Flash 
Studio 8 (demo version) for the 1st time...I see how to create SWCs - I create a 
new Flash document, I do some drawing on the stage, then select what I want to 
componentize, and drag it to the symbols panel. My new (movie clip) symbol 
would be my complete SWC, but I 1st need to write the necessary AS to extend 
mx.core.UIObject, right?

Any idea where this 
AS gets written? My apologies for being slightly off 
topic...

Thanks,
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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] SWC creation in Flash...AS goes where?

2005-11-01 Thread Mink, Joseph





Well, there's some kinda progress going on here : ) I 
am now getting the following error when I try to use my SWC:

1 Error, 1 Warning found. 
Warning 
C:\Program Files\Apache Software Foundation\Tomcat 
5.0\webapps\ADSFlexApp\FlashGraphNode.swc is inconsistent/corrupt, no SWF 
definition found for FlashGraphNode

Any thoughts on what this means? 
Thanks...


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mink, 
JosephSent: Tuesday, November 01, 2005 10:32 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] SWC creation in 
Flash...AS goes where?

Hi,

I'm using Flash 
Studio 8 (demo version) for the 1st time...I see how to create SWCs - I create a 
new Flash document, I do some drawing on the stage, then select what I want to 
componentize, and drag it to the symbols panel. My new (movie clip) symbol 
would be my complete SWC, but I 1st need to write the necessary AS to extend 
mx.core.UIObject, right?

Any idea where this 
AS gets written? My apologies for being slightly off 
topic...

Thanks,
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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.



  









RE: [flexcoders] Re: Flex 1.5 WS calls without the proxy

2005-10-31 Thread Mink, Joseph





Thanks, Dave!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
WolfSent: Monday, October 31, 2005 10:02 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flex 1.5 WS calls 
without the proxy
Absolutely you can. We do this quite regularly. If 
the WS lives onthe same host, why introduce the overhead of the 
proxy.You need to do two things. 1) You need to modify 
flex-config.xml to allow the compiled swf tobypass the 
proxy.proxy-use-policyclient/proxy-use-policyYou 
could force all the swf's to bypass the proxy by 
doingproxy-use-policynever/proxy-use-policy2) 
You need to use the following attributes in your mx:WebService 
tagwsdl="/foo/bar/path.to.wsdl" useProxy="false"-- 
Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partnerhttp://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 866-CYNERGY x85 --- In 
flexcoders@yahoogroups.com, "Mink, Joseph" 
[EMAIL PROTECTED]wrote: After reading the 
following:  Flash applications are only allowed HTTP 
access to resources on the same domain and by the same protocol from 
which they were served. This presents a problem for web services, 
because they are typically accessed from remote locations. The Flex 
proxy intercepts requests to remote web services, redirects the 
requests, and then returns the responses to the client.  (http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/comm 
on/html/wwhelp.htm?context=Flex_Documentationfile=0762.htm) 
 I'm left with the following question: So can you make a WS call 
without the proxy to a webservice hosted by the same server that served 
the flex app? Like if I accessed:  http://somewhere:8080/flex/myApp.mxml 
 could the Flash Player then make a WS call to http://somewhere:8080/services/myService 
without the Flex proxy?  Thanks! Joey Mink 
[Software Engineer @ Solers, Inc.] Voice: 703 480 2450 Fax: 703 
263 2663 [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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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 outlook on Webservice support

2005-10-28 Thread Mink, Joseph





There has been alot 
of talk about the new protocols and binary comms that Flex and the new Flash 
Player will support. Can we assume that the web service support will @ 
least remain if not improve as Flex matures? Lots of theliterature 
on Flex2 seems to downplay the web service portion of the Flex data 
services.

Thanks.
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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.



  









RE: [flexcoders] Re: Flex2 outlook on Webservice support

2005-10-28 Thread Mink, Joseph





That is good news! I didn't attend MAX, so I missed 
that info. Thanks!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
WolfSent: Friday, October 28, 2005 9:03 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flex2 outlook on 
Webservice support
I dont think anything in Flex2 downplays 
mx:WebService. In speakingwith the development team at MAX 
they assured us we would have evenbetter WS support in Flex2. For 
instance, Flex1.5 isnt very good withdocument/literal encoding and 
ComplexType in the WSDL. They assuredus thats been 
resolved. Thats a big deal if you want to call .NET webservices since 
document/literal is really the only dependable crossplatform 
encoding.So I think its getting only better.-- Dave 
WolfCynergy Systems, Inc.Macromedia Flex Alliance Partnerhttp://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 866-CYNERGY x85 --- In 
flexcoders@yahoogroups.com, "Mink, Joseph" 
[EMAIL PROTECTED]wrote: There has been alot of talk 
about the new protocols and binary comms that Flex and the new Flash 
Player will support. Can we assume that the web service support 
will @ least remain if not improve as Flex matures? Lots of the 
literature on Flex2 seems to downplay the web service portion of the 
Flex data services.  Thanks. Joey Mink 
[Software Engineer @ Solers, Inc.] Voice: 703 480 2450 Fax: 703 
263 2663 [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








  
  
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] Remote Objects, must be on the local server?

2005-10-17 Thread Mink, Joseph





Do remote Java 
objects in Flex have to exist on the local server that is running Flex? Or 
can these Java objects be on a remote server? If so, it seems that AMF is 
the protocol used for data xfer between Flash  Flex...but what protocol 
would be used between Flex and the remote server hosting the remote 
objects?

Thanks.
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[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.



  









RE: [flexcoders] Remote Objects, must be on the local server?

2005-10-17 Thread Mink, Joseph





Thanks, Valy...so you figure that they must be in the flex 
webapp in order to be accessible? I looked @ the example on the flex api 
page...when does this object actually get instantiated? When the remote 
call is made? The example class and its internal method wasn't declared 
static or anything:

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/servicetags/RemoteObject.html

Thanks for you previous reply!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Valy 
SivecSent: Monday, October 17, 2005 3:08 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Remote Objects, 
must be on the local server?
I would think that the RO object and flex frameworkmust be on 
the same server. The ROs are plain javaclasses - and act as proxies to any 
remote service youmight want to use, EJBs per 
example..HTH,Valy--- "Mink, Joseph" 
[EMAIL PROTECTED] wrote: Do remote Java objects in Flex 
have to exist on the local server that is running Flex? Or 
can these Java objects be on a remote server? If so, it 
seems that AMF is the protocol used for data xfer between Flash 
 Flex...but what protocol would be used between Flex and 
the remote server hosting the remote objects?  
Thanks. Joey Mink [Software Engineer @ Solers, Inc.] 
Voice: 703 480 2450 Fax: 703 263 2663 
[EMAIL PROTECTED]  
  
__ Yahoo! Music Unlimited Access 
over 1 million songs. Try it free.http://music.yahoo.com/unlimited/





--
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] Problem with repeater and datagrid -- Please help!

2005-10-14 Thread Mink, Joseph





Or you can create a static actionscript class with a 
private member. Set that member, and then everyone who accesses the static 
class will get the same value for that static member:

class StaticClass
{
 public static var theValue;
}

...

StaticClass.theValue = something;

...

if (StaticClass.theValue == something)
...

Does that help?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Manish 
JethaniSent: Friday, October 14, 2005 12:27 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with 
repeater and datagrid -- Please help!
On 10/14/05, Parekh, Shweta - BLS CTR 
[EMAIL PROTECTED] wrote: 1. Are there global variables 
in Flex so that I can take the result from remote call in a global 
variable and then use it anywhere -- in my case in the child 
component?You can save the result in the application and then refer to 
it fromchild components using the _expression_ 
"parentApplication.myResult"(can even bind to it I guess).





--
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: WebServices via ActionScript

2005-10-12 Thread Mink, Joseph





And to answer your last question, Flash doesn't have the 
fun UI widgets like Trees and Tabs and all those goodies (@ least, I believe 
that is true...). Does Flash support WebServices?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
WolfSent: Tuesday, October 11, 2005 5:55 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: WebServices via 
ActionScript
I may be out of the loop because I couldnt see which thread you 
brokefrom butYou can turn on the keep-generated to keep the 
generated AS from amx:WebService call to prove its possible as 
well. Since at runtimethe J2EE Servlet Filter is generating AS from 
the mx:* tags prettymuch anything you can do in a tag you can do in 
AS right?The real question is why? You used to see this in JSP 
development alot (Since JSP is a nearly direct analog to Flex) in that 
JSPdevelopers would just make huge scriplet sections and do everything 
inJava. Eventually it reached the point that why not just write a 
darnservlet. Since at runtime the JSP is just codegenerated to java 
and aservlet runs.Flex is the same right. The MXML is code 
generated in AS. I worryabout Flex ending up like JSPs with huge 
script sections and wonderingwhy you didnt just use Flash 
itself.Dave WolfCynergy Systems, Inc.Macromedia Flex 
Alliance Partnerhttp://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 866-CYNERGY x85 --- In 
flexcoders@yahoogroups.com, "JesterXL" [EMAIL PROTECTED] 
wrote: Starting a new thread since we hijacked the other 
one.  I tested this and it works in Flex 1.5 and Flash 
8.  ?xml version="1.0" encoding="utf-8"? 
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
initialize="getFunky()" mx:Script 
![CDATA[  import 
mx.services.WebService; import 
mx.services.PendingCall;  var 
myWebServiceObject:WebService; var 
MyPendingCallObject:PendingCall;   
public var debug_str:String = "";  function 
getFunky() { d("WebService: " + 
WebService); var theURL = "http://radio.tapper.net/artist.cfc?wsdl"; 
myWebServiceObject = new WebService(theURL); 
MyPendingCallObject = myWebServiceObject.getCurrentSong(); 
d("Made call..."); MyPendingCallObject.> { 
mx.core.Application.application.d("result: " + 
result); for(var p in 
result) { 
mx.core.Application.application.d(p + ": " + 
result[p]); } 
} MyPendingCallObject.> { 
mx.core.Application.application.d("fault: " + fault); 
for(var p in fault) { 
mx.core.Application.application.d(p + ": " + 
fault[p]); } } 
}  function d(o) { 
debug_str += o + "\n"; }  
 ]] /mx:Script 
 mx:TextArea text="{debug_str}" width="400" height="300" 
/ /mx:Application





--
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: HTTPService timeout

2005-10-12 Thread Mink, Joseph
In 
flexcoders@yahoogroups.com, "Mink, Joseph" 
[EMAIL PROTECTED]wrote: I do realize that many people 
use this solution for asynchronous data push from http servers, but it 
seems like a hack and an unintended use of HTTP. However, while it 
may leave a bad taste in my mouth, I never discredit something that 
works!!!  It looks like we may be taking it a step further 
and might implement it with the WebService object rather than the 
HTTPService object : ) Assuming that there is no timeout implemented 
there either (in Flex), then I assume it will work as well. 
   From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Dave Wolf Sent: Saturday, October 08, 2005 12:54 AM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService 
timeout   This is a very elegant way to handle 
server-push. It solves a myriad of issues that "true" server-push 
has. It is more scalable, has better quality of service, 
etc.  You just need a servlet programmer who knows how to write 
thread safe code. Do note that each client will then tie up an 
HTTP thread, so you may need to allocate more in your server. 
 --  Dave Wolf Cynergy Systems, Inc. Macromedia 
Flex Alliance Partner http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED] Office: 866-CYNERGY x85  
 --- In flexcoders@yahoogroups.com, "Mink, Joseph" 
[EMAIL PROTECTED] wrote:   Thanks for the 
response, Matt...that's actually a good thing in the way  
that I'll be planning to use HTTPService : )
Joey  
From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On  Behalf Of Matt Chotin  Sent: Friday, October 07, 
2005 10:45 AM  To: flexcoders@yahoogroups.com  Subject: 
RE: [flexcoders] HTTPService timeout  
  Currently HTTPService doesn't support a timeout on its own. 
You'll need  to use your own mechanism with 
setInterval.
Matt
From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On  Behalf Of Mink, Joseph  Sent: Friday, October 07, 
2005 5:03 AM  To: flexcoders@yahoogroups.com  Subject: 
[flexcoders] HTTPService timeout  
  Hi,I 
was wondering...does anyone know where/how to set the timeout for  
HTTPService requests? I am shamefully considering this as a 
solution to  asynchronous data push from the server...write 
a servlet that doesn't  respond to requests until data of interest 
comes to be.
Thanks!   
 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 SPONSORED LINKS  Web site 
design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ 
site+design+developmentw2=Computer+software+developmentw3=Software+des 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac 
ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 Computer software development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We 
b+site+design+developmentw2=Computer+software+developmentw3=Software+d 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr 
acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 Software design and development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= 
Web+site+design+developmentw2=Computer+software+developmentw3=Software 
+design+and+developmentw4=Macromedia+flexw5=Software+development+best+ 
practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
  Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ 
developmentw2=Computer+software+developmentw3=Software+design+and+deve 
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 
66.sig=OO6nPIrz7_EpZI36cYzBjw  
Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice 
w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw 
are+design+and+developmentw4=Macromedia+flexw5=Software+development+be 
st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
   
  YAHOO! GROUPS LINKS  

* Visit your group "flexcoders http://groups.yahoo.com/group/flexcoders 
" on the web.
* To unsubscribe from this group, send an email 
to:  
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 

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






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





  




  
  
  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: WebServices via ActionScript

2005-10-12 Thread Mink, Joseph





It depends on how you're going about your code base. 
If you take a Struts-like MVC approach, hardly ANY code is in your mxml (or JSP) 
files. Most of the dynamic code would be found in AS (or Java) classes 
totally outside your presentation (mxml/jsp) files.

My problem was that deep in the bowels of my AS classes, I 
would need to make a WS call. But I couldn't just create a WS client 
because it had to be defined in mxml. So I had to either expose a method 
in the script section of the mxml file that would make the WS call, or I had to 
have a reference to the WS object that was defined in the 
mxml.

Of course there are many refuting that, saying that you can 
do it if you want (and I'm sure they're right), but we payed a ridiculous amount 
for support and so I just assumed stick with what was documented so we could be 
on the same wavelength as our tech support from Macromedia.

My issue with the mxml-only defined WS objects was that it 
made it hard to organize the AS classes that needed to make WS 
calls.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
WolfSent: Tuesday, October 11, 2005 5:55 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: WebServices via 
ActionScript
I may be out of the loop because I couldnt see which thread you 
brokefrom butYou can turn on the keep-generated to keep the 
generated AS from amx:WebService call to prove its possible as 
well. Since at runtimethe J2EE Servlet Filter is generating AS from 
the mx:* tags prettymuch anything you can do in a tag you can do in 
AS right?The real question is why? You used to see this in JSP 
development alot (Since JSP is a nearly direct analog to Flex) in that 
JSPdevelopers would just make huge scriplet sections and do everything 
inJava. Eventually it reached the point that why not just write a 
darnservlet. Since at runtime the JSP is just codegenerated to java 
and aservlet runs.Flex is the same right. The MXML is code 
generated in AS. I worryabout Flex ending up like JSPs with huge 
script sections and wonderingwhy you didnt just use Flash 
itself.Dave WolfCynergy Systems, Inc.Macromedia Flex 
Alliance Partnerhttp://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 866-CYNERGY x85 --- In 
flexcoders@yahoogroups.com, "JesterXL" [EMAIL PROTECTED] 
wrote: Starting a new thread since we hijacked the other 
one.  I tested this and it works in Flex 1.5 and Flash 
8.  ?xml version="1.0" encoding="utf-8"? 
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
initialize="getFunky()" mx:Script 
![CDATA[  import 
mx.services.WebService; import 
mx.services.PendingCall;  var 
myWebServiceObject:WebService; var 
MyPendingCallObject:PendingCall;   
public var debug_str:String = "";  function 
getFunky() { d("WebService: " + 
WebService); var theURL = "http://radio.tapper.net/artist.cfc?wsdl"; 
myWebServiceObject = new WebService(theURL); 
MyPendingCallObject = myWebServiceObject.getCurrentSong(); 
d("Made call..."); MyPendingCallObject.> { 
mx.core.Application.application.d("result: " + 
result); for(var p in 
result) { 
mx.core.Application.application.d(p + ": " + 
result[p]); } 
} MyPendingCallObject.> { 
mx.core.Application.application.d("fault: " + fault); 
for(var p in fault) { 
mx.core.Application.application.d(p + ": " + 
fault[p]); } } 
}  function d(o) { 
debug_str += o + "\n"; }  
 ]] /mx:Script 
 mx:TextArea text="{debug_str}" width="400" height="300" 
/ /mx:Application





--
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] How would I use a variable to define the wsdl param in mx:WebService?

2005-10-12 Thread Mink, Joseph





My guess is that you can't, as mxml objects are static and 
their attribute values need to be static as well.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Greg 
JohnsonSent: Wednesday, October 12, 2005 8:42 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] How would I use a 
variable to define the wsdl param in mx:WebService?
iow mx:WebService id="maincfc" wsdl=maincfcWhere 
I set a variable maincfcvar maincfc:String = "http://... ";





--
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] How would I use a variable to define the wsdl param in mx:WebService?

2005-10-12 Thread Mink, Joseph





Ah yes, good call! Just did that yesterday...here's 
an example of some sort:

function wsTestTimeOut 
(callTime:Number):Void{...dsmcWs.setEndpointURI 
("http://jchung:8080/dsmc/DSMCOther"); 
...}

 
mx:WebService fault="wsFault 
(event)" 
id="dsmcWs" 
protocol="http" wsdl="http://jchung:8080/dsmc/DSMC?wsdl" 
mx:operation name="testTimeOut" result="handleTestTimeOutResult 
(event.result)"/ 
/mx:WebService




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Wednesday, October 12, 2005 9:27 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] How would I use a 
variable to define the wsdl param in mx:WebService?


You cant redefine the 
wsdl parameter of a webservice in 1.5 (you can in the upcoming 2.0). 
However if youre just trying to change the server to hit as opposed to the 
actual method definitions you can change the endpointURI for the service. 
Check the docs for more details on that.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Greg 
JohnsonSent: Wednesday, 
October 12, 2005 8:42 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] How would I use a 
variable to define the wsdl param in 
mx:WebService?

iow mx:WebService id="maincfc" 
wsdl=maincfcWhere I set a variable maincfcvar maincfc:String = "http://... 
";





--
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] Highly classful architectures

2005-10-11 Thread Mink, Joseph





I'm not totally sure what you mean, but I assume you are 
asking how well Flex supports object oriented programming. If that is your 
question, my answer would be that it supports it quite well.

I'm a C++  Java programmer way before I'm a 
make-shiftRIA developer. Flex/Flash's ActionScript is very mature 
compared to what I expected it to be, and I've been able to employ most of the 
design patterns and approaches that I typically use in other, more complex 
languages. There are a few hang-ups with the fact that, for example, 
WebService objects need to be declared statically, outside of ActionScript 
(which was frustrating), but it's nothing that can't be dealt with and worked 
around.

There's a quick opinion, for whatever it's 
worth!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Marc 
TeichtahlSent: Monday, October 10, 2005 11:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Highly classful 
architectures

Dear All,

We are currently evaluating the possibilities to use Flex 
in our key internal support systems. 

As part of the evaluation we are looking specifically at a 
highly classful implementation and archictecture. I would be very curious for 
any feedback (pros/cons) etc in relation to using Flex in sucha high 
polymorphic envirnoment.

Marc TeichtahlXB Networks 
BVDirector, EngineeringPhone: +31 (0)36 546 24 73Mobile: 
+31 (0)65 582 47 89[EMAIL PROTECTED]http://www.xb.nl 


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of AlfrEDSent: 
  maandag 10 oktober 2005 4:08To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Please 
  Help
  I am new with flexand I am having problem understanding how 
  I can communicate with the database (msyql). If there is someone 
  that could help me understand how I can insert data to the database 
  (mysql) using coldfusion and flexI would really appreciate it. A 
  sample code will be great! Thank you in 
  advanceAlfie
  
  
  Op 
  dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op http://www.xb.nl/disclaimer.html





--
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] startDrag stopDrag?

2005-10-11 Thread Mink, Joseph





Well done! Thanks alot for the reply! You're 
right, the event listeners were totally unnecessary. I guess onMouseUp and 
onMouseDown are intrinsic event methods. That's good to 
know!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ramu pSent: 
Monday, October 10, 2005 5:40 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] startDrag  
stopDrag?

Hi,
This may solve ur prob.

[This code is a block of class]
obj here is same as _rect in your class.
I guessyou need not use addEventListener...
This works out!!!


function createChildren():Void{obj = 
attachMovie("cir_sym","cir_sym",1)}function 
onMouseDown():Void{obj.startDrag()}function 
onMouseUp():Void{stopDrag() }Buzz 
back!!


On 10/8/05, Mink, 
Joseph [EMAIL PROTECTED] 
wrote: 
Does 
  anyone know how to get startDrag (...) and stopDrag (...) to workwith 
  UIObjects in Flex?I know that in Flash the usage is typically: 
  on(press) { 
  startDrag(this,true);}on(release) 
  { stopDrag();}But maybe it 
  could work with our mouseDown and mouseUp events?I amcurrently 
  trying it with this code, but it's not working: import 
  mx.containers.Canvas;import mx.utils.Delegate;class Rect extends 
  Canvas{ public var 
  radius:Number; private var 
  _rect:Object; 
  /* 
  Constructor.  
  */ function Circle 
  () 
  { 
  super 
  (); 
  addEventListener("mouseUp", 
  Delegate.create(this,mouseUp)); 
  addEventListener("mouseDown", 
  Delegate.create(this,mouseDown)); 
  } 
  /* 
  Instantiates all child objects. 
  */ function 
  createChildren():Void 
  { 
  trace ("Begin Circle.createChildren 
  ()."); 
  super.createChildren(); 
  if (_rect == 
  undefined) 
  { 
  _rect = 
  createEmptyObject("square",getNextHighestDepth()); 
  _rect.fillRect(0, 0, radius, radius, 0x00, 
  100); 
  } 
  trace ("End 
  Circle.createChildren()."); 
  } function mouseDown 
  (event):Void 
  { 
  trace ("Begin Circle.mouseDown 
  "); 
  /*_isMouseDown = 
  true; 
  _lastMouseX = 
  mouseX; 
  _lastMouseY = 
  mouseY;*/ 
  startDrag (this, 
  true); 
  trace ("End Circle.mouseDown "); 
  } function 
  mouseUp(event):Void 
  { 
  trace ("Begin 
  Circle.mouseUp"); 
  //_isMouseDown = 
  false; 
  stopDrag 
  (); 
  trace ("End Circle.mouseUp"); 
  }} Yahoo! Groups Sponsor 
  ~--Get Bzzzy! (real tools to help you find a job). 
  Welcome to the Sweet Life.http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~---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/ 
  





--
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: HTTPService timeout

2005-10-11 Thread Mink, Joseph





I do realize that many people use this solution for 
asynchronous data push from http servers, but it seems like a hack and an 
unintended use of HTTP. However, while it may leave a bad taste in my 
mouth, I never discredit something that works!!!

It looks like we may be taking it a step further and might 
implement it withthe WebService object rather than the HTTPService object 
: ) Assuming that there is no timeout implemented there either (in Flex), 
then I assume it will work as well.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
WolfSent: Saturday, October 08, 2005 12:54 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: HTTPService 
timeout
This is a very elegant way to handle server-push. It solves 
a myriadof issues that "true" server-push has. It is more scalable, 
hasbetter quality of service, etc.You just need a servlet programmer 
who knows how to write thread safecode. Do note that each client will 
then tie up an HTTP thread, soyou may need to allocate more in your 
server.-- Dave WolfCynergy Systems, Inc.Macromedia Flex 
Alliance Partnerhttp://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 866-CYNERGY x85 --- In 
flexcoders@yahoogroups.com, "Mink, Joseph" 
[EMAIL PROTECTED]wrote: Thanks for the response, 
Matt...that's actually a good thing in the way that I'll be planning to 
use HTTPService : )  Joey   
  From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Matt Chotin Sent: Friday, October 07, 2005 10:45 AM To: 
flexcoders@yahoogroups.com Subject: RE: [flexcoders] HTTPService 
timeoutCurrently HTTPService doesn't support 
a timeout on its own. You'll need to use your own mechanism with 
setInterval.Matt 
    
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On Behalf Of Mink, Joseph Sent: Friday, October 07, 2005 5:03 
AM To: flexcoders@yahoogroups.com Subject: [flexcoders] 
HTTPService timeoutHi, 
   I was wondering...does anyone know where/how to 
set the timeout for HTTPService requests? I am shamefully 
considering this as a solution to asynchronous data push from the 
server...write a servlet that doesn't respond to requests until data of 
interest comes to be.
Thanks!





--
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] Highly classful architectures

2005-10-11 Thread Mink, Joseph





You mean after the mxml has been compiled? It's been 
a month or so since I attacked that particular problem, but as I remember it, 
there was no straight-forward (intended) way to dynamically instantiate 
WebService objects.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Tuesday, October 11, 2005 9:20 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Highly classful 
architectures

They don't have to be. Have you looked into 
the webservice classes?

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, October 11, 2005 7:52 AM
Subject: RE: [flexcoders] Highly classful architectures

I'm not totally sure what you mean, but I assume you are 
asking how well Flex supports object oriented programming. If that is your 
question, my answer would be that it supports it quite well.

I'm a C++  Java programmer way before I'm a 
make-shiftRIA developer. Flex/Flash's ActionScript is very mature 
compared to what I expected it to be, and I've been able to employ most of the 
design patterns and approaches that I typically use in other, more complex 
languages. There are a few hang-ups with the fact that, for example, 
WebService objects need to be declared statically, outside of ActionScript 
(which was frustrating), but it's nothing that can't be dealt with and worked 
around.

There's a quick opinion, for whatever it's 
worth!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Marc 
TeichtahlSent: Monday, October 10, 2005 11:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Highly classful 
architectures

Dear All,

We are currently evaluating the possibilities to use Flex 
in our key internal support systems. 

As part of the evaluation we are looking specifically at a 
highly classful implementation and archictecture. I would be very curious for 
any feedback (pros/cons) etc in relation to using Flex in sucha high 
polymorphic envirnoment.

Marc TeichtahlXB Networks 
BVDirector, EngineeringPhone: +31 (0)36 546 24 73Mobile: 
+31 (0)65 582 47 89[EMAIL PROTECTED]http://www.xb.nl 


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of AlfrEDSent: 
  maandag 10 oktober 2005 4:08To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Please 
  Help
  I am new with flexand I am having problem understanding how 
  I can communicate with the database (msyql). If there is someone 
  that could help me understand how I can insert data to the database 
  (mysql) using coldfusion and flexI would really appreciate it. A 
  sample code will be great! Thank you in 
  advanceAlfie
  
  
  Op 
  dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op http://www.xb.nl/disclaimer.html





--
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] Highly classful architectures

2005-10-11 Thread Mink, Joseph
Indeed I do...never leave home without it : )  Why do you ask, and where
are you going with this?  My understanding comes from Matt Chotin's
reply to my previous post entitled, Calling a WebService solely through
AS.  His respose:
 
--
Not supported in Flex 1.5, supported in an upcoming version.

Matt
-

I was told by others that there was a way to do it, but the fact that it
wasn't supported or intended, I opted not to pursue it (it did not seem
all that simple).



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, October 11, 2005 9:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Highly classful architectures


Got a WSDL?
 
- Original Message - 
From: Mink, Joseph mailto:[EMAIL PROTECTED]  
To: flexcoders@yahoogroups.com 
Sent: Tuesday, October 11, 2005 9:27 AM
Subject: RE: [flexcoders] Highly classful architectures

You mean after the mxml has been compiled?  It's been a month or so
since I attacked that particular problem, but as I remember it, there
was no straight-forward (intended) way to dynamically instantiate
WebService objects.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, October 11, 2005 9:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Highly classful architectures


They don't have to be.  Have you looked into the webservice classes?
 
- Original Message - 
From: Mink, Joseph mailto:[EMAIL PROTECTED]  
To: flexcoders@yahoogroups.com 
Sent: Tuesday, October 11, 2005 7:52 AM
Subject: RE: [flexcoders] Highly classful architectures

I'm not totally sure what you mean, but I assume you are asking how well
Flex supports object oriented programming.  If that is your question, my
answer would be that it supports it quite well.
 
I'm a C++  Java programmer way before I'm a make-shift RIA developer.
Flex/Flash's ActionScript is very mature compared to what I expected it
to be, and I've been able to employ most of the design patterns and
approaches that I typically use in other, more complex languages.  There
are a few hang-ups with the fact that, for example, WebService objects
need to be declared statically, outside of ActionScript (which was
frustrating), but it's nothing that can't be dealt with and worked
around.
 
There's a quick opinion, for whatever it's worth!



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Marc Teichtahl
Sent: Monday, October 10, 2005 11:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Highly classful architectures


Dear All,
 
We are currently evaluating the possibilities to use Flex in our key
internal support systems. 
 
As part of the evaluation we are looking specifically at a highly
classful implementation and archictecture. I would be very curious for
any feedback (pros/cons) etc in relation to using Flex in such a high
polymorphic envirnoment.
 


Marc Teichtahl
XB Networks BV
Director, Engineering

Phone:  +31 (0)36 546 24 73
Mobile: +31 (0)65 582 47 89
[EMAIL PROTECTED]

http://www.xb.nl http://www.xb.nl/  

 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of AlfrED
Sent: maandag 10 oktober 2005 4:08
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Please Help


I am new with flexand I am having problem understanding how
I can 
communicate with the database (msyql).  If there is someone that
could 
help me understand how I can insert data to the database (mysql)
using 
coldfusion and flexI would really appreciate it.  A sample
code 
will be great!  Thank you in advance

Alfie





 

 

Op dit e-mailbericht is een disclaimer van toepassing, welke te
vinden is op http://www.xb.nl/disclaimer.html



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




SPONSORED LINKS 
Web site design development
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
site+design+developmentw2=Computer+software+developmentw3=Software+des
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software
development
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
b+site+design+developmentw2=Computer+software+developmentw3=Software+d
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw   Software design and
development
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
Web+site+design+developmentw2=Computer+software

RE: [flexcoders] Highly classful architectures

2005-10-11 Thread Mink, Joseph





Gotcha...very cool! Unfortunately, I can't share our 
wsdls with you asthey aren't mine to share...but I'll keep you in 
mind. A short supply of wsdls has never been a problem 
here!




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
JesterXLSent: Tuesday, October 11, 2005 11:57 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Highly classful 
architectures
I've done it in Flash, and ported similiar remoting classes for 
Flex since they are already in there (what a lot of HTTPService, 
RemoteObject, WebService are built off of). Figured if you hit me with 
a WSDL you know works, public or not, I could test it and post some example 
code.My problem has been finding WSDL's that work. xMethods.com 
for example has a ton that don't and it's a waste of time; rather go to 
someone who has one that knows it works. The rest like Amazon and 
PayPal have ones that work, but take 10 years to sign up, register, blah 
blah blah- Original Message - From: "Mink, Joseph" 
[EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Tuesday, October 11, 2005 11:50 
AMSubject: RE: [flexcoders] Highly classful architecturesIndeed 
I do...never leave home without it : ) Why do you ask, and whereare 
you going with this? My understanding comes from Matt Chotin'sreply to 
my previous post entitled, "Calling a WebService solely throughAS." 
His respose:--Not supported in Flex 1.5, supported 
in an upcoming version.Matt-I was told by 
others that there was a way to do it, but the fact that itwasn't supported 
or intended, I opted not to pursue it (it did not seemall that 
simple).From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
JesterXLSent: Tuesday, October 11, 2005 9:46 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Highly classful 
architecturesGot a WSDL?- Original Message - 
From: Mink, Joseph mailto:[EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Tuesday, October 11, 2005 9:27 
AMSubject: RE: [flexcoders] Highly classful architecturesYou mean 
after the mxml has been compiled? It's been a month or sosince I 
attacked that particular problem, but as I remember it, therewas no 
straight-forward (intended) way to dynamically instantiateWebService 
objects.From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
JesterXLSent: Tuesday, October 11, 2005 9:20 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Highly classful 
architecturesThey don't have to be. Have you looked into the 
webservice classes?- Original Message - From: Mink, Joseph 
mailto:[EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: 
Tuesday, October 11, 2005 7:52 AMSubject: RE: [flexcoders] Highly classful 
architecturesI'm not totally sure what you mean, but I assume you are 
asking how wellFlex supports object oriented programming. If that is 
your question, myanswer would be that it supports it quite well.I'm 
a C++  Java programmer way before I'm a make-shift RIA 
developer.Flex/Flash's ActionScript is very mature compared to what I 
expected itto be, and I've been able to employ most of the design patterns 
andapproaches that I typically use in other, more complex languages. 
Thereare a few hang-ups with the fact that, for example, WebService 
objectsneed to be declared statically, outside of ActionScript (which 
wasfrustrating), but it's nothing that can't be dealt with and 
workedaround.There's a quick opinion, for whatever it's 
worth!From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
Marc TeichtahlSent: Monday, October 10, 2005 11:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Highly classful 
architecturesDear All,We are currently evaluating the 
possibilities to use Flex in our keyinternal support systems.As part 
of the evaluation we are looking specifically at a highlyclassful 
implementation and archictecture. I would be very curious forany feedback 
(pros/cons) etc in relation to using Flex in such a highpolymorphic 
envirnoment.Marc TeichtahlXB 
Networks BVDirector, EngineeringPhone: +31 (0)36 546 24 
73Mobile: +31 (0)65 582 47 89[EMAIL PROTECTED]http://www.xb.nl http://www.xb.nl/From: 
flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED] On Behalf Of 
AlfrEDSent: maandag 10 oktober 2005 4:08To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Please HelpI 
am new with flexand I am having problem understanding howI 
cancommunicate with the database (msyql). If there is someone 
thatcouldhelp me understand how I can insert data to the database 
(mysql)usingcoldfusion and flexI would really appreciate it. A 
samplecodewill be great! Thank you in 
advanceAlfieOp dit 
e-mailbericht is een disclaimer van toepassing, welke tevinden is op http://www.xb.nl/disclai

RE: [flexcoders] Highly classful architectures

2005-10-11 Thread Mink, Joseph





No, I don't...all of our work is for the gov't and the 
wsdls are for internal components...none of which are public and none of which I 
have the permission to share.

If I become aware of any public ones, I will definitely 
share.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Tuesday, October 11, 2005 12:56 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Highly classful 
architectures

um... ok so do you like know of any public WSDL's 
then?

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, October 11, 2005 12:12 PM
Subject: RE: [flexcoders] Highly classful architectures

Gotcha...very cool! Unfortunately, I can't share our 
wsdls with you asthey aren't mine to share...but I'll keep you in 
mind. A short supply of wsdls has never been a problem 
here!




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Tuesday, October 11, 2005 11:57 AMTo: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] Highly classful architectures
I've done it in Flash, and ported similiar remoting classes for 
Flex since they are already in there (what a lot of HTTPService, 
RemoteObject, WebService are built off of). Figured if you hit me with 
a WSDL you know works, public or not, I could test it and post some example 
code.My problem has been finding WSDL's that work. xMethods.com 
for example has a ton that don't and it's a waste of time; rather go to 
someone who has one that knows it works. The rest like Amazon and 
PayPal have ones that work, but take 10 years to sign up, register, blah 
blah blah- Original Message - From: "Mink, Joseph" 
[EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Tuesday, October 11, 2005 11:50 
AMSubject: RE: [flexcoders] Highly classful architecturesIndeed 
I do...never leave home without it : ) Why do you ask, and whereare 
you going with this? My understanding comes from Matt Chotin'sreply to 
my previous post entitled, "Calling a WebService solely throughAS." 
His respose:--Not supported in Flex 1.5, supported 
in an upcoming version.Matt-I was told by 
others that there was a way to do it, but the fact that itwasn't supported 
or intended, I opted not to pursue it (it did not seemall that 
simple).From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
JesterXLSent: Tuesday, October 11, 2005 9:46 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Highly classful 
architecturesGot a WSDL?- Original Message - 
From: Mink, Joseph mailto:[EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Tuesday, October 11, 2005 9:27 
AMSubject: RE: [flexcoders] Highly classful architecturesYou mean 
after the mxml has been compiled? It's been a month or sosince I 
attacked that particular problem, but as I remember it, therewas no 
straight-forward (intended) way to dynamically instantiateWebService 
objects.From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
JesterXLSent: Tuesday, October 11, 2005 9:20 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Highly classful 
architecturesThey don't have to be. Have you looked into the 
webservice classes?- Original Message - From: Mink, Joseph 
mailto:[EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: 
Tuesday, October 11, 2005 7:52 AMSubject: RE: [flexcoders] Highly classful 
architecturesI'm not totally sure what you mean, but I assume you are 
asking how wellFlex supports object oriented programming. If that is 
your question, myanswer would be that it supports it quite well.I'm 
a C++  Java programmer way before I'm a make-shift RIA 
developer.Flex/Flash's ActionScript is very mature compared to what I 
expected itto be, and I've been able to employ most of the design patterns 
andapproaches that I typically use in other, more complex languages. 
Thereare a few hang-ups with the fact that, for example, WebService 
objectsneed to be declared statically, outside of ActionScript (which 
wasfrustrating), but it's nothing that can't be dealt with and 
workedaround.There's a quick opinion, for whatever it's 
worth!From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
Marc TeichtahlSent: Monday, October 10, 2005 11:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Highly classful 
architecturesDear All,We are currently evaluating the 
possibilities to use Flex in our keyinternal support systems.As part 
of the evaluation we are looking specifically at a highlyclassful 
implementation and archictecture. I would be very curious forany feedback 
(pros/cons) etc in relation to using Flex in such a highpolymorphic 
envirnoment.Marc TeichtahlXB 
Networks BVDirector, EngineeringPhone: +31 (0)36 546 24 
73Mobile: +31 (0)65 582 47 89[

[flexcoders] HTTPService timeout

2005-10-07 Thread Mink, Joseph





Hi,

I was wondering...does anyone know where/how to set the 
timeout for HTTPService requests? I am shamefully considering this as a 
solution to asynchronous data push from the server...write a servlet that 
doesn't respond to requests until data of interest comes to 
be.

Thanks!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Thursday, October 06, 2005 4:20 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] calling a secured 
web service
I've never used run-as due to the fact that I think it has very 
limitedusage given that all users connect to the web service with the 
samecredentials. Have you tried custom auth? With that you can 
specify aclient specific username and password for the web service. Do you 
haveaccess to the password from the app?Carson 
Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 
1.703.489.6466-Original Message-From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
Raymond CamdenSent: Thursday, October 06, 2005 12:54 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] calling a secured web 
serviceSo a follow up. I noticed this in the log:10/06 14:51:57 
ERROR The Flex proxy and the specified endpoint do nothave the same domain, 
and so basic authentication can not be used. Please specify 
use-custom-authentication or run-as for services notlocated on the same 
domain as the Flex proxy. . The proxy domain isHTTP://localhost:80 and the target domain is http://foo.com:80(foo.com is a fake 
name)What I don't get it, I _am_ using run as. Here is the code from 
myconfig file: 
  
named  
 service 
name="foo" wsdlhttp://foo.com/foo.asmx?WSDL/wsdl 
  
 run-as user="xxx" password="yyy" 
/ 
allow-unnamed-accesstrue/allow-unnamed-access 
endpoints 
endpointhttp://foo.com/foo.asmx/endpoint 
/endpoints 
  
/service 
  
/namedOn 10/6/05, Carson Hager 
[EMAIL PROTECTED] wrote: How did I know that 
question was next? :) I looked it up and it's in  chapter 
30. Working with web services and Securing data services are  good 
sections. 
Carson Yahoo! Groups Sponsor 
~--Fair play? Video games influencing politics. 
Click and talk back!http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~- 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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] Strange behaviour by tree

2005-10-07 Thread Mink, Joseph





When you say that you "load another content," are you 
trying to add to the existing content, or are you attempting to replace 
it? Any chance you could show the code snippets you use for the initial 
insert of content and the secondary insert of content?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of jrab2999Sent: 
Friday, October 07, 2005 4:40 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Strange behaviour by 
tree
Hello,I have some problem with the tree component. If I 
provide dynamicalxml data stored into an actionscript array to the 
dataprovider of thetree, at the first run, all works fine. But if I 
load another content the the array, the tree won't show anycontent anymore, 
it just disappears. I checked all content code, alsocontents of the 
provider. Everything fine here.Really strange... Any 
ideas?





--
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] PopupManager.createPopUp - varying the className argument

2005-10-07 Thread Mink, Joseph





I would guess you could use a string...like, instead of 
...createPopUp( _root, SomeClass, true, initObj, false ); 
maybe you could do createPopUp( _root, "SomeClass", true, initObj, false 
);

But I would guess your best bet is to arrangeyour 
implementation in such a way that you can just go through a few if-statements 
and based on your user's input, execute the necessary call to 
createPopUp.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
derrickgriggSent: Friday, October 07, 2005 9:39 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
PopupManager.createPopUp - varying the className argument
I have a instance where I want to vary the pop window that gets 
created based on a user's selection. Instead of having to hard code in 
the a seperate instance of:var popup = 
mx.managers.PopUpManager.createPopUp( _root, views.OptionX, true, initObj , 
false );  in 
a switch statement I would like to just be able to use a variable for the 
className argument. Ideally I would like to do the following:var 
winClass = options_cmb.value;var popup = 
mx.managers.PopUpManager.createPopUp( _root, winClass, true, initObj, false 
);  I have 
tried unsuccessfully using a shared libray. Does anyone know if this is even 
possible, and it so how I would go about 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.



  









RE: [flexcoders] HTTPService timeout

2005-10-07 Thread Mink, Joseph





Thanks for the response, Matt...that's actually a good 
thing in the way that I'll be planning to use HTTPService : 
)

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Friday, October 07, 2005 10:45 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] HTTPService 
timeout


Currently HTTPService 
doesnt support a timeout on its own. Youll need to use your own 
mechanism with setInterval.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mink, 
JosephSent: Friday, October 
07, 2005 5:03 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] HTTPService 
timeout

Hi,

I was wondering...does 
anyone know where/how to set the timeout for HTTPService requests? I am 
shamefully considering this as a solution to asynchronous data push from the 
server...write a servlet that doesn't respond to requests until data of interest 
comes to be.

Thanks!






--
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] startDrag stopDrag?

2005-10-07 Thread Mink, Joseph
Does anyone know how to get startDrag (...) and stopDrag (...) to work
with UIObjects in Flex?  I know that in Flash the usage is typically:
 
on(press) {
startDrag(this,true);
}
on(release) {
stopDrag();
}

But maybe it could work with our mouseDown and mouseUp events?  I am
currently trying it with this code, but it's not working:

import mx.containers.Canvas;
import mx.utils.Delegate;

class Rect extends Canvas
{
public var radius:Number;
private var _rect:Object;

/*
Constructor.
*/
function Circle ()
{
super ();

addEventListener(mouseUp, Delegate.create(this,
mouseUp));
addEventListener(mouseDown, Delegate.create(this,
mouseDown));
}

/*
Instantiates all child objects.
*/
function createChildren():Void
{
trace (Begin Circle.createChildren().);
super.createChildren();
if (_rect == undefined)
{
_rect = createEmptyObject(square,
getNextHighestDepth());
_rect.fillRect(0, 0, radius, radius, 0x00,
100);
}
trace (End Circle.createChildren().);
}

function mouseDown (event):Void
{
trace (Begin Circle.mouseDown);

/*_isMouseDown = true;
_lastMouseX = mouseX;
_lastMouseY = mouseY;*/
startDrag (this, true);

trace (End Circle.mouseDown); 
}

function mouseUp(event):Void
{
trace (Begin Circle.mouseUp);

//_isMouseDown = false;
stopDrag ();

trace (End Circle.mouseUp);
}
}


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Question about drawing on the canvas

2005-10-05 Thread Mink, Joseph





I think theline below thatyou want 
is:

var ref_mc 
=myCanves.createChild(mx.containers.Canvas,undefined,{width:1000});
And then you want to draw your arrow directly on 
ref_mc.

ex
ref_mc.beginFill 
(someColor);
ref_mc.moveTo 
(someLocation);
...

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Prasad 
DhananjayaSent: Tuesday, October 04, 2005 10:55 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Question about 
drawing on the canvas
Hi Manish  all, The solution is to make it a 
child (add a new object as a child and draw on top of that object 
instead).sorry... , I didn't get the point yet.Is it 
Mean..addedObject = 
Object(myCanves.createChild());addedObject.createChild(arrow(target));orvar 
ref_mc 
=myCanves.createChild(mx.containers.Canvas,undefined,{width:1000});ref_mc.createChild(arrow(target));Please 
explain me little more.Thanks On 10/4/05, Prasad 
Dhananjaya [EMAIL PROTECTED] wrote:   Have a 
simple question about drawing on the canvas.   Below 
code draws an arrow between mousedown point and mouseup point.  It 
works well. But...   When I move canvas's 
scrollbar, arrow didn't move. Means it is NOT  on the canvas.Want to 
draw it ON the canvas. Tried several ways.  But failed. (I drawing 
square on the canvas using fillRect() is OK)  It indeed is on 
the Canvas, but it's not a "child" of the Canvas, and that's the reason 
it doesn't scroll along with other children.  The solution is to 
make it a child (add a new object as a child and draw on top of that 
object instead).From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Prasad Dhananjaya Sent: Tuesday, October 04, 2005 6:48 AM To: 
FlexML Subject: [flexcoders] Question about drawing on the 
canvas   Hi,  Have a simple question 
about drawing on the canvas.  Below code draws an arrow between 
mousedown point and mouseup point. It works well. But... 
 When I move canvas's scrollbar, arrow didn't move. Means it is 
NOT on the canvas.Want to draw it ON the canvas. Tried several 
ways. But failed. (I drawing square on the canvas using fillRect() is 
OK)  Can someone please tell me what's wrong.  
thanks,  
-- 
?xml version="1.0" encoding="utf-8"? mx:Application 
xmlns:mx="http://www.macromedia.com/2003/mxml" 
 mx:Script 
![CDATA[ var isPointerStarted = 
false; var 
bx:Number; var by:Number; 
 function pointerStart(target) 
{ 
if (isPointerStarted) 
return; 
isPointerStarted = 
true; 
bx = 
target.mouseX; 
by = 
target.mouseY; 
}  function 
pointerReleased(target) 
{ 
if (!isPointerStarted) 
return; 
target.lineStyle(2, 0x66, 
100); 
target.createChild(arrow(target)); 
isPointerStarted = 
false; 
//drawing squre on the 
canves 
var ref_mc = 
target.createChild(mx.containers.Canvas,undefined,{width:1000}); 
ref_mc.fillRect(900, 100, 910, 110, 0x00, 
30); 
}  function arrow(target) 
{ 
var w = target.mouseX - 
bx; 
var h = target.mouseY - 
by; 
var l = Math.sqrt(w * w + h * 
h); 
var 
size=8; 
var 
sharpness=0.5; 
var s = 
Math.sin(sharpness); 
var c = 
Math.cos(sharpness); 
if(l0){ 
w *= size / 
l; 
h *= size / 
l; 
target.moveTo(bx,by); 
target.lineTo(target.mouseX, 
target.mouseY); 
target.lineTo(target.mouseX - w * c - s * h, target.mouseY + w * s - h * 
c); 
target.moveTo(target.mouseX, 
target.mouseY); 
target.lineTo(target.mouseX - w * c + s * h, target.mouseY - w * s - h * 
c); 
} } ]] 
/mx:Script  mx:Canvas id="myCanves" 
 x="0" y="110" width="100%" 
height="225"  
borderStyle="solid" 
mouseUpSomewhere="pointerReleased(event.target)" 
mouseDown="pointerStart(event.target)" 
backgroundColor="#DEE0FE" 
backgroundAlpha="0" /mx:Canvas 
/mx:Application 






--
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] Pass data from child component to parent in wizard app

2005-10-05 Thread Mink, Joseph
I'm not totally sure of your approach, but as far as the specifc line
giving you trouble (mx.core.Application.application.nextButton.click =
mx.core.Application.application.goToScreenName(event.target.data);), did
you happen to trace or log the value of event.target.data?

I think if I were making a wizard, I would use a different mxml
component for each wizard screen.  And I would store the input from each
wizard screen in the parent application.

Hope something here was useful to you, though I doubt it : )



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of face7hill
Sent: Wednesday, October 05, 2005 3:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Pass data from child component to parent in wizard
app


Hello All,

I have a wizard type app called main.mxml with three children 
(screen1, screen2 and screen3).  I have a button in main.mxml 
called nextButton.  Inside screen1.mxml are a couple of radio 
buttons that a user can select.  How do I get the selected radio 
button (in the child component) to broadcast to the nextButton (in 
the parent app) where it should point to?  For example, in the code 
below, on screen1.mxml, I have a function:

//this function is fired when a user selects a radio 
button
function buttonClicked( event : Object ) : Void {

  //this works
  //sets the status label in the parent app

  mx.core.Application.application.setStatusLabel
(event.target.data);
  
  //this does not work
  //trying to set where nextButton (in the 
parent app) will point to when the nextButton is clicked

  mx.core.Application.application.nextButton.click = 
mx.core.Application.application.goToScreenName(event.target.data);
}

Am I approaching this the wrong way?  Any suggestions?  I am 
essentially trying to create a wizard like application where the 
flow from screen to screen will be based on the user's input on each 
screen, so the nextButton.click in the parent app will be 
dynamically assigned.
Thank you for any help!



!--  main.mxml --
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
xmlns=* width=100% height=100% pageTitle=Wizard Question 
initialize=initApp()  
  
  mx:Script 
![CDATA[ 

  //This function is for jumping from screen 
to screen outside of the flow when debugging
  function jumpToScreen(x){
mainViewStack.selectedIndex = x -1;
  
  }
  
  function goToScreenNumber(x){
mainViewStack.selectedIndex = x-1;
  }

  function goToScreenName(x){
mainViewStack.selectedChild = x;
  }

  function initApp(){
//list initialization functions here
  }
  
  function setPanelTitle(x){
mainPanel.title = x;
  
  }
  
  function setStatusLabel (x){
statusLabel.text = x;
  }

]] 
/mx:Script 

  !-- jump to form (for debugging screens)--
  mx:HBox width=100% horizontalAlign=right  
verticalAlign=bottom borderStyle=none

mx:HBox width=50% horizontalAlign=right  

  mx:Form id=showMeScreenForm 
borderStyle=none marginTop=0 marginBottom=0
mx:FormItem label=jump to screen: 
direction=horizontal horizontalAlign=right
  mx:TextInput 
id=showMeScreenTextInput width=60/
  mx:Button 
id=showMeScreenButton label=Go click=jumpToScreen
(showMeScreenTextInput.text);/
/mx:FormItem
  /mx:Form
/mx:HBox
  /mx:HBox
  

!-- Main Panel -- 
mx:Panel id=mainPanel title= width=100% height=100% 
styleName=mainPanel 
!-- Main ViewStack -- 
mx:ViewStack id=mainViewStack width=100% 
height=100% 


!-- mainViewStack.selectedChild=screen1  --
 
  screen1 id=screen1 label=screen1/

!-- mainViewStack.selectedChild=screen2 -- 
  screen2 id=screen2 label=screen2/

!-- mainViewStack.selectedChild=screen3 -- 
  screen3 id=screen3/
  
  
/mx:ViewStack 
!-- End Main ViewStack -- 
!-- The Control Bar -- 
mx:ControlBar 
mx:HBox width=50% 
horizontalAlign=left 

RE: [flexcoders] Question about drawing on the canvas

2005-10-04 Thread Mink, Joseph





What I've found in my Flex development is that, as long 
as your arrow is indeed a child of the canvas, it will move when you use the 
canvas scroll bars. Aftera quick glance at your code, I didn't see 
any problems, but I'm not sure of the parameter you've got in "pointerReleased(event.target)." It seems like 
you are making the arrow a child of whatever object that "target" represents, 
and I'm not convinced that target is actually your 
canvas.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Prasad 
DhananjayaSent: Tuesday, October 04, 2005 6:48 AMTo: 
FlexMLSubject: [flexcoders] Question about drawing on the 
canvas
Hi,Have a simple question about drawing on the 
canvas.Below code draws an arrow between mousedown point and mouseup 
point.It works well. But...When I move canvas's scrollbar, 
arrow didn't move. Means it is NOTon the canvas.Want to draw it ON the 
canvas. Tried several ways.But failed. (I drawing square on the canvas using 
fillRect() is OK)Can someone please tell me what's 
wrong.thanks,--?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
mx:Script![CDATA[ var 
isPointerStarted = false; var 
bx:Number; var 
by:Number; function pointerStart(target) 
{  if 
(isPointerStarted) return; 
  isPointerStarted = 
true;  
 bx = 
target.mouseX;  
 by = 
target.mouseY;  
} function pointerReleased(target) 
{  if 
(!isPointerStarted) return; 
  
target.lineStyle(2, 0x66, 100); 
 ★ 
target.createChild(arrow(target)); 
  isPointerStarted = 
false;  
 //drawing squre on the 
canves  
 var ref_mc = 
target.createChild(mx.containers.Canvas,undefined,{width:1000}); 
  
ref_mc.fillRect(900, 100, 910, 110, 0x00, 
30);  
} function arrow(target) 
{  var w = 
target.mouseX - bx; 
 var h = target.mouseY - 
by;  var l = 
Math.sqrt(w * w + h * h); 
 var size=8; 
 var 
sharpness=0.5;  
var s = Math.sin(sharpness); 
 var c = 
Math.cos(sharpness); 
 if(l0){ 
  w *= size / 
l;  
 h *= size / l; 
  
target.moveTo(bx,by); 
  
target.lineTo(target.mouseX, target.mouseY); 
  
target.lineTo(target.mouseX - w * c - s * h, target.mouseY + w * s - h * 
c);  
 target.moveTo(target.mouseX, 
target.mouseY);  
 target.lineTo(target.mouseX - w * c + s * h, 
target.mouseY - w * s - h * c); 
 } 
}]]/mx:Scriptmx:Canvas id="myCanves" 
 x="0" y="110" width="100%" height="225" 
 
borderStyle="solid" 
mouseUpSomewhere="pointerReleased(event.target)" 
mouseDown="pointerStart(event.target)" 
backgroundColor="#DEE0FE" 
backgroundAlpha="0"/mx:Canvas/mx:Application-





--
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] Asynchronous notification

2005-10-04 Thread Mink, Joseph





All,

We have, up until 
now, used webservices to check for server-side notifications...we just poll (I 
know, I hate polling!). We'd like to move to something more asynchronous, 
but I thought I'd ask the forum for their recommendation.

I know there is some 
kind of method in AS for making an HTTP request...we could have a servlet that 
would accept that request, hold onto it until some data comes in, and then 
finally respond to the request. Of course there are probably time-out 
issues that would have to be side-stepped.

That's about the 
only sol'n I can see being possible right now. I'm not very familiar with 
RMI and Remote Objects, but can this technology be used asynchronously in 
Flex?

Any thoughts would 
be appreciated!

Thanks.





--
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] Asynchronous notification

2005-10-04 Thread Mink, Joseph





Thanks, Kevin! I finally did my homework of the 
XMLSocket obj, but wasn't sure how to serve that protocol with a web server or 
servlet container...I'll definitely look for the examples you mention. I 
wonder if they are actual stand-alone, custom servers of if they are a hack way 
of getting servlets to solve the problem.

Thanks!
Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin 
LangdonSent: Tuesday, October 04, 2005 10:01 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Asynchronous 
notification

You probably want to look into the XMLSocket object. 
This can make a connection back to a server and maintain it. A0 byte 
is sent between requests and response without the connection being 
dropped. Those requests and responses are xml and could be used for 
messaging or keep alives to avoid timeout issues. There are some good Java 
examples out there on implementing this on the server end, not sure about other 
platform implementations.

Kevin


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mink, 
JosephSent: Tuesday, October 04, 2005 8:32 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Asynchronous 
notification

All,

We have, up until 
now, used webservices to check for server-side notifications...we just poll (I 
know, I hate polling!). We'd like to move to something more asynchronous, 
but I thought I'd ask the forum for their recommendation.

I know there is some 
kind of method in AS for making an HTTP request...we could have a servlet that 
would accept that request, hold onto it until some data comes in, and then 
finally respond to the request. Of course there are probably time-out 
issues that would have to be side-stepped.

That's about the 
only sol'n I can see being possible right now. I'm not very familiar with 
RMI and Remote Objects, but can this technology be used asynchronously in 
Flex?

Any thoughts would 
be appreciated!

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



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

2005-09-28 Thread Mink, Joseph





Out of curiosity, what is it that Flex would provide you 
with that you couldn't use Flash to achieve? I mean, in your particular 
case?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of AnupamSent: 
Wednesday, September 28, 2005 1:55 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Server 
Alternatives
My issue is with the deployment cost. So the only alternative for 
small-time Web applicationdevelopers is to have their own servers for 
deployment. I am surprised that not many people are talking about it. It 
seems people are happy with thestatus-quo, ie. paying huge amounts to 
MM.I am also disappointed that there aren't many more 3rd party providers of 
Flex servers.Anupam.--- Tracy Spratt 
[EMAIL PROTECTED] wrote: The issue of cost doesn't 
affect the developer since you can get the perpetual developer license 
for free.  The cost is a major issue when you go to put a 
commercial application in production, and there is currently no 
alternative (if using Flex)  You can apply for a non-commercial 
license if that is your situation.  Tracy  
-Original Message- From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Anupam Sent: 
Tuesday, September 27, 2005 10:32 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Flex Server 
Alternatives  Hi all, Is there any 
alternative to Flex server, except the (very expensive) one provided by 
MM? Are there any other options? Have all the members of 
this group who are using Flex bought it/evaluating it? Or is 
there any other option like a compatible freeware?  
 I know freeware versions of Flash Remoting do exist, is 
there anything for Flex?  Thanks, 
Anupam.   
__ Do You 
Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection 
around  http://mail.yahoo.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 

 
 __ Yahoo! 
Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.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] Graph node placement routing

2005-09-22 Thread Mink, Joseph





Hi,

Our application 
requires the dynamic gerenation of graphs...with nodes  connectors. 
These graphs do not necessarily exist ahead of time,  so their layout can 
not be staticly defined (though that's how we've been getting by until 
now).

Before I went too 
far in implementing a node placement  routing algorithm in ActionScript, is 
there any chance that anyone's aware of a tool or library that might already do 
something like this in Flash technology?

Thanks!
Joey





--
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] Passing arguments to a PopupManager

2005-09-21 Thread Mink, Joseph
I do something alot like you (without the multimedia, however...):
 
//Open a popup to display info about selected alert:
mx.managers.PopUpManager.createPopUp
(this,
 AlertPopup,
 true,
 {title: alertObj.displayName,
  x: ADSLayoutConstants.ALERT_POPUP_X,
  y: ADSLayoutConstants.ALERT_POPUP_Y,
  closeButton:true,
  click: this.deletePopUp();,
  alertObj: alertObj});

This works...my glance @ your code didn't find anything...possibly you
can trace the URL value that you're passing to confirm it's valid?

Joey



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Crane
Sent: Wednesday, September 21, 2005 6:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing arguments to a PopupManager



Does anyone see why I am having trouble passing arguments to a
PopupManager when clicking on an image found in a Repeater?

 

mx:Repeater id=videoRepeater dataProvider={array}

mx:Image
toolTip={videoRepeater.currentItem}
source=@Embed('../images/videoicon.gif') width=21 height=18
mouseDown=mx.managers.PopUpManager.createPopUp(this,assets.components.p
VideoPanel,true,{url:videoRepeater.currentItem})/

/mx:Repeater

 

Using this code, the tooltip displays the name of the video as expected,
however when I mouseDown on the image to create the popup, the value of
url is not getting passed properly.  I have defined url as an Object
within the popup component.



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




SPONSORED LINKS 
Web site design development
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
site+design+developmentw2=Computer+software+developmentw3=Software+des
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software
development
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
b+site+design+developmentw2=Computer+software+developmentw3=Software+d
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw   Software design and
development
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
Web+site+design+developmentw2=Computer+software+developmentw3=Software
+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
Macromedia flex
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
developmentw2=Computer+software+developmentw3=Software+design+and+deve
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best
practice
http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  



YAHOO! GROUPS LINKS 


*Visit your group flexcoders
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] getURL(...): could it result in a maximized window?

2005-09-21 Thread Mink, Joseph





I doubt this is very 
possible, but it's worth seeing if anyone has done it: getURL () doesn't 
allow you to specify if the new browser window is maximized. Has anyone 
gotten around that before?

http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary377.html

Thanks,
Joey





--
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] getURL(...): could it result in a maximized window?

2005-09-21 Thread Mink, Joseph





MUCH appreciated!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Wednesday, September 21, 2005 2:06 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] getURL(...): 
could it result in a maximized window?

getUrl("_javascript_:window.open(yourUrl, '','fullscreen=yes, 
scrollbars=auto')");

On 9/21/05, Mink, 
Joseph [EMAIL PROTECTED] 
wrote: 

  I doubt this is very possible, but it's 
  worth seeing if anyone has done it: getURL () doesn't allow you to 
  specify if the new browser window is maximized. Has anyone gotten around 
  that before? 
  
  http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary377.html
  
  Thanks,
  Joey--Flexcoders Mailing 
  ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  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 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] Drawing a rectangle in Flex

2005-09-15 Thread Mink, Joseph
Well, I finally figured out that createEmptyMovieClip() doesn't return
anything...so instead of:
 
var emptyClip = createEmptyMovieClip(rectangleInNode,
getNextHighestDepth());
emptyClip.beginFill(0xFF);  //Currently harcoding a white fill...
...
 
I should have done:
 
createEmptyMovieClip(rectangleInNode, getNextHighestDepth());
rectangleInNode.beginFill(0xFF);  //Currently harcoding a white
fill...
...
 
That solved my problem.  It does draw a rectangle for me, so I'm not
sure why it doesn't fr you, Abdul.  However, I appreciate the reply!!!
 
Joey


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Thursday, September 15, 2005 10:40 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Drawing a rectangle in Flex


Hi,
 
It is working for me, however it doesn't draw a rectangle instead some
other shape. 
 
I am using following code along with myClass.as:
 
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
creationComplete=foo.rectangle(100,100)
 
myClass id=foo/

/mx:Application
 
 
-abdul





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mink, Joseph
Sent: Thursday, September 15, 2005 1:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drawing a rectangle in Flex


Hi,
 
I have the following method in a class that extends
mx.containers.Canvas.  Shouldn't this work?  I don't see any of the
lines...However, if I remove the emptyClip altogether,  just draw
directly on the Canvas of the local object, the lines appear.  But I
want the rectangle to be an individual child of the myClass Canvas.  Any
thoughts on where I'm goning wrong?
 
class myClass extends mx.containers.Canvas
{
 
...
 
/*
  Draws a hard-cornered rectangle.
  TODO: Add support for fill color.
 */
 function rectangle (boxWidth:Number, boxHeight:Number):Void
 {
var L_INDENT = 3;
var TOP_INDENT = 3;
var R_INDENT = 2;
var BOT_INDENT = 2;
 
var emptyClip = createEmptyMovieClip(rectangleInNode,
getNextHighestDepth());
 
   emptyClip.beginFill(0xFF);  //Currently harcoding a white
fill...
   emptyClip.lineStyle (2, 0x00);
   emptyClip.moveTo(L_INDENT, TOP_INDENT);
   emptyClip.lineTo(width - R_INDENT, TOP_INDENT);
   emptyClip.lineTo(width - R_INDENT, height - BOT_INDENT);
   emptyClip.lineTo(L_INDENT, boxHeight - BOT_INDENT);
   emptyClip.lineTo(L_INDENT, TOP_INDENT);
   emptyClip.endFill();
 }
...
}


--
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
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] Help to create an object instance dynamically

2005-09-15 Thread Mink, Joseph
I don't know if you're using import statements, but those might help if
you're not:
 
 
import com.datasul.framework.custom.view.LoanForm;
import Workspace;
 

var workspace:Workspace = Workspace.getInstance(); //Do you mean 'new
Workspace ();' ?
workspace.createChild(LoanForm,instanceName, {attr: value, attr2:
value2...);

Does this help?

Joey





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michel Bertrand
Sent: Thursday, September 15, 2005 4:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help to create an object instance dynamically



Hi all ! 

I'm trying to get a component instance using the following: 

var workspace:Workspace = Workspace.getInstance(); 

var name:String =
com.datasul.framework.custom.view.LoanForm; 
var type:Function = ClassUtil.findClass(name); 

wkt = Workspace.getInstance(); 
wkt.createChild(type,name); 

Where: 
- Workspace: is an object extending mx.containers.Canvas; 

I suppose that retriving an Object using ClassUtil I would get an object
instance. But it 
doesn't work in this fashion. So, I still tried to use
wkt.createChild(type.call(),name), 
however no success. 

Did anybody has an idea to create my object dynamically and add it to a
container ? 

Regards, 
Michel. 



--
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
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Drawing a rectangle in Flex

2005-09-14 Thread Mink, Joseph





Hi,

I have the 
following method in a class that extends mx.containers.Canvas. Shouldn't 
this work? I don't see anyof the lines...However, if I remove the 
"emptyClip" altogether,  just draw directly on the Canvas of the local 
object, the lines appear. But I want the rectangle to be an 
individualchild of themyClass Canvas. Any thoughts on where 
I'm goning wrong?

class myClass 
extends mx.containers.Canvas
{

...

/*Draws a "hard-cornered" 
rectangle.TODO: Add support for fill 
color.*/function rectangle (boxWidth:Number, 
boxHeight:Number):Void{ var L_INDENT = 
3; var TOP_INDENT = 3; var R_INDENT 
= 2; var BOT_INDENT = 2;

 var emptyClip = 
createEmptyMovieClip("rectangleInNode", getNextHighestDepth());

 
emptyClip.beginFill(0xFF);//Currently harcoding a white 
fill... emptyClip.lineStyle (2, 
0x00); emptyClip.moveTo(L_INDENT, 
TOP_INDENT); emptyClip.lineTo(width - 
R_INDENT, TOP_INDENT); 
emptyClip.lineTo(width - R_INDENT, height - 
BOT_INDENT); emptyClip.lineTo(L_INDENT, 
boxHeight - BOT_INDENT); 
emptyClip.lineTo(L_INDENT, TOP_INDENT); 
emptyClip.endFill();}
...
}





--
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
  
  
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] Custom Component builder

2005-09-01 Thread Mink, Joseph





You should be able to make mxml components to accomplish 
what you describe...just design you component in mxml,  then refer to that 
component in you application mxml. I don't know if such a solution will be 
flexible enough for you...


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio 
SalvadorSent: Thursday, September 01, 2005 8:19 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Custom Component 
builder
Hi,I want to create custom components extending original 
Flex components, is there any visual application for this purpose? For 
example, I want to create my customPanel which extends mx:Panel; I want to 
add a title bar with buttons and icons, set event to these buttons, etc...is 
there any application to do this or I must use AS to create 
them?Thanks-- Alberto Albericio SalvadorAura S.A. 
SegurosDepartamento Informática





--
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] TabNavigator's createTab method

2005-09-01 Thread Mink, Joseph
Hi,
 
I have a custom tab class that extends Canvas:
 
*class DSTab extends Canvas...

This class has a member that needs to be set at the time of
construction:

*public var dsID:String;

I've been using TabNavigator.createTab method to add a new DSTab when
necessary:

*var newTab = dsTabNavigator.createTab
  (DSTab, //The class type.
   currentDS.getID () + -tab,  //The name for the instance.
   currentDS.getDisplayName ()); //The label for the tab.

This works, but I can't set the value of the new DSTab's dsID member.  I
considered using dsTabNavigator.createChild, but I can't set the label
on the tab.

Does anyone have any suggestions?  Thanks,
Joey


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] TabNavigator's createTab method

2005-09-01 Thread Mink, Joseph





Because newTab object you refer to instantiates children 
that depend on the dsID, so it's too late when you follow up with a call like 
that.

However, experimentation (assuming I did it right) proved 
that the property that holds the tab's title in a child of TabNavigator is 
"label." So I think I've got it working...

Thanks!
Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon 
SmithSent: Thursday, September 01, 2005 12:44 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] TabNavigator's 
createTab method
Why can't you follow the call to createTab() with newTab.dsID = 
"foo"?- Gordon-Original Message-From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
Mink, JosephSent: Thursday, September 01, 2005 7:11 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] TabNavigator's createTab 
methodHi,I have a custom tab class that extends 
Canvas:*class DSTab extends Canvas...This class has a member 
that needs to be set at the time ofconstruction:*public var 
dsID:String;I've been using TabNavigator.createTab method to add a new 
DSTab whennecessary:*var newTab = dsTabNavigator.createTab 
(DSTab, //The class type. currentDS.getID () + "-tab", 
//The name for the instance. currentDS.getDisplayName ()); //The 
label for the tab.This works, but I can't set the value of the new 
DSTab's dsID member. Iconsidered using dsTabNavigator.createChild, but 
I can't set the labelon the tab.Does anyone have any 
suggestions? Thanks,Joey--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
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] How to set a WebService endpoint?

2005-08-30 Thread Mink, Joseph
Thanks for the reply...although, it doesn't seem to be working...I have
the following webservice declaration:
 
mx:WebService
fault=wsFault (event/*.faultString*/)
id=uiMgrWs
protocol=http
wsdl=http://10.1.10.2:8080/uimanager/UIManagerService?wsdl;
mx:operation name=getAlert result=handleGetAlertsResult
(event.result)/
/mx:WebService

And the following AS code is used to invoke the webservice:

function wsGetAlert ():Void
{
trace (begin wsGetAlert());
uiMgrWs.getAlert.setEndPointURI
(http://10.1.10.2:8080/uimanager/UIManagerService;);
uiMgrWs.getAlert ();
trace (end wsGetAlert());
}

But when reviewing the flex.log file, the following line can be observed
for each WS call:
08/30 07:43:19 INFO -- POST :
http://localhost:8080/uimanager/UIManagerService

I'm confused!  Thanks for the reply though!



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Tuesday, August 30, 2005 12:52 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to set a WebService endpoint?



It is automatically determined from the WSDL.  If you need to specify a
different endpoint check the docs here:

http://livedocs.macromedia.com/flex/15/flex_docs_en/0770.htm



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mink, Joseph
Sent: Monday, August 29, 2005 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set a WebService endpoint?

 

This may be a stupid question, but how do you set the endpoint for a
WebService object?

mx:WebService
   concurrency=multiple|single|last
   fault=No default.
   id=No default.
   load=No default.
   port=No default.
   protocol=http|https
   result=No default.
   service=No default.
   serviceName=No default.
   showBusyCursor=false|true
   useProxy=true|false
   wsdl=No default.
/ 

In the above, there is no place (that I can see) to set the endpoint.  I
figured it interpreted it from the wsdl somehow?  Any thoughts are most
appreciated!



--
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
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] How to set a WebService endpoint?

2005-08-30 Thread Mink, Joseph
Note, the line in the post below:

uiMgrWs.getAlert.setEndPointURI
(http://10.1.10.2:8080/uimanager/UIManagerService;);

Was something I tried after 1st trying the following:

uiMgrWs.setEndPointURI
(http://10.1.10.2:8080/uimanager/UIManagerService;);

Niether seemed to work, though.

Thanks...

-Original Message-
From: Mink, Joseph 
Sent: Tuesday, August 30, 2005 7:52 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] How to set a WebService endpoint?

Thanks for the reply...although, it doesn't seem to be working...I have
the following webservice declaration:
 
mx:WebService
fault=wsFault (event/*.faultString*/)
id=uiMgrWs
protocol=http
wsdl=http://10.1.10.2:8080/uimanager/UIManagerService?wsdl;
mx:operation name=getAlert result=handleGetAlertsResult
(event.result)/
/mx:WebService

And the following AS code is used to invoke the webservice:

function wsGetAlert ():Void
{
trace (begin wsGetAlert());
uiMgrWs.getAlert.setEndPointURI
(http://10.1.10.2:8080/uimanager/UIManagerService;);
uiMgrWs.getAlert ();
trace (end wsGetAlert());
}

But when reviewing the flex.log file, the following line can be observed
for each WS call:
08/30 07:43:19 INFO -- POST :
http://localhost:8080/uimanager/UIManagerService

I'm confused!  Thanks for the reply though!



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Tuesday, August 30, 2005 12:52 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to set a WebService endpoint?



It is automatically determined from the WSDL.  If you need to specify a
different endpoint check the docs here:

http://livedocs.macromedia.com/flex/15/flex_docs_en/0770.htm



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mink, Joseph
Sent: Monday, August 29, 2005 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set a WebService endpoint?

 

This may be a stupid question, but how do you set the endpoint for a
WebService object?

mx:WebService
   concurrency=multiple|single|last
   fault=No default.
   id=No default.
   load=No default.
   port=No default.
   protocol=http|https
   result=No default.
   service=No default.
   serviceName=No default.
   showBusyCursor=false|true
   useProxy=true|false
   wsdl=No default.
/ 

In the above, there is no place (that I can see) to set the endpoint.  I
figured it interpreted it from the wsdl somehow?  Any thoughts are most
appreciated!



--
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
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It)

2005-08-29 Thread Mink, Joseph





In the click event method, you could set a global variable 
(defined in the script section of your mxml file) to be a value that represents 
the pushed button...something along the lines of the 
following:
mx:Applicationmx:Script![CDATA[var 
pushedButton;

 function click (event)
 {
 pushedButton = 
~buttonPushed~
 }]]/mx:Script

mx:Canvas height="480" width="640" 
id="mainCanvas" creationComplete="drawLines ()"

/mx:Button 
click="click()"/

/mx:Application


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew 
KuehnSent: Friday, August 26, 2005 3:28 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Handling 
mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do 
It)
How does one determine which button the user clicked when showing 
analert with multiple buttons? For 
example:mx.controls.Alert.show('Are you sure you want to 
dothat?','',mx.controls.Alert.YES | 
mx.controls.Alert.NO,this,'','',NO);How do I determine if they clicked 
yes or no? Or, is there a preferredway to do this? I can't seem to find any 
good examples.Thanks,Matthew





--
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
  
  
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] How to set a WebService endpoint?

2005-08-29 Thread Mink, Joseph
This may be a stupid question, but how do you set the endpoint for a
WebService object?
 
 mx:WebService
   concurrency=multiple|single|last
   fault=No default.
   id=No default.
   load=No default.
   port=No default.
   protocol=http|https
   result=No default.
   service=No default.
   serviceName=No default.
   showBusyCursor=false|true
   useProxy=true|false
   wsdl=No default.
/ 
 
In the above, there is no place (that I can see) to set the endpoint.  I
figured it interpreted it from the wsdl somehow?  Any thoughts are most
appreciated!


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/