RE: [flexcoders] Unable to use custom cell renders

2006-02-24 Thread Sauro, Nick










I had a similar problem, and using the
fully qualified object name(mx.controls.) worked.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Friday, February 24, 2006
11:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unable to
use custom cell renders





I have this datagrid

mx:DataGrid x=10 y=67
id=ASDG width=90% height=65%
 mx:columns

 mx:DataGridColumn
headerText=Name columnName=FLD_FULLNAME /

 mx:DataGridColumn
headerText=Company columnName=FLD_USEREMAIL/

 mx:DataGridColumn
headerText=Address columnName=FLD_ADDRESS/

 mx:DataGridColumn headerText=Agent
Id visible=false
columnName=FLD_USERLOGIN/

 mx:DataGridColumn
headerText=Side columnName={agentType}
cellRenderer=ComboBoxCellRenderer
/
 /mx:columns
/mx:DataGrid

In it I am trying to use the cellerRenderer
ComboboxCellerRenderer,
and populate it with the bindable array agentType.
I have imported the
mx tools below. Does anyone know why I wouldnt be
able to use this
custom cell render? It tells me Access of
undefined proptery
'ComboBoxCellRenderer.

import mx.controls.listclasses.*;
import mx.controls.*;












--
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: Unable to use custom cell renders

2006-02-24 Thread Sauro, Nick










No, I dont unfortunately, you might
be better off creating your own renderer, they are pretty simple to make, shouldnt
be much of a problem.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Friday, February 24, 2006
12:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Unable
to use custom cell renders





Do you know the FQO for the
combobox cell render. I searched the
livedocs and could not find it.

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

 I had a similar problem, and using the fully
qualified object
 name(mx.controls) worked.
 
 
 
 
 
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Jeremy Rottman
 Sent: Friday, February 24, 2006 11:37 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Unable to use custom
cell renders
 
 
 
 I have this datagrid
 
 mx:DataGrid x=10
y=67 id=ASDG width=90%
height=65%

mx:columns

mx:DataGridColumn headerText=Name
 columnName=FLD_FULLNAME /

mx:DataGridColumn headerText=Company
 columnName=FLD_USEREMAIL/

mx:DataGridColumn headerText=Address
 columnName=FLD_ADDRESS/

mx:DataGridColumn headerText=Agent Id visible=false
 columnName=FLD_USERLOGIN/

mx:DataGridColumn headerText=Side
 columnName={agentType}
 cellRenderer=ComboBoxCellRenderer
/

/mx:columns
 /mx:DataGrid
 
 In it I am trying to use the cellerRenderer
ComboboxCellerRenderer,
 and populate it with the bindable array
agentType. I have imported the
 mx tools below. Does anyone know why I
wouldnt be able to use this
 custom cell render? It tells me Access of
undefined proptery
 'ComboBoxCellRenderer.
 
 import mx.controls.listclasses.*;
 import mx.controls.*;
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac

ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We

b+site+design+developmentw2=Computer+software+developmentw3=Software+d

esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr

acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=

Web+site+design+developmentw2=Computer+software+developmentw3=Software

+design+and+developmentw4=Macromedia+flexw5=Software+development+best+

practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw 
 
 Software development best practice
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw

are+design+and+developmentw4=Macromedia+flexw5=Software+development+be

st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
 
 * Visit your
group flexcoders
 http://groups.yahoo.com/group/flexcoders
 on the web.
   
 * To
unsubscribe from this group, send an email to:
 
[EMAIL PROTECTED]

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













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex Builder 1.5 question

2006-02-23 Thread Sauro, Nick










Hey everyone, has anyone come across a problem while
attempting to a compile a flex application, and the builder freezing, and then
coming back with an error stating a flex server couldnt be found
at the url?



I know its not my java memory, as I have increased it to
256m, and when I watch the process table, both tomcat and flexbuilders
mem usage doesnt increase like it usually does while compiling.



Is this a bug? 





Thanks



Nick









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Sauro, Nick










I havent seen any examples of it
anywhere, but I could be looking in the wrong places? Im wondering if
AS 2.0 has this?



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights







Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

In the game
of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: Tuesday, February 21, 2006
1:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing.
Ive been attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.











--
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] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Sauro, Nick










Yea, well, right now, Im just
having the parent class hold blank implementations, which is just kinda quirky
for me, but it works for now, I was just wondering if there was a cleaner way
to do it. Interface came to mind, but I need the base functionality of a Base
class that Im using :-/



O well, just wondering



Thanks J











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard Leggett
Sent: Wednesday, February 22, 2006
10:51 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Does AS
have an equivalant of Java's 'Abstract'





Hi,



There's no abstractalthough you can
get some of the behaviour by 'throw'-ing errors in all of the methods that
would normally be abstract so that the sub-class is forced to implement those
methods. 



Richard







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: 22 February 2006 15:34
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Does AS have
an equivalant of Java's 'Abstract'

I havent seen any examples of it anywhere,
but I could be looking in the wrong places? Im wondering if AS 2.0
has this?



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights







Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: Tuesday, February 21, 2006
1:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with variableRowHeight=true.
Now I want, using actionscript, to switch the height of row #2 to 200.
Ive got a semi-way of doing it right now using a label cellrenderer but
I was wondering if there was a basic method I was missing. Ive been
attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.













--
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] FW: Datagrid Row Heights

2006-02-21 Thread Sauro, Nick










What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you can
increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing.
Ive been attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.









--
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] FW: Datagrid Row Heights

2006-02-21 Thread Sauro, Nick










Is this 1.5, 2.0? Which method are you
using to access that row? I dont see any method called getItemByIndex in
the flex docs.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights







Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: Tuesday, February 21, 2006 1:10
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing.
Ive been attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.











--
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] Actionscripting and dispatching Events

2006-02-16 Thread Sauro, Nick










Hey coders, I am running into a problem
with dispatching events in AS.



I have an EventDispatcher as part of a
Controller object I created. This EventDispatcher has 3 filter objects
registered as listeners for a certain event. Now, when I fire that event, I
fire it like so:



eventDispatcher.dispatchEvent({type:changeGroup,
group:currentGroup});



Now currentGroup is another object of type
Group, and has an associative array of arrays in it of different pieces of data
used by the different filters. 



Now,through tracing, when before I
dispatch this event, the object is intact(all its fields are there with no
undefines), but when I dispatch the event, and trace its properties on the
filter side, Im getting undefined. Ive tried this via casting to
Group object, as well as just leaving it in its Object state. In particular,
an array inside the array is coming up as undefined.

The weird part of it is, on the filter
side, when I trace the arrays length, its there, but when I attempt to
do anything else to it after that initial trace call, its all undefined. 



Am I doing anything blatantly wrong?



Many Thanks



Nick









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Datagrid text colors (v1.5)

2006-02-15 Thread Sauro, Nick










Yes, all renderers need to define a
setValue method, where you have the data for that cell. In there, you can
perform your logic for if this val, use this color, else use etc etc.



Its as simple as:

mx:Label

 mx:Script

 Function setValue(I forgot the
parameters){

 //logic

 }

 /mx:Script

/mx:Label











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Uhlmann
Sent: Wednesday, February 15, 2006
8:35 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Datagrid
text colors (v1.5)






Hi Tom,

You could create a cellRenderer of a
DataGridColumn, place i.e. a Label
component in there and set it's style i.e. via:
yourLabelID.setStyle(color, 0xff);

Best,
Alex

Alex Uhlmann
Technical Consultant (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12
  9DQ, UK
p: +44 (0) 131 338 6969
m: +44 (0) 7917 428 951 
[EMAIL PROTECTED] 


-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Tom Fitzpatrick
Sent: 15 February 2006 12:01
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid text colors (v1.5)

In a datagrid, I want to display the text in a
cell using two different
colors - in the style of syntax formatting.

Is there any way to do this in version 1.5 (or 2)?

- Tom






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








  
  
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] setting a z-index

2006-02-08 Thread Sauro, Nick










Ok, so I tried using the setDepthAbove,
and setDepthBelow methods, to no avail. I tried firing them on application
initialize, and application creation complete, to no avail.



I made two method calls
myObject.setDepthAbove(myOtherObject), and myOtherObject.setDepthBelow(myObject).
It still pushes myOther object out of the way. Are there any precautions/best
practices for this method?



Thanks again.



Nick











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick
Sent: Tuesday, February 07, 2006
6:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setting a
z-index





Hey everyone, Im trying to create a customized sort
of ComboBox. 



Essentially its a button, that when clicked, will set
visible a list directly below it(using some kind of effect, probably a resize
from 0-x). I could use a combobox, but the appearance of this component
is way different than how a combobox looks(no arrow, and icons instead of
text), so I had to do it this way.



The problem is, when the list show, it moves everything else
on the screen, so I was wondering if there was some kind of z-index(or
substitute), that I could manipulate to make this behave more like a combo
box. If a combox can behave in this manner, where when it opens, it
doesnt push everything out of its way, then there has to be a way for
this to be done.





Any help, or pointers to help will be greatly appreciated



Thanks



Nick









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] CSS not applying 1.5

2006-02-08 Thread Sauro, Nick
Title: Application Background












Hey coders, sorry to bombard people
today(this is number 3 :-x ). 



I have a css question this time:



I have populated my global.css style sheet
with various styles (etc Panel{}, and selectors .footerBox{}).
Now, these styles work fine with any component within the Application tag,
however, when I try to apply a selector (filterBox) in an element in a
different mxml file, it doesnt work. Am I missing anything?



mx:HBox styleName=filterBox
 and styleName=.filterBox both do not work, in a file
defined outside of the main file(Application file). 



However, mx:HBox styleName=footerBox
inside of my Application tag works just fine.



I tried doing this with global.css, and
alternately with a blank global.css and an imported independent style sheet
with the same values. Both ways, I run into the same problem



Thanks everybody.



Nick











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] AS2: is it Pass By Reference?

2006-02-07 Thread Sauro, Nick










Does anyone know? From what Ive
seen, it seems not, but am I wrong?









--
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] setting a z-index

2006-02-07 Thread Sauro, Nick










Hey everyone, Im trying to create a customized sort
of ComboBox. 



Essentially its a button, that when clicked, will set
visible a list directly below it(using some kind of effect, probably a resize
from 0-x). I could use a combobox, but the appearance of this component is way
different than how a combobox looks(no arrow, and icons instead of text), so I had
to do it this way.



The problem is, when the list show, it moves everything else
on the screen, so I was wondering if there was some kind of z-index(or
substitute), that I could manipulate to make this behave more like a combo
box. If a combox can behave in this manner, where when it opens, it doesnt
push everything out of its way, then there has to be a way for this to be done.





Any help, or pointers to help will be greatly appreciated



Thanks



Nick









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [Norton AntiSpam] [flexcoders] setting a z-index

2006-02-07 Thread Sauro, Nick










Ah, I guess if I waited a tad longer I would
of found it J (slowly burning out hehe)



Thanks for pointing that out, thats
gold!!











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper
Sent: Tuesday, February 07, 2006
6:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [Norton AntiSpam]
[flexcoders] setting a z-index





In the flash player the
z-index is referred to as depth. take a look at 
docs for getDepth() swapDepths() etc.

However, if you are running flex 2, take a look at
the PopupButton class, 
this may provide a lot of what you are trying to
do.

At 05:59 PM 2/7/2006, you wrote:
Hey everyone, I'm trying to create a
customized sort of ComboBox.

Essentially it's a button, that when clicked,
will set visible a list 
directly below it(using some kind of effect,
probably a resize from 
0-x). I could use a combobox, but the
appearance of this component is way 
different than how a combobox looks(no arrow,
and icons instead of text), 
so I had to do it this way.

The problem is, when the list show, it moves
everything else on the 
screen, so I was wondering if there was some
kind of z-index(or 
substitute), that I could manipulate to make
this behave more like a combo 
box. If a combox can behave in this
manner, where when it opens, it 
doesn't push everything out of its way, then
there has to be a way for 
this to be done.


Any help, or pointers to help will be greatly
appreciated

Thanks

Nick


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





SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb

site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer

software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware

design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia

flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware

development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders
on the web.
 *
 * To unsubscribe from
this group, send an email to:
 * 

mailto:[EMAIL PROTECTED][EMAIL PROTECTED]


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


--










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] How do you reference an object to get attributes for a tag?

2006-01-31 Thread Sauro, Nick










What do you mean by dynamic custom
object



You can reference another objects
properties by doing something along the lines of



mx:Label text={yourObject.property}/
That will bind those values. 



Is that what you mean?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby
Sent: Monday, January 30, 2006
5:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do you
reference an object to get attributes for a tag?





I wanna do something like
this:
mx:Label text = a dynamic custom object
/

So far I have not hit upon the magic combination
through research and
trial and error : (

Thanks,
Libby











--
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] combox drop down aligning to the right?

2006-01-31 Thread Sauro, Nick










Currenly, when a ComoBox is created, the
default setting when it drops down, is the list is flush with the left side of
the comobox. Is there a way to make the Comboboxs dropdown list align
with the right?



Currently:

[ select]

[ item ]

[ item ]



Can that be changed to

 [select]

 [item ]

 [item ]



I tried creating a Button, which when
clicked, would use PopUpManager to create a List right below it, but thats
growing into a mini project all in itself, and I want to make sure Im
not over looking something(even though I checked the Flex docs, and there seems
to be no property which does so)



Thanks everyone



Nick 









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] How do you get the tab label using change event and tabbar.selectedChild

2006-01-31 Thread Sauro, Nick










Have you tried selectedChild.label or
selectedChild.text?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Plesse
Sent: Tuesday, January 31, 2006
5:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do you
get the tab label using change event and tabbar.selectedChild





How do you get the tab label using change event and
tabbar.selectedChild?

// the eventListenr 
tabDetails.addEventListener(change,
mx.utils.Delegate.create(this,
onChange));

// the function 
function onChange(event){ 
debugTxt.text += line 26 tabbar.selectedChild:
==  +
tabDetails.selectedChild +  \r; 
} 

// the output obj0 seems to be tab 1 

line 26 tabbar.selectedChild: ==
_level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0

line 26 tabbar.selectedChild: ==
_level0.mainPanel._obj0.VBBOX.tabDetails._obj1 
line 26 tabbar.selectedChild: ==
_level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0

line 26 tabbar.selectedChild: ==
_level0.mainPanel._obj0.VBBOX.tabDetails._obj1 
line 26 tabbar.selectedChild: ==
_level0.mainPanel._obj0.VBBOX.tabDetails._obj0 
line 26 tabbar.selectedChild: ==
_level0.mainPanel._obj0.VBBOX.tabDetails._obj1 











--
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] why can't I use xmlns=* (1.5)

2006-01-30 Thread Sauro, Nick










Hello Flex coders, I have a real simple
question, which has been plaguing me all day. It might because I feel kind of
dense today, but for some reason, if I create an AS class file in the same
directory, I cannot reference it!! 



EG:

There is a subdirectory called components



So when I create a class MyLabel.as:



Public components.MyLabelextends..etc





In another file in the same directory, I
try to reference it, and it says Dont know how to parse *.MyLabel, its not a known
component of HBox



Ive read up on the documentation on the subject and it
seems like Im doing everything, what am I missing?



First Ive tried MyLabel xmlns=*
text=/ , and got that error messge

Then I tried importing that namespace in
the component that Im trying to use MyLabel: xmlns:cmp=*,
and then tried referencing the class via cmp:MyLabel, and still get
tha error message.



What am I doing wrong? Im sure its
something simple. I remember doing this before, but I have not worked with
Flex in about 7 months, and only had attended the training course before that,
so my Flex coding is going to need some major brushing up.



Thanks everyone



Nick









--
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] Custom Chart renderers(1.5)

2006-01-27 Thread Sauro, Nick










Hello all, I was just hoping someone could point me towards
some resources that explain how to create a custom renderer component for a
chart. I need to create a Column Chart whose column colors are different
depending on the value (positive or negative).



Ive been searching, and havent had much luck.



Thanks.



Nick











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





  




  
  
  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] vScrollPolicy acting real funny

2005-08-04 Thread Sauro, Nick










Hey flexers, just got a quick question
regarding scrolling policies.



I have a SearchResults class which is a
VBox. Now, inside this Vbox, I have a few components for a header(Search
Results 1-4 of 253). Beneath that, I have another Vbox
which displays the results.



Heres the problem.



I set the height of the header(which is
just an HBox with some labels in it) to 10%, and then I set the height of the nested
VBox to 90%. Now, when I turn on vScrollPolicy on the nested VBox(or auto), I
dont get a scroll bar, so my results are getting cut off.



Ive tried turning on/off/auto on
the parent VBox, and setting the nested VBoxs policy to on,
but Ill just get an empty scroller on the side. Is there something Im
missing? 



Thanks in advance



nick









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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] vScrollPolicy acting real funny

2005-08-04 Thread Sauro, Nick
I've tried that, to no avail :-/

I'm thinking, could it possibly have something to do with using a
Repeater Object in the VBox?

Here's an excerpt:

mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns:utl=util.* horizontalGap=2 backgroundColor=#FF
minHeight=1 vScrollPolicy=off
mx:Metadata
[Event(closeSearchWindow)]
/mx:Metadata
mx:Script
![CDATA[
public var results:Object;

function fireCloseEvent():Void{
dispatchEvent({type:'closeSearchWindow'});
}
]]
/mx:Script
mx:HBox backgroundColor=#C5CFE9 width=100% height=10%
mx:Label text=Search Results  1 - 5 of 254/
/mx:HBox
mx:VBox width=100% height=80% vScrollPolicy=on
mx:Repeater id=rp
dataProvider={results.searchResults.result}
utl:AFLink textAlign=left
label={rp.currentItem.title} textDecoration=underline
fontWeight=bold color=#0033CC width=100%
URL={rp.currentItem.url}/
mx:Text text={rp.currentItem.teaser}
width=100%/
mx:Label text={rp.currentItem.url}
width=100% color=#339933 fontWeight=bold/
/mx:Repeater
/mx:VBox
mx:Button width=100% height=10% label=Close
click=fireCloseEvent() backgroundColor=#0066CC/ 
/mx:VBox

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, August 04, 2005 11:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] vScrollPolicy acting real funny

On 8/4/05, Sauro, Nick [EMAIL PROTECTED] wrote:

 I have a SearchResults class which is a VBox.  Now, inside this Vbox,
I have
 a few components for a header(Search Results 1-4 of 253..).
Beneath that,
 I have another Vbox which displays the results. 

 Here's the problem. 

 I set the height of the header(which is just an HBox with some labels
in it)
 to 10%, and then I set the height of the nested VBox to 90%.  Now,
when I
 turn on vScrollPolicy on the nested VBox(or auto), I don't get a
scroll bar,
 so my results are getting cut off. 

Have you set an explicit height for the outer VBox?

Try setting minWidth=1 on the outer VBox and see if that helps.

Manish



--
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 ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hnmc3hg/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123177815/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] vScrollPolicy acting real funny

2005-08-04 Thread Sauro, Nick










Youre the man! Thanks J











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani
Sent: Thursday, August 04, 2005
12:00 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
vScrollPolicy acting real funny





On 8/4/05, Sauro, Nick [EMAIL PROTECTED] wrote:
 I've tried that, to no avail :-/

Set minHeight to 1 on the inner VBox (the one you
want the scrollbar
on). It seems to work.

Manish








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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Whats the best way to do this

2005-08-04 Thread Sauro, Nick










Oops, forgot the closing .















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, August 04, 2005
12:36 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Whats
the best way to do this









In a message dated 8/4/2005 11:05:12 AM Eastern Standard
Time, [EMAIL PROTECTED] writes:





mx:Link
click=getURL(path,_blank)/







When I tried it I got an error message that says an open
quote is expected for attribute click











--
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] where can i access previous emails to this list?

2005-08-01 Thread Sauro, Nick










Hey guys, thanks matt for helping me w/
that packaging problem, it worked. As it turned out, it didnt
like the xmlns=*.



Where is the archive of this group? I
need to look up an answer to a question someone previously posted about setting
column widths in data grid, and I dont want to re ask it(unless
someone knows the answer off the top of their head J ) .



Anyways, if someone can post that link
here, it would be much appreciated. Thanks a lot everyone. I think it was
email.com/flexcoders or something like that.



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jaime Bermudez
Sent: Monday, August 01, 2005
11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
namespace/directory structure issue





Still waiting for ideas on an
approach, but I thought I'd set up the
problem a little better:

Here's the developer directory structure for my
project:

main
 app.mxml
 as
 app.as
 appTest.as
 assets (images, etc.)
 components
 test
 test1

test1.mxml

as

Components.as
 test2

test2.mxml

as

Components.as

I added the following path-element to the
actionscript-classpath in
flex-config.xml:
path-element/main/path-element so
I can use the same namespace
declarations in test1.mxml as I use in
app.mxml. I reference
appTest.as in a Script block as Script
source=../../as/appTest.as.
The appTest.as refers to the Components class,
which I import in each
testX.mxml file.

The problem I'm seeing is that a handful of
components have embedded
image files that are referenced in a source or
icon parameter as
assets/image.xxx. I'm pretty
sure that these are all paths relative
to the location of the app file being called, so
the references are
only being found for app.mxml. Is my only
and best option to define
some image root variable at the app level that I
can prepend to each
image call (thereby forcing me to check-out and
change every class
that embeds images)? Is there a standard
approach to this problem?

Thanks.


On 8/1/05, Jaime Bermudez
[EMAIL PROTECTED] wrote:
 Ok guys, so w/ Brian's suggestion I was able
to get the compiler to
 recognize the namespaces w/o changing the
initial structure. I'm more
 than halfway there, but I still get some
issues w/ image locations.
 Several components have embedded images that
are located in an
 assets directory one level below
the main directory. So, for
 example, one component contains a Link w/

icon=@Embed('assets/logo.swf'). This compiles fine for the
main
 app.mxml, but I get a resource not
found error when trying to hit
 one of the test apps. Do I have to
create a variable at the app level
 that prepends a prefix like ../../
for test apps and a blank string
 for the main level app? Is there a
better way to handle this, maybe a
 default image root property?
 
 Thanks,
 
 Jaime
 
 On 7/31/05, Brian Deitte
[EMAIL PROTECTED] wrote:
  I think what Matt was saying is having
the components directory a level deeper and then referencing this directory in
actionscript-classpath in flex-config.xml. You should be able to create
references to components in any directory you put in actionscript-classpath in
the same manner that you reference components in a subdirectory of the main
application. I don't think you necessarily need to move the components
directory though- I think it would also work to just put the main directory in
actionscript-classpath. -Brian
 
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jaime Bermudez
  Sent: Sunday, July 31, 2005 11:17 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders]
namespace/directory structure issue
 
  Ok, so I think what you're suggesting is
to restructure to something
  like the following:
 
  main
  as
  components

 UI
  test
  test1

 components

 comp1
  test2

 components

 comp2
 
  If so, that kind of ruins my approach of
dynamically adding components
  to a Container in each
testXmxml. I wanted to follow the approach
  of having each test1...testN directory define
a Components.as file
  that lists the component references from
the components directory that
  will be added to the Container - that
way I could share an appTest.as
  file across each testXmxml
declaration.
 
  In any case, there is still the question
of code changes and
  check-ins. How would I keep comp1,
for example, in synch w/ comp1 in
  the main branch? Is there a way to
make the components directories
  under each testN directory a pointer to
the main components directory?
 
  Thanks,
 
  Jaime
 
 
  On 7/30/05, Matt Chotin
[EMAIL PROTECTED] wrote:
  
  
  
   I think what you're gonna need to
do is create a different root directory
   and then add it to your classpath
in flex-config.xml. Put all the
   components in that directory
(create whatever subdirectories you desire).
   Since you have the test directory
it cannot easily refer to components in a
   parallel directory unless the main
MXML file is in 

RE: [flexcoders] where can i access previous emails to this list?

2005-08-01 Thread Sauro, Nick










*slaps
self* thanks again lol, still shaking off the Monday dust.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Monday, August 01, 2005
12:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] where
can i access previous emails to this list?





Check the bottom of these emails J



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











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick
Sent: Monday, August 01, 2005 9:06
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] where can i
access previous emails to this list?





Hey guys, thanks matt for helping me w/
that packaging problem, it worked. As it turned out, it
didnt like the xmlns=*.



Where is the archive of this group?
I need to look up an answer to a question someone previously posted about
setting column widths in data grid, and I dont want to re
ask it(unless someone knows the answer off the top of their head J ) .



Anyways, if someone can post that link
here, it would be much appreciated. Thanks a lot everyone. I think
it was email.com/flexcoders or something like that.



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jaime Bermudez
Sent: Monday, August 01, 2005
11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
namespace/directory structure issue





Still waiting for ideas on an
approach, but I thought I'd set up the
problem a little better:

Here's the developer directory structure for my project:

main
 app.mxml
 as
 app.as
 appTest.as
 assets (images, etc.)
 components
 test
 test1

test1.mxml

as

Components.as
 test2

test2.mxml

as

Components.as

I added the following path-element to the
actionscript-classpath in
flex-config.xml:
path-element/main/path-element so
I can use the same namespace
declarations in test1.mxml as I use in
app.mxml. I reference
appTest.as in a Script block as Script
source=../../as/appTest.as.
The appTest.as refers to the Components class,
which I import in each
testX.mxml file.

The problem I'm seeing is that a handful of
components have embedded
image files that are referenced in a source or
icon parameter as
assets/image.xxx. I'm pretty
sure that these are all paths relative
to the location of the app file being called, so
the references are
only being found for app.mxml. Is my only
and best option to define
some image root variable at the app level that I
can prepend to each
image call (thereby forcing me to check-out and
change every class
that embeds images)? Is there a standard
approach to this problem?

Thanks.


On 8/1/05, Jaime Bermudez
[EMAIL PROTECTED] wrote:
 Ok guys, so w/ Brian's suggestion I was able
to get the compiler to
 recognize the namespaces w/o changing the
initial structure. I'm more
 than halfway there, but I still get some
issues w/ image locations.
 Several components have embedded images that
are located in an
 assets directory one level below
the main directory. So, for
 example, one component contains a Link w/

icon=@Embed('assets/logo.swf'). This compiles fine for the
main
 app.mxml, but I get a resource not
found error when trying to hit
 one of the test apps. Do I have to
create a variable at the app level
 that prepends a prefix like
../../ for test apps and a blank string
 for the main level app? Is there a
better way to handle this, maybe a
 default image root property?
 
 Thanks,
 
 Jaime
 
 On 7/31/05, Brian
 Deitte [EMAIL PROTECTED] wrote:
  I think what Matt was saying is having
the components directory a level deeper and then referencing this directory in
actionscript-classpath in flex-config.xml. You should be able to create
references to components in any directory you put in actionscript-classpath in
the same manner that you reference components in a subdirectory of the main
application. I don't think you necessarily need to move the components
directory though- I think it would also work to just put the main directory in
actionscript-classpath. -Brian
 
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jaime Bermudez
  Sent: Sunday, July 31, 2005 11:17 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders]
namespace/directory structure issue
 
  Ok, so I think what you're suggesting is
to restructure to something
  like the following:
 
  main
  as
  components

 UI
  test
  test1

 components

 comp1
  test2

 components

 comp2
 
  If so, that kind of ruins my approach of
dynamically adding components
  to a Container in each
testXmxml. I wanted to follow the approach
  of having each test1...testN directory
define a Components.as file
  that lists the component references from
the components directory that
  will be added to the Container - that
way I could share an appTest.as
  file

[flexcoders] packaging components

2005-07-29 Thread Sauro, Nick










Hey, I am having an issue with packaging
components, that I cant seem to resolve.





I have my main application , and then
under that directory I have a few folders for various components used in the
app(search, news, email, etc)



Now, inside say, the search package, I can
use xmlns=*, and then reference all my search components from
other components in that same directory.



Now, if I go back to my main app, and I do
xmlns:srch=search.*, I can use components in the search package,
which do *not* have any references
to other search components

(eg: I have a searchbutton, which
doesnt have any other components), that I can use fine from the
main. However, when I try to reference a more complex search
component(SearchPanel, which has a textinput and a SearchButton instance), it
will not work, and I get the errors that look like



Dont know how to parse element
SearchPanel, it is not a property of TabbedNav etc etc.



Any ideas to why im getting this? I
have tried a few things like using a manifest file, but they havent
worked.



Thanks in advance everyone.











--
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] Why can't I package my components

2005-07-28 Thread Sauro, Nick










Hey everyone, gotta simple stupid
question, whose answer is ducking me.



I making an application, and I am putting
customized components in packages. I can use the xmlns=* and
reference components that are in the same package from each other. But when I
try to reference a component in another package, it gives me the Dont
know how to parse element.. error at compilation time.



Right now I have a Main.mxml, which
resides in the root directory. Then I have a package called search, which
house the search components. Within this package, I have about 5 customized
components. Within that search directory, I have a testingMain app which I use
the namespace xmlns=*, and then I am able to use those components
in there.



Now, from Main.mxml, in the root, when I
try xmlns:srch=search.*, and then try srch:SearchTabs.
It gives me the error stating it doesnt know how to parse that element.



Ive tried setting a manifest file,
pointing to all the classe in that dir, and modified the flex-config compiler
section to create another namespace, pointing to this directory, to no avail.



What am I doing wrong?



Thanks











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Populating combo box's

2005-07-25 Thread Sauro, Nick





-DataModel Use a single databmodel, and reference 
that data model from both the DG and the CB

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JamesSent: 
Monday, July 25, 2005 11:12 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Populating combo 
box's


Im looking for help to 
populate a combo box which in turn populates a data grid. Can anyone point me in 
the right direction?

JT 






--
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] Using a Text Field vs a Date Field

2005-07-25 Thread Sauro, Nick





Well, the reason you'd want to use a DateFied vs. 
TextField are pretty simple.

A. DateFied has a built in calender component, so 
they can pull up a calendar and select a date, which will auto populate a 
field

B. You don't have to write a validator for it.(i 
think, don't quote me on that).

Go to the flex docs, and look at the mini examples they 
have, it should help.

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
javawebgrrlSent: Monday, July 25, 2005 1:00 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Using a Text Field vs 
a Date Field
Hi All, I have a situation where I want a user to be 
able to enter a date into a Text Field. (as opposed to a dateField) (Can 
explain why ifyou want, but will leave this alone for now!) My 
problem is what to do if the user enters something like "abc". I am 
wondering if I could use the parseDateString method of the DateFormatter 
class. If this method returns a valid Date, than I can assume all is OK, if 
not, I can show an error message. Though this method shoulw work, it 
does not feel like a "best practice", any opinions on 
this?Thanks.





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] migrating to tomcat

2005-07-21 Thread Sauro, Nick





Hey 
everyone, gotta quick question about migrating from jrun to 
tomcat?

Which 
jars do i need, there's a lot of them , and i'm not sure which ones I 
need. Anything else I need to know?

Basically what I'm trying to do is run a struts app using a Flex front 
end. i don't know jrun that well ,and would prefer working with a server I 
know.

Thanks 
everyone.





--
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] TitleWindow passing vars back to another TitleWindow

2005-07-20 Thread Sauro, Nick





can't u do something like

recpName.text={test.text} which will bind them 
together?

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
kreddington1Sent: Tuesday, July 19, 2005 8:44 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] TitleWindow 
passing vars back to another TitleWindow
OK, here's a sample of what I'm trying to do. I want 
Window2 to populate recpName.text which can be found in Window1 when the 
input field in Window2 is changed. If I change Window1 to be 
mx:Application, then recpName.text gets populated correctly, but once I 
change it back to TitleWindow, it breaks.Thank you for your 
help,KimWindow1:?xml version="1.0" 
encoding="utf-8"?mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" 
width="400" height="400" xmlns="*"  
mx:Script 
![CDATA[ import 
mx.containers.TitleWindow; import 
mx.managers.PopUpManager; 
  
  
 function newWindow() 
{ var 
addressPop:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
Window2));  
  
 } 
 ]] 
/mx:Script 
 mx:Text id="recpName" 
/ mx:Button label="Cancel" 
click="deletePopUp()" / 
mx:Button label="New Window" click="newWindow()" 
//mx:TitleWindowWindow2:?xml 
version="1.0" encoding="utf-8"?mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" 
width="400" height="400" xmlns="*"  
mx:Script 
![CDATA[  
function cancelPopUp() { 
  
parentDocument.recpName.text = test.text; 
  
deletePopUp();  
} ]] 
/mx:Script mx:HBox 
  
mx:TextInput id="test" / 
/mx:HBox mx:Button label="Cancel" 
click="cancelPopUp()" //mx:TitleWindow--- In 
flexcoders@yahoogroups.com, "Sauro, Nick" [EMAIL PROTECTED] wrote:i'm not 
fully understanding the problem here, a code excerpt might 
helpclarifyNick Sauro + R O U N D A R C H + bus 212.909.2335 + 
mob 914.882.3687From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf 
Of kreddington1Sent: Tuesday, July 19, 2005 4:03 PMTo: 
flexcoders@yahoogroups.comSubject: Fwd: RE: [flexcoders] TitleWindow passing 
vars back to anotherTitleWindowUsing data binding, I run 
into the same problem. The 2nd window doesn't seem to be able to talk 
to the first window. Is there another method I could 
try?Thanks--- In flexcoders@yahoogroups.com, "Sauro, Nick" 
[EMAIL PROTECTED] wrote:you should look into data binding.Nick 
Sauro + R O U N D A R C H + bus 212.909.2335 + mob 
914.882.3687From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf 
Of Kim ReddingtonSent: Tuesday, July 19, 2005 11:33 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow passing vars 
back to anotherTitleWindowI have created a TitleWindow that 
opens another TitleWindow. The 2ndwindow contains a form. I 
would like the data entered in the form to bepassed back to the 1st 
titlewindow.If I make the first TitleWindow be an application, then I 
can use parentDocument.name.text = name.textto pass the name back to 
the original screen, but if I try to use thissame line of code to pass 
the data from the 2nd TitleWindow to a 1stTitleWindow, then the text control 
shows up blank.Does this make sense? Is it possible to pass data 
back to an openTitleWindow?Thanks,Kim 
_Kim ReddingtonPrincipal 
Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com 
http://www.deluxetechnologies.com/ 
508-231-8744 --Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
YAHOO! GROUPS LINKS 
 * 
Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders 
" on the web. 
* To unsubscribe from this group, send an 
email to: 
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] 
 
* Your use of Yahoo! Groups is subject to the 
Yahoo! Terms ofService http://docs.yahoo.com/info/terms/ 
. --- End forwarded message 
-Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
YAHOO! GROUPS LINKS 
 * 
Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders 
" on the web.  
* To unsubscribe from this group, send an 
email to: 
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] 
  * 
Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService http://docs.yahoo.com/info/terms/ 
. --- End forwarded message 
---





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Searc

RE: [flexcoders] initializing global variables

2005-07-20 Thread Sauro, Nick





Well, your parent won't be fully created until its children 
are, since the children are its data members, so how can the parent be 
'completed', w/o its data/members/children being completed 
first?

As for your global vars, have you tried using the 
initialize handler?



Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Wednesday, July 20, 2005 9:53 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] initializing global 
variables
OK so umm... http://livedocs.macromedia.com/flex/15/flex_docs_en/0505.htmI'm 
confused.My grandkids and my kids get initialized before I do? (The 
application)Uhh... how am I supposed to setup the any global vars in the 
app?Even the creationCompletes of my grandkids fires before the app 
does.What's the first event to fire in the Application that I can 
use to initialize a global 
var?





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Re: If I buy a flex license can I host other peoples apps on the license?

2005-07-19 Thread Sauro, Nick





score 5: Informative

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Valy 
SivecSent: Tuesday, July 19, 2005 10:51 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: If I buy a 
flex license can I host other peoples apps on the license?



It's 
kinda childish to think that for a billion dollar company 60k-120k in 
Flex's fees isstill abargain... Don't know whysome people 
ignore the fact that Flex is just only a component ( presentation layer ) 
and in addition to Flex you have to invest in J2EE or .NET infrastructure. 


Imagine having Websphere/.NET, Oracle/Db2/SQLServer and on top of this 
Flex. How much it would cost a company for all of this? Also, let's not 
forget about the training costs, consultants you need to have in case you have a 
large project and run into trouble 

So, 
don't get me wrong... I like Flex and I think is a good product, but the 
licence's fees are too high in my opinion. In addition to a high price, the 
product is still in early stages, performance wise are still things to 
improve

ValyRick Bullotta 
[EMAIL PROTECTED] wrote:

  
  
  
  

  

  
  You would have a 
  hard time convincing me that, if there are application development benefits 
  and sunk costs in development, that (after discounts) $60-125K is an 
  issue
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Anthony 
  MerryfieldSent: Tuesday, 
  July 19, 2005 10:26 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: If I buy a 
  flex license can I host other peoples apps on the 
  license?
  
  
  Just because a 
  company is worth multiples of billions doesn't mean that the money is tied up 
  in IT...
  
  
  
  
  
  T.
  
-Original 
Message-From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]On Behalf Of Rick BullottaSent: 19 July 2005 15:21To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: If I buy 
a flex license can I host other peoples apps on the 
license?

Your multibillion 
dollar company is hedging on $120K-$225K??? And dont you have a 
purchasing organization that can negotiate a volume 
price?
I find that hard to 
believe




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan 
BezuidenhoutSent: Tuesday, 
July 19, 2005 10:05 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: If I buy 
a flex license can I host other peoples apps on the 
license?

On a slightly different 
note.I can tell you that in our multibillion dollar 
organization Flex ismost likely about to be thrown 
out. We were going to buy somethinglike 8 or 14 
additional licenses to the multitude we already have, 
andthe pricing is just totally ridiculous for what we 
need it for.Management is ready to cut their losses 
and redevelop with somethingnon-proprietary and 
we (the ones that really wanted Flex) have egg 
onour faces.I think we have come 
to the point where MM has priced Flex totally 
outof the market.Jonathan
  This communication together with any 
  attachments transmitted with it ("this E-Mail") is intended only for the use 
  of the addressee and may contain information which is privileged and 
  confidential. If the reader of this E-Mail is not the intended recipient or 
  the employee or agent responsible for delivering it to the intended recipient 
  you are hereby notified that any use, dissemination, forwarding, printing or 
  copying of this E-Mail is strictly prohibited. Addressees should check this 
  E-mail for viruses. The Company makes no representations as regards the 
  absence of viruses in this E-Mail. If you have received this E-Mail in error 
  please notify our IT Service Desk immediately by e-mail at 
  [EMAIL PROTECTED] Please then immediately delete, erase or otherwise 
  destroy this E-Mail and any copies of it.Any opinions expressed in 
  this E-Mail are those of the author and do not necessarily constitute the 
  views of the Company. Nothing in this E-Mail shall bind the Company in any 
  contract or obligation.For the purposes of this E-Mail "the Company" 
  means The Carphone Warehouse Group Plc and/or any of its 
  subsidiaries.Please feel free to visit our website: http:// 
  www.carphonewarehouse.com or http://www.phonehouse.comThe Carphone 
  Warehouse Group Plc (Registered in England No. 3253714) 1 Portal Way, London W3 
  6RS
__Do You Yahoo!?Tired 
of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 






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








  

RE: [flexcoders] TitleWindow passing vars back to another TitleWindow

2005-07-19 Thread Sauro, Nick





you should look into data binding.

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim 
ReddingtonSent: Tuesday, July 19, 2005 11:33 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow passing 
vars back to another TitleWindow

I have created a 
TitleWindow that opens another TitleWindow. The 2nd window contains a 
form. I would like the data entered in the form to be passed back to the 
1st titlewindow.

If I make the first 
TitleWindow be an application, then I can use 
parentDocument.name.text = name.text

to pass the name 
back to the original screen, but if I try to use this same line of code to pass 
the data from the 2nd TitleWindow to a 1st TitleWindow, then the text control 
shows up blank.

Does this make 
sense? Is it possible to pass data back to an open 
TitleWindow?

Thanks,Kim 

_Kim 
ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744 






--
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: RE: [flexcoders] TitleWindow passing vars back to another TitleWindow

2005-07-19 Thread Sauro, Nick





i'm not fully understanding the problem here, a code 
excerpt might help clarify

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
kreddington1Sent: Tuesday, July 19, 2005 4:03 PMTo: 
flexcoders@yahoogroups.comSubject: Fwd: RE: [flexcoders] TitleWindow 
passing vars back to another TitleWindow
Using data binding, I run into the same problem. The 2nd 
window doesn't seem to be able to talk to the first window. Is there 
another method I could try?Thanks--- In 
flexcoders@yahoogroups.com, "Sauro, Nick" [EMAIL PROTECTED] wrote:you 
should look into data binding.Nick Sauro + R O U N D A R C H + bus 
212.909.2335 + mob 
914.882.3687From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf 
Of Kim ReddingtonSent: Tuesday, July 19, 2005 11:33 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow passing vars 
back to anotherTitleWindowI have created a TitleWindow that 
opens another TitleWindow. The 2ndwindow contains a form. I 
would like the data entered in the form to bepassed back to the 1st 
titlewindow.If I make the first TitleWindow be an application, then I 
can use parentDocument.name.text = name.textto pass the name back to 
the original screen, but if I try to use thissame line of code to pass 
the data from the 2nd TitleWindow to a 1stTitleWindow, then the text control 
shows up blank.Does this make sense? Is it possible to pass data 
back to an openTitleWindow?Thanks,Kim 
_Kim ReddingtonPrincipal 
Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com 
http://www.deluxetechnologies.com/ 
508-231-8744 --Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
YAHOO! GROUPS LINKS 
 * 
Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders 
" on the web.  
* To unsubscribe from this group, send an 
email to: 
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] 
  * 
Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService http://docs.yahoo.com/info/terms/ 
. --- End forwarded 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
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] email servers and live links

2005-07-18 Thread Sauro, Nick





Does Flex 
have any capabilities to communicate with any type of email servers?(pop3, smtp, 
etc).

I am also 
having a problem creating a List of live links. I can make labels, and use the 
htmlText property to create a link normally. Yet, when I try to make a List of 
Labels using the same property, the List doesn't honor that property, and just 
displays raw HTML. I have tried using a custom renderer to set the 
htmlText property, but to no avail, i just see raw html. Is there some 
kind of work around for this?

Thanks.





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] dispatching effects

2005-07-18 Thread Sauro, Nick





Hey guys, here'sa question.

I have a Panel, and on this Panel there is a Button. 
Initially, the Panel is not exposed(save for the Button).When the user 
clicks the button, I want to dispatch the Panel's Resize effect. 
Currently, its hacked, so the panel has a , and yea 
that works, but it's not the right way to do it(everytime after that, when 
thePanel is open, when user selects something on the grid, it resizes again 
lol). I've been googling for hours, and it shows how to do Custom events, 
but i want to dispatch that built in event.

Thanks

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
dimkapimkakolbasaSent: Monday, July 18, 2005 1:27 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How 
to catch events of a child component by the parent 
component?
I've got a custom component Widget which makes a child "image" in 
it's createChildren() method like that:function createChildren (): 
Void { super.createChildren 
(); this.image = this.createClassObject 
(  
mx.controls.Image, 
 "abc", 
 0, 
 {source: 
"rose.jpg"} );}I want to call a 
rotateImage function when image is clicked.Is using a Delegate the only way 
to make it? I made it by adding such code to 
createChildren():var rotateDelegate: Object = Delegate.create 
(this,rotateImage);image.addEventListener ("mouseDown", 
this.rotateDelegate);Can I make it without a Delegat?





--
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] Validator width actionscript and without model tag

2005-07-18 Thread Sauro, Nick





first off, ALL mxml classes are reallly 
Actionscript.The mxml serves as a shortcut for coding, in theoryyou 
can write an entire Flex app using nothing but AS. During compilation, all 
your mxmls are converted into AS.There's an option in flex-config to 
keep-generated-as files, so you can see that. Write a validator using 
mxml, and then turn on that option, and u will see the AS that is generated for 
the Validator. You won't see the fine details of it, but you can get a 
starting point at least.

Secondly, as I just learned, you can 
check

http://www.mail-archive.com/flexcoders@yahoogroups.com/
for all old emails.

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Eric 
GuesdonSent: Monday, July 18, 2005 2:32 PMTo: 
flexcoders@yahoogroups.comSubject: [FlexCoders] Validator width 
actionscript and without model tag
Hi to all,Im looking for validator without 
mx:Model or mx:Validator. In facthow to make 
validation totally with actionscriptI didnt find any solutions for the 
momentFirst is it possible ?Second are there any old messages about 
this use of validationThanks in advance for your 
helpEricThis 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





  




  
  
  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] mx:ScrollView not known to compiler?

2005-07-14 Thread Sauro, Nick





Well, why would you want to create a ScrollView 
object? Most Panels, and in your specific case, your HBox, have properties 
HScrollPolicy and VScrollPolicy which allow you to turn on/off/auto(default) 
those scroll bars. 

I also believe ScrollView is just a base class for objects 
that use scrolls(not sure if it can be instantiated or not;abstract class???not 
sure)

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
EismannSent: Thursday, July 14, 2005 10:54 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] mx:ScrollView not 
known to compiler?
Maybe I'am missing something obvious here (or my brain just 
melted because of 30°C/86°F in the office) but why can't I use 
mx.core.ScrollView inside mxml? The sample below does not compile and gives the 
following error: "Don't know how to parse element "http://www.macromedia.com/2003/mxml:ScrollView". 
It is not a known type or a property of 
mx.core.Application."mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
mx:ScrollView mx:HBox width="1000" 
height="100"/ 
/mx:ScrollViewmx:ApplicationI also tried to build a 
MXML component that subclasses ScrollView but still no go. 
Ideas?Dirk.--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] List of links

2005-07-14 Thread Sauro, Nick





Hey coders, this problem has been kicking my arse for the 
last 2 days. 

What I am trying to accomplish:

List component of Label's that have htmlText property set 
and rendered. Ultimately, I am trying to make a List of clickable links, 
and it doesn't want to co operate with me :-(

Thanks Everyone


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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   






  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex Builder FYI

2005-07-13 Thread Sauro, Nick





yea, its a great undocumented feature they made available 
to us =)

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tarik 
AhmedSent: Wednesday, July 13, 2005 2:09 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex Builder 
FYI
Ya, the Design View is only good if you want to purposely drain 
all available memory. :)jwc_wensan wrote:To 
All:For the past 2 days I have had problems with Flex Builder 
locking up.I would reboot with no luck. I then uninstalled 
and reinstalled, ran virus protection, etc.Again no 
help.Today I "unchecked" the Design View from Preferences and 
that has for the time being, solved the 
problem.Thanks,Jack 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] check popup window is open

2005-07-13 Thread Sauro, Nick





All objects which are children of UIObject have a boolean 
property called 'visible'. Try that. I haven't tried it, but I 
think that is something you are interested in.

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Rajesh 
JayabalanSent: Wednesday, July 13, 2005 1:51 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] check popup window is 
open
Hi,After a modaless window is opened how do I findout if 
the window isstill open (it has a close button) and the user has not closed 
it.Rajesh J--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Extending Datagrid Column

2005-07-12 Thread Sauro, Nick





Correct me if im wrong, but shouldnt it 
be:

class IconDataGridColumn extends 
mx.controls.gridclasses.DataGridColumn
{
bla bla

}

?? the big difference being the use of the keyword 'class' 


Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Allen 
ManningSent: Tuesday, July 12, 2005 1:30 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Extending Datagrid 
Column


Hello Flex 
Coders,

I am trying to extend the Datagrid 
column so that I can set a custom property iconName which will refer to an 
icon that I would like to appear in each row. Here is how I would like to 
use it, and below that is my error message  it appears I cant extend 
DataGridColumn. Any help would be greatly appreciated. I would like 
to make the iconName available to my cell renderer without polluting my 
DataProvider.

Thanks for any 
help,
Allen

 
mx:DataGrid width="100%" height="100%" id="dgMessages" 
dataProvider="{messageList}"
 
mx:columns
 
mx:Array
 
components:IconDataGridColumn iconName="s_icon_mail" headerText="" 
width="30" cellRenderer="IconCellRenderer" 
sortable="false"/
 
/mx:Array
 
/mx:columns
 
/mx:DataGrid


IconDataGridColumn.as

IconDataGridColumn 

 
extends 
mx.controls.gridclasses.DataGridColumn
{

 
public 
var 
iconName:String;

}



Error - ActionScript 2.0 class scripts may only define class or interface 
constructs.

--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

--Outgoing mail is certified Virus Free.Checked by AVG 
Anti-Virus (http://www.grisoft.com).Version: 7.0.269 / Virus Database: 
267.8.13 - Release Date: 12/07/2005


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Re: mouse over text for a datagrid column

2005-07-12 Thread Sauro, Nick





yea,I saw that on the site, and it worked 
:-)

Thanks. But, of course, one question opens the door 
for more, and I've seen renderers done like:

DataGridColumn 
headerRenderer="{HeaderRenderer}"/

Now forgive me for being hasty on this one, bc the end of 
the day is drawing, but in those examples I saw online, they always use a 
default constructor.

Is there anyway to pass a value to that renderer, and use a 
non default constructor(constructor w/ arguments)?

Example which is failing on me:

DataGridColumn 
headerRenderer="{HeaderRenderer(val1,val2)}"...

I've also tried

DataGridColumn headerRenderer={"new 
HeaderRenderer(val1,val2)"}...

They don't work, and i've been stuck on it now. 
:-(

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
alex_haruiSent: Tuesday, July 12, 2005 4:49 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: mouse over text 
for a datagrid column
You can write a custom header renderer with a tooltip 
property--- In flexcoders@yahoogroups.com, "nick" [EMAIL PROTECTED] 
wrote: Hey everyone, new to the group :-)  Just gotta 
question regarding mouse over text for a datagrid column header...how is 
it done? I dont see any properties attribute to set it with. 
Is it possible?  
Thanks--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] ToolTips on Tree Nodes?

2005-07-12 Thread Sauro, Nick





yea, im trying to figure out the same thing for 
DataGridColumn headers. I'm looking thru DataTips right now, and it seems 
like the way to go.

I've tried

showDataTips ="true"
and then dataTipField = "someField in my 
model"

and still no luck :-/ if i make any progress i 
will post the code. Could u do the same :-)

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Tuesday, July 12, 2005 1:48 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] ToolTips on Tree 
Nodes?


Check out 
dataTips





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Stacy 
YoungSent: Tuesday, July 12, 
2005 10:19 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] ToolTips on Tree 
Nodes?

Scouring thru API docs, 
unless Im blind, is this possible/documented?

Thx!
Stace
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  
  





  
  
  YAHOO! GROUPS LINKS



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