Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-15 Thread Jeremy Lu




this is the snippet from my code library:

package
{
 import mx.containers.HBox;
 import mx.controls.CheckBox;
 
 public class CheckBox2 extends HBox{
  
  public function CheckBox2(){
   this.setStyle(horizontalAlign, center);
  }
  
  var c:mx.controls.CheckBox;
  
  override protected function createChildren():void{
   c = new CheckBox();
   this.addChild( c );
  }
  
  override public function set data(item:Object):void {

 super.data = "">

 if( item!=null ){
 c.selected = (item.Sent == 1)?true:false ;
 }

 }
  
  
 }
}
=== mxml ===

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute
 
 mx:Script
 ![CDATA[
 
 [Bindable]
 public var myDP:Array = [
 {label1:Order
#2314, contact:John Doe, quant:3, solddate:new Date(2005, 0, 1),
Sent:1},
 {label1:Order
#2315, contact:Jane Doe, quant:3, solddate:new Date(2005, 0,
5), Sent:0}];
 ]]
 /mx:Script

 mx:DataGrid id=myDG dataProvider={myDP} variableRowHeight=true width=500 height=250 editable=true
 mx:columns
 mx:DataGridColumn
dataField=label1
headerText=Order # editable=false/
 mx:DataGridColumn
dataField=quant
headerText=Quantity
itemEditor=mx.controls.NumericStepper

editorDataField=value/
 mx:DataGridColumn
dataField=solddate
headerText=Date
itemRenderer=
mx.controls.DateField
rendererIsEditor=true
editorDataField=selectedDate/
 
 mx:DataGridColumn
itemRenderer=CheckBox2 dataField=Sent rendererIsEditor=true
editorDataField=data /

 
 /mx:columns
 /mx:DataGrid
/mx:Application

=

things to note:

1. Using HBox (or any containers) inside item renderer is very
*expensive* (said Joan Tan from Adobe), which might be the cause for
sluggish scrolling of Datagrid.

2. Most of the time my item renderer are a composition of multiple UI
components, so I have to use Box or other kind of Containers.

3. Anatole's approach (using DataGridListData(listData).dataField
) is more abstractive so that the renderer is generic enough for easy
reuse later, if you just need one single chechbox in there, that's the
best way to go (IMHO).




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-15 Thread Tim Hoff
Nice and simple.  Props.

-TH

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

 this is the snippet from my code library:
 
 package
 {
 import mx.containers.HBox;
 import mx.controls.CheckBox;
 
 public class CheckBox2 extends HBox{
 
 public function CheckBox2(){
 this.setStyle(horizontalAlign, center);
 }
 
 var c:mx.controls.CheckBox;
 
 override protected function createChildren():void{
 c = new CheckBox();
 this.addChild( c );
 }
 
 override public function set data(item:Object):void {
 
  super.data = item;
 
  if( item!=null ){
 c.selected = (item.Sent == 1)?true:false ;
  }
 
}
 
 
 }
 }
 
 === mxml ===
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
 
   mx:Script
 ![CDATA[
 
   [Bindable]
   public var myDP:Array = [
   {label1:Order #2314, contact:John Doe, quant:3, 
solddate:new
 Date(2005, 0, 1), Sent:1},
   {label1:Order #2315, contact:Jane Doe,  quant:3, 
solddate:new
 Date(2005, 0, 5), Sent:0}];
 ]]
   /mx:Script
 
   mx:DataGrid id=myDG dataProvider={myDP} 
variableRowHeight=true
 width=500 height=250 editable=true
 mx:columns
 mx:DataGridColumn dataField=label1   
headerText=Order #
 editable=false/
 mx:DataGridColumn dataField=quant
 headerText=Quantity
 itemEditor=mx.controls.NumericStepper
 editorDataField=value/
 mx:DataGridColumn dataField=solddate
 headerText=DateitemRenderer= mx.controls.DateField
 rendererIsEditor=true   editorDataField=selectedDate/
 
 mx:DataGridColumn itemRenderer=CheckBox2 
dataField=Sent
 rendererIsEditor=true editorDataField=data /
 
 
 /mx:columns
   /mx:DataGrid
 /mx:Application
 
 =
 
 things to note:
 
 1. Using HBox (or any containers) inside item renderer is very 
*expensive*
 (said Joan Tan from Adobe), which might be the cause for sluggish 
scrolling
 of Datagrid.
 
 2. Most of the time my item renderer are a composition of multiple 
UI
 components, so I have to use Box or other kind of Containers.
 
 3. Anatole's approach (using DataGridListData
(listData).dataField ) is more
 abstractive so that the renderer is generic enough for easy reuse 
later, if
 you just need one single chechbox in there, that's the best way to 
go
 (IMHO).








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Setting a value in a component from a actionScript file

2006-07-15 Thread flxcoder
Say I have these 2 files as/script.as and view/list.mxml.

list.mxml has a datagrid with id=dg.

Is it possible to set dg.dataProvider from script.as? How can I do 
that?

Thanks.






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

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

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

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

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





[flexcoders] Re: How to parse web services response doc containing namespace

2006-07-15 Thread kevntrace
Thanks Derek.  I did read in the docs about declaring a namespace 
variable - indeed if you look at the code I posted, you will see I 
did exactly that with a variable named csw.  I also tried 
referencing the namespace in different ways - using the variable, 
using wildcards etc.  I still got nothing to work.

Could you take another look at my code and try to put in context how 
I would declare and use that namespace variable?  Like I said, I am 
a complete newbie to Flex, and this really is my first ever project 
and I've had no training.  So I'm not sure the namespace variable 
I've used is in scope when I'm trying to parse the result document, 
I'm not sure on how to mix MXML and ActionScript (so just giving me 
an extract of ActionScript code without showing me how to include it 
in my MXML doesn't really help too much).  I do appreciate all the 
responses from everyone though.


Excerpt where I declare the namespace var;
mx:Script
![CDATA[
import mx.controls.Alert;
private namespace csw 
= http://kevin.company.com/services/webservices/adobe/blogSvc/blogPo
rt;
use namespace csw;
]]
/mx:Script

Excerpt where I try to parse out using the namespace (none of these 
work);
mx:columns
mx:DataGridColumn headerText=Top Posts 
dataField=*::getMostPopularPostsResponse.*::ColumnList.*::row.*::ite
m/
mx:DataGridColumn headerText=Clicks 
dataField=getMostPopularPostsResponse.ColumnList.row.item 
width=75/
mx:DataGridColumn headerText=Blah 
dataField=csw::getMostPopularPostsResponse.csw::ColumnList.csw::row.
csw::item width=75/
/mx:columns



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

 I have been successful in doing that by declaring the namespace as 
a 
 local variable in ActionScript, then using it in the e4x query. 
For 
 instance:
 
 private var aps:Namespace = new Namespace
 (http://cadtel.com/APWebService;);
 
 model.currentOrderPaths = 
 results.aps::Order.aps::RelatedPaths.aps::Paths.aps::NetworkPath;
 
 Hope that helps,
 Derek
 





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

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

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

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

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




[flexcoders] help please

2006-07-15 Thread uday kiran
I hava a problem

I have diffrent photos with same height but diffrent
width, two set of photo width's, one photoset width is
3 time the other set.

they are jumbled.

Now the problem is when I get small photos i should
display three of them in a row when I get Bigger on I
should display the bigger on only and in a row i can
have ie three small photos or two small photos or one
samll photo or one big photo(placed from left).

how to solve it...




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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

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

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

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

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




Re: [flexcoders] crossdomain.xml on Weblogic

2006-07-15 Thread Emmanuel Okyere
by default the swf will look for a crossdomain.xml file in the root;
however you are free to place any valid policy file anywhere, and load
the resource in with Security.loadPolicyFile()

take a look at:
http://livedocs.macromedia.com/labs/as3preview/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0155.html

cheers,
eokyere

On 7/14/06, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Thursday 13 July 2006 18:02, Steve Pruitt wrote:
  Does anyone know specifically where to place the crossdomain.xml file
  for Weblogic.  Drilling down through the Weblogic directories, I found a

 It needs to go in the web root.

 --
 Tom Chiverton

 

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

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

 CONFIDENTIALITY

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

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




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










-- 
Sheik Hamza Yusuf - A tree grows. If you're staying the same,
something is wrong. You're not alive.




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

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

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

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

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





Re: [flexcoders] Re: can I use older ver of CF with Flex 2

2006-07-15 Thread Clint Tredway



I am moving this project from using PHP/Flex and want to use remoting with CF... I was going to use CrystalTech as I have sites with them already but they cannot give mea time frame of when they will be applying the 
7.02 updater..On 7/14/06, dcooper2025 [EMAIL PROTECTED] wrote:













  



You can call CFC's in CF7.0.1 using web service calls, but not via 
Flex 2 remoting.  That does require CF 7.0.2, unfortunately.  

Is the hoster aware of CF 7.0.2?  

I'm on HostMySite (my blog) and they're upgrading servers this coming 
week now that they've put 7.0.2 through it's paces in their testing 
environment, and it's a very painless upgrade.

Damon

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


 I have a project that I need to move to a CF server (shared hosting) 
and the
 server is 7.01... can I use the old remoting gateway with Flex 2? If 
I can,
 do I use it like I did in Flex 1.5?
 
 -- 
 diabetic? http://www.diabetesforums.com
 Albert Einstein - It's not that I'm so smart, it's just that I stay 
with
 problems longer.



  













-- diabetic? http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Dashboard Sample: problems

2006-07-15 Thread Matt Chotin












I get the same scenario as Paul, dashboard
is fine for me but Jesses app on Firefox failed. Also loading
Jesses SWF directly using the standalone player works. But when I
viewed source in IE some of the data didnt come through there either.
I took Jesses source and downloaded it to run it locally and that worked
fine for me in both browsers. 



I dont get the preloader at 20%
though, in the past that has often meant that the app was compiled for the
wrong Player (maybe its a beta project or something?).



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Paul Andrews
Sent: Friday, July 14, 2006 1:02
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Dashboard Sample: problems











No problems here with the dashboard in ie or firefox
with 9,0,16,0.

Jesse's app gave me just a blue screen on firefox, but after a few refreshes 
on ie, no problems.

Paul

- Original Message - 
From: JesterXL [EMAIL PROTECTED]n.com
To: [EMAIL PROTECTED]ups.com
Sent: Friday, July 14, 2006 8:15 PM
Subject: Re: [flexcoders] Dashboard Sample: problems

I have the exact same problem with 9.0.16.0 here with my app:

 http://dev.jessewarden.com/flex/webserviceexample/

 1st time works. Refresh.

 2nd time, stops at 20%. Refresh.

 3rd time, doesn't even show preloader.

 Same exact behavior in IE and Firefox.

 - Original Message - 
 From: davidsen_ryan@emc.com
 To: [EMAIL PROTECTED]ups.com
 Sent: Friday, July 14, 2006 12:22 PM
 Subject: [flexcoders] Dashboard Sample: problems


 I was messing around with the dashboard sample on the adobe site
 http://www.adobe.com/devnet/flex/samples/dashboard/
 And everything was going fine. Ever since upgrading FP9 to 9.0.16.0
 though I can't get the application to successfully load. I redownloaded
 the source just in case I inadvertently changed something - but same
 affect. I get the pretty blue background and a status window that
 freezes about 20% through the load.

 Any ideas?



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








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







 






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] OT: average cost for an SDK?

2006-07-15 Thread Paul Andrews







  - Original Message - 
  From: 
  Dan 
  Thatcher 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, July 14, 2006 10:39 
PM
  Subject: [flexcoders] OT: average cost 
  for an SDK?
  
  
  Ok, so this is an OT question, but 
  I thought that the experienced participants in this group would be most likely 
  to have some insight on this question. What do SDK’s usually cost? 
  I would assume that it could be anywhere from free to really expensive. 
  I am mostly just interested in polling the list to get a bunch of SDK cost 
  numbers so that I can come up with a median 
  number.
  
  Anyone ever worked with an 
  SDK? What did it cost you (if anything)? 

What's the point of a median number? As you said anything 
from free to $$.

Paul

  TIA;
  
  Dan
  
  
  Dan ThatcherOnline 
  LearningThe American Academy of Professional 
  Coders801-238-9893 (office)801-879-9253 
  (mobile)
  
   
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: can I use older ver of CF with Flex 2

2006-07-15 Thread Paul Hastings
dcooper2025 wrote:
 I'm on HostMySite (my blog) and they're upgrading servers this coming 
 week now that they've put 7.0.2 through it's paces in their testing 

ouch. i was under the impression that it would another month or so before they 
rolled out 7.02. geez, i've just wasted several days making flashforms do 
unnatural things ;-)


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] making a buttons initial state only include the contents.

2006-07-15 Thread hank williams



I want to create a standard flex button, but where the initial state of the button only shows the text of the button. When you roll over the button, all of the rest of the flex buttonstuff would appear. So in the on rolled over text, the button would just look like plain text.
I know I could somehow just make skins for everything, but that seems like a very complex solution where I want to use almost all of the standard button functionality.Does anybody know if this is possible.
Hank

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: making a buttons initial state only include the contents.

2006-07-15 Thread Tim Hoff
Hi Hank,

There's a good example how to make a class out of the embeded up. 
over and down states of a button.  If you use a LinkButton you would 
only have to skin over and down.  The default state is just text.

-TH

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

 I want to create a standard flex button, but where the initial 
state of the
 button only shows the text of the button. When you roll over the 
button, all
 of the rest of the flex buttonstuff would appear. So in the on 
rolled over
 text, the button would just look like plain text.
 
 I know I could somehow just make skins for everything, but that 
seems like a
 very complex solution where I want to use almost all of the 
standard button
 functionality.
 
 Does anybody know if this is possible.
 
 Hank







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

* 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: Repeater ignores recycleChildren. on my image extendsion!!

2006-07-15 Thread maikelsibbald
Noboby got this problem??

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

 If I have a trace in the constructor of my Component (extends Image).
 I see my traces, even when I use the recyclechildren (=true) property
 in the Repeater that creates the images... how come..?








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

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

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

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

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





RE: [Junk E-Mail - MED] Re: [flexcoders] Re: can I use older ver of CF with Flex 2

2006-07-15 Thread Shannon Hicks





I got a timeframe out of Crystaltech... they told me it 
would take3-4 weeks at the earliest. Then, they'd start upgrading servers, 
and there was no guarantee where my servers would be in "line" to be upgraded, 
and they couldn't tell me how long the upgrade process would take. I even asked 
if they could set up a new server with 7.0.2 and move me to that, and they said 
no.
Bottom line, if you want 7.0.2 sometime this 
YEAR, choose someone other than crystaltech.

Sorry if I seem bitter... Their 7.0.2 "upgrade" was the 
final straw for me. There are many better hosting companies out there. 
HostMySite and CFDynamics had booths at CF United this year, and both were 
anxious to upgrade to 7.0.2 asap.

My policy is to show support to companies that support 
me.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
TredwaySent: Saturday, July 15, 2006 8:24 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: 
[flexcoders] Re: can I use older ver of CF with Flex 2


I am moving this project from using PHP/Flex and want to use remoting with 
CF... I was going to use CrystalTech as I have sites with them already 
but they cannot give mea time frame of when they will be applying the 7.02 
updater..
On 7/14/06, dcooper2025 [EMAIL PROTECTED] wrote:

  
  
  
  
  
  You can call CFC's in CF7.0.1 using web service calls, but not via Flex 
  2 remoting. That does require CF 7.0.2, unfortunately. Is the hoster 
  aware of CF 7.0.2? I'm on HostMySite (my blog) and they're upgrading 
  servers this coming week now that they've put 7.0.2 through it's paces in 
  their testing environment, and it's a very painless 
  upgrade.Damon
  --- In flexcoders@yahoogroups.com, "Clint Tredway" 
  [EMAIL PROTECTED] wrote:  I have a project that I need to 
  move to a CF server (shared hosting) and the server is 7.01... can 
  I use the old remoting gateway with Flex 2? If I can, do I use it 
  like I did in Flex 1.5?  --  diabetic? http://www.diabetesforums.com Albert Einstein - 
  "It's not that I'm so smart, it's just that I stay with problems 
  longer."
  
  -- diabetic? http://www.diabetesforums.comAlbert 
Einstein - "It's not that I'm so smart, it's just that I stay with problems 
longer." 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 
7/14/2006
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14/2006
 


[flexcoders] Re: can I use older ver of CF with Flex 2

2006-07-15 Thread dcooper2025
Yeah, here's the email from HostMySite:

Time to get some Flex 2 apps on my site...

==
Dear Damon,

On Tuesday and Wednesday July 18-19, 2006 we will install all of the 
security updates currently available for the server where your 
website(s) and/or database(s) reside, as well as any patches the 
machine requires. 

We will also update SmarterStats to version 3.1.2357, which will 
improve import functionality and ensure your statistics continue to 
update properly.

Note: If your hosting plan includes ColdFusion, we will update 
ColdFusion to version 7.0.2, the newest official release from Adobe. 
This version provides easy integration between ColdFusion and Flex 2 
applications.

This maintenance will occur between 02:00 AM and 06:00 AM EDT and 
the estimated downtime is between 15 - 30 minutes. All of the 
patches and the ColdFusion update that will be deployed have gone 
through our quality assurance process and are currently running with 
no incident on our test servers.




Damon


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

 dcooper2025 wrote:
  I'm on HostMySite (my blog) and they're upgrading servers this 
coming 
  week now that they've put 7.0.2 through it's paces in their 
testing 
 
 ouch. i was under the impression that it would another month or so 
before they 
 rolled out 7.02. geez, i've just wasted several days making 
flashforms do 
 unnatural things ;-)








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

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

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

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

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





Re: [Junk E-Mail - MED] Re: [flexcoders] Re: can I use older ver of CF with Flex 2

2006-07-15 Thread Clint Tredway



After Damons pos, i suggested to the powers that be, that we move to HostMySite instead.. After what you (Shannon) said, I will push for it even more.On 7/15/06, 
Shannon Hicks [EMAIL PROTECTED] wrote:













  






I got a timeframe out of Crystaltech... they told me it 
would take3-4 weeks at the earliest. Then, they'd start upgrading servers, 
and there was no guarantee where my servers would be in line to be upgraded, 
and they couldn't tell me how long the upgrade process would take. I even asked 
if they could set up a new server with 7.0.2 and move me to that, and they said 
no.
Bottom line, if you want 7.0.2 sometime this 
YEAR, choose someone other than crystaltech.

Sorry if I seem bitter... Their 7.0.2 upgrade was the 
final straw for me. There are many better hosting companies out there. 
HostMySite and CFDynamics had booths at CF United this year, and both were 
anxious to upgrade to 7.0.2 asap.

My policy is to show support to companies that support 
me.

Shan


From: flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Clint 
TredwaySent: Saturday, July 15, 2006 8:24 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: 
[flexcoders] Re: can I use older ver of CF with Flex 2


I am moving this project from using PHP/Flex and want to use remoting with 
CF... I was going to use CrystalTech as I have sites with them already 
but they cannot give mea time frame of when they will be applying the 7.02 
updater..
On 7/14/06, dcooper2025 
[EMAIL PROTECTED] wrote:

  
  
  
  
  
  You can call CFC's in CF7.0.1 using web service calls, but not via Flex 
  2 remoting. That does require CF 7.0.2, unfortunately. Is the hoster 
  aware of CF 7.0.2? I'm on HostMySite (my blog) and they're upgrading 
  servers this coming week now that they've put 7.0.2 through it's paces in 
  their testing environment, and it's a very painless 
  upgrade.Damon
  --- In 
flexcoders@yahoogroups.com, Clint Tredway 
  [EMAIL PROTECTED] wrote:  I have a project that I need to 
  move to a CF server (shared hosting) and the server is 7.01... can 
  I use the old remoting gateway with Flex 2? If I can, do I use it 
  like I did in Flex 1.5?  --  diabetic? 
http://www.diabetesforums.com Albert Einstein - 
  It's not that I'm so smart, it's just that I stay with problems 
  longer.
  
  -- diabetic? 
http://www.diabetesforums.comAlbert 
Einstein - It's not that I'm so smart, it's just that I stay with problems 
longer. 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 
7/14/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14/2006
 

  













-- diabetic? http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: making a buttons initial state only include the contents.

2006-07-15 Thread Tim Hoff
Yeah, I meant to say in the help docs:

mx:Style
.myCustomButton {
overIcon:Embed(overIconImage.gif);
upIcon:Embed(source=upIconImage.gif);
downIcon:Embed(source=downIconImage.gif);
}
/mx:Style

For the up state, use your favorite image program and create an 
image with a transparent background.

-TH

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

 Hey Tim,
 
 Thanks, but I'm not quite sure I understand. Were you intending to 
point me
 to an example? Also, the link button is OK, but the other states 
are totally
 flat, and I didnt want to try to redesign what flash has already 
done. For
 the particular button I am trying to do, the flex standard button 
style
 would be excellent... if I could just get rid of that 'up state!
 
 Hank
 
 On 7/15/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
  Hi Hank,
 
  There's a good example how to make a class out of the embeded up.
  over and down states of a button.  If you use a LinkButton you 
would
  only have to skin over and down.  The default state is just text.
 
  -TH
 
  --- In flexcoders@yahoogroups.com, hank williams hank777@
  wrote:
  
   I want to create a standard flex button, but where the initial
  state of the
   button only shows the text of the button. When you roll over 
the
  button, all
   of the rest of the flex buttonstuff would appear. So in the 
on
  rolled over
   text, the button would just look like plain text.
  
   I know I could somehow just make skins for everything, but that
  seems like a
   very complex solution where I want to use almost all of the
  standard button
   functionality.
  
   Does anybody know if this is possible.
  
   Hank
  
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 







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

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

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

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

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




[flexcoders] Re: ACcess SOAP fault code

2006-07-15 Thread ting_first
Does somebody know how to swap HTTP error code (from 500 to 200) in
JBoss/Tomcat?
Thanks in advance

Ting






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

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

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

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

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




Re: [flexcoders] Re: making a buttons initial state only include the contents.

2006-07-15 Thread JesterXL
If you do:

Button
{

}

Instead of .myCustomButton, you'll only have to do it one, since I know you 
didn't want to do a lot of styling, Hank.  This'll ensure that you'll only 
have to put those 5 lines of code in your index.css, and your whole app's 
buttons will be affected.

- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, July 15, 2006 10:57 AM
Subject: [flexcoders] Re: making a buttons initial state only include the 
contents.


Yeah, I meant to say in the help docs:

mx:Style
.myCustomButton {
overIcon:Embed(overIconImage.gif);
upIcon:Embed(source=upIconImage.gif);
downIcon:Embed(source=downIconImage.gif);
}
/mx:Style

For the up state, use your favorite image program and create an
image with a transparent background.

-TH

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

 Hey Tim,

 Thanks, but I'm not quite sure I understand. Were you intending to
point me
 to an example? Also, the link button is OK, but the other states
are totally
 flat, and I didnt want to try to redesign what flash has already
done. For
 the particular button I am trying to do, the flex standard button
style
 would be excellent... if I could just get rid of that 'up state!

 Hank

 On 7/15/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
  Hi Hank,
 
  There's a good example how to make a class out of the embeded up.
  over and down states of a button.  If you use a LinkButton you
would
  only have to skin over and down.  The default state is just text.
 
  -TH
 
  --- In flexcoders@yahoogroups.com, hank williams hank777@
  wrote:
  
   I want to create a standard flex button, but where the initial
  state of the
   button only shows the text of the button. When you roll over
the
  button, all
   of the rest of the flex buttonstuff would appear. So in the
on
  rolled over
   text, the button would just look like plain text.
  
   I know I could somehow just make skins for everything, but that
  seems like a
   very complex solution where I want to use almost all of the
  standard button
   functionality.
  
   Does anybody know if this is possible.
  
   Hank
  
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 








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







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

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

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

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

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





RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-15 Thread Carson Hager





The easiest way to do this is to create a simple filter and 
change the status only when the requester is the Flash 
Player.

Carson

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



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ting_firstSent: Saturday, July 15, 2006 7:20 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: ACcess SOAP fault 
code


Does somebody know how to swap HTTP error code (from 500 to 200) 
inJBoss/Tomcat?Thanks in advanceTing
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] how to know when a remote calll is necessary

2006-07-15 Thread Andrea Varga
Hi,

Let's say I have many view-s that need to display the same data 
retrieved from the server ( it doesn't metter how, XML, Remoting, 
WebService, etc.).
Using Cairngorm. When the proper command is executing (one that changes 
the application state to show one of the above views), it needs to load 
the data from the server, so it makes the proper requests. Meanwhile, 
let's say another command is starting to execute, and this new command 
has to load the same data, but it wouldn't be good to load  the data 
again, would it?.
What is the best practice here?
One solution I can think of:  in my Model, I could have an additional 
property for all my data that are loaded from a server, that indicates 
the status of that data (undefined, loading, loaded, etc.). So, when it 
is loading, the commands won't load the data again. But this rises 
another problem. How will Command2 know when the data is loaded, when  
Commad1 started to load the data.

Do you have a better solution?

Andi


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-15 Thread Carson Hager





It's a little more work than a simple filter. It requires a 
filter andan HttpServletResponseWrapper. I've included a simple 
version here along with the web.xml file config you will need in order to use 
it. You might want to consider changing the scope of the filter. I'll leave that 
up to you. As always, no warranties...use at your own risk, 
etc.


filterfilter-nameFlashHttpStatusCodeFilter/filter-namedescription/descriptionfilter-classcom.cynergysystems.filter.FlashHttpStatusCodeFilter/filter-classinit-paramparam-namedebug/param-nameparam-valuefalse/param-value/init-param/filter
filter-mappingfilter-nameFlashHttpStatusCodeFilter/filter-nameurl-pattern/*/url-pattern/filter-mapping
This should work on any J2EE server. I have only tested it 
on Tomcat.


Carson

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



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Saturday, July 15, 2006 10:15 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code



The easiest way to do this is to create a simple filter and 
change the status only when the requester is the Flash 
Player.

Carson

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



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ting_firstSent: Saturday, July 15, 2006 7:20 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: ACcess SOAP fault 
code


Does somebody know how to swap HTTP error code (from 500 to 200) 
inJBoss/Tomcat?Thanks in advanceTing

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



HttpServletResponseWrapper.java
Description: HttpServletResponseWrapper.java


FlashHttpStatusCodeFilter.java
Description: FlashHttpStatusCodeFilter.java


RE: [flexcoders] HTTPService in components

2006-07-15 Thread Carson Hager





Can you include the errors here? Without them, it's a 
bit hard to figure out what might be going on.

Carson

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



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
mcmcbrianfarrellSent: Friday, July 14, 2006 6:43 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] HTTPService in 
components


I am trying to declare an HTTPService inside a simple component but I get a 
variety of errors in the IDE wherever I place the line.Basically the 
component has a button and a grid. When I click the button it calls the 
httpservice and returns an xml file which is bound as the dataprovider for 
the grid. my declaration is:mx:HTTPService id="usrRequest" 
url="" useProxy="false" /Can anyone provide some guidance as 
to where I am going 
wrong?
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Loading external css and setting a:hover style for htmlText

2006-07-15 Thread Olivier de Jonge



How do I connect an external stylesheet to a textfield so the htmlText gets the right styles?
I have an Application:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=

http://www.adobe.com/2006/mxml xmlns:myText=* layout=absolutemx:Style source=main.css /myText:TextFieldExample //mx:Application
That 'loads' an external stylesheet main.css:body {fontFamily : ThesisBolPla;leading : -3;}.heading {fontWeight :bold;
color: #FF3300;}a {color:#f0037f;}a:link{color:#f0037f;text-decoration:underline;}a:hover{color:#f0037f;}a:active{color:#cc;
}and creates the an instance of TextFieldExample:package {import mx.core.UIComponent;import flash.text.TextField;public class TextFieldExample extends UIComponent {
private var label:TextField;private var labelText:String = bodyspan class='heading'Hello world/spanbra href=''and welcome/a to the show. /body;
public function TextFieldExample() {configureLabel();setLabel(labelText);}public function setLabel(str:String):void {
label.htmlText = str;}private function configureLabel():void {label = new TextField();label.width = 200;label.embedFonts = true;
label.background = true;label.multiline = true;label.styleSheet = HOW TO CONNECT TO THE CSS?;addChild(label);}}}How do I connect the external stylesheet to the textfield so the htmlText gets the right style?



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___