[flexcoders] PDF / Word Doc/ PPT to swf

2006-10-25 Thread omkarjoe
Hi,

Does anyone know any java api available which will convert PDF, Word 
Doc, PPT at the serverside to SWF (may be Flash Paper)??? or if anyone 
has done dat before kindly let me know...

Any relative comments are welcomed.

Thanks in advance

Omkar




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: FlexBuilder refusing to Build newer versions of .mxml files !!!

2006-10-25 Thread Mike Crowe
Is nobody else having this issue?  This is happening almost every 
build for me, and it's driving me crazy.  I'm getting sick of 
recreating a project, just to compile.  

Where does the system cache the byte-code?  My application isn't that 
big, so I am willing to completely recompile all files.

Mike

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

 Brian may have provided you with the solution but I had same problem
 and hacked it by creating a new mxml file and copy-pasting the code
 from the problem file. That always seems to work
 AndyC
 
 -- In flexcoders@yahoogroups.com, Brian Holmes bholme@ wrote:
 
  Mike,
   I had the same problem when I first started using FlexBuilder. 
What I
  found was that I had closed the Problems window and couldn't see 
the
  errors that were being generated so it looked like it didn't 
compile and
  I kept getting file not found errors. Don't know if that's your 
problem,
  but that's what I did. Good luck.
  
  Brian.
  
   
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
  Behalf Of Mike Anderson
  Sent: Tuesday, August 08, 2006 1:08 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] FlexBuilder refusing to Build newer 
versions of
  .mxml files !!!
  
  Hello All,
  
  After compiling my default application a few times (and that 
number can
  change randomly), FlexBuilder refuses to re-compile my 
application after
  subsequent changes to my source code - so I end up seeing the 
same darn
  ..swf - time after time.  And shutting down FlexBuilder, and 
restarting
  has no effect whatsoever either.
  
  This is getting exceedingly irritating, because when debugging an 
app,
  you always want to change a little code, and then retest it 
immediately
  afterwards.  So, in theory, I could literally fix the problem 
with the
  very next build - but I'd never know it for several builds - 
because I
  am not seeing the newer version of the .swf file.
  
  Man, I can't convey to you all how peeved I am getting right 
now...
  
  AND after running a Clean on my project, then I get a file not 
found
  message, when trying to run the application.  Well, no sh** 
Sherlock -
  that's what happens when the Compiler doesn't build the .swf file 
-
  after deleting it from the deployment directory, previous to the 
newer
  build.
  
  This is getting really out of control, and I am pleading with you 
all,
  to share any similar experiences with me - so that I can get to 
the
  bottom of what's going on.
  
  Many thanks in advance for any help regarding this,
  
  Mike
  
  
  --
  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
  
  
  
   
  
  
  
  
  
  
  ***
  The information in this e-mail is confidential and intended solely
 for the individual or entity to whom it is addressed.  If you have
 received this e-mail in error please notify the sender by return
 e-mail delete this e-mail and refrain from any disclosure or action
 based on the information.
  ***
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Simple Clock to digital?

2006-10-25 Thread Bill Long
Does anyone have a suggestion on how to write a digital clock instead 
of the good old analog that's shown in the /samples file.  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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] += operator is changing the encodings

2006-10-25 Thread Luis Eduardo

  hi,

  In my app, when i use the += operator, the data inside xmls turns with 
diferent encoding.
  The  and  caracters become wierds like lt and gt respectively.

  How can i fix this?

this is the code:


public function doGravar():void {
var xgravar:XMLList = new 
XMLList(dsRQrootrequest//root/dsRQ);

szCommand = insert;
[EMAIL PROTECTED] = szCommand;
   
Alert.show(XMLLC.toXMLString());  // OK here. all  and  
works fine
   
xgravar.root.request += XMLLC;
   
Alert.show(xgravar.toXMLString()); // ERROR here.  and  
converted to lt and gt
}

where XMLLC : XMLListCollection  and szCommand : String.
The first Alert will show correct data but the second will show 
caracters converted.


regards,

 Luís Eduardo.




___ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 



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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Flex Builder 2 Beta for Mac on Adobe Labs

2006-10-25 Thread John Olson
http://labs.adobe.com/technologies/flexbuilder2/



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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Viewstack / Navigator Filtering Best Practice?

2006-10-25 Thread oktay nba



i was stuck right in the same situation. i haver a linkbar binding from a viewstack.
i want to be able to define which childs of viewstack will be visible in linkbar(i.e. want to filter dataprovider of linkbar)
On 10/2/06, Jamie O [EMAIL PROTECTED] wrote:
Hello,Looking for a little help as far as best practices for filtering anavigator (togglebuttonbar, buttonbar) from a viewstack data provider.
Each viewstack is a canvas and I only want to present the selection inthe togglebuttonbar IF the XML node which contains the data for thecanvas exists.Right now I'm using .addChild and .removeChild on the togglebuttonbar
to control which buttons are displayed. That works the firs time theapp loads, but as the user changes the data source (tied to a textboxthat loads a different xml file) it breaks. I'm thinking there is away to control which viewstate elements are displayed from within a
dataprovider, but having issues with that.Right now, this is the XML event result handler source code:mx:Scriptprivate function XMLDPHandler(event:ResultEvent):void {pcXMLDP = new XML(event.result
);bbNavigate.removeAllChildren();if (pcXMLDP.nodename1.length()  0) {bbNavigate.addChild(vsNavigate .getChildByName(nodename1));}else {bbNavigate.removeChild(vsNavigate .getChildByName(nodename1));
}/mx:ScriptAnd this is the viewstack / navigator components MXML:mx:ToggleButtonBar x=10 y=70 id=bbNavigate width=475 /mx:ViewStack x=10 y=100 id=vsNavigate width=475 height=235
mx:Canvas id=nodename1 label=Node 1 width=325 height=100mx:Label text=Node 1 text testfontWeight=bold left=0 top=0/
mx:ComboBox id=cmbCriteria width=200dataProvider={pcXMLDP.nodename1.criteria}labelField=@Nameleft=108 top=15//mx:Canvas
mx:Canvas id=nodename2 label=Node 2 width=325 height=100mx:Label text=Node 2 text testfontWeight=bold left=0 top=0/
mx:ComboBox id=cmbRank width=200dataProvider={pcXMLDP.nodename2.rank}labelField=@Nameleft=108 top=15//mx:Canvas
/mx:ViewStack/mx:CanvasAny help would be appreciatedThx--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* Your email settings: Individual Email | Traditional
* To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required)* To change settings via email:
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Datagrid Cellrender performence issue

2006-10-25 Thread Yasovardhan Babu
Hi All,

I have a problem with performence of Datagrid.
My requirement is that I have a datagrid with many columns, with one 
column as checkbox column and two columns as editable columns.
I am using text
1)If one of the editable column is changed then the other editable 
column should be updated with the value,by doing some calculations on 
the firse editable column value.

2)I need to retain the scroll position and focus in the editable column

3) Validate the edited value(only numbers are allowed)

3)Update the dataprovider with the edited values

The main problem is that it is hanging when I do all the above things.
Can any one help me with a sample?

Thanks and Regards,
Yasovardhan.
 




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] bug in the XMLListCollection ?

2006-10-25 Thread Luis Eduardo


  hello people,

  i am adding one XML item at one XMLListCollection but the 
collectionChange event dont fire.

  i am using the follow code:

  var xn:XML = new XML();
  xn = TipoVeiculo Id= Nome={edtNome.text} 
Descricao={edtDescricao.text}/;
  XMLLC.addItem(xn);

  the XMLListCollection was defined in this way:

  mx:XMLListCollection id=XMLLC 
collectionChange=Alert.show('collectionChange')/

  any ideas?  is this a bug?  or only the arraycollection can actually 
fire this event?


  []'s,

   Luís Eduardo.





___ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar 
seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Initialization and Configuration Help needed

2006-10-25 Thread Mike Crowe
Hi folks,

I'm struggling with how to configure my system, and I'm drawing a 
blank.  

When my system is installed, it needs to communicate via HTTPService 
to the host.  It can be to:

http://localhost/index.php
http://localhost/subdir/index.php
http://www.somehost.com/index.php

Things like this.

So, I elected to put a XML config file on the host in the swf 
directory called config.xml:
config
baseUrlhttp://localhost/web/index.php//baseUrl
/config

and I call by setting url=config.xml and execute a 
HTTPService.send().  

Except, this request isn't coming back before some components that 
need this URL are starting.  So, I started down the path of setting 
creationPolicy to none and starting the components with 
createComponentsFromDescriptors(true).  However, this is getting 
hairy.

What's a better solution?  Any better way of doing?

TIA
Mike




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: hitData.item.(variable)

2006-10-25 Thread Tom Chiverton
On Tuesday 24 October 2006 15:05, jnewport wrote:
 So when trying to create your own dataTipFormat I am trying to find a
 way to get the [EMAIL PROTECTED], which of course does not work.

Just fire up the debugger and inspect it.

-- 
Tom Chiverton
Helping to synergistically harvest B2B communities



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: bug in the XMLListCollection ?

2006-10-25 Thread Bela Hajzer



--- In flexcoders@yahoogroups.com, Luis Eduardo [EMAIL PROTECTED] wrote:   hello people,  i am adding one XML item at one XMLListCollection but the  collectionChange event dont fire.  i am using the follow code:  var xn:XML = new XML(); xn = TipoVeiculo Id="" Nome={edtNome.text}  Descricao={edtDescricao.text}/; XMLLC.addItem(xn);  the XMLListCollection was defined in this way:  mx:XMLListCollection id="XMLLC"  collectionChange="Alert.show('collectionChange')"/  any ideas? is this a bug? or only the arraycollection can actually  fire this event?   []'s,  Luís Eduardo.  ___  Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas ! http://br.answers.yahoo.com/Hi, well this isn't a bug at all, maybe some more tutorials could help folks like you and me.In the meantime read through the ref. doc...
So here is a little working snippet:
?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
mx:Script ![CDATA[import mx.collections.XMLListCollection;import mx.controls.Alert;]]/mx:Script
mx:XMLList id="xnList"TipoVeiculo Id="1" Nome="{edtNome.text}" Descricao="{edtDescricao.text}"//mx:XMLList
mx:XMLListCollection id="XMLLC" source="{xnList}" /
mx:Panel title="XMLListCollection Example" height="75%" width="75%" paddingTop="10" paddingLeft="10"
mx:TextInput id="edtNome" text="Seat Toledo" /mx:TextInput id="edtDescricao" text="It rocks"/
mx:Button label="send" click="Alert.show(XMLLC.toXMLString())"/
/mx:Panel
/mx:Application
Adios, Bela

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Flex 2 calendar framework announced

2006-10-25 Thread Tom Chiverton
On Tuesday 24 October 2006 19:10, maunger wrote:
 I haven't had much time to look thru it yet, but I was hoping for some
 kind of 'month view' which i haven't found yet.

It's nice, but the PoC on 
http://www.quietlyscheming.com/blog/2006/10/17/looking-for-a-flex-calendar-this-might-whet-your-appetite/
 
is a *lot* nicer, certainly at the moment. The code for it isn't out yet, 
unfortunately.

-- 
Tom Chiverton
Helping to enormously mesh vertical CEOs



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 Deployment Best Practices

2006-10-25 Thread Tom Chiverton
On Tuesday 24 October 2006 16:38, John Kirby wrote:
 Bingo!  This is exactly my concern.  I love Flex... but building a
 bloated application of 500k-- 1Mb for the consumer space is not
 attractive.

I wouldn't want to inflict it on anyone as the first page of a site, no.

-- 
Tom Chiverton
Helping to biannually accelerate dynamic models



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Can I dock anything to the BOTTOM of the screen

2006-10-25 Thread Tom Chiverton
On Monday 23 October 2006 17:09, boy_trike wrote:
 I have an application bar docked to the top of the screen.  Is there any
 way to dock anything to the BOTTOM of the screen?

Something like 
top={Application.height-this.height}
maybe ?
-- 
Tom Chiverton
Helping to administratively expedite front-end niches



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Can I dock anything to the BOTTOM of the screen

2006-10-25 Thread Igor Costa



Yeap bruceCheck this outmx:Style ApplicationControlBar  { bottom:0; }/mx:Style
mx:ApplicationControlBar cornerRadios=0 width=100%/Regards.On 10/23/06, boy_trike 
[EMAIL PROTECTED] wrote:












  



I have an application bar docked to the top of the screen.  Is there any way to dock anything 
to the BOTTOM of the screen? 

Thanks

Bruce


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Simple Clock to digital?

2006-10-25 Thread Igor Costa



Why don't you extend that?You can do that using Flash to create the apperance of you digital clock. acceing the members of symbol library.Regards.On 10/24/06, 
Bill Long [EMAIL PROTECTED] wrote:













  



Does anyone have a suggestion on how to write a digital clock instead 
of the good old analog that's shown in the /samples file.  Thanks,


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] += operator is changing the encodings

2006-10-25 Thread Igor Costa



Hi LuizIsn't the operator that's wrong, you just missed out how to pass String and concatening in both side of wall.Check out this heck of how could be done.public function myList():void{
 var myXML = new XMLList(dsRQrootrequest//root/dsRQ); szCommand = insert; if( [EMAIL PROTECTED] = szCommand == true)
 { Alert.show(xgravar.toString()); }  else { Alert.show(xgravar); }}The problem is, you are trying to convert an object twice in time in the same function, that's why the problem happens. if you put anything in braces  than you convert to string, the compiler intend to undrestand that, ok the users now want to convert that cacharecter.
Regards.
szCommand = insert;
[EMAIL PROTECTED] = szCommand;
   
Alert.show(XMLLC.toXMLString());  // OK here. all  and  
works fine
   
xgravar.root.request += XMLLC;
   
Alert.show(xgravar.toXMLString()); // ERROR here.  and  
converted to lt and gt
}On 10/24/06, Luis Eduardo [EMAIL PROTECTED] wrote:













  




  hi,

In my app, when i use the += operator, the data inside xmls turns with 
diferent encoding.
  The  and  caracters become wierds like lt and gt respectively.

How can i fix this?

this is the code:

public function doGravar():void {
var xgravar:XMLList = new 
XMLList(dsRQrootrequest//root/dsRQ);

szCommand = insert;
[EMAIL PROTECTED] = szCommand;
   
Alert.show(XMLLC.toXMLString());  // OK here. all  and  
works fine
   
xgravar.root.request += XMLLC;
   
Alert.show(xgravar.toXMLString()); // ERROR here.  and  
converted to lt and gt
}

where XMLLC : XMLListCollection  and szCommand : String.
The first Alert will show correct data but the second will show 
caracters converted.

regards,

Luís Eduardo.

		
___ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 



  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Initialization and Configuration Help needed

2006-10-25 Thread Igor Costa



Mike are you trying to access your .swf from localhost too?What problem happens? didn't get your point.Regards.On 10/24/06, Mike Crowe 
[EMAIL PROTECTED] wrote:












  



Hi folks,

I'm struggling with how to configure my system, and I'm drawing a 
blank.  

When my system is installed, it needs to communicate via HTTPService 
to the host.  It can be to:

http://localhost/index.php
http://localhost/subdir/index.php
http://www.somehost.com/index.php

Things like this.

So, I elected to put a XML config file on the host in the swf 
directory called config.xml:
config
	baseUrlhttp://localhost/web/index.php//baseUrl
/config

and I call by setting url="" and execute a 
HTTPService.send().  

Except, this request isn't coming back before some components that 
need this URL are starting.  So, I started down the path of setting 
creationPolicy to none and starting the components with 
createComponentsFromDescriptors(true).  However, this is getting 
hairy.

What's a better solution?  Any better way of doing?

TIA
Mike


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] update an itemrenderer from outside

2006-10-25 Thread Igor Costa



Jesusyou have to create a function to do that, but in the case of update the grid after you change in the numeric stepper you just have an a scope problem. To acess a member outside an itemrender you have to choose the item 
outerDocument.functionyouCreate() in the tigger click.So, that's you need.Regards.On 10/24/06, Jesús Iglesias 
[EMAIL PROTECTED] wrote:












  






Hi again,

I have a datagrid with a numericstepper 
asitemrenderer. What I need todo is the opposite of the traditional change 
method, instead of clicking the numericstepper, I have to update de datagrid's 
dataprovider and have the numericstepper updated as it's field 
change.

¿How to update the itemrenderer when you change the 
dataprovider?
¿how to tell the numericstepper to update value 
property?

I have tried dataChange property of the 
itemrenderer but it seems it's not what i'm looking for.

Thanks again...
Jesus

  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Viewstack / Navigator Filtering Best Practice?

2006-10-25 Thread Igor Costa



Jamie just change from private to public in your function, and it will works.Regards.On 10/2/06, Jamie O 
[EMAIL PROTECTED] wrote:












  



Hello,

Looking for a little help as far as best practices for filtering a
navigator (togglebuttonbar, buttonbar) from a viewstack data provider.
Each viewstack is a canvas and I only want to present the selection in
the togglebuttonbar IF the XML node which contains the data for the
canvas exists.

Right now I'm using .addChild and .removeChild on the togglebuttonbar
to control which buttons are displayed. That works the firs time the
app loads, but as the user changes the data source (tied to a textbox
that loads a different xml file) it breaks. I'm thinking there is a
way to control which viewstate elements are displayed from within a
dataprovider, but having issues with that.

Right now, this is the XML event result handler source code:
mx:Script
private function XMLDPHandler(event:ResultEvent):void {
pcXMLDP = new XML(event.result);
bbNavigate.removeAllChildren();
if (pcXMLDP.nodename1.length()  0) {
bbNavigate.addChild(vsNavigate .getChildByName(nodename1));
}
else {
bbNavigate.removeChild(vsNavigate .getChildByName(nodename1));
}
/mx:Script

And this is the viewstack / navigator components MXML:
mx:ToggleButtonBar x=10 y=70 id=bbNavigate width=475 /
mx:ViewStack x=10 y=100 id=vsNavigate width=475 height=235

mx:Canvas id=nodename1 label=Node 1 width=325 height=100
 mx:Label text=Node 1 text test 
 fontWeight=bold left=0 top=0/
 mx:ComboBox id=cmbCriteria width=200 
 dataProvider={pcXMLDP.nodename1.criteria}
 labelField=@Name  left=108 top=15/
/mx:Canvas

mx:Canvas id=nodename2 label=Node 2 width=325 height=100
 mx:Label text=Node 2 text test 
 fontWeight=bold left=0 top=0/
 mx:ComboBox id=cmbRank width=200 
 dataProvider={pcXMLDP.nodename2.rank}
 labelField=@Name  left=108 top=15/
/mx:Canvas

/mx:ViewStack
/mx:Canvas

Any help would be appreciated
Thx


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] pseudo clipping

2006-10-25 Thread Igor Costa



Did you see the properties called hidechildrens at the tag you are trying to do that?Check this and you could solve your problem.Regards.On 10/24/06, 
Daniel Freiman [EMAIL PROTECTED] wrote:













  



Does anyone know of a way to accomplish an effect similar to setting clipContent = true except that instead of cutting off the content completely, we gray out or change the alpha of of the clipped areas. I did ask a similar question earlier, but didn't get a response so I thought I'd simplify it and see what happens.
Thanks,- Dan

  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Toggling DataGrid Row from editable=false, to true?

2006-10-25 Thread Igor Costa



Mike this is also nativily at DataGrid Componentyou just put some enachments to get start working .Just using itemEditor you could set if the row was edited or not, then you create some pice of if else than voila. It will works.
Regards.On 10/24/06, Mike Anderson [EMAIL PROTECTED] wrote:













  



Hello All,

I have a DataGrid, in which I only allow single record edits at one
time.  I simply don't have the time at the moment, to maintain XML
DataSets on the Client Side, and then sending it to the Server for
parsing.

With that said, the user can Add a Record, populate the values, and save
it - as this immediately sends the VO to the server for saving.  Once
the record is saved or updated, I want the Grid to go back to a
non-editable mode.

What I need all of your help with, is when the user highlights a Row on
the Grid, I want to give the user the ability to click an Edit button
- which immediately gives that Row and ONLY that Row, editing abilities.
Once they hit save, then it goes back to normal (which is non-editable).
Once I perfect this thing, I will probably add this function to the
Double-Click event of the Grid.

What is the best method to use, in order to accomplish something like
this?  I know capturing the selectedIndex of the Grid is step 1, but
after that, what would be the next logical step?

Thanks in advance for your help,

Mike


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] FlexBuilder refusing to Build newer versions of .mxml files !!!

2006-10-25 Thread Igor Costa



MikeThis is know issue of Flex Builder 2.0.Always when you do a clean project, you really need to disable the option in the top of project menu ' build automaticly'. Then you can clean up the project.
If you do not disable this, the Flex Builde intend to delete the entire file and then, doesnt recognize what it was there and did.So, overall the case of you can't compile again the same file when you change to Code view, it's seems to me is a problem in the memory lake.
Adobe Flex Team change the pre requirement to run Flex Builder to 1 giga. check out if you really have this. Over this case in positive, I suggest you to restart your Flex Builder again.Regards.
On 8/8/06, Mike Anderson [EMAIL PROTECTED] wrote:













  



Hello All,

After compiling my default application a few times (and that number can
change randomly), FlexBuilder refuses to re-compile my application after
subsequent changes to my source code - so I end up seeing the same darn
.swf - time after time.  And shutting down FlexBuilder, and restarting
has no effect whatsoever either.

This is getting exceedingly irritating, because when debugging an app,
you always want to change a little code, and then retest it immediately
afterwards.  So, in theory, I could literally fix the problem with the
very next build - but I'd never know it for several builds - because I
am not seeing the newer version of the .swf file.

Man, I can't convey to you all how peeved I am getting right now...

AND after running a Clean on my project, then I get a file not found
message, when trying to run the application.  Well, no sh** Sherlock -
that's what happens when the Compiler doesn't build the .swf file -
after deleting it from the deployment directory, previous to the newer
build.

This is getting really out of control, and I am pleading with you all,
to share any similar experiences with me - so that I can get to the
bottom of what's going on.

Many thanks in advance for any help regarding this,

Mike

  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Datagrid Cellrender performence issue

2006-10-25 Thread Igor Costa



The cellrender no longer exist in Flex 2.0You could also check out at the live docs in the terms of ( itemrender and itemeditor).You will figure out how to do your project.Regards.
On 10/25/06, Yasovardhan Babu [EMAIL PROTECTED] wrote:













  



Hi All,

I have a problem with performence of Datagrid.
My requirement is that I have a datagrid with many columns, with one 
column as checkbox column and two columns as editable columns.
I am using text
1)If one of the editable column is changed then the other editable 
column should be updated with the value,by doing some calculations on 
the firse editable column value.

2)I need to retain the scroll position and focus in the editable column

3) Validate the edited value(only numbers are allowed)

3)Update the dataprovider with the edited values

The main problem is that it is hanging when I do all the above things.
Can any one help me with a sample?

Thanks and Regards,
Yasovardhan.
 


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Flex for mac public beta is out!

2006-10-25 Thread hank williams
Flexbuilder for the mac beta is out!!!


http://labs.adobe.com/technologies/flexbuilder2/


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] bug in the XMLListCollection ?

2006-10-25 Thread Igor Costa



Does this compile?On 10/24/06, Luis Eduardo [EMAIL PROTECTED] wrote:













  





hello people,

i am adding one XML item at one XMLListCollection but the 
collectionChange event dont fire.

i am using the follow code:

var xn:XML = new XML();
  xn = TipoVeiculo Id= Nome={edtNome.text} 
Descricao={edtDescricao.text}/;
  XMLLC.addItem(xn);

the XMLListCollection was defined in this way:

mx:XMLListCollection id=XMLLC 
collectionChange=Alert.show('collectionChange')/

any ideas?  is this a bug?  or only the arraycollection can actually 
fire this event?

[]'s,

Luís Eduardo.

	

	
		
___ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Flex for mac public beta is out!

2006-10-25 Thread Hasan Otuome






Thanks guys!! Already
importing-n-compiling...=)

P E A C E

Hasan


hank williams wrote:

  
  Flexbuilder for the mac beta is out!!!
  
  http://labs.adobe.com/technologies/flexbuilder2/
  
  


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Re: bug in the XMLListCollection ?

2006-10-25 Thread Bela Hajzer
see bellow pls



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

 Does this compile?
 
 
 
 On 10/24/06, Luis Eduardo [EMAIL PROTECTED] wrote:
 
 
 
  hello people,
 
  i am adding one XML item at one XMLListCollection but the
  collectionChange event dont fire.
 
  i am using the follow code:
 
  var xn:XML = new XML();
  xn = TipoVeiculo Id= Nome={edtNome.text}
  Descricao={edtDescricao.text}/;
  XMLLC.addItem(xn);
 
  the XMLListCollection was defined in this way:
 
  mx:XMLListCollection id=XMLLC
  collectionChange=Alert.show('collectionChange')/
 
  any ideas? is this a bug? or only the arraycollection can actually
  fire this event?
 
  []'s,
 
  Luís Eduardo.
 
 
 
 
 
  ___
  Você quer respostas para suas perguntas? Ou você sabe muito e 
quer
  compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
  http://br.answers.yahoo.com/
   
 
 
 
 
 -- 
 
 Igor Costa
 www.igorcosta.com

Hi, well this isn't a bug at all, maybe some more tutorials could 
help folks like you and me.In the meantime read through the ref. 
doc...

So here is a little working snippet:

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

mx:Script
  ![CDATA[
   
 import mx.collections.XMLListCollection;
 import mx.controls.Alert;
]]
/mx:Script

mx:XMLList id=xnList
TipoVeiculo Id=1 Nome={edtNome.text} 
Descricao={edtDescricao.text}/
/mx:XMLList

mx:XMLListCollection id=XMLLC  source={xnList} /

mx:Panel title=XMLListCollection Example height=75% width=75%  
paddingTop=10 paddingLeft=10

mx:TextInput id=edtNome  text=Seat Toledo /
mx:TextInput id=edtDescricao text=It rocks/

mx:Button label=send click=Alert.show(XMLLC.toXMLString())/

 /mx:Panel

/mx:Application

Bela







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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: FlexBuilder refusing to Build newer versions of .mxml files !!!

2006-10-25 Thread Tom Chiverton
On Wednesday 25 October 2006 06:45, Mike Crowe wrote:
 Is nobody else having this issue?  This is happening almost every
 build for me, and it's driving me crazy.  I'm getting sick of
 recreating a project, just to compile.

And there's another reason to just use mxmlc yourself.

-- 
Tom Chiverton
Helping to enthusiastically architect clicks-and-mortar niches



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] update an itemrenderer from outside

2006-10-25 Thread Jesús Iglesias





Hi and thanks Igor.

I think I haven't understand what you 
said.

outerDocument is used inside the itemRenderer, but what I 
want to do is just the opposite, in the main app update the renderer "value". I 
update the data provider and when I do that I need the numericstepper to be 
updated too. 
If I could detectchanges on the dataprovider I could 
use outerdocument inside the renderer.

so, ¿how?

Thanks again.





De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Igor CostaEnviado 
el: miércoles, 25 de octubre de 2006 13:19Para: 
flexcoders@yahoogroups.comAsunto: Re: [flexcoders] update an 
itemrenderer from outside
Jesusyou have to create a function to do that, but in the 
case of update the grid after you change in the numeric stepper you just have an 
a scope problem. To acess a member outside an itemrender you have to choose the 
item " outerDocument.functionyouCreate()" in the tigger click.So, that's 
you need.Regards.
On 10/24/06, Jesús 
Iglesias  [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  Hi again,
  
  I have a datagrid with a numericstepper 
  asitemrenderer. What I need todo is the opposite of the traditional 
  change method, instead of clicking the numericstepper, I have to update de 
  datagrid's dataprovider and have the numericstepper updated as it's field 
  change.
  
  ¿How to update the itemrenderer when you change 
  the dataprovider?
  ¿how to tell the numericstepper to update value 
  property?
  
  I have tried dataChange property of the 
  itemrenderer but it seems it's not what i'm looking for.
  
  Thanks again...
  Jesus
  -- 
Igor Costawww.igorcosta.com  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: remote object help

2006-10-25 Thread golamudi ramana


hai doug,

i have changed the dataprovider property as u have mentioned but i have got the same problem again.
Ramana
- Original Message From: Doug Lowder [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, October 25, 2006 2:45:25 AMSubject: [flexcoders] Re: remote object help

Hi Ramana,Try setting your datagrid's dataProvider property to list instead of loginChkA.list.mx:DataGrid id="dg" dataProvider= "{list}" Another good practice is to use mx.utils.ArrayUtil. toArray() on the RemoteObject result to ensure you are dealing with an array. If the getList() method returns a single item, the results will be interpreted as an Object instead of the expected Array.Regards,Doug--- In [EMAIL PROTECTED] ups.com, "RAMANA" golamudi_ramana@ ... wrote: hai everybody, i am new to flex environment and i am presently working on remote  object service. in this regard i need a help, i am trying to retrieve values from sql and output them to datagrid,  i am unable to see the values outputed to datagrid my sql db contains two columns cname and
 email, and i am working on  flex 1.5 here is my mxml,as,java file to solve the above problem.  LoginchkAB.java  import java.sql.*;  import java.util.ArrayList ; public class LoginchkAB{ Connect q=new Connect();  public void LoginchkAB() {   } public ArrayList getList() { ArrayList list = new ArrayList(); try { Connection Conn=q.establish_ Connection( ); Statement s = Conn.createStatemen t(); ResultSet rs= s.executeQuery( "select cname,email from  deepa123456" ); System.out.println( "ramana") ;  while (rs.next ()) { list.add(new ViewuserVO (rs.getString( 1),rs.getString( 2))); System.out.println( "ramana") ;  }   s.close();  Conn.close() ; }  catch(Exception e) {
 System.out.println( "TechRP"+ e); } return list; } public static void main(String args[]) { LoginchkAB q=new LoginchkAB() ;  } }  ViewuserVO.as file  class ViewuserVO { public var cname : String; public var email : String;   static var registered=Object. registerClass( "ViewuserVO" ,  ViewuserVO); }  UsingRemoteObj1. mxml  ?xml version="1.0" encoding="utf- 8"?  mx:Application xmlns:mx="http://www.macromed ia.com/2003/ mxml"  verticalGap= "10" mx:Button label="Get user List" click="getusers( )"/ mx:DataGrid id="dg" dataProvider= "{loginchkA. list}" width="100%"  height="100% "
 mx:columns mx:Array mx:DataGridColumn columnName=" cname"  headerText=" cname" / mx:DataGridColumn columnName=" email"  headerText=" email"/ /mx:Array /mx:columns /mx:DataGrid mx:Script var list;  /mx:Script mx:Script ![CDATA[ function getusers() { loginchkA.getList( );  }  ]] /mx:Script  mx:RemoteObject id="loginchkA" result="list= event.result"  source="LoginchkAB" fault="alert(event.fault. faultstring, 'Error')" mx:method name="getList" / /mx:RemoteObject /mx:Application  i would be thankful for the help regarding this.  Thank u all
 Ramana

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


Re: [flexcoders] pseudo clipping

2006-10-25 Thread Daniel Freiman



What I'm trying to do is visually gray out part of a UIComponent that is outside the bounds of it's parent Container, and only the part of the UIComponent that is outside those bounds. The rest of the UIComponent is unaltered. So hiding the children won't work as a solution. But thanks for the try.
- DanOn 10/25/06, Igor Costa [EMAIL PROTECTED] wrote:



Did you see the properties called hidechildrens at the tag you are trying to do that?Check this and you could solve your problem.Regards.
On 10/24/06, 
Daniel Freiman [EMAIL PROTECTED] wrote:














  



Does anyone know of a way to accomplish an effect similar to setting clipContent = true except that instead of cutting off the content completely, we gray out or change the alpha of of the clipped areas. I did ask a similar question earlier, but didn't get a response so I thought I'd simplify it and see what happens.
Thanks,- Dan

  













-- Igor Costa
www.igorcosta.com






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] FireFox popup blocker bug with navigateToURL

2006-10-25 Thread pl_colby
Hi all,

I'm expreiencing a strange bug with FireFox... I have a click handler 
that contains only the following line of code:

navigateToURL(new URLRequest(home.shtml));

Now, it works perfectly in both IE and FF when run locally, but once 
uploaded and viewed from the webserver (Apache2) FireFox breaks... 
specifically, FireFox shows the Firefox prevented this site from 
opening a popup window - but the thing is, it only does that half the 
time... and is really random.  So I can sit there clicking repeatedly, 
and sometimes it will block, and sometimes it will open URL, and there 
seems to be no pattern to it - it just seems to be random.  It makes 
no difference if I set the target to _blank either.

Just to re-iterate, the problem only occurs in FF viewing a swf file 
remotely... IE works perfectly both locall and remotely, and FF works 
perfectly locally.

So, has anyone else experienced this problem?  Any ideas?

Thanks guys!

Paul.




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] How do I make the chart legend wrap?

2006-10-25 Thread Daniel Tuppeny










Im having trouble getting my legend to wrap. I want
it to scroll vertically, but not horizontally. Cod elooks like this:



mx:Canvas width=172 height=230
x=188 y=10

 mx:Legend
dataProvider={myChart} width=100

 /mx:Legend 

 /mx:Canvas



Ive tried everything, scrolling policies on the
canvas, widths on the legend. I can only make it scroll both ways, or clip the
end off long items. Is there any way to force it to wrap legend items onto the next
line?



Thanks





__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





Re: [flexcoders] Flex for mac public beta is out!

2006-10-25 Thread Stefan Ernst
Awesome!

Now it'd be interesting to know if I'm going to be able to use my  
Windows license for the mac version later. :p

Cheers,
Stefan.

 Flexbuilder for the mac beta is out!!!

 http://labs.adobe.com/technologies/flexbuilder2/



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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] BitDefender does not like Flex AMF3 remoting

2006-10-25 Thread Benoit Hediard





FYI, it looks like 
the latest release of BitDefender (www.bitdefender.com)does not like 
AMF3 remoting by default.
Pretty annoying if 
firewalls start to block Flex/Flash Remoting capabilities...

I've not been able 
to reproduce the problem but it was reported by one of our user, after an update 
to the latest BitDefender release (it was working fine before the 
update).

Benoit 
Hediard
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Why doesn't the object assignment work.

2006-10-25 Thread boy_trike
code snippet

private function nextProspectResults(event: ResultEvent) : void 
{
model.currentProspect = new Prospect( event.result );
model.currentProspect.sicCode = event.result.sicCode;
model.currentProspect.numbInARow = 
event.result.numbInARow;
model.currentProspect.maxSic = event.result.maxSic;


my Prospect class has about 20 properties.  for SOME reason, 3 of them do NOT 
get assigned 
in the 1st statement and I have to assign the 3 properties as you see.  When 
using the 
debugger, I see the sicCode (et. al) in the event.result object.  Help

Thanks
Bruce




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Google Flex Development Search Engine

2006-10-25 Thread Tom Chiverton
On Tuesday 24 October 2006 14:28, Jamie O wrote:
 you setup a unique list of websites you want search results to be
 pulled from. I've created a new one focused on Flex 2, Cairngorm and

It is rather good, isn't it :-)
Took 5 minutes to make one where a search for 'internet explorer' returned 
mozilla.org as the first hit :-)

-- 
Tom Chiverton
Helping to efficiently engineer one-to-one users



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] HTTPService url problem

2006-10-25 Thread jbbec_fr
Hi all,
I am a newbie in flex and i apologize if my posts seem tobe dummies 
one...
I want to populate a datagrid and i use HTTPService to do it.
The url parameter is like this :
url=http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?
code=MApcode=TO
when i save the file i get an error :
The reference to entity pcode must end with the ';' delimiter.

can anyone help me ?

thy

JB




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Flex for mac public beta install error

2006-10-25 Thread John Kirby
Title: quote






Anyone else getting the error that the installer can't install in the
Application folder because of permissions? The installer should prompt
you for user/password (like a regular install)?

.j

Stefan Ernst said the following:


  
  Awesome!
  
Now it'd be interesting to know if I'm going to be able to use my 
Windows license for the mac version later. :p
  
Cheers,
Stefan.
  
 Flexbuilder for the mac beta is out!!!

 http://labs.adobe.com/technologies/flexbuilder2/
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Flex for mac public beta is out!

2006-10-25 Thread John Kirby
Title: quote






Thank God! Now I can develop on my Mac.

Ditto on the license transfer... I hope so :-)

.j

Stefan Ernst said the following:


  
  Awesome!
  
Now it'd be interesting to know if I'm going to be able to use my 
Windows license for the mac version later. :p
  
Cheers,
Stefan.
  
 Flexbuilder for the mac beta is out!!!

 http://labs.adobe.com/technologies/flexbuilder2/
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] HTTPService url problem

2006-10-25 Thread Prakaz



try this:

mx:HTTPService id=myservice  url="">
http://testdrive.local.net/cgi-bin/get_warnings_data.cgi showBusyCursor=true useProxy=false method=POST result=loginSuccessHandler();
 fault=loginErrorHandler(); /public function callService():void{
var objParameters:Object=new Object();// Collect parameter to sendto HTTPService
 objParameters.code='MA';
 objParameters.pcode=TO
 // Additional parametersobjParameters.parameter1='value1';objParameters.parameter2='value2';

// send HTTPRequest
 myservice.send(objParameter);}

try putting all your parameter inside an object and use HTTPservices' send() method to pass this parameter to your backend code. 

Hope that helps,
-P



On 10/25/06, jbbec_fr [EMAIL PROTECTED] wrote:





Hi all,I am a newbie in flex and i apologize if my posts seem tobe dummies one...I want to populate a datagrid and i use HTTPService to do it.The url parameter is like this :url=""  href="http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?" target="_blank">
http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?code=MApcode=TOwhen i save the file i get an error :The reference to entity pcode must end with the ';' delimiter.can anyone help me ?
thyJB 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] FlexBuilder 2.0 - null pointer exception when you try to create a new project

2006-10-25 Thread Libby
This is happening to multiple developers when they try to create a new
Flex Project on the shared server.
Flex Builder takes you thru the entire dialog, then when you click OK,
churns for a minute, then pops up a message - Failed to create
project and in the details it helpfully says java.lang.nullpointer
exception.

Has anyone else encountered this,  and if so, how did you fix it? It
feels like there is a flag turned on or off somewhere in the flex
server installation...


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 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] A file found in a source-path must have the same package structure

2006-10-25 Thread Libby
I am attempting to migrate a very big Flex 1.5 project and this is one
of the issues I am hitting. I have stripped out all of the files in
the package, and all of the code in the offending file, but still get
this message. I can only assume that I am not understanding what
package structure FlexBuilder is looking for. I am not using scripts
to compile, only FB. I looked in Flex_config.xml and there is no
reference to my files, just the lines below:

!-- list of path elements that form the roots of ActionScript class
hierarchies --
source-path
path-element./user_classes/path-element
/source-path

!-- list of SWC files or directories that contain SWC files --
library-path
path-element./user_classes/path-element
path-element./libs/path-element
path-element./locale/{locale}/path-element
/library-path

Do the packages need to be under the [source path] user_classes
folder? Mine are in their own package structure, in WebContent, beside
this [source path] user_classes entry.
So in FB my application looks like this:
FlexProject
- [source path] user_classes
--- add_your_as_and_swc_files_here
- folder1
- - folder2
- - - folder3
- - - - folder4
- - - - - folder5 [contains .as files]
- - - - - folder6 [contains .as files]
- - - - - folder7 [contains .as files]
- - - - - folder8 [contains .mxml files]
appName.mxml

Is there a tutorial somewhere that describes how to set up a
structured project using actionscript files, or could someone steer me
in the right direction here?

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 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] HTTPService url problem

2006-10-25 Thread Dirk Eismann
use amp; instead of  in the URL (you have to escape this character in
MXML)

Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of jbbec_fr
 Sent: Wednesday, October 25, 2006 3:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] HTTPService url problem
 
 Hi all,
 I am a newbie in flex and i apologize if my posts seem tobe 
 dummies one...
 I want to populate a datagrid and i use HTTPService to do it.
 The url parameter is like this :
 url=http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?
 code=MApcode=TO
 when i save the file i get an error :
 The reference to entity pcode must end with the ';' delimiter.
 
 can anyone help me ?
 
 thy
 
 JB
 
 
 
 
 --
 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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] custom preloaders question

2006-10-25 Thread bhaq1972
hi everyone. in my test app i have a custom preloader defined.

mx:Application preloader=CustomPreloader

how do i get a reference to this CustomPreloader. 

mx:Application preloader=CustomPreloader initialize=trace
(preloader) 

preloader is defined as null. 

any ideas.





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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] A file found in a source-path must have the same package structure

2006-10-25 Thread Owen van Dijk



Hi Libby,Although in a different context i ran into the same 'bug' today. I found out that when i called mxmlc from within Ant it had problems compiling my source-code. After a bit of Googling i learned that it requires a lowercase disk letter ( ie c:\Program Files instead of C:\Program Files ). Odd but true. I blogged about it here  
http://blog.owenvandijk.nl/2006/10/odd_bug_in_mxml.html. It may be helpfil in pinpointing the error :) Good luck--Owen van Dijk
On 10/25/06, Libby [EMAIL PROTECTED] wrote:













  



I am attempting to migrate a very big Flex 1.5 project and this is one
of the issues I am hitting. I have stripped out all of the files in
the package, and all of the code in the offending file, but still get
this message. I can only assume that I am not understanding what
package structure FlexBuilder is looking for. I am not using scripts
to compile, only FB. I looked in Flex_config.xml and there is no
reference to my files, just the lines below:

!-- list of path elements that form the roots of ActionScript class
hierarchies --
source-path
path-element./user_classes/path-element
/source-path

!-- list of SWC files or directories that contain SWC files --
library-path
path-element./user_classes/path-element
path-element./libs/path-element
path-element./locale/{locale}/path-element
/library-path

Do the packages need to be under the [source path] user_classes
folder? Mine are in their own package structure, in WebContent, beside
this [source path] user_classes entry.
So in FB my application looks like this:
FlexProject
- [source path] user_classes
--- add_your_as_and_swc_files_here
- folder1
- - folder2
- - - folder3
- - - - folder4
- - - - - folder5 [contains .as files]
- - - - - folder6 [contains .as files]
- - - - - folder7 [contains .as files]
- - - - - folder8 [contains .mxml files]
appName.mxml

Is there a tutorial somewhere that describes how to set up a
structured project using actionscript files, or could someone steer me
in the right direction here?

Thanks,
Libby


  













-- Owen van Dijk

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] A file found in a source-path must have the same package structure

2006-10-25 Thread Hasan Otuome






I always took that to mean
that one of my files, myClass.as for example:

class org.thesourcecode.utils.myClass{
 public function myClass(){}
 }
}

wasn't converted to
the new structure:

package org.thesourcecode.utils {
 public class myClass{
 public function myClass(){}
 }
}

P E A C E

Hasan


Libby wrote:


  
  I am attempting to migrate a very big Flex 1.5 project and this is
one
of the issues I am hitting. I have stripped out all of the files in
the package, and all of the code in the offending file, but still get
this message. I can only assume that I am not understanding what
package structure FlexBuilder is looking for. I am not using scripts
to compile, only FB. I looked in Flex_config.xml and there is no
reference to my files, just the lines below:
  
!-- list of path elements that form the roots of ActionScript class
hierarchies --
source-path
path-element./user_classes/path-element
/source-path
  
!-- list of SWC files or directories that contain SWC files --
library-path
path-element./user_classes/path-element
path-element./libs/path-element
path-element./locale/{locale}/path-element
/library-path
  
Do the packages need to be under the "[source path] user_classes"
folder? Mine are in their own package structure, in WebContent, beside
this "[source path] user_classes" entry.
So in FB my application looks like this:
FlexProject
- [source path] user_classes
--- add_your_as_and_swc_files_here
- folder1
- - folder2
- - - folder3
- - - - folder4
- - - - - folder5 [contains .as files]
- - - - - folder6 [contains .as files]
- - - - - folder7 [contains .as files]
- - - - - folder8 [contains .mxml files]
appName.mxml
  
Is there a tutorial somewhere that describes how to set up a
structured project using actionscript files, or could someone steer me
in the right direction here?
  
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] FlashPaper in SWFLoader

2006-10-25 Thread Nick Collins



I'm having problems loading a FlashPaper document into a SWFLoader. It loads just fine, but the scaling isn't as I'd like it. Instead of scaling like it does when you load it into a browser window, where the controls stay the same height and just the viewing area scales, the FlashPaper maintains it's default scaling. I think the default size is like 400 x 300, and it just scales that, control bar and all. Is there any way within the SWFLoader to have the FlashPaper display like it does in the browser window?


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Methods in ModelLocator - or not?

2006-10-25 Thread Samúel Jónasson
Hi,

what is the recommended way when many commands need to do perform the 
same action on a model.

- Do I write the methods in my model?
- Do I make special commands for this?  If so, how would I call these 
commands from other commands?
- Do I do this some other way?

In my case the model is a collection of VO in an ArrayCollection.  Each 
of these VO have an ID variable.  Many of my commands get an ID 
parameter and must be able to locate the VO in the model based on this 
parameter.  So in this particular case I want to write a method that 
takes an ID and returns a reference to a VO in the model. Where should 
this method go?  I realize that the model should be strictly data and 
commands should act on the data. So, commands, model, other? How to?

Best,
Sammi


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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Flex 2 calendar framework announced

2006-10-25 Thread maunger
Yea, thanks for rubbing it in ;)

I've been to the last 4, yet this year my 'new' boss (i've had 5 in
the last 4 years heehee) said that we didn't have the budget for it -
but if i put it in my 'goals' for next year i should get to go.

But management gets to travel whenever they want - it isn't fair...
boohoo ;)

Mitch

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

 You're probably the first because all the usual announcers are at MAX
 
 On 10/24/06, maunger [EMAIL PROTECTED] wrote:
 
Hi y'all
 
  I can't believe i'm the first to post this but i don't see anything
  else posted so far today.
 
  Anyway, Adobe Labs site has the new scheduling framework released as
  alpha
 
  http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework
 
  I haven't had much time to look thru it yet, but I was hoping for some
  kind of 'month view' which i haven't found yet.
 
  Good to see Adobe providing such great tools.
 
  Mitch
 
   
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] A DataGrid with selectable *cells*

2006-10-25 Thread Tom Chiverton
Has anyone else already got a DataGrid component that high lights cells when 
you click on them, before I go reinventing the wheel ?
-- 
Tom Chiverton
Helping to greatly entrench out-of-the-box patterns



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] custom preloaders question

2006-10-25 Thread Tom Chiverton
On Wednesday 25 October 2006 16:10, bhaq1972 wrote:
 mx:Application preloader=CustomPreloader initialize=trace
 (preloader)

I would guess this is because the preloader runs before the application.

-- 
Tom Chiverton
Helping to interactively unleash sexy IPOs



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] General question about bindings and similarities with Cocoa bindings?

2006-10-25 Thread Owen van Dijk



On 10/11/06, Matt Chotin [EMAIL PROTECTED] wrote:













  













When you dispatch the myEventName event it
indicates that the variable that had the [Bindable("myEventName")]
metadata has been re-assigned. So it is not the invoice object that dispatches
that event, it's the object that has a property for a given invoice that
dispatches.



[Bindable] is a Flex thing, not an AS3
thing. The same mechanism does not work in a pure AS project nor will it work
in Flash 9.

If for example you do have a pure AS3 project that needs a clean seperation between a Model and a View, what is the direction to implement such thing? Not all the bells and whistles of the Flex Framework but just simple property binding. Anyone some suggestions? :) Is the 
mx.bindings.* package a solution maybe?-- Owen van Dijk

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: remote object help

2006-10-25 Thread Doug Lowder

In ViewuserVO.java, make sure you have cname and email declared public
String.  If they aren't declared public, those properties of the Java
class won't be visible to Flex.


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

 hai doug,

 i have changed the dataprovider property as u have mentioned but i
have got the same problem again.
 Ramana


 - Original Message 
 From: Doug Lowder [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, October 25, 2006 2:45:25 AM
 Subject: [flexcoders] Re: remote object help

 Hi Ramana,

 Try setting your datagrid's dataProvider property to list instead of
 loginChkA.list.

 mx:DataGrid id=dg dataProvider= {list}

 Another good practice is to use mx.utils.ArrayUtil. toArray() on the
 RemoteObject result to ensure you are dealing with an array. If the
 getList() method returns a single item, the results will be
 interpreted as an Object instead of the expected Array.

 Regards,
 Doug

 --- In [EMAIL PROTECTED] ups.com, RAMANA golamudi_ramana@ ...
 wrote:
 
  hai everybody,
  i am new to flex environment and i am presently working on remote
  object service.
  in this regard i need a help,
  i am trying to retrieve values from sql and output them to
 datagrid,
  i am unable to see the values outputed to datagrid
  my sql db contains two columns cname and email, and i am working
 on
  flex 1.5
  here is my mxml,as,java file to solve the above problem.
 
  LoginchkAB.java
 
  import java.sql.*;
  import java.util.ArrayList ;
  public class LoginchkAB{
  Connect q=new Connect();
  public void LoginchkAB()
  {
 
 
  }
  public ArrayList getList()
  {
  ArrayList list = new ArrayList();
  try
  {
  Connection Conn=q.establish_ Connection( );
  Statement s = Conn.createStatemen t();
  ResultSet rs= s.executeQuery( select cname,email
 from
  deepa123456 );
  System.out.println( ramana) ;
 
  while
 (rs.next
  ()) {
  list.add(new ViewuserVO
  (rs.getString( 1),rs.getString( 2)));
  System.out.println( ramana) ;
  }
 
  s.close();
  Conn.close() ;
  }
  catch(Exception e)
  {
  System.out.println( TechRP+ e);
  }
  return list;
  }
  public static void main(String args[])
  {
  LoginchkAB q=new LoginchkAB() ;
 
  }
  }
 
  ViewuserVO.as file
 
  class ViewuserVO {
  public var cname : String;
  public var email : String;
 
 
  static var registered=Object. registerClass( ViewuserVO ,
  ViewuserVO);
  }
 
  UsingRemoteObj1. mxml
 
  ?xml version=1.0 encoding=utf- 8?
 
  mx:Application xmlns:mx=http://www.macromed ia.com/2003/ mxml
  verticalGap= 10
  mx:Button label=Get user List click=getusers( )/
 
 
 
 
  mx:DataGrid id=dg dataProvider= {loginchkA. list}
 width=100%
  height=100% 
  mx:columns
  mx:Array
  mx:DataGridColumn columnName= cname
  headerText= cname /
  mx:DataGridColumn columnName= email
  headerText= email/
  /mx:Array
  /mx:columns
  /mx:DataGrid
  mx:Script
  var list;
 
  /mx:Script
  mx:Script
  ![CDATA[
  function getusers()
  {
  loginchkA.getList( );
  }
  ]]
  /mx:Script
 
  mx:RemoteObject id=loginchkA result=list= event.result
  source=LoginchkAB fault=alert
 (event.fault. faultstring, 'Error')
  mx:method name=getList /
  /mx:RemoteObject
  /mx:Application
 
  i would be thankful for the help regarding this.
 
  Thank u all
  Ramana
 







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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: A file found in a source-path must have the same package structure

2006-10-25 Thread Libby
Yeah, me too. I have confirmed (about 10 times) that everything has
been converted...




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] A DataGrid with selectable *cells*

2006-10-25 Thread Mark McCray


Isn't this the default behaviour of the datagrid?On Oct 25, 2006, at 11:53 AM, Tom Chiverton wrote:Has anyone else already got a DataGrid component that high lights cells when you click on them, before I go reinventing the wheel ?-- Tom ChivertonHelping to greatly entrench out-of-the-box patternsThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.For more information about Halliwells LLP visit www.halliwells.com.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


[flexcoders] three and a half FlexBuilder bugs that drive me buggy

2006-10-25 Thread Pan Troglodytes



Okay, I have to mention this before all hope is lost of getting it fixed in the next patch. I keep putting it off and putting it off.First:Occasionally, when I'm holding down shift and using the up/down arrow keys to highlight blocks of text, FB loses the first line of text. I might have:
line1line2line3line4I put my cursor on the line after line4, hold down shift and hold the up arrow for a few lines. It changes from having lines 1-4 highlighted to having 1-3. I thought at first it was just my keyboard acting up. But I've found this happens on two different machines and only in Flex Builder. Very frustrating.
Second:I have my tabs and indents set to two spaces. When you highlight a line and hit tab, it indents it 2 spaces. If you hit shift-tab, it unindents it *4* spaces instead of two. It's always four (ie it doesn't do some smart unindent).
Third:In the mxml editor, if I type in something like mx:DataGrid and hit enter, it looks like this:mx:DataGrid(space)(caret indicator)(space)/mx:DataGrid
In other words, it doesn't put my caret at the end of the autoindented two spaces. It puts it in the middle. If I hit end, it positions it after that second space. The autoinsert/autoindent works fine in the actionscript editor for curly braces, however.
Third.5:Unfortunately, I can't remember exactly how this one happens but it happens every once in a while and really bugs me. So I'll have to describe it very vaguely. Sometimes the cursor gets put two characters into the block I've selected after I've done some action on it. Really wish I could remember more. Maybe someone else will recognize it. Or maybe I'll run into it later and post a followup.
Could I get some confirmation from other users on these bugs? Will help when I fill out bug reports.-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Flex 2 calendar framework announced

2006-10-25 Thread maunger
Thanks Tom, that indeed is awesome!

Can't wait to get my hands into this.

Mitch

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

 On Tuesday 24 October 2006 19:10, maunger wrote:
  I haven't had much time to look thru it yet, but I was hoping for some
  kind of 'month view' which i haven't found yet.
 
 It's nice, but the PoC on 

http://www.quietlyscheming.com/blog/2006/10/17/looking-for-a-flex-calendar-this-might-whet-your-appetite/

 is a *lot* nicer, certainly at the moment. The code for it isn't out
yet, 
 unfortunately.
 
 -- 
 Tom Chiverton
 Helping to enormously mesh vertical CEOs
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] FlashPaper in SWFLoader

2006-10-25 Thread Darron J. Schall
If you're using Flex 1.5, use the FlashPaperLoader class from Matt 
Chotin:  
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=117

If you're using Flex 2, it's a lot trickier.  Normally, you resize the 
FlashPaper.swf by using the FlashPaper API [1], and just calling the 
setSize( width, height ) method.  However, because the FlashPaper.swf 
lives inside of AVM1 and the Flex 2 loading .swf lives inside of AVM2, 
you can't just directly talk between them.

I've come up with a solution, but it's not exactly trivial.  I'll 
describe it here at a high level, and hopefully get it up on my weblog 
sometime in the near future when I have some time to package it up.

* Create a FlashPaperLoader.swf in Flash that uses a MovieClipLoader to 
load the FlashPaper document.  In this loader.swf, you need to shimmy in 
methods for communication between AVM1 and AVM2.  It's possible to use 
either LocalConnection or ExternalInterface for this, but essentially, 
the FlashPaperLoader.swf is responsible for exposing methods to AVM2 
that simply proxy the method call and parameters to the loaded 
FlashPaper.swf document.
* Instead of loading the FlashPaper.swf directly, load the 
FlashPaperLoader.swf proxy and pass it the URL of the real 
FlashPaper.swf to load.  Use the AVM1/AVM2 communication mechanism you 
created in the previous step to send progress information from the 
loading movie over to Flex 2, so that you can report load progress 
effectively to the user.
* When the load is complete, call the setSize on the 
FlashPaperLoader.swf, again, using the AVM1/AVM2 communication 
mechanism.  When you call setSize on FlashPaperLoader, it should proxy 
that call to the loaded FlashPaper document.
* Use the resize event in Flex 2 to make setSize calls, so that 
resizes the browser or container sets the correct FlashPaper size.

When all is said and done, you end up with the desired behavior of 
loading a FlashPaper document, having it fill the available area, and 
having the correct scale.  Again, it's not exactly trivial to get this 
working, but I'm hoping to release my FlashPaperLoader component and 
support files sometime in the near future.

Good luck,

-d

[1] 
http://www.adobe.com/support/documentation/en/flashpaper/2/flashpaper_api/flashpaper_api4.html

Nick Collins wrote:

 I'm having problems loading a FlashPaper document into a SWFLoader. It 
 loads just fine, but the scaling isn't as I'd like it. Instead of 
 scaling like it does when you load it into a browser window, where the 
 controls stay the same height and just the viewing area scales, the 
 FlashPaper maintains it's default scaling. I think the default size is 
 like 400 x 300, and it just scales that, control bar and all. Is there 
 any way within the SWFLoader to have the FlashPaper display like it 
 does in the browser window?

  



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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Methods in ModelLocator - or not?

2006-10-25 Thread jamesdustinmercer
I don't see anything wrong with the approach you are taking.  I do 
the same thing (that's probably why I don't see anything wrong with 
it :).  I think of it this way, if the methods you need to add 
directly correspond with the data, and they are ambiguous of any 
commands or other business logic, then the model locator is not a 
bad place for it.  I also add methods to encapsulate the adding, 
removing, and updating of items (when I need to validate the data 
coming or getting updated, standard setter getter type stuff...)

But as someone else said, utility classes are also good.  You just 
have to feel out when you need to do either one.  A utility class 
could be good in this situation because it will save you from 
writing repeating lookup code for each different collection in the 
ModelLocator.

Dustin Mercer

--- In flexcoders@yahoogroups.com, Samúel Jónasson [EMAIL PROTECTED] wrote:

 Hi,
 
 what is the recommended way when many commands need to do perform 
the 
 same action on a model.
 
 - Do I write the methods in my model?
 - Do I make special commands for this?  If so, how would I call 
these 
 commands from other commands?
 - Do I do this some other way?
 
 In my case the model is a collection of VO in an ArrayCollection.  
Each 
 of these VO have an ID variable.  Many of my commands get an ID 
 parameter and must be able to locate the VO in the model based on 
this 
 parameter.  So in this particular case I want to write a method 
that 
 takes an ID and returns a reference to a VO in the model. Where 
should 
 this method go?  I realize that the model should be strictly data 
and 
 commands should act on the data. So, commands, model, other? How 
to?
 
 Best,
 Sammi






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] three and a half FlexBuilder bugs that drive me buggy

2006-10-25 Thread Nick Collins



I have also noticed occassionally the cursor tends to jump when I'm typing. Like I'll click into one tag, and begin to type an attribute or something, and in mid-type the cursor will sometimes jump up or down several lines, putting the rest of what I'm typing at that new location.
On 10/25/06, Pan Troglodytes [EMAIL PROTECTED] wrote:













  



Okay, I have to mention this before all hope is lost of getting it fixed in the next patch. I keep putting it off and putting it off.First:Occasionally, when I'm holding down shift and using the up/down arrow keys to highlight blocks of text, FB loses the first line of text. I might have:
line1line2line3line4I put my cursor on the line after line4, hold down shift and hold the up arrow for a few lines. It changes from having lines 1-4 highlighted to having 1-3. I thought at first it was just my keyboard acting up. But I've found this happens on two different machines and only in Flex Builder. Very frustrating.
Second:I have my tabs and indents set to two spaces. When you highlight a line and hit tab, it indents it 2 spaces. If you hit shift-tab, it unindents it *4* spaces instead of two. It's always four (ie it doesn't do some smart unindent).
Third:In the mxml editor, if I type in something like mx:DataGrid and hit enter, it looks like this:mx:DataGrid(space)(caret indicator)(space)/mx:DataGrid
In other words, it doesn't put my caret at the end of the autoindented two spaces. It puts it in the middle. If I hit end, it positions it after that second space. The autoinsert/autoindent works fine in the actionscript editor for curly braces, however.
Third.5:Unfortunately, I can't remember exactly how this one happens but it happens every once in a while and really bugs me. So I'll have to describe it very vaguely. Sometimes the cursor gets put two characters into the block I've selected after I've done some action on it. Really wish I could remember more. Maybe someone else will recognize it. Or maybe I'll run into it later and post a followup.
Could I get some confirmation from other users on these bugs? Will help when I fill out bug reports.-- Jason

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: proxy servlet reuse for flex 2?

2006-10-25 Thread tinkiknit
Been offline for a few days...

Is it possible to use a Flash Player proxy to do the same thing? 
Reason I ask is that we are concerned about cost of the FDS if all we 
need it for is the proxy capability...

(Please pardon my ignorance of this subject since I'm a basic newbie)

Thanks!
Christine
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 Yep, FDS includes a proxy similar to the one that you used in 1.5.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of tinkiknit
 Sent: Friday, October 20, 2006 1:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] proxy servlet reuse for flex 2?
 
  
 
 Hello...
 
 Total newbie here. :) I am trying to find out if we can reuse our 
 proxy servlet from 1.5 in the new 2.0 environment. Here's what I 
 believe I've got.
 
 We need to autheticate the user of our app and we use a servlet to 
 intercept any calls to our application and any of the webservices 
it 
 uses through the use of the proxy mechanism. I see that our flex-
 config.xml file in 1.5 has this proxy thing indicated in the web-
 services section. In our application's web.xml, this servlet is 
 indicated for as well. We need to do this for 2.0 as well, 
intercept 
 calls to the webservice and authenticate the user (not form based, 
 we're using certs).
 
 I've been reading the documentation out there and it seems to me we 
 need the Flex Data Services in order to replicate this? or am I 
 reading this wrong?
 
 Any tips, tricks appreciated...I know the tech lead really wants to 
 push forward to Flex 2.
 
 Thanks in advance!
 
 Christine






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Binding the backgroundColor of a DataGridColumn

2006-10-25 Thread Alexander Lamb


Hello list,Here is a wonderfull small datagrid:mx:DataGrid id="dg" dataProvider="{patients}" x="283" y="104" editable="false"		mx:columns			mx:DataGridColumn headerText="Last name" dataField="lastName"/			mx:DataGridColumn headerText="First name" dataField="firstName"/			mx:DataGridColumn headerText="" backgroundColor="pColor"/		/mx:columns	/mx:DataGridUnfortunately, it doesn't like my backgroundColor connexion. My dataProvider is an ArrayCollection of Patient objects. The Patient class has 3 attributes: firstName, lastName, pColor.pColor is a uint.Why can't I do this? I would have sought it simple called the function on the "currentItem" when rendering the DataGrid!Thanks for any hint,Alex--Alexander LambService d'Informatique MédicaleHôpitaux Universitaires de Genève[EMAIL PROTECTED]+41 22 372 88 62+41 79 420 79 73 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


Re: [flexcoders] Re: Methods in ModelLocator - or not?

2006-10-25 Thread Samúel Jónasson






Thank you for your responses.

I had thought about utility classes - just wasn't sure how that fitted
within cairngorm. I think both methods make sense but using utility
classes probably fits cairngorm better than having methods inside the
model.

But, then again - do what works - even if it isn't cairngorm by the
book.

Sammi

jamesdustinmercer wrote:


  
  I don't see anything wrong with the approach you are taking. I do 
the same thing (that's probably why I don't see anything wrong with 
it :). I think of it this way, if the methods you need to add 
directly correspond with the data, and they are ambiguous of any 
commands or other business logic, then the model locator is not a 
bad place for it. I also add methods to encapsulate the adding, 
removing, and updating of items (when I need to validate the data 
coming or getting updated, standard setter getter type stuff...)
  
But as someone else said, utility classes are also good. You just 
have to feel out when you need to do either one. A utility class 
could be good in this situation because it will save you from 
writing repeating lookup code for each different collection in the 
ModelLocator.
  
Dustin Mercer
  
--- In [EMAIL PROTECTED]ups.com,
Samel Jnasson [EMAIL PROTECTED] wrote:

 Hi,
 
 what is the recommended way when many commands need to do perform 
the 
 same action on a model.
 
 - Do I write the methods in my model?
 - Do I make special commands for this? If so, how would I call 
these 
 commands from other commands?
 - Do I do this some other way?
 
 In my case the model is a collection of VO in an ArrayCollection. 
Each 
 of these VO have an ID variable. Many of my commands get an ID 
 parameter and must be able to locate the VO in the model based on 
this 
 parameter. So in this particular case I want to write a method 
that 
 takes an ID and returns a reference to a VO in the model. Where 
should 
 this method go? I realize that the model should be strictly data 
and 
 commands should act on the data. So, commands, model, other? How 
to?
 
 Best,
 Sammi

  
  
  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Binding the backgroundColor of a DataGridColumn

2006-10-25 Thread Clint Tredway



You will need to extend the datagrid to do this.. The good thing is, someone has already done this, Mike Nimer.http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component
I have used this and it works great.On 10/25/06, Alexander Lamb [EMAIL PROTECTED]
 wrote:












  



Hello list,Here is a wonderfull small datagrid:mx:DataGrid
 id=dg dataProvider=
{patients
} x=283
 y=104
 editable=false
		mx:columns
			
mx:DataGridColumn headerText=Last name
 dataField=lastName
/	
		mx:DataGridColumn headerText=
First name dataField=
firstName/
			mx:DataGridColumn
 headerText= backgroundColor=pColor
/	
	/mx:columns	
/mx:DataGrid
Unfortunately, it doesn't like my backgroundColor connexion. My dataProvider is an ArrayCollection of Patient objects. The Patient class has 3 attributes: firstName, lastName, pColor.pColor is a uint.
Why can't I do this? I would have sought it simple called the function on the currentItem when rendering the DataGrid!Thanks for any hint,
Alex--Alexander LambService d'Informatique MédicaleHôpitaux Universitaires de Genève
[EMAIL PROTECTED]+41 22 372 88 62+41 79 420 79 73 
  













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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Flex for mac public beta install error

2006-10-25 Thread jrunrandy
It may not be the same thing, but...

Are you getting this error as part of the Flex Builder install or the 
Flash Player Plugin install? When I installed, the Flex Builder install 
works fine, but I get an Access Error at the very end of the Flash 
Player Plugin install. Flex Builder and the Player seem to work fine, 
though.

HTH
Randy Nielsen
Flex Documentation Manager

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

 Anyone else getting the error that the installer can't install in the 
 Application folder because of permissions?  The installer should 
prompt 
 you for user/password (like a regular install)?





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Help understanding AMF vs Socket?

2006-10-25 Thread Rick Schmitty
What is the difference between AMF and Socket connections?

Is AMF itself a socket connection that does the serialization of
webservices on a 'standard' port?

Is there constant chatter over the line when using AMF or socket?  By
chatter I mean, does the server and client continually check that the
other exists after the connection is established?

I doubt I'll ever run into making my own socket but I see it brought
up from time to time and just wanted to know I'll still use AMF in the
end when I can, but I'd like to know how it works vs the other options
:)


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



RE: [flexcoders] Help understanding AMF vs Socket?

2006-10-25 Thread Peter Farland





AMF is a format for serializing ActionScript objects in 
a compact binary form - it is used in a number of places in the Flash Player. It 
is not, in itself, an API that makes connections but rather something 
thatcan beused over connections to represent 
data.

For example, flash.net.NetConnection can make either 
HTTP or RTMP based connections and ActionScript data sent via either one of 
these protocols uses AMF for the encoding. For HTTP based communications AMF 
formattedrequests and responses are made but the connection is not 
persistent. For RTMP based communication a connection is maintained to allow for 
real-time communications so that data can be "pushed" from the server to the 
client.

flash.net.Socket is a simpler or, rather, more raw API 
that allows you to create your own persistent connection but leaves the protocol 
and communication format up entirely up to you. With the ability of 
flash.utils.ByteArray to serialize ActionScript objects using AMF you could also 
use AMF if you wanted to on your Socket so long as the endpoint understands this 
format.

If you don't have any requirements to push data to the 
client, it is unlikely that you'll need to use an API like 
Socket.

Note that for "webservices" in the WSDL/SOAP sense, AMF 
is not really relevant. In the broader definition of a web service, AMF is used, 
for example, by Flex's RemoteObject feature to send and receive ActionScript 
data from a remote endpoint, such as ColdFusion or Flex Data 
Services.






From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Rick 
SchmittySent: Wednesday, October 25, 2006 1:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Help understanding 
AMF vs Socket?


What is the difference between AMF and Socket connections?Is AMF 
itself a socket connection that does the serialization ofwebservices on a 
'standard' port?Is there constant chatter over the line when using AMF 
or socket? Bychatter I mean, does the server and client continually check 
that theother exists after the connection is established?I doubt 
I'll ever run into making my own socket but I see it broughtup from time to 
time and just wanted to know I'll still use AMF in theend when I can, but 
I'd like to know how it works vs the other 
options:)Thanks
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Problem with Filereference.download

2006-10-25 Thread damien.cardine
Hi,

I'm trying to download a file on webdav from a flex application. But
many path containt some escapable characters like é (%e9). Majority
of escapable characters are well interpreted by the function download
but not all.
All files with simple paths (simple characters and spaces) are
donwload but as soon as the path containt the character é, the
function generate a IOError.

How can I do to download all files on my webdav ?

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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: HTTPService url problem

2006-10-25 Thread jbbec_fr
thank you for your help !!

JB :-)

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

 try this:
 
  mx:HTTPService id=myservice
   url=http://testdrive.local.net/cgi-bin/get_warnings_data.cgi;
   showBusyCursor=true
   useProxy=false
   method=POST
   result=loginSuccessHandler();
   fault=loginErrorHandler();
   /
 
 public function callService():void{
  var objParameters:Object=new Object();
 // Collect parameter to send to HTTPService
 objParameters.code='MA';
 objParameters.pcode=TO
 
 // Additional parameters
 objParameters.parameter1='value1';
 objParameters.parameter2='value2';
 
 // send HTTPRequest
 *myservice.send(objParameter);
 *}
 
 try putting all your parameter inside an object and use 
HTTPservices' send()
 method to pass this parameter to your backend code.
 
 Hope that helps,
 -P
 
 
 
 On 10/25/06, jbbec_fr [EMAIL PROTECTED] wrote:
 
Hi all,
  I am a newbie in flex and i apologize if my posts seem tobe 
dummies
  one...
  I want to populate a datagrid and i use HTTPService to do it.
  The url parameter is like this :
  url=http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?
  code=MApcode=TO
  when i save the file i get an error :
  The reference to entity pcode must end with the ';' delimiter.
 
  can anyone help me ?
 
  thy
 
  JB
 
  
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Help understanding AMF vs Socket?

2006-10-25 Thread Rick Schmitty



Thank you very much for that response, Peter!On 10/25/06, Peter Farland [EMAIL PROTECTED] wrote:













  






AMF is a format for serializing ActionScript objects in 
a compact binary form - it is used in a number of places in the Flash Player. It 
is not, in itself, an API that makes connections but rather something 
thatcan beused over connections to represent 
data.

For example, flash.net.NetConnection can make either 
HTTP or RTMP based connections and ActionScript data sent via either one of 
these protocols uses AMF for the encoding. For HTTP based communications AMF 
formattedrequests and responses are made but the connection is not 
persistent. For RTMP based communication a connection is maintained to allow for 
real-time communications so that data can be pushed from the server to the 
client.

flash.net.Socket is a simpler or, rather, more raw API 
that allows you to create your own persistent connection but leaves the protocol 
and communication format up entirely up to you. With the ability of 
flash.utils.ByteArray to serialize ActionScript objects using AMF you could also 
use AMF if you wanted to on your Socket so long as the endpoint understands this 
format.

If you don't have any requirements to push data to the 
client, it is unlikely that you'll need to use an API like 
Socket.

Note that for webservices in the WSDL/SOAP sense, AMF 
is not really relevant. In the broader definition of a web service, AMF is used, 
for example, by Flex's RemoteObject feature to send and receive ActionScript 
data from a remote endpoint, such as ColdFusion or Flex Data 
Services.






From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Rick 
SchmittySent: Wednesday, October 25, 2006 1:23 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Help understanding 
AMF vs Socket?


What is the difference between AMF and Socket connections?Is AMF 
itself a socket connection that does the serialization ofwebservices on a 
'standard' port?Is there constant chatter over the line when using AMF 
or socket? Bychatter I mean, does the server and client continually check 
that theother exists after the connection is established?I doubt 
I'll ever run into making my own socket but I see it broughtup from time to 
time and just wanted to know I'll still use AMF in theend when I can, but 
I'd like to know how it works vs the other 
options:)Thanks

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Flex for mac public beta install error

2006-10-25 Thread John Kirby
Title: quote






No on the install. If you look at a typical mac install ... like a
package install... if the installing application needs write
permissions to the Application folder you get prompted with a dialog
box to enter user/password. On the install program it tells you don't
have permission. IMHO this shouldn't happen...

.j

jrunrandy said the following:


  
  It may not be the same thing, but...
  
Are you getting this error as part of the Flex Builder install or the 
Flash Player Plugin install? When I installed, the Flex Builder install
  
works fine, but I get an Access Error at the very end of the Flash 
Player Plugin install. Flex Builder and the Player seem to work fine, 
though.
  
HTH
Randy Nielsen
Flex Documentation Manager
  
--- In [EMAIL PROTECTED]ups.com,
John Kirby [EMAIL PROTECTED] wrote:

 Anyone else getting the error that the installer can't install in
the 
 Application folder because of permissions? The installer should 
prompt 
 you for user/password (like a regular install)?
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] AS2 XML to Value Object decoder

2006-10-25 Thread Valy Sivec



Hello,Is there any xml decoder that will help me translate a XML document to a value object in AS3? other than manually transfering XML elements to the VO?.Thanks,Valy 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Cairngorm, dispatching application events and managing states

2006-10-25 Thread Derrick Grigg
Here's a question for any Cairngorm devotees to weigh in on.

I have an application that has many seperate parts that function
independently of each other. Each part uses the centralized Cairngorm
fare (FrontController, ModelLocator, Commands etc). For most parts
using the ModelLocator and bound properties (ie
dataProvider={model.users}) works perfect for keeping everything in order.

One case where this seems to fall apart is when one part or the shell
application needs to notify the other parts of something that has
happened. For example, a user logs into the application. I can update
the model.user to reflect a value object for the new user and the
various components that need to update on this do, BUT, what to do
when I need something programatic to occur in one of the parts. 

I have tried unsuccessfully to use the 'mx.binding' classes. I think
the issue there is that when you initially set the binding it is set
to a specific instance of an object (ie model.user). When the user
logs in I typically completely replace the model.user with a new user
instance, which kills the bindings. The only way around this is to
never replace object instances in the model but rather update them.
Thinking this through though, that seems like a ticking time bomb. Any
accidental overwrite of a instance in the model and all the bindings
falls apart.

What I have done in past, pre Cairngorm, applications it to create
Manager classes, based on the Singleton pattern, that can dispatch
events, and perform logic that doesn't really belong in a command or
business delegate. For example an ApplicationManager class that can
dispatch 'loggedIn' and 'loggedOut' events. Any part of the
application can register as a listener and act appropriately upon
receiving the event.

My question then (to get to the point), is using a Manager class like
this considered a best practice in the Cairngorm framework (mindframe)
or is there a better or more acceptable method of doing what I would
like to accomplish?

Thanks in advance for any feedback,

Derrick




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] FlashPaper in SWFLoader

2006-10-25 Thread Nick Collins



Yeah, I did something similar to that but ran into problems with it loading multiple instances of that flashpaper loader swf where it kinda crapped out, so I was looking for a way to just load in the Flashpaper swfs (cfreport generated) directly.
On 10/25/06, Darron J. Schall [EMAIL PROTECTED] wrote:













  



If you're using Flex 1.5, use the FlashPaperLoader class from Matt 
Chotin:  
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=117


If you're using Flex 2, it's a lot trickier.  Normally, you resize the 
FlashPaper.swf by using the FlashPaper API [1], and just calling the 
setSize( width, height ) method.  However, because the FlashPaper.swf 
lives inside of AVM1 and the Flex 2 loading .swf lives inside of AVM2, 
you can't just directly talk between them.

I've come up with a solution, but it's not exactly trivial.  I'll 
describe it here at a high level, and hopefully get it up on my weblog 
sometime in the near future when I have some time to package it up.

* Create a FlashPaperLoader.swf in Flash that uses a MovieClipLoader to 
load the FlashPaper document.  In this loader.swf, you need to shimmy in 
methods for communication between AVM1 and AVM2.  It's possible to use 
either LocalConnection or ExternalInterface for this, but essentially, 
the FlashPaperLoader.swf is responsible for exposing methods to AVM2 
that simply proxy the method call and parameters to the loaded 
FlashPaper.swf document.
* Instead of loading the FlashPaper.swf directly, load the 
FlashPaperLoader.swf proxy and pass it the URL of the real 
FlashPaper.swf to load.  Use the AVM1/AVM2 communication mechanism you 
created in the previous step to send progress information from the 
loading movie over to Flex 2, so that you can report load progress 
effectively to the user.
* When the load is complete, call the setSize on the 
FlashPaperLoader.swf, again, using the AVM1/AVM2 communication 
mechanism.  When you call setSize on FlashPaperLoader, it should proxy 
that call to the loaded FlashPaper document.
* Use the resize event in Flex 2 to make setSize calls, so that 
resizes the browser or container sets the correct FlashPaper size.

When all is said and done, you end up with the desired behavior of 
loading a FlashPaper document, having it fill the available area, and 
having the correct scale.  Again, it's not exactly trivial to get this 
working, but I'm hoping to release my FlashPaperLoader component and 
support files sometime in the near future.

Good luck,

-d

[1] 
http://www.adobe.com/support/documentation/en/flashpaper/2/flashpaper_api/flashpaper_api4.html


Nick Collins wrote:

 I'm having problems loading a FlashPaper document into a SWFLoader. It 
 loads just fine, but the scaling isn't as I'd like it. Instead of 
 scaling like it does when you load it into a browser window, where the 
 controls stay the same height and just the viewing area scales, the 
 FlashPaper maintains it's default scaling. I think the default size is 
 like 400 x 300, and it just scales that, control bar and all. Is there 
 any way within the SWFLoader to have the FlashPaper display like it 
 does in the browser window?

  


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-10-25 Thread zenwarden
I think you may be wrong about the problem. I have now confirmed that
 am able to get back content that has an Expires: 0 header.

I think the Content-Encoding: gzip is the problem. Not the header, but
the actual encoding itself. I have seen several reports of this on the
web. 

see: http://blog.jasonnussbaum.com/?p=155

Did you you change the encoding? On the example that works?

Chris

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

 I am seeing this same problem on a legacy server I am working on. It
 would be very hard to change the responce header from 0 to -1. Is
 there a work around? 
 
 Can I catch the error? And still get the result?
 
 Thanks,
 
 Chris
 
 --- In flexcoders@yahoogroups.com, dadrobson jim.robson@ wrote:
 
  Vito:
  
  Sorry for the slow response. I haven't been able to spend much time in
  the group lately.
  
  Here is a sample header that works. The key is the value of the
  Expires attribute. If it is set to 0, IE breaks: 
  
  HTTP/1.x 200 OK
  Server: Apache-Coyote/1.1
  Expires: -1
  Pragma: no-cache
  Cache-Control: no-cache, no-store, max-age=0
  Content-Encoding: gzip
  Content-Type: text/xml;charset=ISO-8859-1
  Content-Language: en-US
  Content-Length: 194
  Date: Thu, 05 Oct 2006 15:11:23 GMT
  
  
  HTH
  -Jim
  
  --- In flexcoders@yahoogroups.com, vitopn vitopn@ wrote:
  
   What exactly were the guilty headers?  What headers did you replace
   them with?  
   
   Thanx,
   -Vito
  
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: IE Only: Error #2032 (Flex 2.0)

2006-10-25 Thread zenwarden
I have now confirmed that (in my case at least) gzip encoding was the
problem NOT Expires: 0.

I have a working example with the following header information:

HTTP/1.0 200 OK
Server: httpd/1.00
Cache-Control: no-cache
Expires: 0
Content-Type: text/xml

which worked.

the original response which was failing was due to gzip encoding:

HTTP/1.0 200 OK
Server: httpd/1.00
Cache-Control: no-cache
Expires: 0
Content-Type: text/xml
Content-Encoding: gzip
Content-Length: 921

This appears to be a IE bug. Not flash.

Chris Warden




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

 I think you may be wrong about the problem. I have now confirmed that
  am able to get back content that has an Expires: 0 header.
 
 I think the Content-Encoding: gzip is the problem. Not the header, but
 the actual encoding itself. I have seen several reports of this on the
 web. 
 
 see: http://blog.jasonnussbaum.com/?p=155
 
 Did you you change the encoding? On the example that works?
 
 Chris
 
 --- In flexcoders@yahoogroups.com, zenwarden cwarden@ wrote:
 
  I am seeing this same problem on a legacy server I am working on. It
  would be very hard to change the responce header from 0 to -1. Is
  there a work around? 
  
  Can I catch the error? And still get the result?
  
  Thanks,
  
  Chris
  
  --- In flexcoders@yahoogroups.com, dadrobson jim.robson@ wrote:
  
   Vito:
   
   Sorry for the slow response. I haven't been able to spend much
time in
   the group lately.
   
   Here is a sample header that works. The key is the value of the
   Expires attribute. If it is set to 0, IE breaks: 
   
   HTTP/1.x 200 OK
   Server: Apache-Coyote/1.1
   Expires: -1
   Pragma: no-cache
   Cache-Control: no-cache, no-store, max-age=0
   Content-Encoding: gzip
   Content-Type: text/xml;charset=ISO-8859-1
   Content-Language: en-US
   Content-Length: 194
   Date: Thu, 05 Oct 2006 15:11:23 GMT
   
   
   HTH
   -Jim
   
   --- In flexcoders@yahoogroups.com, vitopn vitopn@ wrote:
   
What exactly were the guilty headers?  What headers did you
replace
them with?  

Thanx,
-Vito
   
  
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Cairngorm / Webservice / E4X XML Output

2006-10-25 Thread Jamie O
I've tried pretty much every sample I can find out there on the
interweb and just can't seem to get things to play nice with my web
service to allow me to get at individual nodes / elements using E4X.
If anyone can suggest something, it would be REALLY appreciated.

I've got:
-an event broadcasting to the controller (not shown) working fine.
-execute the search command (not shown) working fine.
-executing the webservice request (shown) working fine.
-receiving the webservice response (shown) working fine.
-Accessing specific nodes / attributes in the response not working!
-If I use a HTTPService to a direct XML file, e4x is ok.

[SERVICE DEFINITION MXML]
mx:WebService id=addressWSService wsdl=[RemovedPath]?WSDL
makeObjectsBindable=false showBusyCursor=true useProxy=false
mx:operation name=PostalCodeLookup resultFormat=e4x
mx:request
PostalCode
K7M6B2
/PostalCode
/mx:request
/mx:operation
/mx:WebService

[DELEGATE DEFINITION ACTIONSCRIPT]
service = ServiceLocator.getInstance().getService(addressWSService)
as WebService;

public function LocateAddress(p_PostalCode:String):void
{
service.addEventListener(ResultEvent.RESULT, LocateAddress_onResult);
service.addEventListener(FaultEvent.FAULT, LocateAddress_onFault);
var o:AbstractOperation = service.getOperation(PostalCodeLookup);
o.arguments.PostalCode = p_PostalCode;
service.PostalCodeLookup();
}

protected function LocateAddress_onResult(event:ResultEvent):void
{
trace(AddressWSDelegate::LocateAddress_onResult);
responder.onResult(new ResultEvent(ResultEvent.RESULT, false, true,
event.result));
}

[SEARCH COMMAND ACTIONSCRIPT]
protected function searchPostalCode(p_postalcode:String):void
{
getDelegate().LocateAddress(p_postalcode);
}

protected function getDelegate():AddressWSDelegate
{
return new AddressWSDelegate(this);
}

public function onResult(event:*=null):void
{
trace(SearchCommand::onResult);
var postcodeXML:XML = new XML(event.result);
Alert.show(postcodeXML);
}

Overall the structure of this app is pretty close to Jesse Wardens
Amazon sample but that one goes to an array rather than working with
e4x which I would like to.




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Cairngorm, dispatching application events and managing states

2006-10-25 Thread Dustin Mercer












Out of curiosity, what is it you want to
do when the login happens. I have only found a few things that were difficult
to do from within a command. If you can tell me what you want to do, I can
tell you what I have done in the past and how I accomplished it from within a
command. In my Cairngorm trials, I had come to some of the same thinking as
you described here, but I found that there were ways to accomplish it within
the command instead of a management class. There were situations I chose to
implement management classes though, for example, I had a class that managed
all the media playing on a media player I am building It just didnt
feel right broken into commands, just didnt feel very cohesive, although
accomplishable through commands, just felt better in a singleton class.
Especially since I was going to be using these same functions across many
different commands and didnt want to rewrite the logic in each command.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Derrick Grigg
Sent: Wednesday, October 25, 2006
12:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm,
dispatching application events and managing states











Here's a question for any Cairngorm devotees to weigh
in on.

I have an application that has many seperate parts that function
independently of each other. Each part uses the centralized Cairngorm
fare (FrontController, ModelLocator, Commands etc). For most parts
using the ModelLocator and bound properties (ie
dataProvider={model.users}) works perfect for keeping everything in
order.

One case where this seems to fall apart is when one part or the shell
application needs to notify the other parts of something that has
happened. For example, a user logs into the application. I can update
the model.user to reflect a value object for the new user and the
various components that need to update on this do, BUT, what to do
when I need something programatic to occur in one of the parts. 

I have tried unsuccessfully to use the 'mx.binding' classes. I think
the issue there is that when you initially set the binding it is set
to a specific instance of an object (ie model.user). When the user
logs in I typically completely replace the model.user with a new user
instance, which kills the bindings. The only way around this is to
never replace object instances in the model but rather update them.
Thinking this through though, that seems like a ticking time bomb. Any
accidental overwrite of a instance in the model and all the bindings
falls apart.

What I have done in past, pre Cairngorm, applications it to create
Manager classes, based on the Singleton pattern, that can dispatch
events, and perform logic that doesn't really belong in a command or
business delegate. For example an ApplicationManager class that can
dispatch 'loggedIn' and 'loggedOut' events. Any part of the
application can register as a listener and act appropriately upon
receiving the event.

My question then (to get to the point), is using a Manager class like
this considered a best practice in the Cairngorm framework (mindframe)
or is there a better or more acceptable method of doing what I would
like to accomplish?

Thanks in advance for any feedback,

Derrick






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] FlashPaper in SWFLoader

2006-10-25 Thread Darron J. Schall
The solution I used was to just create a unique id when you want to load 
a FlashPaper.swf, and pass that value to the loader.  The AVM1/AVM2 
communication channels then use that specific id so that you can load 
multiple isntances of them without interfering with each other.

As and aside, we're using cfreport to load our FlashPaper.swfs into 
Flex 2 as well.  My fingers are crossed that theres an upgrade coming 
down the line to ColdFusion that would make FlashPaper SWF9 compatible 
so we can talk directly with the loaded reports.  One can hope.. but 
until then, the AVM1/AVM2 solution isn't bad once you get it in place. 

Like I said, I'll try to get it packaged up on my weblog soon so you can 
see how to do it.

-d

Nick Collins wrote:

 Yeah, I did something similar to that but ran into problems with it 
 loading multiple instances of that flashpaper loader swf where it 
 kinda crapped out, so I was looking for a way to just load in the 
 Flashpaper swfs (cfreport generated) directly.





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] sort TileList or Tile/Repeater, with animation?

2006-10-25 Thread jmcmahon89
I've got to believe there's an easier way to do this than the reams of 
code in the Adobe Store sample.  I just want to be able to sort or 
filter the contents of either a TileList or a Tile with a Repeater, and 
have the tiles slide around using the Move effect.

I can sort the ArrayCollection I'm using as a dataProvider, then do 
myArrayCollection.refresh, but that won't animate.

OR

I can get the animation to work by using tile.SetChildIndex
(childObject, index).  

But I can't figure out how to do both - is there an easy way?

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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: FlexBuilder refusing to Build newer versions of .mxml files !!!

2006-10-25 Thread Bill Long
i've done the same things more than i wish to recount.  my hack was 
to blow away the .metadata file in the workspace which forces flex 
to rebuild the ws; then, create another project and import the mxml 
i was working on.

i think it's a good idea to turn off the save automatically 
feature and make sure problems panel is visible with at least a few 
lines.  don't rebuild the project from scratch.

HTH

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

 Brian may have provided you with the solution but I had same 
problem
 and hacked it by creating a new mxml file and copy-pasting the code
 from the problem file. That always seems to work
 AndyC
 
 -- In flexcoders@yahoogroups.com, Brian Holmes bholme@ wrote:
 
  Mike,
   I had the same problem when I first started using FlexBuilder. 
What I
  found was that I had closed the Problems window and couldn't see 
the
  errors that were being generated so it looked like it didn't 
compile and
  I kept getting file not found errors. Don't know if that's your 
problem,
  but that's what I did. Good luck.
  
  Brian.
  
   
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
  Behalf Of Mike Anderson
  Sent: Tuesday, August 08, 2006 1:08 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] FlexBuilder refusing to Build newer 
versions of
  .mxml files !!!
  
  Hello All,
  
  After compiling my default application a few times (and that 
number can
  change randomly), FlexBuilder refuses to re-compile my 
application after
  subsequent changes to my source code - so I end up seeing the 
same darn
  ..swf - time after time.  And shutting down FlexBuilder, and 
restarting
  has no effect whatsoever either.
  
  This is getting exceedingly irritating, because when debugging 
an app,
  you always want to change a little code, and then retest it 
immediately
  afterwards.  So, in theory, I could literally fix the problem 
with the
  very next build - but I'd never know it for several builds - 
because I
  am not seeing the newer version of the .swf file.
  
  Man, I can't convey to you all how peeved I am getting right 
now...
  
  AND after running a Clean on my project, then I get a file 
not found
  message, when trying to run the application.  Well, no sh** 
Sherlock -
  that's what happens when the Compiler doesn't build the .swf 
file -
  after deleting it from the deployment directory, previous to the 
newer
  build.
  
  This is getting really out of control, and I am pleading with 
you all,
  to share any similar experiences with me - so that I can get to 
the
  bottom of what's going on.
  
  Many thanks in advance for any help regarding this,
  
  Mike
  
  
  --
  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
  
  
  
   
  
  
  
  
  
  
  ***
  The information in this e-mail is confidential and intended 
solely
 for the individual or entity to whom it is addressed.  If you have
 received this e-mail in error please notify the sender by return
 e-mail delete this e-mail and refrain from any disclosure or action
 based on the information.
  ***
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: bug in the XMLListCollection ?

2006-10-25 Thread Luis Eduardo


  thx for your answer Bela!

  i found the error and you are rigth about this isnt be a bug.

  in the init() function of my mxml i put a code like this:

  XMLLC = new XMLListCollection( new XMLList( one xml here ) )

  but i couldn't realize that this would override the XMLListCollection 
declared with tags.
  i drop this line and did my xml init with another approach and 
everything works fine.

  not easy at all to learn all this  ;)

  thank you again for the answer!!


   adios  :)

  Luís Eduardo.


Bela Hajzer escreveu:

 see bellow pls

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote:
 
  Does this compile?
 
 
 
  On 10/24/06, Luis Eduardo [EMAIL PROTECTED] wrote:
  
  
  
   hello people,
  
   i am adding one XML item at one XMLListCollection but the
   collectionChange event dont fire.
  
   i am using the follow code:
  
   var xn:XML = new XML();
   xn = TipoVeiculo Id= Nome={edtNome.text}
   Descricao={edtDescricao.text}/;
   XMLLC.addItem(xn);
  
   the XMLListCollection was defined in this way:
  
   mx:XMLListCollection id=XMLLC
   collectionChange=Alert.show('collectionChange')/
  
   any ideas? is this a bug? or only the arraycollection can actually
   fire this event?
  
   []'s,
  
   Luís Eduardo.
  
  
  
  
  
   ___
   Você quer respostas para suas perguntas? Ou você sabe muito e
 quer
   compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
   http://br.answers.yahoo.com/ http://br.answers.yahoo.com/
  
  
 
 
 
  --
  
  Igor Costa
  www.igorcosta.com
 --
 Hi, well this isn't a bug at all, maybe some more tutorials could
 help folks like you and me.In the meantime read through the ref.
 doc...

 So here is a little working snippet:

 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 http://www.adobe.com/2006/mxml

 mx:Script
 ![CDATA[

 import mx.collections.XMLListCollection;
 import mx.controls.Alert;
 ]]
 /mx:Script

 mx:XMLList id=xnList
 TipoVeiculo Id=1 Nome={edtNome.text}
 Descricao={edtDescricao.text}/
 /mx:XMLList

 mx:XMLListCollection id=XMLLC source={xnList} /

 mx:Panel title=XMLListCollection Example height=75% width=75%
 paddingTop=10 paddingLeft=10

 mx:TextInput id=edtNome text=Seat Toledo /
 mx:TextInput id=edtDescricao text=It rocks/

 mx:Button label=send click=Alert.show(XMLLC.toXMLString())/

 /mx:Panel

 /mx:Application

 Bela

  




___ 
O Yahoo! está de cara nova. Venha conferir! 
http://br.yahoo.com


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] what is valid event type for image load monitoring

2006-10-25 Thread Robert Was
Code in my component:
...
image=new Image()
addChild(image)
image.addEventListener(Event.COMPLETE ,evImageLoadComplete)
image.source=image.jpg
...
private function evImageLoadComplete(e:Event):void{
-breakpoint there
}

Debugger tell me that image width=0, is any other event type if i want 
make actions with loaded image if i know width for example?

-- 
Robert Was





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] += operator is changing the encodings

2006-10-25 Thread Luis Eduardo


  Igor,

  thx for your answer, but i think something isnt clear...

  my problem is on the += operator in this line of code:

   xgravar.root.request += XMLLC;


  the XMLLC object is declared as:

mx:XMLListCollection id=XMLLC 
collectionChange=collectionEventHandler(event)/

and have, at the time this line of code fire, the follow XML

TipoVeiculo Id=1 Nome=Moto Descricao=desc
TipoVeiculo Id=2 Nome=Carro Descricao=desc
TipoVeiculo Id=3 Nome=Caminhao Descricao=desc
TipoVeiculo Id=4 Nome=Aviao Descricao=desc

just that. (without a root node).

the root node is at xgravar.request.

but, when i do:

xgravar.root.request += XMLLC;

and after Alert.show(xgravar.toXMLString()) the code is changed to:

ds
  root
request
  ltTipoVeiculo Id=1 Nome=Moto Descricao=descgt
  ltTipoVeiculo Id=2 Nome=Carro Descricao=descgt
  ltTipoVeiculo Id=3 Nome=Caminhao Descricao=descgt
  ltTipoVeiculo Id=4 Nome=Aviao Descricao=descgt
/request
  /root
/ds

i have made a workaround for this with the follow code:

for each( var item : XML in XMLLC ) {
XML(xgravar.root.request).appendChild(item);
}

but i think that the += operator SHOULD do the same thing WITHOUT 
changing the  and  simbols.

dont you agree?

best regards to you!

 Luís Eduardo.



Igor Costa escreveu:

 Hi Luiz


 Isn't the operator that's wrong, you just missed out how to pass 
 String and concatening in both side of wall.

 Check out this heck of how could be done.

 public function myList():void
 {
var myXML = new 
 XMLList(dsRQrootrequest//root/dsRQ);
szCommand = insert;
if( [EMAIL PROTECTED] = szCommand == true)
   {
   Alert.show(xgravar.toString());
}
  else {
  Alert.show(xgravar);
   }
 }


 The problem is, you are trying to convert an object twice in time in 
 the same function, that's why the problem happens. if you put anything 
 in braces  than you convert to string, the compiler intend to 
 undrestand that, ok the users now want to convert that cacharecter.


 Regards.

 szCommand = insert;
 [EMAIL PROTECTED] = szCommand;

 Alert.show(XMLLC.toXMLString()); // OK here. all  and 
 works fine

 xgravar.root.request += XMLLC;

 Alert.show(xgravar.toXMLString()); // ERROR here.  and 
 converted to lt and gt
 }







 On 10/24/06, *Luis Eduardo* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:


 hi,

 In my app, when i use the += operator, the data inside xmls turns
 with
 diferent encoding.
 The  and  caracters become wierds like lt and gt respectively.

 How can i fix this?

 this is the code:

 public function doGravar():void {
 var xgravar:XMLList = new
 XMLList(dsRQrootrequest//root/dsRQ);

 szCommand = insert;
 [EMAIL PROTECTED] = szCommand;

 Alert.show(XMLLC.toXMLString()); // OK here. all  and 
 works fine

 xgravar.root.request += XMLLC;

 Alert.show(xgravar.toXMLString()); // ERROR here.  and 
 converted to lt and gt
 }

 where XMLLC : XMLListCollection and szCommand : String.
 The first Alert will show correct data but the second will show
 caracters converted.

 regards,

 Luís Eduardo.


 ___
 Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu
 celular. Registre seu aparelho agora!
 http://br.mobile.yahoo.com/mailalertas/
 http://br.mobile.yahoo.com/mailalertas/





 -- 
 
 Igor Costa
 www.igorcosta.com http://www.igorcosta.com
  




___ 
O Yahoo! est� de cara nova. Venha conferir! 
http://br.yahoo.com


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 for mac public beta install error

2006-10-25 Thread Stefan Ernst

It did ask me for the password and installed just fine.

 Anyone else getting the error that the installer can't install in  
 the Application folder because of permissions?  The installer  
 should prompt you for user/password (like a regular install)?



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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] datagrid checkboxes getting checked dynamically

2006-10-25 Thread Jack OMelia
Hi All,

I have one column in a datagrid populated with checkboxes. The
checkboxes are part of a dataGridCell itemRenderer called
checkBoxRendererSummary:

mx:Component id=checkBoxRendererSummary 
  mx:VBox horizontalAlign=center paddingLeft=10
mx:CheckBox id=ckBoxBusCharge
selected='{data.cdrBusinessCharge}' /
  /mx:VBox
/mx:Component

and receive data from a local XML file. The XML file is brought in
with the mx:XML/ tag formatted for e4x. One node of the XML is below:

item
  cdrBusinessChargetrue/cdrBusinessCharge
  cdrSumNbr203-952-4993/cdrSumNbr
  cdrSumTotalCalls12/cdrSumTotalCalls
  cdrSumTotalMin21/cdrSumTotalMin
  cdrSumTotalAir0.00/cdrSumTotalAir
  cdrSumTotalLD0.00/cdrSumTotalLD
  cdrSumTotalCharges0.00/cdrSumTotalCharges
/item

For some reason, the checkbox does not read the value of
cdrBusinessCharge and check the box accordingly. No matter whether the
value is true or false, all the checkboxes are checked. I use similar
itemRenderers for the other columns with Text components instead of
checkboxes and they all read and display the data correctly. Is it
because the checkbox is expecting a Boolean and getting text?

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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Binding the backgroundColor of a DataGridColumn

2006-10-25 Thread Luis Eduardo


i wonder why this

why i need to extend my datagrid to make this functionality to  work.
so many people asks for this...  it appear to be so obvious that people 
would need it.

will adobe make this issue on the next patch for flex 2.0 ?
(is there some place that we can asks for this?)




Clint Tredway escreveu:

 You will need to extend the datagrid to do this.. The good thing is, 
 someone has already done this, Mike Nimer.

 http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component
  
 http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component

 I have used this and it works great.

 On 10/25/06, *Alexander Lamb* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hello list,


 Here is a wonderfull small datagrid:

 mx:DataGrid id=dg dataProvider= {patients } x=283  y=104 
 editable=false 
 mx:columns
 mx:DataGridColumn headerText=Last name  dataField=lastName /

 mx:DataGridColumn headerText= First name dataField= firstName/
 mx:DataGridColumn headerText= backgroundColor=pColor /

 /mx:columns
 /mx:DataGrid

 Unfortunately, it doesn't like my backgroundColor connexion. My
 dataProvider is an ArrayCollection of Patient objects. The Patient
 class has 3 attributes: firstName, lastName, pColor.
 pColor is a uint.

 Why can't I do this? I would have sought it simple called the
 function on the currentItem when rendering the DataGrid!

 Thanks for any hint,

 Alex
 --
 Alexander Lamb
 Service d'Informatique Médicale
 Hôpitaux Universitaires de Genève
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 +41 22 372 88 62
 +41 79 420 79 73








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







___ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar 
seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: HTTPService url problem

2006-10-25 Thread maunger
Is it ok if I sorta hijack this thread a tiny bit?

I'm wanting to access data on a website that requires that I log in...
(this is just one of many...) http://www.stockxpert.com/index.phtml


i cannot figure out how to get their site to let me log in. It has the
standard username and password fields but if there's some secret
string to pass in user data i don't have a clue. I was trying to do it
with a CFC (without even trying it in FLEX) but if someone's already
tackled this beast i'd love to know.

I've tried http://username:[EMAIL PROTECTED] etc and that
doesn't seem to work.

i think i know how to parse the data once i get to the page i want to
get to, but i can't figure out how to log in... anyone have some idea?

I've tried google and google groups but i'm just not finding the
answers i would like to have.

I don't think there are any webservices that the sites provide so i'm
thinking my only option is to scrape off the data from the http pages.

Thanks!

Mitch

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

 thank you for your help !!
 
 JB :-)
 
 --- In flexcoders@yahoogroups.com, Prakaz mr.prakaz@ wrote:
 
  try this:
  
   mx:HTTPService id=myservice
url=http://testdrive.local.net/cgi-bin/get_warnings_data.cgi;
showBusyCursor=true
useProxy=false
method=POST
result=loginSuccessHandler();
fault=loginErrorHandler();
/
  
  public function callService():void{
   var objParameters:Object=new Object();
  // Collect parameter to send to HTTPService
  objParameters.code='MA';
  objParameters.pcode=TO
  
  // Additional parameters
  objParameters.parameter1='value1';
  objParameters.parameter2='value2';
  
  // send HTTPRequest
  *myservice.send(objParameter);
  *}
  
  try putting all your parameter inside an object and use 
 HTTPservices' send()
  method to pass this parameter to your backend code.
  
  Hope that helps,
  -P
  
  
  
  On 10/25/06, jbbec_fr jbbec@ wrote:
  
 Hi all,
   I am a newbie in flex and i apologize if my posts seem tobe 
 dummies
   one...
   I want to populate a datagrid and i use HTTPService to do it.
   The url parameter is like this :
   url=http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?
   code=MApcode=TO
   when i save the file i get an error :
   The reference to entity pcode must end with the ';' delimiter.
  
   can anyone help me ?
  
   thy
  
   JB
  
   
  
 






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Cairngorm / Webservice / E4X XML Output

2006-10-25 Thread ben.clinkinbeard
Does the Alert.show(postcodeXML) display the xml and you're just not
able to get nodes within it? Does the returned xml contain namespaces?
If you can post the resulting xml and the code you're using to try and
access individual nodes it will be easier to diagnose your issue.

Ben


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

 I've tried pretty much every sample I can find out there on the
 interweb and just can't seem to get things to play nice with my web
 service to allow me to get at individual nodes / elements using E4X.
 If anyone can suggest something, it would be REALLY appreciated.
 
 I've got:
 -an event broadcasting to the controller (not shown) working fine.
 -execute the search command (not shown) working fine.
 -executing the webservice request (shown) working fine.
 -receiving the webservice response (shown) working fine.
 -Accessing specific nodes / attributes in the response not working!
 -If I use a HTTPService to a direct XML file, e4x is ok.
 
 [SERVICE DEFINITION MXML]
 mx:WebService id=addressWSService wsdl=[RemovedPath]?WSDL
 makeObjectsBindable=false showBusyCursor=true useProxy=false
   mx:operation name=PostalCodeLookup resultFormat=e4x
   mx:request
   PostalCode
   K7M6B2
   /PostalCode
   /mx:request
   /mx:operation
 /mx:WebService
 
 [DELEGATE DEFINITION ACTIONSCRIPT]
 service = ServiceLocator.getInstance().getService(addressWSService)
 as WebService;
 
 public function LocateAddress(p_PostalCode:String):void
 {
 service.addEventListener(ResultEvent.RESULT, LocateAddress_onResult);
 service.addEventListener(FaultEvent.FAULT, LocateAddress_onFault);
 var o:AbstractOperation = service.getOperation(PostalCodeLookup);
 o.arguments.PostalCode = p_PostalCode;
 service.PostalCodeLookup();
 }
 
 protected function LocateAddress_onResult(event:ResultEvent):void
 {
 trace(AddressWSDelegate::LocateAddress_onResult);
 responder.onResult(new ResultEvent(ResultEvent.RESULT, false, true,
 event.result));
 }
 
 [SEARCH COMMAND ACTIONSCRIPT]
 protected function searchPostalCode(p_postalcode:String):void
 {
   getDelegate().LocateAddress(p_postalcode);
 }
 
 protected function getDelegate():AddressWSDelegate
 {
   return new AddressWSDelegate(this);
 }
 
 public function onResult(event:*=null):void
 {
   trace(SearchCommand::onResult);
   var postcodeXML:XML = new XML(event.result);
   Alert.show(postcodeXML);
 }
 
 Overall the structure of this app is pretty close to Jesse Wardens
 Amazon sample but that one goes to an array rather than working with
 e4x which I would like to.






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Binding the backgroundColor of a DataGridColumn

2006-10-25 Thread Pan Troglodytes



Looking at what you're doing, you may also find Tim Hoff's excellent RowColorDataGrid useful.http://www.cflex.net/showFileDetails.cfm?ObjectID=487Object=FileChannelID=1
On 10/25/06, Clint Tredway [EMAIL PROTECTED] wrote:



You will need to extend the datagrid to do this.. The good thing is, someone has already done this, Mike Nimer.
http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component
I have used this and it works great.On 10/25/06, Alexander Lamb 
[EMAIL PROTECTED]
 wrote:












  



Hello list,Here is a wonderfull small datagrid:mx:DataGrid

 id=dg dataProvider=
{patients

} x=283

 y=104

 editable=false

		mx:columns
			

mx:DataGridColumn headerText=Last name

 dataField=lastName

/	

		mx:DataGridColumn headerText=
First name dataField=

firstName/

			mx:DataGridColumn
 headerText= backgroundColor=pColor

/	

	/mx:columns	

/mx:DataGrid

Unfortunately, it doesn't like my backgroundColor connexion. My dataProvider is an ArrayCollection of Patient objects. The Patient class has 3 attributes: firstName, lastName, pColor.pColor is a uint.

Why can't I do this? I would have sought it simple called the function on the currentItem when rendering the DataGrid!Thanks for any hint,

Alex--Alexander LambService d'Informatique MédicaleHôpitaux Universitaires de Genève

[EMAIL PROTECTED]+41 22 372 88 62+41 79 420 79 73 
  













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




-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: datagrid checkboxes getting checked dynamically

2006-10-25 Thread ben.clinkinbeard
 Is it because the checkbox is expecting a Boolean and getting text?
That would be my guess. What does it do if you change the code to:

mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge ==
true}' /

?

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

 Hi All,
 
 I have one column in a datagrid populated with checkboxes. The
 checkboxes are part of a dataGridCell itemRenderer called
 checkBoxRendererSummary:
 
 mx:Component id=checkBoxRendererSummary 
   mx:VBox horizontalAlign=center paddingLeft=10
 mx:CheckBox id=ckBoxBusCharge
 selected='{data.cdrBusinessCharge}' /
   /mx:VBox
 /mx:Component
 
 and receive data from a local XML file. The XML file is brought in
 with the mx:XML/ tag formatted for e4x. One node of the XML is below:
 
 item
   cdrBusinessChargetrue/cdrBusinessCharge
   cdrSumNbr203-952-4993/cdrSumNbr
   cdrSumTotalCalls12/cdrSumTotalCalls
   cdrSumTotalMin21/cdrSumTotalMin
   cdrSumTotalAir0.00/cdrSumTotalAir
   cdrSumTotalLD0.00/cdrSumTotalLD
   cdrSumTotalCharges0.00/cdrSumTotalCharges
 /item
 
 For some reason, the checkbox does not read the value of
 cdrBusinessCharge and check the box accordingly. No matter whether the
 value is true or false, all the checkboxes are checked. I use similar
 itemRenderers for the other columns with Text components instead of
 checkboxes and they all read and display the data correctly. Is it
 because the checkbox is expecting a Boolean and getting text?
 
 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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] datagrid checkboxes getting checked dynamically

2006-10-25 Thread Iko Knyphausen












Try the outerDocument prefix in you
databinding...this may be a scope issue -Iko







Hi All,

I have one column in a datagrid populated with checkboxes. The
checkboxes are part of a dataGridCell itemRenderer called
checkBoxRendererSummary:

mx:Component id=checkBoxRendererSummary 
mx:VBox horizontalAlign=center paddingLeft=10
mx:CheckBox id=ckBoxBusCharge
selected='{data.cdrBusinessCharge}' /
/mx:VBox
/mx:Component

and receive data from a local XML file. The XML file is brought in
with the mx:XML/ tag formatted for e4x. One node of the XML is below:

item
cdrBusinessChargetrue/cdrBusinessCharge
cdrSumNbr203-952-4993/cdrSumNbr
cdrSumTotalCalls12/cdrSumTotalCalls
cdrSumTotalMin21/cdrSumTotalMin
cdrSumTotalAir0.00/cdrSumTotalAir
cdrSumTotalLD0.00/cdrSumTotalLD
cdrSumTotalCharges0.00/cdrSumTotalCharges
/item

For some reason, the checkbox does not read the value of
cdrBusinessCharge and check the box accordingly. No matter whether the
value is true or false, all the checkboxes are checked. I use similar
itemRenderers for the other columns with Text components instead of
checkboxes and they all read and display the data correctly. Is it
because the checkbox is expecting a Boolean and getting text?

Thanks






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Why doesn't the object assignment work.

2006-10-25 Thread Gordon Smith












To answer that for sure, we'd have to see
the code for your Prospect class. Did you write code to set these three
properties, either in the var declaration (e.g., var sicCode:int = 3) or in the
constructor? Have you stepped through the constructor?



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of boy_trike
Sent: Wednesday, October 25, 2006
7:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why doesn't
the object assignment work.











code snippet

private function nextProspectResults(event: ResultEvent) : void {
model.currentProspect = new Prospect( event.result );
model.currentProspect.sicCode = event.result.sicCode;
model.currentProspect.numbInARow = event.result.numbInARow;
model.currentProspect.maxSic = event.result.maxSic;

my Prospect class has about 20 properties. for SOME reason, 3 of them do NOT
get assigned 
in the 1st statement and I have to assign the 3 properties as you see. When
using the 
debugger, I see the sicCode (et. al) in the event.result object. Help

Thanks
Bruce






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Binding the backgroundColor of a DataGridColumn

2006-10-25 Thread Clint Tredway



this basically does the same thing as Mike Nimers code. I am not sure why Adobe didnt make this do able by default, but its do able with the code above.On 10/25/06, 
Pan Troglodytes [EMAIL PROTECTED] wrote:













  



Looking at what you're doing, you may also find Tim Hoff's excellent RowColorDataGrid useful.
http://www.cflex.net/showFileDetails.cfm?ObjectID=487Object=FileChannelID=1
On 10/25/06, Clint Tredway 
[EMAIL PROTECTED] wrote:



You will need to extend the datagrid to do this.. The good thing is, someone has already done this, Mike Nimer.

http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component
I have used this and it works great.On 10/25/06, Alexander Lamb 

[EMAIL PROTECTED]
 wrote:












  



Hello list,Here is a wonderfull small datagrid:mx:DataGrid


 id=dg dataProvider=
{patients


} x=283


 y=104


 editable=false


		mx:columns
			


mx:DataGridColumn headerText=Last name


 dataField=lastName


/	


		mx:DataGridColumn headerText=
First name dataField=


firstName/


			mx:DataGridColumn
 headerText= backgroundColor=pColor


/	


	/mx:columns	


/mx:DataGrid


Unfortunately, it doesn't like my backgroundColor connexion. My dataProvider is an ArrayCollection of Patient objects. The Patient class has 3 attributes: firstName, lastName, pColor.pColor is a uint.


Why can't I do this? I would have sought it simple called the function on the currentItem when rendering the DataGrid!Thanks for any hint,


Alex--Alexander LambService d'Informatique MédicaleHôpitaux Universitaires de Genève


[EMAIL PROTECTED]+41 22 372 88 62+41 79 420 79 73 
  













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




-- Jason

  













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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: datagrid checkboxes getting checked dynamically

2006-10-25 Thread Jack OMelia
That did the trick! Many thanks! I knew there must be a way to give
the checkbox the boolean data but couldn't see it.
Thanks again.

  Is it because the checkbox is expecting a Boolean and getting text?
 That would be my guess. What does it do if you change the code to:
 
 mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge ==
 true}' /
 
 ?
 
 --- In flexcoders@yahoogroups.com, Jack OMelia lomelia@ wrote:
 
  Hi All,
  
  I have one column in a datagrid populated with checkboxes. The
  checkboxes are part of a dataGridCell itemRenderer called
  checkBoxRendererSummary:
  
  mx:Component id=checkBoxRendererSummary 
mx:VBox horizontalAlign=center paddingLeft=10
  mx:CheckBox id=ckBoxBusCharge
  selected='{data.cdrBusinessCharge}' /
/mx:VBox
  /mx:Component
  
  and receive data from a local XML file. The XML file is brought in
  with the mx:XML/ tag formatted for e4x. One node of the XML is
below:
  
  item
cdrBusinessChargetrue/cdrBusinessCharge
cdrSumNbr203-952-4993/cdrSumNbr
cdrSumTotalCalls12/cdrSumTotalCalls
cdrSumTotalMin21/cdrSumTotalMin
cdrSumTotalAir0.00/cdrSumTotalAir
cdrSumTotalLD0.00/cdrSumTotalLD
cdrSumTotalCharges0.00/cdrSumTotalCharges
  /item
  
  For some reason, the checkbox does not read the value of
  cdrBusinessCharge and check the box accordingly. No matter whether the
  value is true or false, all the checkboxes are checked. I use similar
  itemRenderers for the other columns with Text components instead of
  checkboxes and they all read and display the data correctly. Is it
  because the checkbox is expecting a Boolean and getting text?
  
  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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: Cairngorm, dispatching application events and managing states

2006-10-25 Thread Derrick Grigg
The biggest things I need to do are update/change the state of views
within the application. For instance, when a user has logged in
certain buttons get enabled, or certain panels become visible that
would not be so when the user is logged out.

I was thinking along the lines of using Commands, but I don't think
Commands should be concerned about the specific details (ie text
fields, buttons, etc) of a view. Using Commands would also entail
having to register all my views with a locator that would be used to
allow the Commands to find Views. Seems like a huge pain.

To me it seems much cleaner to allow the views to listen for certain
events (likely dispatched from a Manager) and then respond accordingly.

Derrick

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

 Out of curiosity, what is it you want to do when the login happens.  I
 have only found a few things that were difficult to do from within a
 command.  If you can tell me what you want to do, I can tell you what I
 have done in the past and how I accomplished it from within a command.
 In my Cairngorm trials, I had come to some of the same thinking as you
 described here, but I found that there were ways to accomplish it within
 the command instead of a management class.  There were situations I
 chose to implement management classes though, for example, I had a class
 that managed all the media playing on a media player I am building...
 It just didn't feel right broken into commands, just didn't feel very
 cohesive, although accomplishable through commands, just felt better in
 a singleton class  Especially since I was going to be using these
 same functions across many different commands and didn't want to rewrite
 the logic in each command.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Derrick Grigg
 Sent: Wednesday, October 25, 2006 12:11 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cairngorm, dispatching application events and
 managing states
 
  
 
 Here's a question for any Cairngorm devotees to weigh in on.
 
 I have an application that has many seperate parts that function
 independently of each other. Each part uses the centralized Cairngorm
 fare (FrontController, ModelLocator, Commands etc). For most parts
 using the ModelLocator and bound properties (ie
 dataProvider={model.users}) works perfect for keeping everything in
 order.
 
 One case where this seems to fall apart is when one part or the shell
 application needs to notify the other parts of something that has
 happened. For example, a user logs into the application. I can update
 the model.user to reflect a value object for the new user and the
 various components that need to update on this do, BUT, what to do
 when I need something programatic to occur in one of the parts. 
 
 I have tried unsuccessfully to use the 'mx.binding' classes. I think
 the issue there is that when you initially set the binding it is set
 to a specific instance of an object (ie model.user). When the user
 logs in I typically completely replace the model.user with a new user
 instance, which kills the bindings. The only way around this is to
 never replace object instances in the model but rather update them.
 Thinking this through though, that seems like a ticking time bomb. Any
 accidental overwrite of a instance in the model and all the bindings
 falls apart.
 
 What I have done in past, pre Cairngorm, applications it to create
 Manager classes, based on the Singleton pattern, that can dispatch
 events, and perform logic that doesn't really belong in a command or
 business delegate. For example an ApplicationManager class that can
 dispatch 'loggedIn' and 'loggedOut' events. Any part of the
 application can register as a listener and act appropriately upon
 receiving the event.
 
 My question then (to get to the point), is using a Manager class like
 this considered a best practice in the Cairngorm framework (mindframe)
 or is there a better or more acceptable method of doing what I would
 like to accomplish?
 
 Thanks in advance for any feedback,
 
 Derrick






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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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: FlexBuilder refusing to Build newer versions of .mxml files !!!

2006-10-25 Thread Luis Eduardo

  FlexBuilder will not compile if there are, even a minimal error issue.
  to me ensure all compile is really made, i put a label with a number 
that i increase everytime i have some doubt about the compilation.


   []'s,

   Luís Eduardo.



Tom Chiverton escreveu:

On Wednesday 25 October 2006 06:45, Mike Crowe wrote:
  

Is nobody else having this issue?  This is happening almost every
build for me, and it's driving me crazy.  I'm getting sick of
recreating a project, just to compile.



And there's another reason to just use mxmlc yourself.

  







___ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar 
seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] DataService-ArrayCollectionissue

2006-10-25 Thread Dylan Schorer
Hi,
When using an ArrayCollection populated using a DataService.fill
command, the length and .itemAt methods behave differently than with a
manually populated array. 

When I call ds.fill on an ArrayCollection, the data is successfully
retrieved, and can be displayed in a data grid. Though, if I call
collection.length, it always returns 0, and calling itemAt(x) always
results in an index-out-of-bounds error. How can you get correct data
from these methods, just as you would from a manually populated
ArrayCollection?




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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



  1   2   >