[flexcoders] Re: Usage of showDefaultContextMenu in Application/

2006-09-05 Thread Tim Hoff



This might not be the best way, but it works:
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"creationComplete="callLater(init);"
 mx:Script ![CDATA[
 private function init():void { stage.showDefaultContextMenu = false; }  ]] /mx:Script
/mx:Application
-TH--- In flexcoders@yahoogroups.com, "Claudia Barnal" [EMAIL PROTECTED] wrote: Tim,  Thanks for your reply :)   You'll have to wait until the stage object is available to the application.  How would I do that?   It only removes the top three menu options.  I'm quite happy with that. I basically want to remove the scaling options and whatnot.  On 9/4/06, Tim Hoff [EMAIL PROTECTED] wrote:  Hi Claudia,   You are correct on both counts. You're getting an error because of  timing. You'll have to wait until the stage object is available to  the application. However, setting the showDefaultContextMenu  property to false doesn't entirely remove the context menu. It only  removes the top three menu options. As far as I know you can't  eliminate the context menu completely.   -TH

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Get result on database insert...

2006-09-05 Thread Ken Bromberger












Hi All,



I havent solved my issue here so I
wanted to repost



Basically I am wondering if it is possible
or what the correct method is for binding the result of a webservice call.
Thanks!



 I have a
webservice that returns the new ID for the database as a result of a record
insert. Is there a way to capture this when the webservice inserts the record?
I have been looking at the Handling result and fault events on live docs but
dont quite see how I bind the result. Any tips??



Thanks! - Ken






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Datagrid Scrollbar size

2006-09-05 Thread Antoine Malpel
flecool a écrit :

 Hi

 Is it possible to change the size of the scrollbars in a datagrid.

 I have a grid which is quite large in size making the scrollbars look
 tiny. I couldnt find anything regarding this in the help.

 Thanks

  
You should look the doc at Css / Style


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

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

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

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




Re: [flexcoders] Re: Issue with dates from Flex to MySQL

2006-09-05 Thread Tom Chiverton
On Friday 01 September 2006 16:17, Doug Arthur wrote:
 Was there ever a solution for this? I'm experiencing the same problem and

I think someone from Adobe did chime in to ask what was up with it, after all 
it had all the ECMAScript functions (the ones that are no help and/or a pain 
to use). I pointed out how much simpler things like CFs 
dateAdd(amountStr,ammountNum,dateObj) or Java's JodaTime API was.

We'll have to see.
In the mean time, I'm building an Date util class as we need it. It's only got 
trival daysInMonth(y,m) and isLeapYear(y) at the mo, however.

-- 
Tom Chiverton
Helping to synergistically seize extensible e-commerce



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

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

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





[flexcoders] outside window event

2006-09-05 Thread Frias, Roberto










Does anybody know if it is possible to catch an
MouseUp Event outside the main application window? (Outside the browser) It
seems there is only a MouseDownOutside Event on the Application class.



The thing is, I need to know when a drag and drop
ends, even if the user drops outside the bounds of the main application.



Regards!!!




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Cairngormstore for flex 2

2006-09-05 Thread Andrew Rayne





Hi 
all,

Just to let you know 
I have released CairngormStore for flex 2. It can be reached at http://weblogs.macromedia.com/arayne. We should have it up on Labs shortly but wanted to get it out as 
quickly as possible as it has been promised for a while now. Enjoy.

regards

Andy



Andy Rayne
Senior Consultant(Rich Internet Applications) Adobe Consulting 
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6902
m: +44 (0) 7917 428 950
[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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] outside window event

2006-09-05 Thread Abdul Qabiz



I am not sure, if any event would be triggered if mouse moves outside of app area.. You can probably have your own bound checks?-abdulOn 9/5/06, Frias, Roberto
 [EMAIL PROTECTED] wrote:












  











Does anybody know if it is possible to catch an
MouseUp Event outside the main application window? (Outside the browser) It
seems there is only a MouseDownOutside Event on the Application class.



The thing is, I need to know when a drag and drop
ends, even if the user drops outside the bounds of the main application.



Regards!!!







  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Cairngormstore for flex 2

2006-09-05 Thread Carlos Rovira



Many Thanks Andrew! :)On 9/5/06, Andrew Rayne [EMAIL PROTECTED] wrote:













  






Hi 
all,

Just to let you know 
I have released CairngormStore for flex 2. It can be reached at 
http://weblogs.macromedia.com/arayne. We should have it up on Labs shortly but wanted to get it out as 
quickly as possible as it has been promised for a while now. Enjoy.

regards

Andy



Andy Rayne
Senior Consultant(Rich Internet Applications) Adobe Consulting 
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6902
m: +44 (0) 7917 428 950
[EMAIL PROTECTED] 


  













-- ::| Carlos Rovira::| http://www.carlosrovira.com::| http://www.madeinflex.com


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] outside window event

2006-09-05 Thread Ralf Bokelberg



This is bugging us flash/flex developers ever since. It would be really nice to have the possiblity to ask if the mouse is inside or outside the flash movie. Currently you can do this with _javascript_ only.Cheers,
Ralf On 9/5/06, Abdul Qabiz [EMAIL PROTECTED] wrote:



I am not sure, if any event would be triggered if mouse moves outside of app area.. You can probably have your own bound checks?-abdul
On 9/5/06, Frias, Roberto
 [EMAIL PROTECTED] wrote:













  











Does anybody know if it is possible to catch an
MouseUp Event outside the main application window? (Outside the browser) It
seems there is only a MouseDownOutside Event on the Application class.



The thing is, I need to know when a drag and drop
ends, even if the user drops outside the bounds of the main application.



Regards!!!







  


















-- Ralf Bokelberg [EMAIL PROTECTED]Flex  Flash Consultant based in Cologne/Germany

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___



AW: [flexcoders] outside window event

2006-09-05 Thread Frias, Roberto












Bounds are already set,
the thing is that the program should interact when the user make MouseUp
outside the window and not when the user reach bounds.











Von:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Abdul Qabiz
Gesendet: Dienstag, 5. September
2006 12:07
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] outside
window event











I am not sure, if any event would be triggered if
mouse moves outside of app area.. You can probably have your own bound checks?

-abdul



On 9/5/06, Frias,
Roberto [EMAIL PROTECTED]de
wrote:













Does anybody know if it is possible
to catch an MouseUp Event outside the main application window? (Outside the
browser) It seems there is only a MouseDownOutside Event on the
Application class.



The thing is, I need to know when a
drag and drop ends, even if the user drops outside the bounds of the main
application.



Regards!!!
























__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___






AW: [flexcoders] outside window event

2006-09-05 Thread Frias, Roberto












Have you ever use
_javascript_ to achieve this kind of issues?, Ill try to look for it in
internet, but Id think thats not possible even with _javascript_.











Von:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Ralf Bokelberg
Gesendet: Dienstag, 5. September
2006 12:20
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] outside
window event











This is bugging us flash/flex developers ever since.
It would be really nice to have the possiblity to ask if the mouse is inside or
outside the flash movie. Currently you can do this with _javascript_ only.

Cheers,
Ralf 



On 9/5/06, Abdul
Qabiz abdul.qabiz@gmail.com
wrote:





I am not sure, if any event would be triggered if mouse moves outside
of app area.. You can probably have your own bound checks?






-abdul









On 9/5/06, Frias,
Roberto [EMAIL PROTECTED]de
wrote:













Does anybody know if it is possible
to catch an MouseUp Event outside the main application window? (Outside the
browser) It seems there is only a MouseDownOutside Event on the
Application class.



The thing is, I need to know when a
drag and drop ends, even if the user drops outside the bounds of the main
application.



Regards!!!






























-- 
Ralf Bokelberg ralf.bokelberg@gmail.com
Flex  Flash Consultant based in Cologne/Germany 






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Cairngormstore for flex 2

2006-09-05 Thread Thomas Rühl

Yeah, looking forward to get my hands on it ;)
Cheers, Thomas



   Thomas Rühl
   Design, Programming  Concepts

   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt

   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com




Carlos Rovira wrote:
 
 
 Many Thanks Andrew! :)
 
 
 
 On 9/5/06, *Andrew Rayne* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote:
 
 Hi all,
  
 Just to let you know I have released CairngormStore for flex 2. It
 can be reached at http://weblogs.macromedia.com/arayne
 http://weblogs.macromedia.com/arayne. We should have it up on Labs
 shortly but wanted to get it out as quickly as possible as it has
 been promised for a while now. Enjoy.
  
 regards
  
 Andy
  
  
 
 Andy Rayne
 
 Senior Consultant (Rich Internet Applications) Adobe Consulting
 Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
 
 p: +44 (0) 131 338 6902
 
 m: +44 (0) 7917 428 950
 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
  
 
 
 
 
 -- 
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com http://www.carlosrovira.com
 ::| http://www.madeinflex.com http://www.madeinflex.com
 


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

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

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

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





Re: [flexcoders] Cairngormstore for flex 2

2006-09-05 Thread Paul Andrews





Same here!

  - Original Message - 
  From: 
  Carlos 
  Rovira 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, September 05, 2006 11:00 
  AM
  Subject: Re: [flexcoders] Cairngormstore 
  for flex 2
  Many Thanks Andrew! :)
  On 9/5/06, Andrew 
  Rayne [EMAIL PROTECTED] 
  wrote:
  






Hi all,

Just to let you know I have released 
CairngormStore for flex 2. It can be reached at http://weblogs.macromedia.com/arayne. We should have it up on Labs shortly but wanted to get it out as 
quickly as possible as it has been promised for a while now. 
Enjoy.

regards

Andy



Andy Rayne
Senior Consultant(Rich Internet Applications) Adobe Consulting 
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6902
m: +44 (0) 7917 428 950
[EMAIL PROTECTED] 


-- ::| Carlos Rovira::| http://www.carlosrovira.com::| http://www.madeinflex.com  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: CSS in custom components

2006-09-05 Thread grahampengelly



I have worked it out, finally...I was declaring my styles within a panel control that constituted one of the views of my app.Once I moved the styles into the Application tag they work fine with the type selector syntax.Thanks for you help all the same.GrahamBlog--- In flexcoders@yahoogroups.com, "grahampengelly" [EMAIL PROTECTED] wrote: Firstly, apologies if there was a more or less duplicate post prior to this one... I got a bit impatient waiting for the first one to show up and assumed it hadn't landed.  I have now just realised that when I try to apply styles to the standard components e.g. Button with the syntax I am trying it doesn't work either so perhaps the problem doesn't lie with my component and lies with the way I am trying to apply the styles.  Shouldn't this work and change all instances of the Button component to have red text?  mx:StyleButton{color:#FF;} /mx:Style  Thanks again...  Graham Blog http://goingspare.wordpress.com --- In flexcoders@yahoogroups.com, "grahampengelly" graham@ wrote:   Hi Tim   Thanks for your quick reply... Both of those suggestions work. The  problem I have is that it is actually some child components of the  AnswerButtonPanel that I want to be able to style. In order to do this  with the class name identifier in CSS I would have to hard code the  styleName when I create the child controls and then always use that in  the stylesheet as I don't explicitly create the children in MXML (they  are created by the AnswerButtonPanel) and so can't specify it there.   I was hoping, and it appears that you can in the docs, to be able to  just set a style for all 'AnswerButton' components (the children of the  AnswerButtonPanel) and it be picked up.   As it stands, neither the AnswerButtonPanel or AnswerButton are picking  up the style info if I use the format in my original post.   Thanks again for your help...   Graham  Blog http://goingspare.wordpress.com  --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote: Hi Graham, Have you tried this: AnswerButtonPanel.setStyle('headingFontColor', '#FF'); Or use a CSS file: CSS: myStyle {   headingFontColor:#FF;   } MXML: uiComponents: AnswerButtonPanel styleName="myStyle"/ -TH --- In flexcoders@yahoogroups.com, "grahampengelly" graham@   wrote:   Hi   I have created a custom component that derives from Box. I have   added acouple of style decarations within the code for the component. Thefollowing is an example:   [Style(name="headingFontColor", type="uint", format="Color",inherit="no")]   ...and then I access this using getStyle("headingFontColor"),   well, Iwrap that with a default value function but that is the cut of it.   So it works if I set the style within the component tag in the   MXML likethis:   uiComponents: AnswerButtonPanel headingFontColor="0xFF" /   but if I try to set it as such:   mx:Style AnswerButtonPanel { headingFontColor:#FF; !-- I have also tried "#FF", 0xFF and "0xFF"   here,as per some examples that I have found, but none work -- }/mx:Style   it doesn't get set. Do I have to do something to get this   functionality?   Thanks for your help in advance.   Graham  


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Connecting multiple projects

2006-09-05 Thread kristian_wright2002
Thanks Tom.

Trying it out, but I'm still having problems referencing functions.  I
have a function inside an AS file (tmp.as) called test() that displays
an alert.  This is in a library called TestLibrary, which I've created
and added to my main apps' project references.  I've also added
TestLibrary.swc to my Library path in the main apps' Project Build
Path, with the link type set to merge into code.  (tired also adding
the entire TestLibrary Project to the library path of the main app
instead of just the swc file, but same results...)

I try and call test() from an AS file in my main app, but I still get
Call to a possibly undefined method test. compile error.  I've tried
referencing the function as TestLibrary.test() and
TestLibrary.tmp.test() but no joy.

Can you have a whole project as a library?  I mean I have an mxml file
in the library that contains includes to other AS files, including
tmp.as.  I don't check the AS files when selecting the classes in the
librarys Library Build Path, as if I do, I get errors due to the use
of the words 'public' and 'private' in my var and function
declarations.  But these AS files are not listed in the Assets tab, so
it seems I can't include them anywhere.  Which is why I assume they
get referenced when I select the mxml file in the Library classes.

Geeze, does that make sense???

Anyway, at the end of the day it still won't compile and I can't
access functions from the library.

Can anyone see where I'm going wrong from this convoluted
description?? ;-)

Cheers,
K.

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Monday 04 September 2006 12:03, kristian_wright2002 wrote:
  Looking into making the sub apps into Library Projects now, but not
  sure if this is the right way to go. Been scouring the net and trying
 
 I'd go that route.
 
 -- 
 Tom Chiverton
 Helping to seamlessly benchmark world-class developments
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.







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

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

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

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




[flexcoders] FW: Set a LinkButton icon class at run time

2006-09-05 Thread Pete Capra





Hi there, 

Does anyone know if 
it is possible to set a LinkButtons icon class at runtime? I want to set an icon 
depending on the data that is sent to it (I have it set up as a custom 
component).

Kind 
Rgds,

Pete

Pete CapraInformation Systems CoordinatorCapra Ryan 
Online Learningp. (617) 3208 9455m. 0411 043 305f. (617) 3208 
9855a. PO Box 1744 Springwood Q 
4127www.capraryan.com[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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Flashvars using Application.application

2006-09-05 Thread Kyle

I am continuing to have problems loading embedded variables using the
apllication.application method that is described in the help manual.
Below is the code that I am trying to run. On top of this my html file
has a param set with the type flashvars and the value set to
myName=KylemyHometown=Duluth. Any thoughts?

Thanks,

Kyle




mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=initVars()
mx:Script![CDATA[

import mx.core.Application;
// Declare bindable properties in Application scope.
[Bindable]
public var myName:String;
[Bindable]
public var myHometown:String;

// Assign values to new properties.
private function initVars():void {
myName = Application.application.parameters.myName;
myHometown = Application.application.parameters.myHometown;
}
]]/mx:Script

mx:VBox
mx:HBox
mx:Label text=Name: /
mx:Label text={myName} fontWeight=bold/
/mx:HBox
mx:HBox
mx:Label text=Hometown: /
mx:Label text={myHometown} fontWeight=bold/
/mx:HBox
/mx:VBox
/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

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

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

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




[flexcoders] Re: Passing variables from Flex to swf

2006-09-05 Thread Bill Lane
If you loaded the swf using swfLoader you need to use the SystemManager
to comunicate with the loaded swf.  You'll find a good example in the
docs at:

Flex 2 Developer's Guide  Building User Interfaces for Flex
Applications  Using ControlsSWFLoader control

Bill Lane

--- In flexcoders@yahoogroups.com, Marcelo de Moraes Serpa
[EMAIL PROTECTED] wrote:

 I think you'll need to use LocalConnection...

 On 9/4/06, robavey [EMAIL PROTECTED] wrote:
 
Hi there,
 
  Just wondering if its possible to pass a selected item object (from
a
  tilelist) to a flash movie which has been loaded into the Flex app?
 
  thanx ahead of time
  aVe
 
 
 








--
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] Tooltip problem in datagrid in Loader

2006-09-05 Thread Renee

When we display tooltip using  showDataTips=true  in datagrid in 
Loader.
Tooltip does not come at proper place.
Is it possible to customize the position of tooltip for datagrid. In 
Loader.

Thanks
-Renee



--
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] strange problem with components in TabNavigator

2006-09-05 Thread Horváth Balázs










Hi everybody,



I have a problem, and maybe you can help me:



There is an application with Tabnavigator, and there are
components (with id) in the panels (combobox, textinput, datagrid, etc).

When I try to set the value of these components within the
tabnavigator, the values appear only on the first panel (this is the active),
and the others are still empty.



Why do you think it is? And what is the solution?



Thx:

Horváth Balázs






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Error when trying to run Notes Sample application

2006-09-05 Thread Ghose, Sanjucta












Hi, 



Thanks for the response. I played around
with the browser settings and restarted the server. That seemed to fix the
problem.



Thanks,

Sanjucta.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Tuesday, September 05, 2006
10:11 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Error
when trying to run Notes Sample application





Check to make sure the config file has the
right settings in it for your endpoints? This should work out of the box.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghose, Sanjucta
Sent: Monday, September 04, 2006
2:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Error when
trying to run Notes Sample application













Hi,



I am a Flex
newbie. I am trying to run the Notes sample application that comes with Flex
Builder by typing http://localhost:8700/samples/dataservice/notes/notes.mxml
on my browser. The following error pops up.



RPC Fault
faultString=Send failed faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed error null]


at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()


at ::DataListRequestResponder/fault()


at mx.rpc::AsyncRequest/fault()


at mx.messaging::ChannelSet/::faultPendingSends()


at mx.messaging::ChannelSet/channelFaultHandler()


at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()


at flash.events::EventDispatcher/dispatchEvent()


at mx.messaging::Channel/mx.messaging:Channel::connectFailed()


at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()


at mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::statusHandler()





Would
anybody know what the problem could be?



Thanks,

Sanjucta.




 
  
  This message
  contains information that may be privileged or confidential and is the
  property of the Capgemini Group. It is intended only for the person to whom
  it is addressed. If you are not the intended recipient, you are not
  authorized to read, print, retain, copy, disseminate, distribute, or use this
  message or any part thereof. If you receive this message in error, please
  notify the sender immediately and delete all copies of this message.
  
 






 






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___




This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.



[flexcoders] Save image at server-side with ColdFusion

2006-09-05 Thread Michael Klishin
Hi,

Is there a well-known way to save an image from bitmap data into the
file on server with ColdFusion? I never worked with it and struggle to
find an example...

Thanks!

-- 
Michael 'Antares' Klishin

novemberain.com | flexwiki.novemberain.com | osflash.org/red5 | rubyonrails.ru



--
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] what to override in dragdrop?

2006-09-05 Thread matt wicks










Hi all,



I have an app that returns data from a
Remote Object into a datagrid which then is dragged into a TileList, which
created Tiles which are CustomRenderers all fine so far



The problem is that when the data from
the grid is dropped I want Flex to run off query a web service, return the info
and add that into the data provider for the tile  again this works ok
BUT the I get two tiles being created : one with the data that I dragged and
dropped and one with the full dataset that I have brought in (ie the return
from the web service coupled with the data I originally had). I want to get rid
of the first one (the default one which is created on the drag drop event) . I
clearly need to override something I think but I dont really know what,
I thought it would be 



override public function set
data(value:Object):void{

 //blah

}



But this doesnt seem to work



Any ideas anyone please?



Matt




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Continue running SWF

2006-09-05 Thread Kumar












Can any one suggest me the approach for running 2 SWF files
or any movie file each after 5 min.



These means that if first movie file is running and even if
it is not completed second one should start after 5 min and again after 5 min first
one should again start. 







Thanks

Kumar




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] preload images HorizontalList

2006-09-05 Thread janeminkovich
Hello,

I am a photographer(before was an engineer) and just finishing up the 
flex site.  I notice that my horizontallist that I use to display the 
thumbnails/images loads really slow.
How would I preload it and then display what is in memory?
Thanks zhenya





--
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] deploying Flex App to the server

2006-09-05 Thread Stephen Gilson





One place where you can find more information is the Flex 
"Building and Deploying Flex 2 Applications" book here:

http://livedocs.macromedia.com/flex/2/docs/Part7_Build_Deploy.html

Please let me know if this helps,

Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
janeminkovichSent: Saturday, September 02, 2006 6:07 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
deploying Flex App to the server


Hello,I just wrote my Flex web site, compiled it and it runs quite 
fine on my local machine where I have the development environment. Now I 
am ready to deploy it to the server ( IP provider - www.divide0.net). 
I need to know what do I have to install on the IP server in order to 
be able to run my .swf file.zhenya
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Connecting multiple projects

2006-09-05 Thread Tom Chiverton
On Tuesday 05 September 2006 10:36, kristian_wright2002 wrote:
 Geeze, does that make sense???

I've no idea, I don't use Flex Builder :-)

 Anyway, at the end of the day it still won't compile and I can't
 access functions from the library.

Are you importing your library ?
Can you post the code to the library and the app that uses it ?

-- 
Tom Chiverton
Helping to completely maximize sticky interfaces



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

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

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





Re: [flexcoders] Re: Usage of showDefaultContextMenu in Application/

2006-09-05 Thread Claudia Barnal
Thanks a lot Tim, it works fine.

I'm surprised Adobe decided to not leave this as a default setting, as
in Flex 1.5. I am quite sure very few apps are meant to be zoomed in.

On 9/5/06, Tim Hoff [EMAIL PROTECTED] wrote:




 This might not be the best way, but it works:

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 creationComplete=callLater(init);

 mx:Script
   ![CDATA[

 private function init():void {
 stage.showDefaultContextMenu = false;
 }

   ]]
 /mx:Script

 /mx:Application


 -TH

 --- In flexcoders@yahoogroups.com, Claudia Barnal [EMAIL PROTECTED] wrote:
 

  Tim,
 
  Thanks for your reply :)
 
   You'll have to wait until the stage object is available to the 
   application.
 
  How would I do that?
 
   It only removes the top three menu options.
 
  I'm quite happy with that. I basically want to remove the scaling
  options and whatnot.
 

  On 9/4/06, Tim Hoff [EMAIL PROTECTED] wrote:
   Hi Claudia,
  
   You are correct on both counts. You're getting an error because of
   timing. You'll have to wait until the stage object is available to
   the application. However, setting the showDefaultContextMenu
   property to false doesn't entirely remove the context menu. It only
   removes the top three menu options. As far as I know you can't
   eliminate the context menu completely.
  
   -TH
 



 


 

 


--
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] connection refused with the http service

2006-09-05 Thread Tom Chiverton
On Monday 04 September 2006 15:29, Abdul Qabiz wrote:
implement mySQL client in ActionScript 3

cough
Apollo
/cough

-- 
Tom Chiverton, who knows nothing,
helping to synergistically coordinate revolutionary products



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

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

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





[flexcoders] Re: strange problem with components in TabNavigator

2006-09-05 Thread ben.clinkinbeard
By default, the children of ViewStacks (and consequently
TabNavigators, since they just wrap a ViewStack) are not created until
they are shown. You can set creationPolicy = all to get around this.

HTH,
Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, Horváth Balázs [EMAIL PROTECTED] wrote:

 Hi everybody,
 
  
 
 I have a problem, and maybe you can help me:
 
  
 
 There is an application with Tabnavigator, and there are components
(with
 id) in the panels (combobox, textinput, datagrid, etc).
 
 When I try to set the value of these components within the
tabnavigator, the
 values appear only on the first panel (this is the active), and the
others
 are still empty.
 
  
 
 Why do you think it is? And what is the solution?
 
  
 
 Thx:
 
 Horváth Balázs







--
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] Change datagrid rollover highlight

2006-09-05 Thread Shannon Hicks





Anyone have code 
that changes the rollover on a datagrid from the entire row to just a single 
cell?

Or, at the very 
least, just disables the rollover, so I can do a rollover in the item 
renderer?

Shan
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/437 - Release Date: 9/4/2006
 


[flexcoders] Tree Component expandItem Animation true problem.

2006-09-05 Thread Mick Robin



Hi,I got a problem with the Tree Component. I have set the following properties for theTree componenet in my application:labelField="@label"  width="100%" height="100%"defaultLeafIcon= "undefined" folderOpenIcon="undefined"folderClosedIcon="undefined"disclosureClosedIcon="undefined"disclosureOpenIcon="undefined"fontSize="10" depthColors=
 "[0xF4C406,0xff,0xF4C403]"borderStyle= "none"useRollOver="false"selectionDuration="0"selectionColor= "0x99Now when I amtrying to call   Tree.expandItem(event.currentTarget.selectedItem,true,true) method.It opens the child items.Only thing the animation for the parent node does not work.Only the labels get animated but the color behind the label doesnot animate it suddely changes it position.I want the label and color to move at the same time.Any help??Thanks in advance  Mick 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail.
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: [DateChooser] Emphasize specific days

2006-09-05 Thread Xavier Agnetti
On 9/3/06, Xavier Agnetti [EMAIL PROTECTED] wrote:
 Hi !

 Is there a way to emphasize (set a background color by example) some
 days with Flex 2.0.
 This was pretty easy with Flex 1.5 by using dateGrid attribute, but I
 did not find a similar attribute in Flex 2.

 Any idea ?

No one has an idea ?

-- 
Xavier Agnetti


--
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] Flashvars using Application.application

2006-09-05 Thread Matt Horn
This code looks ok to me. Can you post your html wrapper (or the
relevant portion of the wrapper) so we can see exactly how the vars are
being passed in?  

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kyle
 Sent: Monday, September 04, 2006 11:30 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flashvars using Application.application
 
 
 I am continuing to have problems loading embedded variables 
 using the apllication.application method that is described 
 in the help manual.
 Below is the code that I am trying to run. On top of this my 
 html file has a param set with the type flashvars and the 
 value set to myName=KylemyHometown=Duluth. Any thoughts?
 
 Thanks,
 
 Kyle
 
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 http://www.adobe.com/2006/mxml 
 creationComplete=initVars()
 mx:Script![CDATA[
 
 import mx.core.Application;
 // Declare bindable properties in Application scope.
 [Bindable]
 public var myName:String;
 [Bindable]
 public var myHometown:String;
 
 // Assign values to new properties.
 private function initVars():void {
 myName = Application.application.parameters.myName;
 myHometown = Application.application.parameters.myHometown;
 }
 ]]/mx:Script
 
 mx:VBox
 mx:HBox
 mx:Label text=Name: /
 mx:Label text={myName} fontWeight=bold/ /mx:HBox 
 mx:HBox mx:Label text=Hometown: / mx:Label 
 text={myHometown} fontWeight=bold/ /mx:HBox /mx:VBox 
 /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

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

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

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





[flexcoders] Re: amfphp-AS class mapping issue

2006-09-05 Thread joangarnetdotcom
I revisited the Flex side by comparing both yours and mine code and
found only one difference: yours has the [RemoteClass(alias=..)]
and mine not, so I added it and automatically started to work.

I thought this was only needed for Flex--AMFPHP but I was so wrong...
Cheers!
Joan



--- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote:

 I just modified the RemoteObjectAMF0 example to test the single Object
 return typing issue.  It seems to have no problem.
 
 If you have my examples from the download (make sure you have the
 latest) change the PHP file Login.php as describe below:
 In checkLogin function change return $arr; to return $book;, we
 now have it return just a typed object BookVO.
 
 Then in the mxml file RemoteObjectAMFOSample.mxml file change:
   [Bindable]
   private var books:ArrayCollection;
   private function resultHandler( event:ResultEvent ):void
   {
   books = new ArrayCollection( ArrayUtil.toArray( 
 event.result ) );
   }
 
 To 
 
   [Bindable]
   private var books:ArrayCollection;
   [Bindable]
   private var book:BookVO;
   private function resultHandler( event:ResultEvent ):void
   {
   books = new ArrayCollection( ArrayUtil.toArray( 
 event.result ) );
   book = BookVO( event.result );
   }
 
 Add a label at the bottom for testing:
 mx:Label text={ book.name } /
 
 You'll see that there is now error thrown in the resultHandler like
 you are experiencing.  So it must be something with the code, try
 breaking the problem down to see if you can find where the issue is.
 
 Note with AMFPHP you can use the advancedsettings.php or you can put
 $_explicitType in your PHP objects to force specific object typing. 
 You do not need to set the return type in the methodTable but it will
 not hurt to do so, as well its easier to read.
 
 Renaun
 
 
 --- In flexcoders@yahoogroups.com, Oriol Gual oriol.gual@ wrote:
 
  Ok then, have you set your return type in your method table? It also
 has to
  be the fully qualified name.
  
  2006/9/1, joangarnetdotcom jgarnet@:
  
   Hi, thanx for you repy.
   I did set $gateway-setBaseCustomMappingsPath() to point to the
 classpath
   where my PHP classes are.
   All PHP classes are matching exactly the same package path as
my AS
   classes (just to make things easier).
   I did not set $incoming nor $outgoing in advancedsettings.php
as, if I
   understood well, this is not necessary if you set $_explicitTtpe
 with the
   class' fully qualified name  in the PHP class.
  
   Please tell me if I'm wrong or if you think there's some more
light on
   this.
   Cheers!
   Joan
  
  
  
   --- In flexcoders@yahoogroups.com, Oriol Gual oriol.gual@ wrote:
   
Have you changed your advancedsettings.php to correctly map your
   classes?
   
2006/8/31, joangarnetdotcom jgarnet@:
  

 Hi, I'm in a Flex2 app.
 I can't manage to map a php return value to the right AS type...

 In my service method I have this return statement:
 return new Result( true, new Status() );

 In Result.php I have
 public $_explicitType = org.bestiario.website.Result;
 In Status.php I have
 public $_explicitType = org.bestiario.website.Status;
 I also have the corresponding Result.as and Status.as classes
 on the
   Flex
 side.

 In my HTTP debugger (Charles) I can see the AMF packet
coming with
   correct
 types as you can see here:
   http://www.joangarnet.com/_otras/charles.gif

 But when the callback executes and I do:
 public function onResult( event:* = null ):void
 {
 var res:Result = Result(event.result);
 }
 I get the following exception:
 TypeError: Error #1034: Type Coercion failed: cannot convert
 [EMAIL PROTECTED] to org.bestiario.website.Result.

 Any ideas??
 Cheers!

 P.S. I'm using Renaun's RemoteObjectAMF0 class to call amfphp
   services.


   
   
  
 







--
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] Confirmed Bug: SOAP request construction with .NET web service... again

2006-09-05 Thread ben.clinkinbeard
Just for the sake of record, Adobe has just notified me that this is
indeed a bug. I sure hope some WebService fixes are in that dot release...

Ben

--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:

 I have already come across a couple of (confirmed by Adobe support)
 bugs with the way Flex constructs SOAP requests when using .NET web
 services and am wondering if I've found a third. I suppose this could
 be the expected behavior but it seems awfully weird to me. Part of the
 request that my web service expects is a ContainersToRetrieve node,
 which contains 1 or more child ContainerType nodes. Like this:
 
 ContainersToRetrieve
   ContainerTypeIndustryTrends/ContainerType
   ContainerTypeRPRSelections/ContainerType
 /ContainersToRetrieve
 
 When constructing the request in MXML, I have discovered that if I am
 only sending one ContainerType argument that I need to omit the
 ContainerType node and put the contents directly inside
 ContainersToRetrieve. Like this:
 
 ContainersToRetrieve
   IndustryTrends
 /ContainersToRetrieve
 
 But if I need to send more than one I have to include the
 ContainerType nodes in my MXML, like this:
 
 ContainersToRetrieve
   ContainerType
   IndustryTrends
   /ContainerType
   ContainerType
   RPRSelections
   /ContainerType
 /ContainersToRetrieve
 
 Is this how this should work? I am including my entire WebService tag
 below. Thanks in advance.
 
 Ben
 
 mx:WebService id=ws wsdl=http://mysite.com/WebService.asmx?WSDL;
 useProxy=false
 fault=getTrendsFault(event) result=getTrendsResult(event)
 
 mx:operation name=GetDocument resultFormat=e4x
 mx:request
 EnterpriseId1/EnterpriseId
 DocumentTypeRPR-EBD/DocumentType
 ContainersToRetrieve
   ContainerType
   IndustryTrends
   /ContainerType
   ContainerType
   RPRSelections
   /ContainerType
 /ContainersToRetrieve
 MetadataToRetrieve
   RPRDocumentHistory
 /MetadataToRetrieve
 /mx:request
 /mx:operation
 /mx:WebService








--
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] Continue running SWF

2006-09-05 Thread Kumar










Can any one suggest me the approach for running 2 SWF files
or any movie file each after 5 min.



These means that if first movie file is running and even if
it is not completed second one should start after 5 min and again after 5 min
first one should again start. 







Thanks

Kumar




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Re: Usage of showDefaultContextMenu in Application/

2006-09-05 Thread Tim Hoff
Glad to help.  I agree Claudia.  Except for when a cat walks on the 
keyboard, I can't remember ever using this feature. :)

-TH

--- In flexcoders@yahoogroups.com, Claudia Barnal [EMAIL PROTECTED] 
wrote:

 Thanks a lot Tim, it works fine.
 
 I'm surprised Adobe decided to not leave this as a default 
setting, as
 in Flex 1.5. I am quite sure very few apps are meant to be zoomed 
in.
 
 On 9/5/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
 
 
 
  This might not be the best way, but it works:
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  creationComplete=callLater(init);
 
  mx:Script
![CDATA[
 
  private function init():void {
  stage.showDefaultContextMenu = false;
  }
 
]]
  /mx:Script
 
  /mx:Application
 
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Claudia Barnal barnaclau@ 
wrote:
  
 
   Tim,
  
   Thanks for your reply :)
  
You'll have to wait until the stage object is available to 
the application.
  
   How would I do that?
  
It only removes the top three menu options.
  
   I'm quite happy with that. I basically want to remove the 
scaling
   options and whatnot.
  
 
   On 9/4/06, Tim Hoff TimHoff@ wrote:
Hi Claudia,
   
You are correct on both counts. You're getting an error 
because of
timing. You'll have to wait until the stage object is 
available to
the application. However, setting the showDefaultContextMenu
property to false doesn't entirely remove the context menu. 
It only
removes the top three menu options. As far as I know you 
can't
eliminate the context menu completely.
   
-TH
  
 
 
 
  
 
 
  
 
 








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

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

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

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





[flexcoders] Re: Connecting multiple projects

2006-09-05 Thread kristian_wright2002
OK - here we go...

I have a Library Project called MyLibrary, containing 2 files:
SubApp1.mxml and functions.as.  Code for each shown below:

SubApp1.mxml
-
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=403 height=341
mx:Script
![CDATA[

import mx.controls.Alert;
include 'functions.as';

public function startSubApp1():void
{
Alert.show(SubApp1 Started...);
}

]]
/mx:Script

mx:Button id=btnSubApp1 label=SubApp1Button
click=startSubApp1()   x=143.5 y=60/

/mx:Application
-

functions.as
-
public function test():void
{
Alert.show(Inside test function in functions.as);
}
-

I have a Flex project called MainApp containing one file called
MainApp.mxml, code shown below:

MainApp.mxml
-
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=401 height=353
mx:Script
![CDATA[

import mx.controls.Alert;

public function startMainApp():void
{
Alert.show(MainApp Started...);
Alert.show(Calling SubApp1...);
var tmp = startSubApp1();
Alert.show(Back in MainApp after SubApp1...);
Alert.show(Calling test()...);
var tmp2 = test();
Alert.show(Back in MainApp after test()...);
}

]]
/mx:Script

mx:Button id=btnMainApp label=MainAppButton
click='startMainApp()' x=143.5 y=29 /

/mx:Application
---

In the Flex Library Build Path of MyLibrary, I select SubApp1 to be
included in the classes.  Then I open the MainApp Project properties
and add MyLibrary Project to the Library Path in the Flex Build Path,
then check the MyLibrary project in the Project References for MainApp.

The problem is I keep getting errors on the lines calling the
functions startSubApp1() and test() in MainApp.mxml.

In my MainApp.mxml file, I've tried:

import MyLibrary; - nothing changes (same errors)
import MyFakeLibrary - nothing changes (same errors)
import MyLibrary; - throws an error on this line
include MyLibrary; - throws an error on this line
include MyLibrary; - throws an error on this line
include functions.as; - throws an error on this line
include MyLibrary.functions.as; - throws an error on this line

But at the end of the day, I thought this wasn't necessary, due to the
linking of the projects through build paths, project references etc.

Starting to go bald, I've pulled out so much hair...

Cheers,
K.






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

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

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

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




[flexcoders] Re: menubar icon

2006-09-05 Thread iuliub
Same problem with the MenuBar icon as Tracy and Dough.

However, I'd really need to use an xml as a dataProvider.

Any ideeas?
Iuliu b.



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

   I never could get this to work.  I'd like to see a simple 
working sample
   app myself.
  
  
  
   Tracy
 
 hello Tracy and Doug,
 
 Here is using actionscript, I use it with amfphp to fetch the menu 
from 
 database:
 
 The secret is: don't use string in icon field, use a class name in 
the 
 icon field and it work for Panel, MenuBar and anything more that 
use icons.
 
 Get the source here:
 http://www.wendelmaques.com.br/MenuBar_icons.zip
 
 
 Here is the code (for list archive):
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 xmlns=*
 layout=vertical
 horizontalAlign=left
 creationComplete=initApp();
 pageTitle=MenuBar with icons using ActionScript
 
 mx:Script
 ![CDATA[
 
 // for icons visit: http://www.famfamfam.com/
 // get and save inside source dir
 
 [Embed(source=www.famfamfam.com/lab/icons/asterisk_orange.png)]
 [Bindable] public var asterisk_orange:Class;  
 
 [Embed(source=www.famfamfam.com/lab/icons/page_red.png)]
 [Bindable] public var page_red:Class; 
 
 [Embed(source=www.famfamfam.com/lab/icons/folder_page.png)]
 [Bindable] public var folder_page:Class;  
 
 [Bindable] public var main_menu:Object =
 {label:mx, children: [
 {icon:asterisk_orange,label:Containers, children: [
   {icon:page_red,label:Accordian, children:[]},
   {icon:page_red,label:DividedBox, children: [
   {icon:folder_page,label:BoxDivider.as, 
data:BoxDivider.as},
   {icon:folder_page,label:BoxUniter.as, 
data:BoxUniter.as}]},
   {icon:page_red,label: Grid, children:[]}]},
 {icon:asterisk_orange,label: Controls, children: [
   {icon:page_red,label: Alert, data: Alert.as},
   {icon:page_red,label: Styles, children: [
   {icon:folder_page,label: AlertForm.as, 
data:AlertForm.as}]},
   {icon:page_red,label: Tree, data: Tree.as},
   {icon:page_red,label: Button, data: Button.as}]},
 {icon:asterisk_orange,label: Core, children:[]}
 ]};
 private function initApp():void {
 menu.dataProvider=main_menu;  
 }
 
 ]]
 /mx:Script
 mx:MenuBar iconField=icon id=menu/
 /mx:Application
 
 --
   wendel, msn: [EMAIL PROTECTED]
   http://www.wendelmaques.com.br/








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

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

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

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




[flexcoders] Re: Continue running SWF

2006-09-05 Thread Tim Hoff
Hi Kumar,

You could start by using a timer to control SWFLoader.

-TH

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

 Can any one suggest me the approach for running 2 SWF files or any 
movie
 file each after 5 min.
 
  
 
 These means that if first movie file is running and even if it is 
not
 completed second one should start after 5 min and again after 5 
min first
 one should again start. 
 
  
 
  
 
  
 
 Thanks
 
 Kumar







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

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

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

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




[flexcoders] Re: menubar icon

2006-09-05 Thread iuliub
Just managed to include an icon into my MenuBar, using an xml as 
dataProvider.

However, any ideeas how I could get a reference to the icon instance 
of a menu item?
(in case, I'd need to rescale or reposition it)

Iuliu

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

   I never could get this to work.  I'd like to see a simple 
working sample
   app myself.
  
  
  
   Tracy
 
 hello Tracy and Doug,
 
 Here is using actionscript, I use it with amfphp to fetch the menu 
from 
 database:
 
 The secret is: don't use string in icon field, use a class name in 
the 
 icon field and it work for Panel, MenuBar and anything more that 
use icons.
 
 Get the source here:
 http://www.wendelmaques.com.br/MenuBar_icons.zip
 
 
 Here is the code (for list archive):
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 xmlns=*
 layout=vertical
 horizontalAlign=left
 creationComplete=initApp();
 pageTitle=MenuBar with icons using ActionScript
 
 mx:Script
 ![CDATA[
 
 // for icons visit: http://www.famfamfam.com/
 // get and save inside source dir
 
 [Embed(source=www.famfamfam.com/lab/icons/asterisk_orange.png)]
 [Bindable] public var asterisk_orange:Class;  
 
 [Embed(source=www.famfamfam.com/lab/icons/page_red.png)]
 [Bindable] public var page_red:Class; 
 
 [Embed(source=www.famfamfam.com/lab/icons/folder_page.png)]
 [Bindable] public var folder_page:Class;  
 
 [Bindable] public var main_menu:Object =
 {label:mx, children: [
 {icon:asterisk_orange,label:Containers, children: [
   {icon:page_red,label:Accordian, children:[]},
   {icon:page_red,label:DividedBox, children: [
   {icon:folder_page,label:BoxDivider.as, 
data:BoxDivider.as},
   {icon:folder_page,label:BoxUniter.as, 
data:BoxUniter.as}]},
   {icon:page_red,label: Grid, children:[]}]},
 {icon:asterisk_orange,label: Controls, children: [
   {icon:page_red,label: Alert, data: Alert.as},
   {icon:page_red,label: Styles, children: [
   {icon:folder_page,label: AlertForm.as, 
data:AlertForm.as}]},
   {icon:page_red,label: Tree, data: Tree.as},
   {icon:page_red,label: Button, data: Button.as}]},
 {icon:asterisk_orange,label: Core, children:[]}
 ]};
 private function initApp():void {
 menu.dataProvider=main_menu;  
 }
 
 ]]
 /mx:Script
 mx:MenuBar iconField=icon id=menu/
 /mx:Application
 
 --
   wendel, msn: [EMAIL PROTECTED]
   http://www.wendelmaques.com.br/







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

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

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

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




[flexcoders] Re: FocusOut ??

2006-09-05 Thread Rich Tretola
Anyone from Adobe ever have a chance to look into this?

Rich



On 8/31/06, Rich Tretola [EMAIL PROTECTED] wrote:
 I am having an issue where the focusOut on a text input will run the
 function that I have assigned but will then return focus to the
 calling text input.  The following code shows this occuring in a
 simple example.  Just put your focus on the top text input and then
 tab out.  You will see the alert and you can see the cursor in the 2nd
 text input underneath the alert but, closing the alert then returns
 the focus back to the top text input.

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Script
 ![CDATA[
 private function doSomething():void{
 mx.controls.Alert.show('t1 = ' + t1.text);
 }
 ]]
 /mx:Script


 mx:TextInput id=t1 text=Hello focusOut=doSomething() /
 mx:TextInput id=t2 /
 /mx:Application


 Rich



-- 
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com


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

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

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

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




[flexcoders] Re: getDefinitionByName

2006-09-05 Thread Daniel Freiman



nevermind, got it to work, still can't figure out what I changed.On 9/5/06, Daniel Freiman [EMAIL PROTECTED]
 wrote:I want to use getDefinitionByName in the flash.utils package to get a class by it's name. I've tried the example in the language reference using Sprite and that works fine but when I use flex classes it doesn't seem to work (I've tried classes I've made and 
mx.controls.ComboBox). Is there a limitation of this function that I'm missing?Dan



__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Cairngormstore for flex 2

2006-09-05 Thread Paolo Bernardini



Hi

great that's what was I was waiting for.

I found a little bug though, it is something that I already experienced, basically if you quickly rollover back and forward the image of the product on the product details panel, the image moves up. Like I said I had this problem too and is due to the zoom effect, I'm not sure why.


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Confirmed Bug: SOAP request construction with .NET web service... again

2006-09-05 Thread ben.clinkinbeard
Just minutes after posting my last message I received another email
from Adobe confirming that engineering is working on fixes to all 3
bugs I've encountered while dealing with .NET web services. They've
assured me that they'll be fixed in the first update release for Flex
2 and possibly even sooner via a hotfix.

It really is encouraging to see Adobe's willingness and ability to
make improvements and ensure Flex is as rock solid as possible. Thanks
Adobe!

Ben

--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:

 Just for the sake of record, Adobe has just notified me that this is
 indeed a bug. I sure hope some WebService fixes are in that dot
release...
 
 Ben
 
 --- In flexcoders@yahoogroups.com, ben.clinkinbeard
 ben.clinkinbeard@ wrote:
 
  I have already come across a couple of (confirmed by Adobe support)
  bugs with the way Flex constructs SOAP requests when using .NET web
  services and am wondering if I've found a third. I suppose this could
  be the expected behavior but it seems awfully weird to me. Part of the
  request that my web service expects is a ContainersToRetrieve node,
  which contains 1 or more child ContainerType nodes. Like this:
  
  ContainersToRetrieve
ContainerTypeIndustryTrends/ContainerType
ContainerTypeRPRSelections/ContainerType
  /ContainersToRetrieve
  
  When constructing the request in MXML, I have discovered that if I am
  only sending one ContainerType argument that I need to omit the
  ContainerType node and put the contents directly inside
  ContainersToRetrieve. Like this:
  
  ContainersToRetrieve
  IndustryTrends
  /ContainersToRetrieve
  
  But if I need to send more than one I have to include the
  ContainerType nodes in my MXML, like this:
  
  ContainersToRetrieve
  ContainerType
  IndustryTrends
  /ContainerType
  ContainerType
  RPRSelections
  /ContainerType
  /ContainersToRetrieve
  
  Is this how this should work? I am including my entire WebService tag
  below. Thanks in advance.
  
  Ben
  
  mx:WebService id=ws wsdl=http://mysite.com/WebService.asmx?WSDL;
  useProxy=false
  fault=getTrendsFault(event) result=getTrendsResult(event)
  
  mx:operation name=GetDocument resultFormat=e4x
  mx:request
  EnterpriseId1/EnterpriseId
  DocumentTypeRPR-EBD/DocumentType
  ContainersToRetrieve
  ContainerType
  IndustryTrends
  /ContainerType
  ContainerType
  RPRSelections
  /ContainerType
  /ContainersToRetrieve
  MetadataToRetrieve
  RPRDocumentHistory
  /MetadataToRetrieve
  /mx:request
  /mx:operation
  /mx:WebService
 








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

2006-09-05 Thread Daniel Freiman



I want to use getDefinitionByName in the flash.utils package to get a class by it's name. I've tried the example in the language reference using Sprite and that works fine but when I use flex classes it doesn't seem to work (I've tried classes I've made and 
mx.controls.ComboBox). Is there a limitation of this function that I'm missing?Dan

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: how to show/hide a line in a chart

2006-09-05 Thread Ely Greenfield








Ah, yeah, actually I know why it's not working. My 
head is pretty rusty on the Flex 1.5 code ;)


In Flex 1.5, series are _not_ visual objects. Instead, they 
manage visual objects. As such, they don't have a _visible property 
themselves. I don't have the code in front of me, but 
this:


series[i].peer._visible = true/false;

might work. If that, I'll have to go dig up the code 
to answer you. 

Either way, be aware that what you're trying to do is 
definintely _not_ supported in F1.5 and the same code won't work when you 
eventually move to F2.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
shemeshkaleSent: Saturday, September 02, 2006 11:47 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
how to show/hide a line in a chart


Ely,that would be the greatest solution - but unfortunately its NOT 
working.any idea why? (again: i m with flex 1.5)--- In [EMAIL PROTECTED]ups.com, 
"Ely Greenfield" [EMAIL PROTECTED]. wrote:  
 You can get at the nth lineSeries as:   
myChart.series[i]._visible = true/false;  
Ely.
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Which chart was clicked

2006-09-05 Thread Ely Greenfield








You've got three options:

1) shove the id off into a member field, and grab it when 
the RO returns. This is the least well designed response, since it can 
break in use cases where you've got multiple requests out and you don't just 
want last-out-wins. Might be OK for your use case 
though.

2) send the id up to the RO, and have it include it in the 
response. A little wasteful, since the RO doesn't care about the id, but 
in general this 'cookie' pattern is a way to maintain state across RO 
calls.

3) use closures. you could do something like 
this:


private function 
chartClickHandler(e:MouseEvent):void
{
 var id:String = 
UIComponent(e.currentTarget).id;
 var roCB:Function = 
function(e:ResultEvent):void
 {
 nameList = event.result as 
ArrayCollection;
 currentState = 
"showNames";
 gridPanel.title = 
id;
 
myRemoteObject.getNomeForNames.removeEventListener("result",roCB); 
}
 
myRemoteObject.getNomeForNames.addEventListener("result",roCB);
 
myRemoteObject.getNomeForNames(id);}

PieChart id="..." click="chartClickHandler(event);" ... 
/

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of dffmycoSent: 
Tuesday, September 05, 2006 8:28 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Which chart was 
clicked


I have 3 pie charts which when clicked run the same remoteObject method. 
Is there a way within the method that I can determine which pie chart was 
clicked. I want to pass the id of the clicked chart as a variable in the 
result function of the remoteObject method.Thanks, 
Davemx:PieChart id="Citrus" 
click="myRemoteObject.getNomeforNames('Citrus')" 
showDataTips="true" 
dataProvider="{citrusData}"/mx:RemoteObjectid="myRemoteObject"destination="ColdFusion"showBusyCursor="true" 
source="fungaldatabases.fungaldatabasesstats.stats" 
fault="Alert.show(event.fault.faultString, 
'Error');"mx:method name="getNomeforNames" 
result="showNames(event)"/mx:method/mx:RemoteObjectpublic 
function 
showNames(event:ResultEvent):void{nameList=event.result as 
ArrayCollectioncurrentState = "showNames"; gridPanel.title = 'whould 
like to use the id of the chart selected'}
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] MAX Hotel/Lodging on the cheap

2006-09-05 Thread Tom Ortega



I'll be going to MAX and will probably have some spare space. I was wondering if anyone still needed someplace to crash. The Venetian is costly at $250 a night. I'll have a 2 bdroom timeshare thing for the entire week, with probably a few pull out couches. Granted, it won't be at the Venetian, but it will be within walking distance. It'll cost me roughly $900 for the week. I think we could fit 6 people comfortably, and that would break down to only $150 for the week per person, wy cheaper than $1750 for a week at the Venetian.
If anyone is interested, feel free to message me offline. No need to clutter up the board with this.Thanks,Tom

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Could not load WSDL of .NET WebService in Flex 1.5

2006-09-05 Thread Pablo Apanasionek





Hey 
folks!

I've searched for 
it in the archive and in Adobe, found some examples, but it seems to be 
something hidden on this one.

I've created a 
sample web service with ASP.NET, published it and browsing it normally. Its 
name: Service1.asmx (very samplistic name)

I've coded 
the WebService tag in Flex, using wsdl=http://localhost/FlexServices/Service1.asmx?WSDL" (as found on Adobe example http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19327). 


However, the 
example seems to work, while my WSDL throws Could Not Load WSDL error message 
(without flex-proxy).Using the proxy, it results in "Connection 
refused".

I've tested my 
WSDL with Online wsdl Validatorand works. 
Any hint/step I could have missed on this?

TIA,
-Pablo Gustavo 
Apanasionek
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Confirmed Bug: SOAP request construction with .NET web service... again

2006-09-05 Thread Franck de Bruijn












I second that, but also thanks to you Ben!



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: Tuesday, September 05, 2006
6:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Confirmed Bug: SOAP request construction with .NET web service... again











Just minutes after posting my last message I received
another email
from Adobe confirming that engineering is working on fixes to all 3
bugs I've encountered while dealing with .NET web services. They've
assured me that they'll be fixed in the first update release for Flex
2 and possibly even sooner via a hotfix.

It really is encouraging to see Adobe's willingness and ability to
make improvements and ensure Flex is as rock solid as possible. Thanks
Adobe!

Ben

--- In [EMAIL PROTECTED]ups.com,
ben.clinkinbeard
ben.clinkinbeard@... wrote:

 Just for the sake of record, Adobe has just notified me that this is
 indeed a bug. I sure hope some WebService fixes are in that dot
release...
 
 Ben
 
 --- In [EMAIL PROTECTED]ups.com,
ben.clinkinbeard
 ben.clinkinbeard@ wrote:
 
  I have already come across a couple of (confirmed by Adobe support)
  bugs with the way Flex constructs SOAP requests when using .NET web
  services and am wondering if I've found a third. I suppose this could
  be the expected behavior but it seems awfully weird to me. Part of
the
  request that my web service expects is a ContainersToRetrieve
node,
  which contains 1 or more child ContainerType nodes. Like this:
  
  ContainersToRetrieve
  ContainerTypeIndustryTrends/ContainerType
  ContainerTypeRPRSelections/ContainerType
  /ContainersToRetrieve
  
  When constructing the request in MXML, I have discovered that if I am
  only sending one ContainerType argument that I need to omit the
  ContainerType node and put the contents directly inside
  ContainersToRetrieve. Like this:
  
  ContainersToRetrieve
  IndustryTrends
  /ContainersToRetrieve
  
  But if I need to send more than one I have to include the
  ContainerType nodes in my MXML, like this:
  
  ContainersToRetrieve
  ContainerType
  IndustryTrends
  /ContainerType
  ContainerType
  RPRSelections
  /ContainerType
  /ContainersToRetrieve
  
  Is this how this should work? I am including my entire WebService tag
  below. Thanks in advance.
  
  Ben
  
  mx:WebService id=ws wsdl=http://mysite.com/WebService.asmx?WSDL
  useProxy=false
  fault=getTrendsFault(event)
result=getTrendsResult(event)
  
  mx:operation name=GetDocument resultFormat=e4x
  mx:request
  EnterpriseId1/EnterpriseId
  DocumentTypeRPR-EBD/DocumentType
  ContainersToRetrieve
  ContainerType
  IndustryTrends
  /ContainerType
  ContainerType
  RPRSelections
  /ContainerType
  /ContainersToRetrieve
  MetadataToRetrieve
  RPRDocumentHistory
  /MetadataToRetrieve
  /mx:request
  /mx:operation
  /mx:WebService
 







__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Could not load WSDL of .NET WebService in Flex 1.5

2006-09-05 Thread Franck de Bruijn












Hi Pablo,



Just guessing I can think of 2 reasons:


 Are
 you hosting your flex application on the webserver on localhost too? Or
 are you running the application through FlexBuilder (with run as
 Flex Application). Myself, I sometimes experience issues with this,
 although sometimes it appears to work. What always works is to put your
 flex application on your web server and run it from there (http://localhost/ . /youApp.html)
 Does
 your WSDL use import statements? And do these import statements load from
 anything different than localhost (could be for example
 127.0.0.1 or your machines IP address)? Then, this could be your
 problem. This is due to the Flash security sandbox. After Flex has loaded
 your WSDL, it will also try to load your imported files. If these use a
 different host name than the host name your application is served from,
 Flex will complain.




A good exercise you always good to is use
an HTTP sniffer between your Flex app and your server (I personally use
Fiddler). Then you can effectively see the HTTP traffic going up and down from
your app to the server.



HTH,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Tuesday, September 05, 2006
6:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Could not
load WSDL of .NET WebService in Flex 1.5













Hey folks!











I've searched for it in the archive and in Adobe, found
some examples, but it seems to be something hidden on this one.











I've created a sample web service with ASP.NET, published
it and browsing it normally. Its name: Service1.asmx (very samplistic name)











I've coded the WebService tag in Flex, using wsdl=http://localhost/FlexServices/Service1.asmx?WSDL
(as found on Adobe example http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19327).












However, the example seems to work, while my WSDL throws
Could Not Load WSDL error message (without flex-proxy).Using the proxy,
it results in Connection refused.











I've tested my WSDL with Online
wsdl Validatorand works. Any hint/step I could have
missed on this?











TIA,





-Pablo Gustavo Apanasionek








__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: Flashvars using Application.application

2006-09-05 Thread Kyle

My html wrapper contains the normal scripts to check the flash
version, etc.. And the embed code looks like this:

object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
id=UserStats width=100% height=100%

codebase=http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab;
param name=movie value=UserStats.swf /
param name=quality value=high /
param name=bgcolor value=#869ca7 /
param name=allowScriptAccess value=sameDomain /
param name=flashvars value=id=123456
embed src=UserStats.swf quality=high 
bgcolor=#869ca7
width=100% height=100% name=UserStats 
align=middle
play=true loop=false quality=high allowScriptAccess=sameDomain
type=application/x-shockwave-flash
pluginspage=http://www.adobe.com/go/getflashplayer;
/embed
/object


What I am trying to access is the value of the id param that I am
passing in through flash vars. I have tried to accomplish this by
using a param, and also by simply attaching my variable string to the
end of my embed src (ex: myFile.swf?id=123456). None of this seems to
work...


Thanks,

Kyle


--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:

 This code looks ok to me. Can you post your html wrapper (or the
 relevant portion of the wrapper) so we can see exactly how the vars are
 being passed in?  
 
 matt horn
 flex docs
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Kyle
  Sent: Monday, September 04, 2006 11:30 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flashvars using Application.application
  
  
  I am continuing to have problems loading embedded variables 
  using the apllication.application method that is described 
  in the help manual.
  Below is the code that I am trying to run. On top of this my 
  html file has a param set with the type flashvars and the 
  value set to myName=KylemyHometown=Duluth. Any thoughts?
  
  Thanks,
  
  Kyle
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
  http://www.adobe.com/2006/mxml 
  creationComplete=initVars()
  mx:Script![CDATA[
  
  import mx.core.Application;
  // Declare bindable properties in Application scope.
  [Bindable]
  public var myName:String;
  [Bindable]
  public var myHometown:String;
  
  // Assign values to new properties.
  private function initVars():void {
  myName = Application.application.parameters.myName;
  myHometown = Application.application.parameters.myHometown;
  }
  ]]/mx:Script
  
  mx:VBox
  mx:HBox
  mx:Label text=Name: /
  mx:Label text={myName} fontWeight=bold/ /mx:HBox 
  mx:HBox mx:Label text=Hometown: / mx:Label 
  text={myHometown} fontWeight=bold/ /mx:HBox /mx:VBox 
  /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

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

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

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





Re: [flexcoders] Re: Flashvars using Application.application

2006-09-05 Thread Tom Bray



You'll need to add FlashVars as an attribute to the embed tag as well like this:embed FlashVars=id=123456...so that it works in non-IE browsers. I bet your code works in IE the way you have it.
HTH,TomOn 9/5/06, Kyle [EMAIL PROTECTED] wrote:













  




My html wrapper contains the normal scripts to check the flash
version, etc.. And the embed code looks like this:

object classid="">
			id=UserStats width=100% height=100%
		
codebase="" href="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" target="_blank" >http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab

			param name=movie value=UserStats.swf /
			param name=quality value=high /
			param name=bgcolor value=#869ca7 /
			param name=allowScriptAccess value=sameDomain /
param name=flashvars value=id=123456
			embed src="" quality=high bgcolor=#869ca7
width=100% height=100% name=UserStats align=middle
play=true loop=false quality=high allowScriptAccess=sameDomain
type=application/x-shockwave-flash
pluginspage=http://www.adobe.com/go/getflashplayer
/embed
/object

What I am trying to access is the value of the id param that I am
passing in through flash vars. I have tried to accomplish this by
using a param, and also by simply attaching my variable string to the
end of my embed src (ex: myFile.swf?id=123456). None of this seems to
work...

Thanks,

Kyle

--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:

 This code looks ok to me. Can you post your html wrapper (or the
 relevant portion of the wrapper) so we can see exactly how the vars are
 being passed in?  
 
 matt horn
 flex docs
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Kyle
  Sent: Monday, September 04, 2006 11:30 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flashvars using Application.application
  
  
  I am continuing to have problems loading embedded variables 
  using the apllication.application method that is described 
  in the help manual.
  Below is the code that I am trying to run. On top of this my 
  html file has a param set with the type flashvars and the 
  value set to myName=KylemyHometown=Duluth. Any thoughts?
  
  Thanks,
  
  Kyle
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
  http://www.adobe.com/2006/mxml 
  creationComplete=initVars()
  mx:Script![CDATA[
  
  import mx.core.Application;
  // Declare bindable properties in Application scope.
  [Bindable]
  public var myName:String;
  [Bindable]
  public var myHometown:String;
  
  // Assign values to new properties.
  private function initVars():void {
  myName = Application.application.parameters.myName;
  myHometown = Application.application.parameters.myHometown;
  }
  ]]/mx:Script
  
  mx:VBox
  mx:HBox
  mx:Label text=Name: /
  mx:Label text={myName} fontWeight=bold/ /mx:HBox 
  mx:HBox mx:Label text=Hometown: / mx:Label 
  text={myHometown} fontWeight=bold/ /mx:HBox /mx:VBox 
  /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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Flash Quiz in Flex

2006-09-05 Thread flexnewbie06
Just wondering if anyone has any insight on this. 

I load a simple flash quiz in the SWFLoader component in my Flex app 
and the QuizTrack seems to stop keeping score.  When the quiz comes to 
the last frame, where it calculates total wrong, total correct and 
total score they are all 0's.  Running outside of Flex, of course this 
works fine.

Any ideas?

Thank you in advance!
Jenn







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

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

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

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





Re: [flexcoders] Re: Flashvars using Application.application

2006-09-05 Thread Adam Dorritie
On 9/5/06, Kyle [EMAIL PROTECTED] wrote:

  My html wrapper contains the normal scripts to check the flash
  version, etc.. And the embed code looks like this:

code snipped

Kyle,

It looks like what may be biting you is the same thing that bit me for
a while.  The code you posted looks like the code inside the
noscript tag in the template HTML.  You also need to look at the
javascript just above the noscript tag (expanding the comment
text).  There you'll find a call to AC_FL_RunContent () for your
application.  This is the path that the page normally takes.  I
appended what I needed to the existing flashvars parameter, but you
could easily just add another parameter line, I would expect.

Hope this helps.

Adam


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

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

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

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




[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5

2006-09-05 Thread Pablo Apanasionek





Franck,

thanks for your 
reply. I've tested so far putting my WSDL on another server (IIS) and putting 
the absolute URL on the WebService tag, not without enabling that URL in my 
flex-config.xml web-service-whitelist. This has produced the same result (Could 
Not Load WSDL).

The URL to the 
WSDL is http://www.dreamovate.com.ar/Service1.asmx?WSDL

I've come to two 
hypothetical scenarios: 

a) my WSDL is 
malformed or incompatible with Flex.
b) the 
configuration of my Flex Server is not allowing the connection. (Though it does 
to the Adobe Example wsdl @ webservicesx.com)

TIA,
-Pablo Gustavo Apanasionek
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] webservice lastResult to a ComboBox

2006-09-05 Thread Kristian




Hi.
Hope someone can help me. 
I need to put the result from a webservice in a ComboBox.
The webservice method returns a java.util.List.

Any one who can show me how?Uttrykk deg umiddelbart med Windows Live Messenger! Windows Live Messenger!
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: FocusOut ??

2006-09-05 Thread Peter Watson












Hi Rich,



When closed - a popup will return focus to
whatever element had it before the popup was opened.

So, even though the focus cursor is
showing in the second field - the focus isnt getting completely updated
in the focus manager to the second textField before the Alert popup open and
gets focus.



Its a timing issue - try delaying
your focusOut handler with a callLater() to give the focus manager time to
switch focus to the next field in the main app - then it should function the
way you want.



mx:TextInput
id=t1 text=Hello
focusOut=callLater(doSomething) /



Let me know if that does the trick



regards,

peter











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola
Sent: Tuesday, September 05, 2006
11:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FocusOut
??











Anyone
from Adobe ever have a chance to look into this?

Rich

On 8/31/06, Rich Tretola [EMAIL PROTECTED]com
wrote:
 I am having an issue where the focusOut on a text input will run the
 function that I have assigned but will then return focus to the
 calling text input. The following code shows this occuring in a
 simple example. Just put your focus on the top text input and then
 tab out. You will see the alert and you can see the cursor in the 2nd
 text input underneath the alert but, closing the alert then returns
 the focus back to the top text input.

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 mx:Script
 ![CDATA[
 private function doSomething():void{
 mx.controls.Alert.show('t1 = ' + t1.text);
 }
 ]]
 /mx:Script


 mx:TextInput id=t1 text=Hello
focusOut=doSomething() /
 mx:TextInput id=t2 /
 /mx:Application


 Rich


-- 
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: webservice lastResult to a ComboBox

2006-09-05 Thread meteatamel
Can you more specific? It would be useful if you can post the code
that you have right now and we can see what we need to change to make
it work.



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

 Hi.
 Hope someone can help me. 
 I need to put the result from a webservice in a ComboBox.
 The webservice method returns a java.util.List.
  
 Any one who can show me how?
 _
 Try Live.com - din egen kjappe hjemmeside med alle tingene du bryr
deg om, på ett sted.
 http://www.live.com/getstarted








--
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] ComboBox Multiple Selection

2006-09-05 Thread Daniel
Im trying to create a multiple-selection combobox. 
I'll appreciate any help you can give. 
Thanks in advance. 
Daniel






--
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] Tree Component expandItem Animation true problem.

2006-09-05 Thread Deepa Subramaniam










This is because of the way the depthColors
are drawn. They are only drawn in drawRowBackgrounds() which gets called in
updateDisplayList() so the row background colors are not tweened during the
animation. Ive added an enhancement request to allow for tweening of
background row colors during the animation.



Possible workarounds include overriding
onTweenUpdate() and manually tweening the backgroundColor of each row yourself.
You might be able to get away with writing your own TreeItemRenderer where each
UITextField was encompassed in an HBox with backgroundColor set. However I
think since renderers are re-used, youd have to write some code to make
sure that as each renderer is re-used its backgroundColor is changed to
maintain the color ordering prescribed by that rows depth.



If you find the shifting of colors too
ugly, you can change your openDuration to 0 so that there is no animation and
the items just open with the correct background row color. 



HTH, 

-deepa











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mick Robin
Sent: Tuesday, September 05, 2006
7:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree Component
expandItem Animation true problem.







Hi,











I got a problem with the Tree Component. I have set the following
properties for theTree componenet in my application:











labelField=@label





width=100% 
height=100%
defaultLeafIcon=
undefined 
folderOpenIcon=undefined
folderClosedIcon=undefined
disclosureClosedIcon=undefined
disclosureOpenIcon=undefined
fontSize=10

depthColors=
[0xF4C406,0xff,0xF4C403]
borderStyle=
none
useRollOver=false
selectionDuration=0
selectionColor= 0x99











Now when I amtrying to call 





Tree.expandItem(event.currentTarget.selectedItem,true,true) method.It
opens the child items.Only thing the animation for the parent node does
not work.Only the labels get animated but the color behind the label doesnot
animate it suddely changes it position.I want the label and color to move at
the same time.Any help??











Thanks in advance





Mick















 







Do you Yahoo!?
Get on board. You're
invited to try the new Yahoo! Mail. 





__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Error icon on my Project folder, but no errors!

2006-09-05 Thread Clarke Bishop



My FlexBuilder 2 project folder has an error icon (Little red X) and when I launch the project, it gives me the There are errors ... dialog box. But, No errors show up under the Problems tab and there are no error icons anywhere else in my project! And, my project seems to run fine.

How can I clear this error, or find out what it is unhappy with? I've already cleaned the project.
Thanks for any ideas!
 Clarke

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Could not load WSDL of .NET WebService in Flex 1.5

2006-09-05 Thread Franck de Bruijn












Hi Pablo,



I wrote the following small test
application:



mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute

 mx:Button
x=167 y=108 label=Click me!
click=doClickMe();/

 

 mx:Script

 ![CDATA[

 import mx.rpc.soap.LoadEvent;

 import
mx.rpc.events.FaultEvent;

 import mx.rpc.soap.WebService;

 import
mx.controls.Alert;

 

 private function doClickMe():void

 {

 var
ws:WebService;

 

 ws
= new WebService();

 ws.addEventListener(LoadEvent.LOAD,
handleWsLoaded);

 ws.addEventListener(fault,
handleWsError);

ws.loadWSDL(Service.wsdl);

 }

 

 public
function handleWsError(aEvent:FaultEvent):void 

 {

 Alert.show(fault
is:  + aEvent.fault.faultString);

 }

 

 public
function handleWsLoaded(aEvent:LoadEvent):void

 {

 Alert.show(Loaded!);

 }

 ]]

 /mx:Script

/mx:Application



The Service.wsdl file I downloaded from
the URL you indicated and saved it besides my test application MXML file. The
WSDL loaded without any problem. I did not try to invoke one of your
operations, since this will probably not work from a Flex app (security
constraint).



Could you try to get this to work?



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Tuesday, September 05, 2006
9:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Could
not load WSDL of .NET WebService in Flex 1.5













Franck,











thanks for your reply. I've tested so far putting my WSDL
on another server (IIS) and putting the absolute URL on the WebService tag, not
without enabling that URL in my flex-config.xml web-service-whitelist.
This has produced the same result (Could Not Load WSDL).











The URL to the WSDL is http://www.dreamovate.com.ar/Service1.asmx?WSDL











I've come to two hypothetical scenarios: 











a) my WSDL is malformed or incompatible with Flex.





b) the configuration of my Flex Server is not allowing the
connection. (Though it does to the Adobe Example wsdl @ webservicesx.com)











TIA,





-Pablo Gustavo Apanasionek








__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: webservice lastResult to a ComboBox

2006-09-05 Thread Franck de Bruijn












Hi Kristian,



Presuming your webservice method returns a
list of Strings, the result from the webservice operation (ResultEvent.result) is
a dynamic object containing a Flex Array object. Probably if you pull this
Array object out you can assign it to the dataprovider property
of a combobox.



The Flex debugger is an excellent tool
here to investigate what Flex actually makes out of your webservice result.



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of meteatamel
Sent: Tuesday, September 05, 2006
10:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
webservice lastResult to a ComboBox











Can you more specific? It would be useful if you can
post the code
that you have right now and we can see what we need to change to make
it work.

--- In [EMAIL PROTECTED]ups.com,
Kristian [EMAIL PROTECTED]. wrote:

 Hi.
 Hope someone can help me. 
 I need to put the result from a webservice in a ComboBox.
 The webservice method returns a java.util.List.
 
 Any one who can show me how?
 __
 Try Live.com - din egen kjappe hjemmeside med alle tingene du bryr
deg om, på ett sted.
 http://www.live.com/getstarted







__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: strange problem with components in TabNavigator

2006-09-05 Thread Horváth Balázs
Thanx a lot :- ) it works

Horváth Balázs

-Original Message-
By default, the children of ViewStacks (and consequently
TabNavigators, since they just wrap a ViewStack) are not created until
they are shown. You can set creationPolicy = all to get around this.

HTH,
Ben
http://www.returnundefined.com/



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

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

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

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




[flexcoders] RemoteObject Setup

2006-09-05 Thread Darren Houle
Can anyone point me to concise setup instructions for starting to use 
RemoteObjects?

For instance...

1.  Make sure you have CF 7.0.2
2.  Write some CFCs and put them here [...]
3.  Edit the remoting-config.xml in CF and add this code [...] to point to 
your CFCs
4.  Create remoteObject tags in mxml that look like this [...]
5.  etc

Something that spells it out fairly simply?

Thanks!
Darren




--
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] How to launch an executable file in ActionScript 3?

2006-09-05 Thread efeminella
I was wondering if anyone has previously launched an .exe from
ActionScript 3.0 / Flex 2. 

I am currently building an application in which the user will need to
have the ability to launch JDeveloper from Flex 2. 

I know that this was possible in ActionScript 2.0 via FSCommand as
long as the swf was running in the stand alone version of Flash Player
as oppossed to a .swf running in a browser (which is what I need to do)

Any information or insight would be greatly appreciated.

Sincerely,

Eric Feminella
Senior Software Developer
Enterra Solutions, LLC





--
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] RemoteObject Setup

2006-09-05 Thread greg h



Darren,

You might want to check out Ben Forta's article up on DevNet on Using
ColdFusion with Flex: Creating and Running a Phone Selector.
www.adobe.com/devnet/flex/articles/coldfusionflex_part3.html

Ben's article provides a zip file and detailed instructions. All files needed are provided for installing:

  a CFC that reads an XML file
  Flex 2 MXML files that use mx:RemoteObject to call the
CFC which returns text that is presented in the Flex 2 app along with
appropriate gif images.

Altogether, it is a pretty simple, straightforward starter application.

If you can get Ben's Phone Selector application working, then you will
have a working Flex 2/CF configuration, and a working application that
you can model your own applications on.

Please post back if you encounter any problems, or if this sample application is not consistent with what you are looking for.

hth,

g

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Setting RollOverColor in LinkBar

2006-09-05 Thread jdixon428
Hi,

I posted this yesterday, but did not see it show up.  Maybe everyone 
was enjoying the long holiday weekend.  So I will try again.



I have an HBox with a backgroundImage. I then have a LinkBar with 
several menu choices on top of the HBox.

How can I set the LinkBar RollOverColor to NOT display any color.

I guess I am saying transparent or something of that nature.



Bottom line, I can't figure out how to do it.

Any suggestions?

Regards,

John







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

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

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

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





[flexcoders] Re: Change datagrid rollover highlight

2006-09-05 Thread Tim Hoff
Hi Shannon,

Two ways that I can think of:

1. Set the Grid's selectable property to false and handle rollOver 
and selection in the itemRenderer.

2. Subclass DataGrid and override the mouseOverHandler function.  
Either eliminate the fill methods for rollOverColor or only fill the 
current cell; not every column.

-TH

--- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote:

 Anyone have code that changes the rollover on a datagrid from the 
entire row
 to just a single cell?
  
 Or, at the very least, just disables the rollover, so I can do a 
rollover in
 the item renderer?
  
 Shan
 
 -- 
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.405 / Virus Database: 268.11.7/437 - Release Date: 
9/4/2006








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

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

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

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





[flexcoders] Flex + .NET Web Services irritations

2006-09-05 Thread John C. Bland II



Flex seems to have problems hitting .NET web services. Specifically, it has problems handling method overloads and, for whatever reason, can't seem to work with working .NET WS's. I setup the operation, etc just as examples showed to make sure my own knowledge wasn't lacking and it still didn't work right.
The errors are as follows (extracted from my Google searches the other day):* The Proxy class does not implement getDescendants. It must be overridden by a subclass.* [WSDLError faultString=Element :SiteProvider_GetBySiteID not resolvable faultCode=
WSDL.BadElement faultDetail=null]The second one is odd because I KNOW the method is there AND that it works. I can hit the wsdl with another tool and it works perfectly fine.Any ideas?
-- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2
Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them
Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex + .NET Web Services irritations

2006-09-05 Thread Tim Hoff



Hi John,
Without seeing the code, the first error seems E4X related. I'm not sure if this will help you with the second error, but natively Flex doesn't accept .Net datasets without receiving this error. If that's the case, you can solve this by casting the dataset to a class that is returned by the webservice. Here's an ASP.Net webservice code sample:
http://www.cflex.net/showFileDetails.cfm?ObjectID=418Object=FileChannelID=1
-TH--- In flexcoders@yahoogroups.com, "John C. Bland II" [EMAIL PROTECTED] wrote: Flex seems to have problems hitting .NET web services. Specifically, it has problems handling method overloads and, for whatever reason, can't seem to work with working .NET WS's. I setup the operation, etc just as examples showed to make sure my own knowledge wasn't lacking and it still didn't work right.  The errors are as follows (extracted from my Google searches the other day): * The Proxy class does not implement getDescendants. It must be overridden by a subclass. * [WSDLError faultString="Element :SiteProvider_GetBySiteID not resolvable" faultCode="WSDL.BadElement" faultDetail="null"]  The second one is odd because I KNOW the method is there AND that it works. I can hit the wsdl with another tool and it works perfectly fine.  Any ideas?  --  John C. Bland II Chief Developer Katapult Media, Inc. - www.katapultmedia.com --- Biz Blog - http://blogs.katapultmedia.com/jb2 Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - "Christian Products for Those Bold Enough to Wear Them" Home of FMUG.az - http://www.gotoandstop.org Home of AZCFUG - http://www.azcfug.org

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] FW: Set a LinkButton icon class at run time

2006-09-05 Thread Pete Capra





Hi 
Hilary,

Thanks for your help, it worked a 
treat!

Kind Rgds,

Pete

Hi Pete,
Not sure about the LinkButton, but I have set the icon of a PopUpButton at 
runtime.

I embeded the icon:
[Embed(source='AeonGraphical.swf', 
symbol='BusyCursor')]private var loadingIcon:Class;

and then used setStyle to show and remove it:
componentInstance.setStyle("icon",loadingIcon);
componentInstance.setStyle("icon",null);

Hilary
www.bridel.org

On 9/5/06, Pete Capra 
[EMAIL PROTECTED] 
wrote: 

  
  
  Hi there, 
  
  
  Does anyone know if it is possible to set a 
  LinkButtons icon class at runtime? I want to set an icon depending on the data 
  that is sent to it (I have it set up as a custom component). 
  
  
  Kind Rgds,
  
  Pete
  
  Pete CapraInformation Systems CoordinatorCapra 
  Ryan Online Learningp. (617) 3208 9455m. 0411 043 305 f. (617) 
  3208 9855a. PO Box 1744 Springwood Q 4127www.capraryan.com[EMAIL PROTECTED] 
  -- 
Hilary--  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Save image at server-side with ColdFusion

2006-09-05 Thread greg h



Antares,

This reply offers only possible leads, rather than a complete solution. Perhaps others can provide more complete examples.

There was a thread on this list earlier this year. Following are
two links for two post from that thread (each with links at the bottom
of the page all of the other posts on the thread):
www.mail-archive.com/flexcoders@yahoogroups.com/msg24058.html
www.mail-archive.com/flexcoders@yahoogroups.com/msg24111.html

And this is another potentially related post from two weeks ago:
www.mail-archive.com/flexcoders@yahoogroups.com/msg38436.html

hth,

gOn 9/5/06, Michael Klishin [EMAIL PROTECTED] wrote:













  



Hi,

Is there a well-known way to save an image from bitmap data into the
file on server with ColdFusion? I never worked with it and struggle to
find an example...

Thanks!

-- 
Michael 'Antares' Klishin

novemberain.com | flexwiki.novemberain.com | 
osflash.org/red5 | rubyonrails.ru


  


 













__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] mx.effects.tween

2006-09-05 Thread Samúel Jónasson






Hi,

Do you know of any AS3 libraries that I can use instead
mx.effects.tween? Are there any available tweening engines for AS3.

I am using Flex Builder 2 to build my Actionscript 3 project and I
thought I could use the mx.effects.Tween class but it looks like I
can't. I get errors like this one when I try:

Unable to resolve a class for ResourceBundle: core.

Sammi

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







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

2006-09-05 Thread Benjamin Dobler










Hi,



i`m looking for a good way to implement overlays. Something
like a sidebar that hides outside the application and if an event occurs
animates on stage and lies above all gthe other content. I`ve seen an example
of this but can not find it. 



Thanx



Benjamin




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Embed an activex in flex

2006-09-05 Thread Diego Guebel
Hi there,
I wonder if there is any way to embed an activex in flex.
I was googling with not success.
Thanks in advance.
Diego.


--
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] Get result on database insert...

2006-09-05 Thread Tracy Spratt












This is not difficult. What have you
tried, what is not working?



If your webservice operation call returns
the id then it is available via binding or in the event.result object.



Tracy











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Ken Bromberger
Sent: Tuesday, September 05, 2006
3:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Get result
on database insert...















Hi All,



I havent solved my issue here so I wanted to repost



Basically I am wondering if it is possible or what the correct
method is for binding the result of a webservice call. Thanks!




I have a webservice that returns the new ID for the database as a result of a
record insert. Is there a way to capture this when the webservice inserts the
record? I have been looking at the Handling result and fault events on live
docs but dont quite see how I bind the result. Any tips??



Thanks!
- Ken












__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Continue running SWF

2006-09-05 Thread Tracy Spratt












Look into Timer: http://livedocs.macromedia.com/flex/2/langref/flash/utils/Timer.html

Tracy











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kumar
Sent: Tuesday, September 05, 2006
10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Continue
running SWF













Can any one
suggest me the approach for running 2 SWF files or any movie file each after 5
min.



These means
that if first movie file is running and even if it is not completed second one
should start after 5 min and again after 5 min first one should again start. 







Thanks

Kumar








__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: AUTO DELETE ITEMS IN DATAGRID

2006-09-05 Thread Tracy Spratt












What are you expecting this to do:

datagrid2.selectedIndex.AutoB()



AutoB() is not a method of datagrid2.selectedIndex.



Tracy











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Nate Hardt
Sent: Monday, September 04, 2006
3:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: AUTO
DELETE ITEMS IN DATAGRID













Yeah if it's saying undefined method, you're going to want to make sure
you are calling the right function on the right object. From the code below it
looks like your DataGrid does not have an id, so try giving your datagrid an
id, then call removeItemAt on the dataProvider that goes with that id.







publicfunction AutoB():void {
 if (myDataGrid.dataProvider.length
= 2)
 {
 myDataGrid.dataProvider.removeItemAt(0);
 }
}

















mx:DataGrid id=myDataGriddataChange=AutoB()



































On Sep 4, 2006, at 11:17 AM, tonyx_788 wrote:







thanks for the help now this is what i came up with but i get this
error in my datagrid component undefined
method
any ideas?

private function AutoB():void{
if (_xlcdatagrid2.length = 2)
{
this._xlcdatagrid2.removeItemAt(0);
}
}

---
mx:Datagrid
dataChange=datagrid2.selectedIndex.AutoB() 


















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







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

2006-09-05 Thread Michael Schmalle



Hey,check out Sho's blog, he has a Drawer component that does exactly what you want.Peace, MikeOn 9/5/06, Benjamin Dobler 
[EMAIL PROTECTED] wrote:












  











Hi,



i`m looking for a good way to implement overlays. Something
like a sidebar that hides outside the application and if an event occurs
animates on stage and lies above all gthe other content. I`ve seen an example
of this but can not find it. 



Thanx



Benjamin







  













-- What goes up, does come down.

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Transform XML with external CSS styleSheet via htmlText

2006-09-05 Thread Mike Britton
?xml version=1.0 encoding=utf-8?
mx:Application creationComplete=initApp();
xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
 mx:Script
 ![CDATA[
 private function initApp():void
 {
 var htmlString:String = a
href='http://www.mikebritton.com'Visit this site to split hairs!/a;
 post_ta.htmlText = makePrettyLinks( htmlString );
 }

 private function makePrettyLinks(str:String):String
 {
 var pattern1:RegExp = /a/gi;
 var pattern2:RegExp = /a/gi;

 var firstPass:String = str.replace(pattern1,
bua);
 var secondPass:String = firstPass.replace(pattern2,
a/u/b);

 return secondPass;
 }
 ]]
 /mx:Script
 mx:TextArea id=post_ta backgroundColor=#DF width=100%
height=100% editable=false /
/mx:Application


Hopefully this formats correctly!  Email me at [EMAIL PROTECTED] if
it doesn't and you're still stuck.


Mike Britton







--
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] Bug in series class(es) regarding datatips

2006-09-05 Thread RBullotta
In the series class implementations (e.g. LineSeries), there appears to 
be a bug in the findDataPoints method that prevents dataTips from being 
displayed if filterData is set to false.

The line:

if (!isNaN(v.yFilter)  !isNaN(v.xFilter))

...looks like it should be:

if (!isNaN(v.y)  !isNaN(v.x))

Thanks in advance for taking a look.  Is there an easy workaround other 
than extending the LineSeries class and overriding this method

- Rick Bullotta/SAP Labs







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

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

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

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





[flexcoders] Re: Embed an activex in flex

2006-09-05 Thread RBullotta
Not directly, but you can use the Flex/AJAX bridge code to link Flex to 
the ActiveX via the browser's scripting engine.

- Rick





--
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] Firefox incompatible with ExternalInterface?

2006-09-05 Thread JClouz
I want to load a website from within my Flex application to a new browser
window.  When I use:

var request:URLRequest = new URLRequest(url);
navigateToURL(request,_blank);

It works perfectly in both IE and Firefox.  Problem is I need the window to
pop up behind the flex app, so the flex user isn't disturbed by it.  So now
I'm using an ExternalInterface class to call some javascript I have in my
html wrapper.

In my flex:
---

var f:String = goNewWin;
ExternalInterface.call(f,url);

In my Javascript:
--
SCRIPT LANGUAGE=JavaScript
function goNewWin(url) {
var
TheNewWin=window.open(url,'TheNewpop','toolbar=1,location=1,directories=1,st
atus=1,menubar=1,scrollbars=1,resizable=1');
TheNewWin.blur();  //this function sends the new window to the background
}
/SCRIPT


---
This works perfectly in IE for all links.   Unfortunately, in Firefox there
are problems.  Some webpages pop up and stay in the background, others pop
up in front.  All of them cause my Flex App to pseudo-crash, my backend can
still hear messages from it, but the client-side loses all ability to
receive messages back, as well as most intra-component event listening.  In
short, the externalInterface call crashes my App when its running in
Firefox.

Any ideas?  Thanks so much.

Jamie Clouser



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

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

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

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




[flexcoders] Re: Tree Component expandItem Animation true problem.

2006-09-05 Thread Mick Robin
Hi,

Thanks Deepa for ur solution.I have tried to use custom 
ItemRenderer.Tweening is working fine.But how I do I change the row 
backgroud color when user selects a row? is there any handler to 
chage the selected color.

I have used the following code in my ItemRenderer:

Inside the updateDisplayList:

 if(TreeListData(super.listData).hasChildren) {

   graphics.clear();
   graphics.beginFill(0xF4C403,1.0);
   graphics.lineStyle(1, 0xF4C403, 1.0);
   graphics.drawRect(0, 0, unscaledWidth, unscaledHeight); 
   graphics.endFill()
}

Thanks again for your reply.

regards,
Mick
--- In flexcoders@yahoogroups.com, Deepa Subramaniam 
[EMAIL PROTECTED] wrote:

 This is because of the way the depthColors are drawn. They are only
 drawn in drawRowBackgrounds() which gets called in 
updateDisplayList()
 so the row background colors are not tweened during the animation. 
I've
 added an enhancement request to allow for tweening of background 
row
 colors during the animation.
 
  
 
 Possible workarounds include overriding onTweenUpdate() and 
manually
 tweening the backgroundColor of each row yourself. You might be 
able to
 get away with writing your own TreeItemRenderer where each 
UITextField
 was encompassed in an HBox with backgroundColor set. However I 
think
 since renderers are re-used, you'd have to write some code to make 
sure
 that as each renderer is re-used its backgroundColor is changed to
 maintain the color ordering prescribed by that row's depth.
 
  
 
 If you find the shifting of colors too ugly, you can change your
 openDuration to 0 so that there is no animation and the items just 
open
 with the correct background row color. 
 
  
 
 HTH, 
 
 -deepa
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Mick Robin
 Sent: Tuesday, September 05, 2006 7:20 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Tree Component expandItem Animation true 
problem.
 
  
 
 Hi,
 
  
 
 I got  a problem with the Tree Component. I have set the following
 properties for theTree componenet in my application:
 
  
 
 labelField=@label
 
  width=100% 
height=100%
defaultLeafIcon= undefined  
folderOpenIcon=undefined
folderClosedIcon=undefined
disclosureClosedIcon=undefined
disclosureOpenIcon=undefined  
fontSize=10
depthColors= [0xF4C406,0xff,0xF4C403]
borderStyle= none   
useRollOver=false
selectionDuration=0
selectionColor= 0x99
 
  
 
 Now when I am trying to call 
 
 Tree.expandItem(event.currentTarget.selectedItem,true,true) 
method.It
 opens the child items .Only thing the animation for the parent 
node does
 not work.Only the labels get animated but the color behind the 
label
 doesnot animate it suddely changes it position.I want the label and
 color to move at the same time.Any help??
 
  
 
 Thanks in advance
 
 Mick
 
  
 
  
 
   
 
 
 
 Do you Yahoo!?
 Get on board. You're invited
 
http://us.rd.yahoo.com/evt=40791/*http:/advision.webevents.yahoo.com
/ma
 ilbeta  to try the new Yahoo! Mail.








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