[flexcoders] Drawing on canvas

2005-09-02 Thread Prasad Dhananjaya
Hi All,

I want to draw some dots on the canvas(which are going to use as codinates)
and I did it. But when I move scrollbar(vScrollbar or HScrollbar)
these dots are not moving. They are fixed(may be not on the canvas).
But image12.jpgis on the canvas and when I move scrollbar it also moves.
Plesae tell me how can I draw these dots on the canves.

Thanks
Prasad

---
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 mx:Script
![CDATA[
  function drawDots(){
  var xx:Number=35;
  var yy:Number=35;
  var ref_mc = this.Canves1.createEmptyObject(square, 
this.getNextHighestDepth());
  for (var i:Number=0;i=15;i++){
  ref_mc.fillRect(xx, yy, xx+5, yy+5, 0x00, 100);
  xx=xx+75;
  yy=yy;75;
}
}
]]
/mx:Script

  mx:Panel width=100% height=100% title=Panel1
   mx:Canvas id=Canves1 x=0 y=110  width=100% height=225 
backgroundColor=#DEE0FE vScrollPolicy=auto creationComplete=drawDots() 
visible=true
   mx:Image x=2205 y=2382  source=image12.jpg width=32 
height=32 /
  /mx:Canvas
  /mx:Panel
/mx:Application
-



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: Custom Component builder

2005-09-02 Thread Alberto Albericio Salvador
Ok, thanks all... it seems I will have to deal with AS hehe


parinda_b_patel escribió:

You will need to write your own MXML or ActionScript to perform that.
There is no ready to use tool in order to do that.

--- In flexcoders@yahoogroups.com, Alberto Albericio Salvador
[EMAIL PROTECTED] wrote:
  

Hi,

I want to create custom components extending original Flex components, 
is there any visual application for this purpose? For example, I


want to 
  

create my customPanel which extends mx:Panel; I want to add a title bar 
with buttons and icons, set event to these buttons, etc...is there any 
application to do this or I must use AS to create them?

Thanks

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática







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



 



  



-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Drawing on canvas

2005-09-02 Thread Abdul Qabiz
Try this:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 mx:Script
![CDATA[
  function drawDots(event){
  var xx:Number=35;
  var yy:Number=35;
  //var ref_mc = Canves1.createEmptyObject(square,
this.getNextHighestDepth());
  var ref_mc = Canves1.createChild(mx.containers.Canvas,
undefined,{percentWidth:100, percentHeight:100});
  for (var i:Number=0;i=15;i++){
  ref_mc.fillRect(xx, yy, xx+5, yy+5, 0x00, 100);
  xx=xx+75;
  yy=yy;75;
}
}
]]
/mx:Script

  mx:Panel width=100% height=100% title=Panel1
   mx:Canvas id=Canves1 x=0 y=110  width=100% height=225
backgroundColor=#DEE0FE vScrollPolicy=auto
creationComplete=drawDots() visible=true
   mx:Image x=2205 y=2382  source=image12.jpg width=32
height=32 /
  /mx:Canvas
  /mx:Panel
/mx:Application



I need to investigate to find out why your approach is not working.

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Prasad Dhananjaya
Sent: Friday, September 02, 2005 11:50 AM
To: FlexML
Subject: [flexcoders] Drawing on canvas

Hi All,

I want to draw some dots on the canvas(which are going to use as
codinates)
and I did it. But when I move scrollbar(vScrollbar or HScrollbar)
these dots are not moving. They are fixed(may be not on the canvas).
But image12.jpgis on the canvas and when I move scrollbar it also
moves.
Plesae tell me how can I draw these dots on the canves.

Thanks
Prasad

---
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 mx:Script
![CDATA[
  function drawDots(){
  var xx:Number=35;
  var yy:Number=35;
  var ref_mc = this.Canves1.createEmptyObject(square,
this.getNextHighestDepth());
  for (var i:Number=0;i=15;i++){
  ref_mc.fillRect(xx, yy, xx+5, yy+5, 0x00, 100);
  xx=xx+75;
  yy=yy;75;
}
}
]]
/mx:Script

  mx:Panel width=100% height=100% title=Panel1
   mx:Canvas id=Canves1 x=0 y=110  width=100% height=225
backgroundColor=#DEE0FE vScrollPolicy=auto
creationComplete=drawDots() visible=true
   mx:Image x=2205 y=2382  source=image12.jpg width=32
height=32 /
  /mx:Canvas
  /mx:Panel
/mx:Application

-




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



 





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] MXML Components and instanceof

2005-09-02 Thread Dirk Eismann
If you just nned to check the type of the component your
basicSearchCompany currently sits in during runtime try:

if (parentDocument instanceof marketingMain) {
parentDocument.marketingDetails.selectedIndex = 2;
parentDocument.gridContacts.dragable = true;
}

parentDocument points to the next document node, i.e. the MXML file
basicSearchCompany is embedded in. 

Another idea: why not dispatching an event object from your
basicSearchCompany? The embedding component could register for this
event and act accordingly when the event occurs. This way you get a nice
decoupling between your basicSearchCompany component and any embdeeing
component.

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Reto M. Kiefer
Sent: Friday, September 02, 2005 10:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] MXML Components and instanceof

Dear all,

I have quit a strange problem with a mxml component I developed. It is a
search form which is used more than once in the whole application.

From one of the the main screens / parents it is embedded with: 

basicSearchCompany xmlns=* pO={this} /

.

In the component I need a switch that decides how the component behaves
depending on the parent. So I have this lines in the basicSearchComapny
component

if (pO instanceof marketingMain) {
pO.marketingDetails.selectedIndex = 2;
pO.gridContacts.dragable = true;
}

This works fine most of the time, but not always. Sometimes I get a
compilation error:

Error /foo/marketingMain.mxml:99
Cyclical reference to class basicSearchCompany. Two MXML Files cannot
reference each other as child tags.

Anyone knows how to make such a switch depending on the calling/parent
component or to mae ot always working?

Thanks in advance

Reto


 Yahoo! Groups Sponsor ~--
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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



 




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] MXML Components and instanceof

2005-09-02 Thread Reto M. Kiefer
Hi Dirk!

Thanks a lot for your answer. Unfortunatly the parentDocument doesn't
work, I still got the error Two MXML Files cannot reference each
other as child tags.

 Another idea: why not dispatching an event object from your
 basicSearchCompany? The embedding component could register for this
 event and act accordingly when the event occurs. This way you get a nice
 decoupling between your basicSearchCompany component and any embdeeing
 component.

Would you be so kind and provide me with a link for this solution. I
have my Flex book @ home and I am on tour till tuesday...

Thanks

Reto

PS: Do we know each other from CeBIt tis year?


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Flex Cairngorm + ColdFusion + Framework?

2005-09-02 Thread Philippe Maegerman





Found a flex sample for using with Tartan @ 
flashAnt
http://www.flashant.org/index.php?p=438c=1

Philippe 
Maegerman



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Simon 
BarberSent: mercredi 31 août 2005 17:06To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex  Cairngorm 
+ ColdFusion + Framework?
I recently started building an application in Flex using 
theCairngorm framework. The server side logic will come from ColdFusion 
but I was wondering if anyone implements any MVC style framework on the 
ColdFusion side? I have looked at a few and the Tartan framework has 
a lot of similarities with Cairngorm. Do you think it would be worth 
implementing an MVC framework on the server side like Tartan for 
instance?Has anyone done this and had great 
success?





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



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


Re: [flexcoders] MXML Components and instanceof

2005-09-02 Thread Reto M. Kiefer
Hi Dirk!

Thanks a lot for your detailed answer. I will try and give you a feedback!

Cheers

Reto


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: flashvars question

2005-09-02 Thread pilby1
Hi, Matt, thank you for your response.

I'm a bit confused though by what you mean. A flex app, by its very 
nature, does not utilize or require the use of the forward/back 
buttons of the browser, as that will bring the user out of the flex 
app.

I took out all historyURL and lc_id occurrences in my web page, 
including all javascript script tags that pertained to history, 
but I fail to see any difference.

Could you please elaborate?

Thanks.


--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:
 If you remove the historyUrl, users can no longer use the browser's 
back
 and forward buttons to navigate through their Flex app. This 
flashvar is
 necessary for the history manager to keep track of the application's
 state.
 
 Lc_id is also used by the history manager.
 
 matt
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of pilby1
  Sent: Thursday, September 01, 2005 5:24 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] RE: flashvars question
  
  I noticed that in the html page that FlexBuilder generates, 
  there are the following flashvars variables:
  
  - historyUrl
  - lconid
  
  What would be the consequence of removing those two? I tried 
  removing the lconid=lc_id in the flashvars with no apparent 
  consequence, but I just wanted to make sure.
  
  Thanks.
  
  
  
  
  
   Yahoo! Groups Sponsor 
  ~-- Get Bzzzy! (real tools to help you 
  find a job). Welcome to the Sweet Life.
  http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
  --
  --~- 
  
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
  
  
  
   
  
  
 




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RES: [flexcoders] Cairgorm features

2005-09-02 Thread Michel Bertrand
Title: Mensagem





Hello 
Steven !

-Mensagem original-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de 
Steven WebsterEnviada em: quinta-feira, 1 de setembro de 2005 
17:04Para: flexcoders@yahoogroups.comAssunto: RE: 
[flexcoders] Cairgorm features
Hey 
Michel,

  - Error Handling
  What would 
  you require exactly; remember we're not "in JVM" so the responsibility to 
  throw errors is different. What would you be looking for...?
  Ok, we were thinking about Struts form 
  validation here. Validate not only unfilled fields automacally and/or show 
  errors about executingservice operations. We could have something like the 
  Struts error tag. Perhaps, when considering service execution on Flex, 
  weknow they don't happen at the invocation moment, so it can be a 
  problem to register and show the errors. Anyway, is a 
  suggestion.
  - 
  Internacionalization
  We intended implementing the solution by Benoit Hedard into the 
  Cairngorm framework, but haven't made any concrete commitments to delivering 
  that. We'retrying to balancedecisions about whether features 
  belong in an architectural framework, or whether we should lobby for their 
  inclusion in the technology itself.
  Ok,weagree, this is a goodarguing, why flex doesn't 
  have 
  (nativelly) some 
  feature that helps people to write an i18nable application ? But even in Java, 
  the use of ResourceBundles is just a pattern, a feature of the java 
  "architecture", and not something inside the JVM, or the language 
  itselt.
  We'll try to solve this issue using a Java 
  Remoting Service binding to a Flex Dataset, and this one binding to the 
  properties of the Flex componentes. This service will be called in the 
  initialization fase of the Flex Application, or even when the user decides to 
  change its locale. In our case this Java Remoting Service of course relies on 
  the Java Resource Bundle support.
  This looks very simple, should be work 
  without performance issues, and could be a pattern to any Flex Development 
  that needs i18n support.
  - Action Mapping (regarding navigation) 
  Again, what would you be looking for here 
  ? Currently, actions are essentially "event names" that invoke commands, 
  and the map as such is the implementation of the FrontController. We've 
  found that to be a lightweight implementation that delivers on what people 
  require ... would you require more.
  Struts is built upon the Core J2EE Patterns, 
  Cairngorm is an implementation of an RIA microarchitecture that leverages the 
  Core J2EE Patterns that the iteration::two team considered over the years to 
  be appropriate to RIA development, and have since won support from the other 
  members of the Cairngorm project committee (and the developers using the 
  framework).
  Our goal is to deliver an implementation of a 
  best-practice microarchitecture that best-leverage the feature-set of Flex; 
  our goal has never been to port Struts (which I would consider to be too 
  heavyweight for stateful client-side microarchitecture, but that's another 
  discussion).
  Have you built an RIA with Cairngorm, and did you 
  find anything lacking in being able to engineer and deliver the kind of 
  user-experiences that you hoped for ? Feature requests based upon 
  real-world use-cases are greatfully accepted...
  Here we are asking ourselfs what are the benefits of using this 
  Cairngorm microarchitecture ?Ok, with it, we extract the controller 
  of user UI actions(FrontController) to a separated piece of code, that 
  should be more easily maintained, for instance to implement a new behavior, 
  without touching the UI code (mxml).Is just that ? Because this 
  complexity added in the UI development, in our opinion, it doesn't justify 
  this only one benefit.We've also heard that using this Cairnform 
  microarchiteture the development should be faster than a common approach, were 
  the UI actions(events) are treated directly in the mxml code. In practice 
  this is not true.We are also looking for some pattern that helps us 
  in another area. Our applications are commonly customized by our customers, 
  for example to add or change a behavior of an UI functionality, sometimes this 
  customizations are per enduser and not only to a particular application 
  instance.So, more than a simple separation of the controller, we 
  need something more FLEXyble, solved in runtime, maybe using XML (here like 
  struts, butsimpler) instead of ActionScript code (without compilation 
  needs).
  Best wishes,
  Steven
  
  
  
  --
  Steven WebsterTechnical 
  Director
  iteration::two
  
  
  This e-mail and any associated 
  attachments transmitted with it may contain confidential information and must 
  not be copied, or disclosed, or used by anyone other than the intended 
  recipient(s). If you are not the intended recipient(s) please destroy this 
  e-mail, and any copies of it, immediately.Please also note that 

Re: [flexcoders] Re: passing array of Form values in VO

2005-09-02 Thread Chris Ruegger



The form is dynamically generated, so the amount of items in the form are not known
until runtime.
Daniel Harfleet [EMAIL PROTECTED] wrote:
Will your form have a fixed amount of 'name' inputs, or will the userkeep adding inputs by clicking a button (or similar) ?dan--- In flexcoders@yahoogroups.com, "cruegger2000" [EMAIL PROTECTED]wrote: I want to have a form on the client side that accepts a list of items of the same type/meaning, for example people's names. I would then send a value object to a server side Delegate object  using the mx:RemoteObject construct.  However, I don't know how to indicate that a form variable is an "array" without getting duplicate component id errors. In essence, I want to do what is shown below. How can I have a  "vector" form variable using Flex? Thanks in advance.  mxml file: mx:Form mx:FormItem
 label="name1" mx:TextInput id="name"/ /mx:FormItem  mx:FormItem label="name2" mx:TextInput id="name"/ mx:FormItem  mx:FormItem label="name3" mx:TextInput id="name"/ /mx:Form   Client side value object: - class Foo { public var names: Array; }   Server Side value object: - public class Foo { private String[] names; (or List)  // accesors }
		 Start your day with Yahoo! - make it your home page 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Re: flashvars question

2005-09-02 Thread Abdul Qabiz
Macromedia Flex application supports browser's back/next button. For
example, if you have a tab navigator and you switch between different
tabs, you can use browser's navigation button to see previous selected
view...

Give it a try, you will get the idea..

Like tab-navigator, accordion or viewstack etc supports this. Infact
Flex provides a framework to do history management...

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pilby1
Sent: Friday, September 02, 2005 7:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: flashvars question

Hi, Matt, thank you for your response.

I'm a bit confused though by what you mean. A flex app, by its very 
nature, does not utilize or require the use of the forward/back 
buttons of the browser, as that will bring the user out of the flex 
app.

I took out all historyURL and lc_id occurrences in my web page, 
including all javascript script tags that pertained to history, 
but I fail to see any difference.

Could you please elaborate?

Thanks.


--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:
 If you remove the historyUrl, users can no longer use the browser's 
back
 and forward buttons to navigate through their Flex app. This 
flashvar is
 necessary for the history manager to keep track of the application's
 state.
 
 Lc_id is also used by the history manager.
 
 matt
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of pilby1
  Sent: Thursday, September 01, 2005 5:24 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] RE: flashvars question
  
  I noticed that in the html page that FlexBuilder generates, 
  there are the following flashvars variables:
  
  - historyUrl
  - lconid
  
  What would be the consequence of removing those two? I tried 
  removing the lconid=lc_id in the flashvars with no apparent 
  consequence, but I just wanted to make sure.
  
  Thanks.
  
  
  
  
  
   Yahoo! Groups Sponsor 
  ~-- Get Bzzzy! (real tools to help you 
  find a job). Welcome to the Sweet Life.
  http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
  --
  --~- 
  
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
  
  
  
   
  
  
 





--
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 ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] INCREASE YOUR JOB OPPORTUNITY 500 TIMES MORE...

2005-09-02 Thread Netlife Career






INCREASE YOUR JOB OPPORTUNITY 500 TIMES MORE... 

SEND YOUR RESUME TO HR HEADS OF 500 LEADING COMPANIES  500 LEADING PLACEMENT AGENCIES 

We, www.netlifecareer.com are glad to introduce our Free RESUME FLASH Service. 

You can now submit/register your resume with www.netlifecareer.com and inform 10 of your friends through our 'Tell a friend' feature from the homepage of and get your resume automatically send to 500 leading Companies and 500 Leading HR Consultants. This is only for a period of one month. This will absolutely increase your job opportunity as thousands of jobs are not published and filled by CVs received by email by companies. So do not miss this opportunity.

Click on the following link to register/submit your resume:http://www.netlifecareer.com/scripts/emp_new_reg.php
Click on the following link to inform your friends:http://www.netlifecareer.com/tellafrnd_new.htm

Why Resume Flash? 


Cost effective – Avoid the cost and effort of sending CVs by email/post

Boost your job opportunity a thousand times over. 

Get the right job faster 

Get opportunities from all over India. 
How does it work?

Once you register and inform 10 of your friends easily by email through our ‘Tell a Friend’ Feature from the www.netlifecareer.com home page, your CV will be automatically send to HR heads of 500 leading companies and 500 Leading placement agencies.

Netlife Career Team
		 Start your day with Yahoo! - make it your home page 
		Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard.





--
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] File Download Using FP8 Limited?

2005-09-02 Thread Stacy Young










Im in the midst of adding file
download to a current Flex application using an embedded flash 8 swf as per the
article on MM.com. There doesnt seem a way to allow flash to accept a
filename set in the header from the server. For instance a download servlet
that changes the filename based on report type and date range. Seems you either
have to explicitly set the filename on the client or accept the default, which
in my case is the name of the Servlet performing the report generation.



Anyone know a way around this? Seems like
a fairly big limitation



Stace









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] How to use the label Function in a Tree that has different labels in the parents and the children - Solved

2005-09-02 Thread Oscar . Cortes
I changed the function to :


private function lblFunc(oItem:Object):String
   {


   if (oItem.hasChildNodes()){
  return oItem.getProperty(deptDesc);
}
else
  { return oItem.getProperty(empName);

   }
}








 [EMAIL PROTECTED]  To: flexcoders@yahoogroups.com  
 
 Sent by:  cc:  

 flexcoders@yahoogroups.comSubject:  [flexcoders] How to 
use the label Function in a Tree that has  
 09/02/2005 01:53 PM different labels in the 
parents and the children.  
 Please respond to  

 flexcoders 









I am trying to populate a Tree with a result that has hierarchical data. It
actually populates correctly but the parent and the children don't have the
same label description, and the children are displaying as
[object][object]. I am using a label function to get the parent label name,
and that's working fine. However, I don't know how to point to the right
label description in the children.

 This is the function I am using. As I said it only works for the parent.
 private function lblFunc(oItem:Object):String
   {

return oItem.getProperty(deptDesc);


   }

This is the hierarchical structure. It is mainly and Array of departments,
and each of them has an attribute called employeeColl which is an Array of
employees for the department. This shows one of the departments.

  employeesColl: [{empCode: emp1,
empName: Emp 1,
empDate: null},
{empCode: emp2,
empName: Emp 2,
empDate: null},
],
  deptCode: Commer,
  deptDesc: Some Department

 How can I change lblFunc  such that it can take empName for label
description in the children?

   So far I am getting something like this:

   -   Some Department
-- [object][object]
-- [object][object]
 what I want to get:

   -   Some Department
-- Emp 1
-- Emp 2
Thanks,

---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---





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











---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

[flexcoders] Flex Runtime Application Error

2005-09-02 Thread pathy_live
Hi all,

I have the flex license even though the error is coming,

when I run the application it says 

This standalone application was created with the Developer edition of 
Macromedia Flex and has expired. Contact the author of this application 
for a new copy

please anyone can help me to solve this.

Thanks  Regards
Jalpet 





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Flex Cairngorm + ColdFusion + Framework?

2005-09-02 Thread Paul Kenney



Thanks for posting this. Now I have a simple flash sample.
On 9/2/05, Philippe Maegerman [EMAIL PROTECTED] wrote:







Found a flex sample for using with Tartan @ 
flashAnt
http://www.flashant.org/index.php?p=438c=1


Philippe 
Maegerman



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Simon 
BarberSent: mercredi 31 août 2005 17:06To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex  Cairngorm 
+ ColdFusion + Framework?
I recently started building an application in Flex using 
theCairngorm framework. The server side logic will come from ColdFusion 
but I was wondering if anyone implements any MVC style framework on the 
ColdFusion side? I have looked at a few and the Tartan framework has 
a lot of similarities with Cairngorm. Do you think it would be worth 
implementing an MVC framework on the server side like Tartan for 
instance?Has anyone done this and had great 
success?





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




  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are
confidential and intended solely for the use of the individual to whom
it is addressed. If you have received this email in error please send
it back to the person that sent it to you. Any views or opinions
presented are solely those of author and do not necessarily represent
those the Emakina Company. Unauthorized publication, use,
dissemination, forwarding, printing or copying of this email and its
associated attachments is strictly prohibited.
We also inform you that we have checked
that this message does not contain any virus but we decline any
responsability in case of any damage caused by an a non detected virus.--

-- Paul Kenney[EMAIL PROTECTED][EMAIL PROTECTED]http://www.pjk.us







--
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] Re: Background alpha in Tree control does not seem to be working

2005-09-02 Thread delaquae
If they don't support it, then why does Flex Builder display it in 
the properties panel when a Tree Control is selected?


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 I don't think Tree or the Lists support alpha for their 
background.  I
 might be wrong but it's what I remember...sorry.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of delaquae
 Sent: Thursday, September 01, 2005 11:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Background alpha in Tree control does not 
seem to
 be working
 
  
 
 I have not had any luck setting the background alpha on a Tree 
 component.  I would like the tree background to reflect the Panel 
 background in which it resides.  Other controls (i.e. Lists, etc.) 
 seem to work for me.  Any thoughts / help would be appreciated!
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Tab Navigator or LinkBar text color after selection

2005-09-02 Thread delaquae
Is there any way to set the text color of a Tab or LinkBar label after 
it is selected?  i.e. I have set the color of a selected Tab to be a 
dark color and would like the text to be white once it has been 
selected (not just while it is being selected).




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] combo box problem I think!

2005-09-02 Thread James
Hello All,

I have an issue you might be able to point me in the right direction, or
show me what I'm doing wrong. Here's the scenario: This is a logout routine
for cashiers. As they come into this popup, it presents them with a list of
currently logged in cashiers. They select a cashier to log out and enter a
password. Hit the button that sends the information to the logout service
and bing, bang, boom! There logged out. And life is good! The Cashier
service is refreshed and everybody goes home happy. Except, the combobox,
it's an evil thing, truly evil, when I have 2 or more cashiers, it works
GREAT! However when I have only one cashier to log out, it doesn't want to
put them in the combobox ( 1 record). I know somebodies had to come across
this before, I'm hoping for someone that can show me the error of my ways...

James


Here's the code:

?xml version=1.0 encoding=utf-8?
mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml; 
title={StoreInfo.LOCATNNM}
closeButton=true
click=deletePopUp();
initialize=hs_StoreInfo.send()


!-- 

http://localhost/ws/Login.asp?UserID=ScottpwdId=scott01StoreNumber=2001
--

mx:Script
var StoreIP = 192.168.0.26; // for testing purposes only
![CDATA[
function Logoutresult() { //On initialization, sets value of
TextArea to 10.
CashierSrv.send();
deletePopUp();
}

]]
/mx:Script
mx:HTTPService id=hs_StoreInfo
url=http://localhost/tmp/storeinfo.xml;
result=CashierSrv.send(); 
mx:request
StoreIP{StoreIP}/StoreIP
/mx:request
/mx:HTTPService

mx:Model
id=StoreInfo{hs_StoreInfo.result.storeinfo.SY00600}/mx:Model

mx:HTTPService id=CashierSrv
url=http://192.168.0.4/sbm/tmp/CashierList.xml;
showBusyCursor=true
mx:request
UserID{ALL}/UserID
StoreName{StoreInfo.LOCATNNM}/StoreName
/mx:request
/mx:HTTPService

mx:HTTPService id=LogOutSrv
url=http://192.168.0.4/sbm/tmp/logout.xml; showBusyCursor=true
method=POST 
fault=mx.core.Application.alert(event.fault.faultstring);
result=Logoutresult() 
mx:request
UserId{cmbLogout.selectedItem.USERId}/UserId
pwdId{password.text}/pwdId
StoreId{StoreInfo.LOCATNID}/StoreId
/mx:request
  /mx:HTTPService

mx:HBox id=b1
mx:Label text=Select cashier to log out:/
mx:ComboBox id=cmbLogout
dataProvider={CashierSrv.result.cashiers.login} labelField=UserName
width=100% / 
/mx:HBox

 
mx:HBox id=b2
mx:Label text=Password: width=143/
mx:TextInput id=password password=true text=
width=101/
/mx:HBox


   mx:Button label=Log Out Cashier click=LogOutSrv.send(); /


/mx:TitleWindow




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Tab Navigator or LinkBar text color after selection

2005-09-02 Thread Andrew Spaulding
For the linkbar try the disabledColor style.

The tab label is a little more difficult as it doesn't have a similar
disabled style property. You wll have to write a change event handler
that would manually set the styles on the individual tabs.

Something to the effect of -

mx:TabNavigator id=tabNav change=changeTabColor(event) /

function changeTabColor( event:Object ) : Void
{
  if( event.prevValue != undefined )
  {
var tab = tabNav[tabBar].getChildAt( event.prevValue );
tab.setStyle( 'color', 0x00 );
  }

  if( event.newValue != undefined )
  {
var tab = tabNav[tabBar].getChildAt( event.newValue );
tab.setStyle( 'color', 0xFF );
  }
}

But then you will also need to manually handle the mouseOver events as
well because the white label color doesnt effect the mouse over
highlights.

Hopefully this will give you a heads up ;-)

Andrew Spaulding
www.flexdaddy.info



--- In flexcoders@yahoogroups.com, delaquae [EMAIL PROTECTED] wrote:
 Is there any way to set the text color of a Tab or LinkBar label after 
 it is selected?  i.e. I have set the color of a selected Tab to be a 
 dark color and would like the text to be white once it has been 
 selected (not just while it is being selected).




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Nominations for essays worthy of inclusion in The Best Software Writing II?

2005-09-02 Thread Greg Hamer



Have you read any particularly insightful blog posts lately? 

Nominations are open for The Best Software Writing II. Nominations are made online at http://discuss.joelonsoftware.com/default.asp?bsw

If you haven't seen The Best Software Writing I, you can find the Amazon page for it here: 
www.amazon.com/exec/obidos/tg/detail/-/1590595009

For the most part, the The Best Software Writing series puts great blog essays into print form.

I would love to see Macromedia technologies represented in the next
edition of The Best Software Writing. I think that many
Macromedia technologies truly are groundbreaking. Therefore I
suspect there are some fascininating blog posts made around Macromedia
technologies. The next time you see one (or if there is a good one
already stuck in you mind), please take the time to nominate it.

g






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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