[flexcoders] FDS 2.0

2006-08-15 Thread Mika Kiljunen










Hi,

Its a bit unclear to me does FDS 2.0 contain
remote object support or is it contained with Enterprise license only? 



Hint Adobe could put more info to the Adobe site
concerning the differences of FDS licenses, please J



-Mika














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





Re: [flexcoders] Re: Best way to reference items in a parent MXML component?

2006-08-15 Thread Sergey Kovalyov



But it's antipattern and I believe event model should be used in this cases. Calling method from the parent scope is bad design. I consider either event model or utility class could be used. It depends on particular case.

On 8/15/06, Gordon Smith [EMAIL PROTECTED] wrote:




You can also simply use

 parentDocument.someMethod();

- Gordon

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] How to create just clickable box?

2006-08-15 Thread Sergey Kovalyov
Hi All!

I do not need Box container. Only box shape that could change its
background and stroke colors and handle mouse events. Sure, I can use
box itself, but it seems like heavyweight solution. Do I need to
subclass InteractiveObject and override method... Which one method?

Sergey.


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

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

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

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





RE: [flexcoders] ASDoc now available on Labs

2006-08-15 Thread Dirk Eismann
Yeah! Thanks!

Dirk. 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
 Sent: Monday, August 14, 2006 7:54 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] ASDoc now available on Labs
 
 http://labs.adobe.com/wiki/index.php/ASDoc
 
 Enjoy!
 
 
 --
 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/

* 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] ArrayCollection object to Model for Remoting Help

2006-08-15 Thread Nick Collins



Ok, I've got a form that requires me to be able to have multiple subtransactions that can be submitted with one click.The way I have it set up is when you've completed the form you click a button and it adds the values of the form fields to an object within an ArrayCollection. That ArrayCollection is bindable and is set as the dataprovider for a datagrid that lists these sub-transactions. I can add as many items to this queue as I like, and that part works just fine.
The part I'm having trouble with is when I want to post those records to the database.I have a model set up for the remoting. It worked fine when I was passing the values from the form to the model then to the DB, but I'm not sure how to pass the data from the ArrayCollection into the model to be submitted.
In the save function I have the following codefor each (var item:Object in transactionArray){ saveItem(this.detailObject);}where transactionArray is the ArrayCollection and detailObject is the model. Now, it does run the remoting call for each of the line items, it's just not putting the data into the model, so I'm getting empty records.
My ArrayCollection looks like this:private var transactionArray:ArrayCollection = new ArrayCollection(   [{EnvNum: '',DateTrans: '',
Currency: '', CheckNum: '', Fund: '', Amount: '', Comment: '',
TransID: '',UUID: ''   }]);How can I bind an individual property of transactionArray, such as EnvNum to my model, detailObject
model:Tithesgifts_d id=detailObject  model:ContribNum{this._key as String}/model:ContribNum  model:EnvNum{Number(subTransEnvNum.itemToLabel(this))}/model:EnvNum
  model:DateTrans{subTransDateTrans.itemToLabel(this) as Date}/model:DateTrans  model:Currency{subTransCurrency.itemToLabel(this) as String}/model:Currency  model:CheckNum{Number(
subTransCheckNum.itemToLabel(this))}/model:CheckNum  model:Fund{subTransFund.itemToLabel(this) as String}/model:Fund  model:Amount{Number(subTransAmount.itemToLabel(this))}/model:Amount
  model:Comment{subTransComment.itemToLabel(this) as String}/model:Comment  model:TransID{subTransTransID.itemToLabel(this) as String}/model:TransID  model:UUID{
subTransUUID.itemToLabel(this) as String}/model:UUID/model:Tithesgifts_dthis doesn't work, all the values come in as null. I was trying to pull the values from the DataGridColumns, but that wasn't working for me here. Please help! Thanks if advance.


__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] DataGridColumn custom itemRenderers

2006-08-15 Thread Barry Beattie
hi

I'm trying to build a DataGrid with custom controls in the cells.

is it possible to have custom itemRenderer's? can they be just custom
components defined in mxml?

in this case it's a combobox and a button.

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:custom=view.customcontrol.*

...
mx:DataGridColumn
headerText=Search dataField=
itemRenderer=custom.AcademicSearch
/


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

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

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

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




Re: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-15 Thread sinatosk



ah white spaces. convert that URL using urlencode can't remember the function/method name but it's aroundthats might do the trick :pOn 14/08/06, 
Tom Lee [EMAIL PROTECTED] wrote:













  



Thanks, Ben -

Your code works fine.  My code, even after I manually edited to make it
identical to yours, does not.  I can only conclude that Flex Builder is on
crack.  Seriously, I went over it line by line...  No differences except
whitespace.  I hope this is not going to become a behavioral pattern in
Builder... I work with Visual Studio, and there's no room for more than one
buggy IDE in my life.

Thanks again,

-tom

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of ben.clinkinbeard
Sent: Friday, August 11, 2006 10:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WebService - What's wrong with this code?

 Does it compile for you without errors?

Yep, this exact code works for me.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute creationComplete=init()
	mx:Script
		![CDATA[
			import mx.rpc.soap.LoadEvent;
			import mx.rpc.soap.WebService;
			
			private function init():void
			{
var myWebService:WebService;
myWebService = new WebService();

			
myWebService.loadWSDL(http://webservices.amazon.com/AWSECommerceService/AWS

ECommerceService.wsdl);
myWebService.addEventListener(load,
loadComplete);
			}
			
			private function loadComplete(event:LoadEvent):void
			{
trace(ALL GOOD);
			}
		]]
	/mx:Script
/mx:Application

 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
 Behalf Of ben.clinkinbeard
 Sent: Friday, August 11, 2006 12:42 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: WebService - What's wrong with this code?
 
 For your second example, if you wrap the lines other than the import
 inside of a function it should work.
 
 HTH,
 Ben
 
 --- In flexcoders@yahoogroups.com, Tom Lee design@ wrote:
 
  I can't figure this out for the life of me - I'm following other
 people's
  examples, but still getting errors.  This must be something obvious.
 Here's
  my code (I've removed the actual WSDL url):
  
   
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script
  
  ![CDATA[
  
  import mx.rpc.soap.WebService;
  
  var myWebService:WebService;
  
  function initWS(){
  
  myWebService = new
  WebService();
  
   
  myWebService.loadWSDL(**);
  
  }
  
  ]]
  
  /mx:Script
  
  /mx:Application
  
   
  
   
  
  And here's my error:
  
   
  
  1061: Call to a possibly undefined method loadWSDL through a
 reference with
  static type WebService.   (Line 9)
  
   
  
  I've tried a bunch of different stuff - here's another variation,
which
  throws different errors:
  
   
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script
  
  ![CDATA[
  
  import mx.rpc.soap.WebService;
  
  var myWebService:WebService;
  
  
  
  myWebService = new WebService();
  
   
  myWebService.loadWSDL(**);
  
  
  
  ]]
  
  /mx:Script
  
  /mx:Application
  
   
  
  And the errors:
  
   
  
  1120: Access of undefined property myWebService.  (Lines 8  9)
  
   
  
  Thanks!
  
   
  
  - tom
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links


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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  

Re: [flexcoders] FDS 2.0

2006-08-15 Thread Tom Chiverton
On Tuesday 15 August 2006 07:08, Mika Kiljunen wrote:
 It's a bit unclear to me... does FDS 2.0 contain remote object support

Yes.
If you have a ColdFusion 7.0.2 backend, you don't need it to remote CFCs 
though.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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

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

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





[flexcoders] Custom UIComponent creating problem

2006-08-15 Thread sinacapho
Dear all, 
 i have the followig problem , i have using AS3 to created a
custom component (extends from UIComponent) , i find that the custom
component cannot display on the screen. But if the component extends
from HBox , it will show correctly . Can someone tell me why?
The code is attached.

thx
capho

// Mxml

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:gp=test_comp.*
mx:Panel width=100% height=100%
gp:test_item/
/mx:Panel
/mx:Application

// ActionScript file

package test_comp{

import mx.core.UIComponent;
import mx.controls.Button;
import mx.containers.HBox;

public class test_item extends HBox{

private var item_button:Button;

public function test_item(){
super();
}

override protected function createChildren():void {

super.createChildren();

if (!item_button){
item_button = new Button();
item_button.label = As;
addChild(item_button);  
}

}

override protected function measure():void{
super.measure();
measuredWidth = measuredMinWidth =  410;
measuredHeight = measuredMinHeight = 30;
}


}
}






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

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

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

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





Re: [flexcoders] ASDoc is now available for download

2006-08-15 Thread Tom Chiverton
On Monday 14 August 2006 19:02, stephenmartin2 wrote:
 ASDoc, the tool we use at Adobe to generate documentation from
 ActionScript source code, is now available on labs:

Rar !

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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

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

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




Re: [flexcoders] ASDoc is now available for download

2006-08-15 Thread Tom Chiverton
On Tuesday 15 August 2006 09:16, Tom Chiverton wrote:
 Rar !

Boo.

You *knew* what would happen if you released a tool that only ran on Windows 
and OSX didn't you, without the source so the community can fix whatever you 
know is wrong with it ?

-- 
Tom Chiverton, http://www.rachaelandtom.info/node/1359



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

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

CONFIDENTIALITY

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

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



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

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

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

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




Re: [flexcoders] Re: any way to catch application exit?

2006-08-15 Thread Peter Hall
 I had been wondering if the Application object's remove event might
 be better for detecting this.  Has anyone tried that yet?

It won't work.


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

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

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

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




[flexcoders] Re: flex2 final - how set flashing cursor in textinput

2006-08-15 Thread bhaq1972
Thanks Tim. This is very good stuff.

i'm not sure of one thing. what do i put into my html wrapper.

thanks for your help

regards
bod

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

 
 Hi Bod,
 
 This might help a little:
 
 http://www.cflex.net/showfiledetails.cfm?
ChannelID=1Object=FileobjectI\
 D=462
 http://www.cflex.net/showfiledetails.cfm?
ChannelID=1Object=Fileobject\
 ID=462
 
 -TH
 
 --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
 
  how do i place the cursor onto the first textinput on my form in
  actionscript.
 
  the setFocus() and setSelection() methods aren't quite what i'm
  looking for.
 
  regards
  bod
 







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

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

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

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





[flexcoders] Re: flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue

2006-08-15 Thread bhaq1972
Anyone from Adobe please comment?

here's a little test example. All you need to do is change the dg 
attribute sortableColumns=false | true.

and double click the header.  i believe the itemDoubleClick event 
should not be triggered when sortableColumns=false



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

mx:DataGrid doubleClickEnabled=true 
itemDoubleClick=mx.controls.Alert.show('item double clicked') 
sortableColumns=false
mx:dataProvider
mx:Array
mx:Object Company=a Contact=1/
mx:Object Company=b Contact=2/
mx:Object Company=c Contact=3/
/mx:Array
/mx:dataProvider
mx:columns
mx:DataGridColumn dataField=Company /
mx:DataGridColumn dataField=Contact /
/mx:columns
/mx:DataGrid
/mx:Application

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

 i have a datagrid with the following attributes.
 
 mx:DataGrid doubleClickEnabled=true sortableColumns=false 
 itemDoubleClick=mx.controls.Alert.show('item double clicked')
 
 i'm finding that if i doubleClick the header, i'm getting the 
 itemDoubleClick evnt being trigged.
 
 
 is this the correct behaviour. 
 
 (i'd assume not)
 
 please verify
 
 
 regards
 bod








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

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

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

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





[flexcoders] [Style] metadata tag format property valid values

2006-08-15 Thread Sergey Kovalyov
Hi All!

This paragraph is from help:

format 

String

Specifies the units of the property. For example, if you specify type
as Number, you might specify format=Length if the style defines a
length measured in pixels. Or, if you specify type=uint, you might
set format=Color if the style defines an RGB color.

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1661.html

Are there any other valid values for format property except Length
and Color?

Sergey.


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

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

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

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




[flexcoders] Re: flex2 final - how set flashing cursor in textinput

2006-08-15 Thread Tim Hoff
Hey Bod,

You don't have to put anything into the HTML wrapper file.  With 
Abdul Qabiz's javascript injection, the java function is inserted at 
run-time.  Just follow the example and change the name of the SWF 
file in the java function.  If you get stuck, let me know.

-TH

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

 Thanks Tim. This is very good stuff.
 
 i'm not sure of one thing. what do i put into my html wrapper.
 
 thanks for your help
 
 regards
 bod
 
 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
  
  Hi Bod,
  
  This might help a little:
  
  http://www.cflex.net/showfiledetails.cfm?
 ChannelID=1Object=FileobjectI\
  D=462
  http://www.cflex.net/showfiledetails.cfm?
 ChannelID=1Object=Fileobject\
  ID=462
  
  -TH
  
  --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
  
   how do i place the cursor onto the first textinput on my form 
in
   actionscript.
  
   the setFocus() and setSelection() methods aren't quite what i'm
   looking for.
  
   regards
   bod
  
 








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

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

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

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




[flexcoders] Re: DataGridColumn custom itemRenderers

2006-08-15 Thread Tim Hoff



Hi Barry,
It isn't fancy, but this example gives an overview of the options that are available for DataGrid itemRenderers:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=443
-TH--- In flexcoders@yahoogroups.com, "Barry Beattie" [EMAIL PROTECTED] wrote: hi  I'm trying to build a DataGrid with custom controls in the cells.  is it possible to have custom itemRenderer's? can they be just custom components defined in mxml?  in this case it's a combobox and a button.  mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:custom="view.customcontrol.*"  ... mx:DataGridColumn headerText="Search" dataField="" itemRenderer="custom.AcademicSearch" /

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Why defaultButton do not work when in TabNavigator?

2006-08-15 Thread Sergey Kovalyov
Hi All!

I have simple application. Authentication form with Sign in button
assigned as defaultButton. The source is available below:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
horizontalAlign=left

mx:Script
![CDATA[

import mx.controls.Alert;

private function onSignInButtonClick() : void {
Alert.show(Sign in clicked);
}

]]
/mx:Script

mx:Form defaultButton={signInButton}
mx:FormItem label=Username:
mx:TextInput /
/mx:FormItem
mx:FormItem label=Password:
mx:TextInput displayAsPassword=true /
/mx:FormItem
mx:FormItem
mx:Button id=signInButton label=Sign in 
click=onSignInButtonClick() /
/mx:FormItem
/mx:Form

/mx:Application



When you set focus on any TextInput instance inside the form and click
Enter, alert window is shown. But when I put form into the
TabNavigator container, this does not work. Look at the code below:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
horizontalAlign=left

mx:Script
![CDATA[

import mx.controls.Alert;

private function onSignInButtonClick() : void {
Alert.show(Sign in clicked);
}

]]
/mx:Script

mx:TabNavigator
mx:Form label=Authentication form 
defaultButton={signInButton}
mx:FormItem label=Username:
mx:TextInput /
/mx:FormItem
mx:FormItem label=Password:
mx:TextInput displayAsPassword=true /
/mx:FormItem
mx:FormItem
mx:Button id=signInButton label=Sign in
click=onSignInButtonClick() /
/mx:FormItem
/mx:Form
/mx:TabNavigator

/mx:Application



What is wrong with this?

Regards, Sergey.


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

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

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

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





[flexcoders] Re: flex2 final - how set flashing cursor in textinput

2006-08-15 Thread bhaq1972
Hi Tim
i downloaded the zip and ran the example and i'm finding it works 
but not all of the time. (i'm using IE etc). 

does it work for you all the time?

regrds
bod


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

 Hey Bod,
 
 You don't have to put anything into the HTML wrapper file.  With 
 Abdul Qabiz's javascript injection, the java function is inserted 
at 
 run-time.  Just follow the example and change the name of the SWF 
 file in the java function.  If you get stuck, let me know.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
 
  Thanks Tim. This is very good stuff.
  
  i'm not sure of one thing. what do i put into my html wrapper.
  
  thanks for your help
  
  regards
  bod
  
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
   
   Hi Bod,
   
   This might help a little:
   
   http://www.cflex.net/showfiledetails.cfm?
  ChannelID=1Object=FileobjectI\
   D=462
   http://www.cflex.net/showfiledetails.cfm?
  ChannelID=1Object=Fileobject\
   ID=462
   
   -TH
   
   --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
   
how do i place the cursor onto the first textinput on my 
form 
 in
actionscript.
   
the setFocus() and setSelection() methods aren't quite what 
i'm
looking for.
   
regards
bod
   
  
 








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

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

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

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




RE: [flexcoders] Server side updates to a bound Object

2006-08-15 Thread Paul Dale














For posterity  I got this working.
Was simply missing a 



DataServerTransaction.commit();



After the refreshfill.



Cheers,



Paul













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Dale
Sent: Monday, 14 August , 2006
17:21
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Server side
updates to a bound Object













I've got a datagrid bound to ArrayCollection via a destination. Pretty close
to the standard example.

This part works.

What I haven't been able to get to work is to make an update to the java
object on the server and have that be reflected in the client.

My ArrayCollection is [Bindable]
AutoSyncEnabled is set to the default true value.

I am sure that my server side object changes ( if I refresh I see the
changes ... but don't get them pushed to the datagrid ).

I've tried executing the following ...

public void pushChanges() {
DataServiceTransaction myDataServiceTransaction =
DataServiceTransaction.begin(true);
updateLastRadarData();
myDataServiceTransaction.refreshFill(radardata, null
);
}

But am still not getting seeing updates on the client.

Any suggestions on where to go next?

Many thanks,

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



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



  






__,_._,___






[flexcoders] Re: DateField cellRenderer not working with date as String

2006-08-15 Thread livinginswitzerland
Here is what works for me.  I'm using Oracle in the back end and 
reading the dates into my own ArrayCollection.  Since it is 
mm/dd/ format from Oracle, the field is being treated as a string 
when placed in my ArrayCollection.  When using an ItemRenderer of 
DateField for this data within a DataGrid, it tries to convert the 
text into a Date and fails.  I have to convert my date field within 
the ArrayCollection to a Flex Date using an intermediate conversion 
into milliseconds using Date.parse...then use that to create a Flex 
Date field, and then set my field within my ArrayCollection to 
that...Once I do that, the use of the ItemRenderer is good..of 
course, i get the lovely task of converting back from a Flex Date 
into a string before sending my data back to my server for update, 
but it works.  This looks like a bug in the DataGrid itself when 
passing data into the itemRender upon it's creation...or just a lack 
of flexibility with the type of date data possibly.  I don't get this 
problem when using a DateField control whose data comes directly from 
my ArrayCollection field..only when using a DataGrid. 





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

 Maybe it needs MM/TT/ ?
 Cheers,
 Ralf.
 
 On 7/21/06, John Buhl [EMAIL PROTECTED] wrote:
 
  I still get this error when I select the date, tab off of the 
cell, and
  return back to that cell.
  Type Coercion failed: cannot convert 04/13/2005 to Date
 
  Is there something I am missing here?
  Here is my code below:
 
  mx:DataGrid draggableColumns=true id=dgVersions 
dataProvider={
  getVersionRequest.lastResult.root.versions.VersionHeader}
  mx:columns
  mx:DataGridColumn itemEditor=RendererDate
  dataField=VERSIONACTIVEDATE headerText=Active Date 
width=100/
  /mx:columns
  /mx:DataGrid
 
  And this is my RendererDate.mxml component:
  ?xml version=1.0 encoding=utf-8?
  mx:DateField xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Script
 ![CDATA[
private function getActiveDate( data : Object ) : Date {
  return new Date( Date.parse (data.VERSIONACTIVEDATE));
 
  }
 
  public override function set data( data : Object ) : void 
{
  super.data = data;
  selectedDate = getActiveDate( data );
  }
 ]]
 /mx:Script
  /mx:DateField
 
 
  On 7/20/06, Ralf Bokelberg [EMAIL PROTECTED] wrote:
 
  Works for me, if i use the following external itemEditor
  
   ?xml version=1.0 encoding=utf-8?
   mx:DateField xmlns:mx= http://www.adobe.com/2006/mxml 
  mx:Script
  ![CDATA[
 private function getActiveDate( data : 
Object ) : Date
   {
   return new Date( Date.parse ( 
data.MyActiveDate));
   }
  
   public override function set data( data : 
Object ) :
   void
   {
   super.data = data;
   selectedDate = getActiveDate( data );
   }
  ]]
  /mx:Script
  
   /mx:DateField
  
   cheers,
   Ralf.
  
  
  
  
   On 7/20/06, John Buhl  [EMAIL PROTECTED] wrote:
   
 Yes.  The data can be parsed fine.  I think I need somehow 
to use a
Model with my XML so I can massage the data first, and then 
set the
dataProvider to the Model instead of the XML object.  Still 
researching...
   
   
On 7/20/06, Tom Chiverton  [EMAIL PROTECTED] wrote:

 On Thursday 20 July 2006 15:53, John Buhl wrote:
  field comes across as text, so I'm trying to cast it into 
a Date
 object
  before using the cellRenderer component.  But it just 
won't
 work.  Has

 What format is the data string in ? Is it one Date can 
parse itself
 ?

 --
 Tom Chiverton

 

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

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

 CONFIDENTIALITY

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

 For more information about Halliwells LLP visit 

Re: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: WebService - What's wrong with this code?






Hold on VS buggy ?? My god, thats amazing news  there was I thinking for a moment that M$oft had got it right at least once - fraid to say im most disappointed  my world has surely shattered  frankly I would advise everyone that can to use the Eclipse plugin rather than the IDE under Windows. I have experienced far fewer issues with Eclipse ;) But I have experienced SOME !

Im working with both VS.Net 2005 and Eclipse/Flex  cant say that there have been any issues with WebServices AT-ALL categorically using actionscript. I must admit it wasnt easy but its a tad different getting use to asyncronous webservice calling though Flexs event model but I finally managed to make something very elegant and scalable. Obviously this isnt for the fainthearted and you might have to unlearn somethings from the VS world (as I did) to deal with the Flex logic.

If anyone is stuck, give me a shout..
Samuel


On 15/8/06 10:02, sinatosk [EMAIL PROTECTED] wrote:

 



ah white spaces. convert that URL using urlencode can't remember the function/method name but it's around

thats might do the trick :p

On 14/08/06, Tom Lee [EMAIL PROTECTED] wrote:
 



Thanks, Ben -

Your code works fine. My code, even after I manually edited to make it
identical to yours, does not. I can only conclude that Flex Builder is on
crack. Seriously, I went over it line by line... No differences except
whitespace. I hope this is not going to become a behavioral pattern in
Builder... I work with Visual Studio, and there's no room for more than one
buggy IDE in my life.

Thanks again,

-tom



-Original Message-
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
Behalf Of ben.clinkinbeard
Sent: Friday, August 11, 2006 10:01 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Subject: [flexcoders] Re: WebService - What's wrong with this code?

 Does it compile for you without errors?

Yep, this exact code works for me.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute creationComplete=init()
mx:Script
![CDATA[
import mx.rpc.soap.LoadEvent;
import mx.rpc.soap.WebService;

private function init():void
{
var myWebService:WebService;
myWebService = new WebService();


myWebService.loadWSDL(http://webservices.amazon.com/AWSECommerceService/AWS 
ECommerceService.wsdl);
myWebService.addEventListener(load,
loadComplete);
}

private function loadComplete(event:LoadEvent):void
{
trace(ALL GOOD);
}
]]
/mx:Script
/mx:Application

 
 -Original Message-
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of ben.clinkinbeard
 Sent: Friday, August 11, 2006 12:42 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: WebService - What's wrong with this code?
 
 For your second example, if you wrap the lines other than the import
 inside of a function it should work.
 
 HTH,
 Ben
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Lee design@ wrote:
 
  I can't figure this out for the life of me - I'm following other
 people's
  examples, but still getting errors. This must be something obvious.
 Here's
  my code (I've removed the actual WSDL url):
  
  
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script
  
  ![CDATA[
  
  import mx.rpc.soap.WebService;
  
  var myWebService:WebService;
  
  function initWS(){
  
  myWebService = new
  WebService();
  
  
  myWebService.loadWSDL(**);
  
  }
  
  ]]
  
  /mx:Script
  
  /mx:Application
  
  
  
  
  
  And here's my error:
  
  
  
  1061: Call to a possibly undefined method loadWSDL through a
 reference with
  static type WebService. (Line 9)
  
  
  
  I've tried a bunch of different stuff - here's another variation,
which
  throws different errors:
  
  
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script
  
  ![CDATA[
  
  import mx.rpc.soap.WebService;
  
  var myWebService:WebService;
  
  
  
  myWebService = new WebService();
  
  
  myWebService.loadWSDL(**);
  
  
  
  ]]
  
  /mx:Script
  
  /mx:Application
  
  
  
  And the errors:
  
  
  
  1120: Access of undefined property myWebService. (Lines 8  9)
  
  
  
  Thanks!
  
  
  
  - tom
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 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: 

RE: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-15 Thread Franck de Bruijn












Hi Samuel,



Good to hear that it works now. Its the
tedious hours chasing a stupid bug that gives the greatest learning curve!



When I start up my application I load all
the WSDLs I need. For each load I register on the LoadEvent. I know how much
WSDLs Im loading, so I count the number of events that I receive back. Only
when I have received all WSDLs I unlock the Login button. In my opinion you
have to wait until all WSDLs have loaded successfully, otherwise it has no use
to start your application.



I only (try to) use MXML for the visual
parts. For all other parts like models, controllers, webservices and the like Im
using actionscript.



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 5:43
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help
regarding WebServices (FLEX) in Actionscript



















Franck,











i managed to get it working without any issues - yes i own ifeel3.com,
so there arent any security violations as the flash file is originating from
the same site.











The code issue you mention is very valid for the startup - once the
wsdl is cached it doesnt take much more time - i forgot to take into account
that when you query an iis server running dotNet framework, the system takes
1-2 seconds to load in the dlls etc to run the application framework - in all
it was a learning curve involving a few hours of banging my head against the
wall.. finally it works ;)











The async stuff is usefull for dealing with multiple calls
simultaneously to the wsdl. When you do what you propose, you lock the wsdl
from doing anything else than one call at a time.











Thanks for the headsup on the doc/literal issue - you are quite right,
but i think i got that sneaky thing covered ;)











On another note its actually very interesting that the lack of clear
actionscript documentation for the components - seems adobe is pushing everyone
to use mxml which actually starts to tie your hands in a number of cases i can
think of. But one thing for sure, i cant wait for Flex on Mac - it pains me to
run two systems side by side and my trusty macbook pro no more than an mp3
player whilst coding on a dell ;(











Oh well - such is like ;) TTFN















On 13 Aug 2006, at 07:47, Franck de Bruijn wrote:























Hi Samuel,



A few things:


 Are
 you sure that you host your Flex application also at the www.ifeel3.comsite? This is a necessity for a Flex application to
 communicate with a webservice, due to Flashs security model. (unless
 there is somewhere a crossdomain.xml file with the correct content ... check the
 documentation)
 Your
 code might work, but not necessarily so.. The loadWSDL() operation is
 asynchronous, but takes quite some time to complete. Only after the
 loadWSDL() has completed (and then some milliseconds more ... see some
 recent threads in this mailing list) you can fire your operation. To
 accomplish this you have to register for the LoadEvent.LOAD event
 I
 dont know where all this AsyncToken stuff comes from, but invocation of
 webservices can be done much simpler. Just try: tsWS.createUser(sessionId,
 userName, dob).
 Expect
 some difficulties with Flex and the support of DOC/Literal webservices; I
 see that you are probably using .Net and DOC/Literal, and there are some
 issues with it. Also check the mailing list for this.




HTH,

Franck











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Samuel Colak
Sent:
Sunday, August 13, 2006 1:29 AM
To: [EMAIL PROTECTED]ups.com
Subject:
[flexcoders] Help regarding WebServices (FLEX) in Actionscript











var tsWS:WebService = new WebService();
tsWS.wsdl = http://www.ifeel3.com/webservices/service.asmx?WSDL; 
tsWS.loadWSDL();

var op:AbstractOperation = tsWS[createUser];
tsWS.addEventListener(result, doResults);
tsWS.addEventListener(fault, doFailed);
var token:AsyncToken = op.send();
token.responder = new Responder(resultOut, null);

-

All,

i am tring to access some webservices i have
written in dotNet from Flex. If anyone can point 
out where i am going wrong, please send me an
email to [EMAIL PROTECTED]at-home.com.

The WSDL is publically visible - the only part
missing are the eventlistening functions. 

Many thanks,
Samuel




































__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex / Eclipse under Mac OS X





Matt,

Im actually surprised as this implies specific coding for the browser... I know IE doesnt have this effect and camino (under OSX) appears to run fine.

Oh by the way, this is also true for the debugger too (Flash 9 r16  which by the way hasnt been updated to the same level as the one posted on Adobe last week) under OSX.

BTW thanks for checking  much appreciated for the feedback

Regards
Samuel


On 15/8/06 01:13, Matt Chotin [EMAIL PROTECTED] wrote:

 



According to the Player team the Player slow-down when sending Safari to the background is actually intentional. The browser actually reduces the number of CPU cycles dedicated to plugins in a browser when it doesnt have focus. 

Matt






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 4:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex / Eclipse under Mac OS X
 

 

Matt,

 

im working with the Eclipse group (former IBM team) and wondered if there was a bug tracker internally to adobe on what issues etc exist at the moment and how i can submit issues. 

 

In particular, i noticed alot of issues around flex binding to the help system and trying to link into the dynamic environment. Additionally, you might like to know that working with eclipse under windows has an issue that whilst building a project with a flash-9 movie running in the background, results in serious cpu performance issues resulting in a longer build time despite the flash window not having focus.

 

Finally, if no-one noticed, adobe released the intel binary of flash 9, although its really unclear what is different in this release to 9.0 r16 one thing is very noticable is that whilst running in Safari or any other browser, when you lose focus on the browser window to something other, that the flash animation performance drops considerably.

 

Im not sure if this is the place to post these kind of posts - if not could someone indicate if adobe themselves are recording these issues at Labs or at the tech forum.

 

Regards

Samuel

 


On 13 Aug 2006, at 21:24, Matt Chotin wrote:


 

Sorry, fixed internally (and still being fixed). Supported platforms as mentioned in our release notes and whatnot still holds.

Matt






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
Sent: Sunday, August 13, 2006 12:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex / Eclipse under Mac OS X
 

 

On 8/13/06, Matt Chotin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote:

Flex Builder definitely had some probs in 3.2 but it doesn't mean it won't run at all.



Oh, thats good to know. My impression based on other statements that I had heard here was that critical things did not work with 3.2. You say had, does that mean that the problems were fixed? And is eclipse 2.3 a safe bet.

Hank
 

 However we do need 3.2 support for the Mac release to work. We are building it right now and as mentioned hope to get it out before the end of the year (though the release date is not announced).

 

Matt

 





From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of hank williams
Sent: Sunday, August 13, 2006 7:11 AM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Flex / Eclipse under Mac OS X

 

 

On 8/13/06, Samuel Colak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote:

 

 

Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version announced.


Hmm...

Not sure where you're getting your info from.

FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had anything to do with 3.2. And adobe has said on this forum that there were issues in porting to the mac so they decided to push and get windows out rather than delaying. While on the surface mac and windows clips are fairly compatible, there are differences and apparently some of what flexBuilder is doing relies on one or some of those features that either dont work or are not implemented in mac. 

Adobe has said that there will be a mac version and if I am not mistaken the timeframe was estimated at some time towards the end of the year (oct or nov) if I remember right. But in any case its software so who knows. But in any case they have said they are hard at work on it. 

Regards
Hank



 

As for the extensions - yes you are right in some respects. The compiler is the only bite-code dependant product specific to the OS but you could hash something using the sdk for the mac.

 

Regards

Samuel

 

PS. No i havent done it ;(

 

On 13 Aug 2006, at 13:53, tomkrcha wrote:

 

Hi,

does anybody already tried to run 

[flexcoders] Meditation - 6 Tracks - Good Quality

2006-08-15 Thread MP THREE SONGS

 Subject: Meditation - 6 Tracks - Good Quality

 

http://rapidshare.de/files/25088708/Hindi_CLASSICAL_INDIAN_Ravi_Shankar_-_Tala-Tabla_Tarang.mp3.html

http://rapidshare.de/files/25088795/Instrumental_-_Classic_Japanese_Flute.MP3.html

http://rapidshare.de/files/25088891/James_Newton_Howard_-_Asthma_Attack.mp3.html

http://rapidshare.de/files/25088941/James_Newton_Howard_-_Main_Titles.mp3.html

http://rapidshare.de/files/25089000/Maters_Of_Percussion-Udo_Jam_Buttie.mp3.html

http://rapidshare.de/files/25089156/Mozart_-_The_Magic_Flute.mp3.html
 
 
 
   

___
 
 Web email has come of age. Don't settle for less
 than the All New Yahoo! Mail
 http://uk.docs.yahoo.com/nowyoucan.html
 







___ 
All new Yahoo! Mail The new Interface is stunning in its simplicity and ease 
of use. - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html


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

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

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

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




Re: [flexcoders] How to create just clickable box?

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] How to create just clickable box?







Best to subclass UIComponent and then do the work yourself  it seems heavy handed but its very reliable and by default the property objects are all there  remember if you want to avoid it affecting the layout design, try

IncludeInLayout = false

You would simply trap all messages to MouseEvent.MOUSE_DOWN using a standard event listener. By doing this you could simply add this object into the parent window without any assertion issues.

Regards
Samuel


On 15/8/06 09:04, Sergey Kovalyov [EMAIL PROTECTED] wrote:

 



Hi All!

I do not need Box container. Only box shape that could change its
background and stroke colors and handle mouse events. Sure, I can use
box itself, but it seems like heavyweight solution. Do I need to
subclass InteractiveObject and override method... Which one method?

Sergey.





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] ViewStack and accessing it's children

2006-08-15 Thread Simon Janssens



Hi Folks,I'm creating a calculator application to give users with a rough estimate of what it will cost to have a system installed at their business.I'm using a viewStack to allow navigation through the different views/sections of the calculator. Now I have a estimates panel (custom component) that is visible in two of the views.
I have an event that is dispatched by another component and based on that I would like to call an updateEstimate function that I have defined in my estimates panel in each of the viewStack children.The update works fine in the view that is currently visible, but as soon as I call it in the other view I get the error Cannot access a property or method of a null object reference. Is this because you are only able to access the current viewStack child??
How can I fire the necessary updates in other viewStack children?Any help most appreciated.Thanks,Simon

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] fldbg9.ocx

2006-08-15 Thread flexnewbie06
Hi...

I am just wondering if everybody experiences the periodic crashing of 
IE6 when running or debugging a flex app.

Basically everytime i run my flex app, it may run okay for a few 
minutes then i will get a ie error window with:

AppName: iexplore.exeAppVer: 6.0.2800.1106   ModName: fldbg9.ocx
ModVer: 9.0.16.0 Offset: 00091fcd

My concern is this...if this just my machine i can find a fix for it. 
But when this app is deployed to THOUSANDS of people is it going to 
happen to all of them also??? My deliverable date is October, so I 
have some time to find a fix, but i would love to find one sooner 
than later.

And if u can fix it, how can it be done. I've been to the Adobe 
updates site and that someone posted and downloaded the new debuggers 
flash 9 but that didn't fix it.

Any Feedback?

Much appreciated!
Jenn







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

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

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

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




RE: [flexcoders] Re: Debugging Web Service call

2006-08-15 Thread Franck de Bruijn












Im not sure if my message made it
to the list ...





Hi Tom,



Try: myWebService.myMethod();



Thats how I invoke my webservice
operations from Flex.



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Lee
Sent: Thursday, August 10, 2006
7:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Debugging Web Service call











Yeah, I hate generic questions too, sorry about that.
Problem is, I can't
show you the web services due to company policy, and can't show you my code
because it would expose the web services. I can tell you that I've
connected successfully to other web services using the same syntax, so I'm
pretty sure my code's not at fault.

What I'm really after are general tips on debugging web service calls.
Usually you'd look at the fault message when a call fails, but this failure
isn't generating a fault. Also, it prevents subsequent function calls from
executing, which I find odd:

function doIt():void{
myWebService.myMethod.send();
//The following will not fire:
Alert.show(Call made to webservice);
}

Sorry I can't post my code. I appreciate anything you might be able to
offer despite that fact.

-tom

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of flexnadobe
Sent: Thursday, August 10, 2006 12:29 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re: Debugging Web Service call

Hi Tom,

If you want try to post some code so we can see what you are doing?
There are alot of cool bro's on this site that will help but we will
need a starting point.

cya,

Rich

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

 Hi guys,
 
 
 
 I'm having some trouble with a WebService call and can't seem to
pinpoint
 the trouble. The WSDL loads fine, but any calls to the web service
result
 in nothing. No fault, no result, not even the busy cursor (even
though I've
 got showBusyCursor=true). Anyone have any suggestions for
how I might
 debug this? Are there any low-level status events I can hook into?
 
 
 
 I have better luck with the MXNA web services, so I know my syntax
is right.
 
 
 
 Thanks!
 
 
 
 -tom


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

Yahoo! Groups Links






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Debugging Web Service call

2006-08-15 Thread Franck de Bruijn












Hi Tom,



Try: myWebService.myMethod();



Thats how I invoke my webservice
operations from Flex.



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Lee
Sent: Thursday, August 10, 2006
7:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Debugging Web Service call











Yeah, I hate generic questions too, sorry about that.
Problem is, I can't
show you the web services due to company policy, and can't show you my code
because it would expose the web services. I can tell you that I've
connected successfully to other web services using the same syntax, so I'm
pretty sure my code's not at fault.

What I'm really after are general tips on debugging web service calls.
Usually you'd look at the fault message when a call fails, but this failure
isn't generating a fault. Also, it prevents subsequent function calls from
executing, which I find odd:

function doIt():void{
myWebService.myMethod.send();
//The following will not fire:
Alert.show(Call made to webservice);
}

Sorry I can't post my code. I appreciate anything you might be able to
offer despite that fact.

-tom

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of flexnadobe
Sent: Thursday, August 10, 2006 12:29 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re: Debugging Web Service call

Hi Tom,

If you want try to post some code so we can see what you are doing?
There are alot of cool bro's on this site that will help but we will
need a starting point.

cya,

Rich

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

 Hi guys,
 
 
 
 I'm having some trouble with a WebService call and can't seem to
pinpoint
 the trouble. The WSDL loads fine, but any calls to the web service
result
 in nothing. No fault, no result, not even the busy cursor (even
though I've
 got showBusyCursor=true). Anyone have any suggestions for
how I might
 debug this? Are there any low-level status events I can hook into?
 
 
 
 I have better luck with the MXNA web services, so I know my syntax
is right.
 
 
 
 Thanks!
 
 
 
 -tom


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

Yahoo! Groups Links






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] trace.... redirection possible?

2006-08-15 Thread Matt Chotin












In Flex 2 we have the mx.logging package which
may be what youre looking for.



http://livedocs.macromedia.com/flex/2/langref/mx/logging/Log.html



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Brian Deitte
Sent: Monday, August 14, 2006
11:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
trace redirection possible?











There's
no way to redirect trace that I know of, other than to a
different file location. trace is only active when you are using the
debug player. 

There's various debug projects that use a cutom method rather than trace
and print out the debug messages in a different format. I don't know of
any for Flex 2, but here's one for 1.5:
http://www.adobe.com/devnet/flex/articles/tracepanel.html
-Brian 

 -Original Message-
 From: [EMAIL PROTECTED]ups.com

 [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Samuel Colak
 Sent: Monday, August 14, 2006 10:32 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] trace redirection possible?
 
 
 Dear all,
 
 is there any way of overriding the trace construct to go 
 elsewhere? - such as a custom class - 
 or is this only active in debug?
 
 Regards
 Samuel
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com

 Yahoo! Groups Links
 
 
 
 
 
 
 






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready

2006-08-15 Thread Bill Sahlas












Howdy, 



Id like to reproduce this
internally here in the FDS QA lab using some of your examples. Ā Can someone on
this list forward me a link to a WSDL that is publicly accessible with sample
code to execute?



Thanks, Bill



FDS QA  Adobe Systems Inc.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Franck de Bruijn
Sent: Tuesday, August 08, 2006
1:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
WSDLError:Element not resolvable = LoadEvent doesn't imply service ready













Hi Kaleb,



Cool! Great stuff.



My guess is that the delay is machine dependent, but not
necessarily network dependent. I do believe that the LOAD event does indicate
that the WSDL actually has loaded successfully. Flex will not need any more
access to the network in order to initialize the web service.



Anyway, its a little bit sloppy that the LOAD event does not
indicate that the webservice is actually ready for use. I consider this a bug
if you ask me. So, maybe this is something we can put on the wish list???



Thanks,

Franck











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of kaleb_pederson
Sent: Tuesday, August 08, 2006
7:18 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re:
WSDLError:Element not resolvable = LoadEvent doesn't imply service ready











Frank,

I did a bit more research into this. I don't need nearly a second 
for the WebService to be ready after the load event. I just put the 
whole process in a loop to see what kind of delay I need to make it 
work on my box (with the service running on my box). Unfortunately, 
the delay is probably machine and network dependent and, therefore, 
would have to be different on other machines.

My results were:

res[delay in ms] = # successes (out of 100)
res[1] = 0
res[2] = 5 ...
res[10] = 13 ...
res[15] = 42 ...
res[20] = 53 ...
res[30] = 77 ...
res[38] = 100
(and the rest were 100 also)

Somebody else had what may have been a similar problem and he just 
re-fired the request 
(http://groups.yahoo.com/group/flexcoders/message/46401).
That's 
certainly not an elegant solution

So, I still don't have a solution, just a work-around. Does anybody 
else have any ideas or suggestions?

Thanks.

--Kaleb

--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn 
franck.de.bruijn@... wrote:

 Hi Kaleb,
 
 
 
 I always expected the web service to be ready after the load event
 completed. Probably it's a matter of milliseconds. I never 
encountered your
 problem before, since I don't automatically call web services 
after loading.
 So far, my webservices are only invoked behind a button.
 
 
 
 But sooner or later I probably will, since I will want to push 
master data
 from the server into the application (like a country table or 
something like
 that) directly after startup.
 
 
 
 So, this does not sound good ...
 
 
 
 I expect that your workaround is the only solution.
 
 
 
 Cheers,
 
 Franck
 
 
 
 
 
 
 
 _ 
 
 From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of kaleb_pederson
 Sent: Tuesday, August 08, 2006 1:38 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] WSDLError:Element not resolvable = 
LoadEvent doesn't
 imply service ready
 
 
 
 I have been struggling with the Element not resolvable error 
today 
 in some of my unit tests using FlexUnit. As far as I can tell, the 
 LoadEvent doesn't imply that the service is ready. If I put a 
timer 
 in and wait 1 second after the load event to make my service call, 
 everything works correctly. If I don't wait 1 second, however, 
then 
 I receive the Element not resolvable error. This appears to be
a 
 bug in the WebService class.
 
 Here's my sample code:
 
 import mx.rpc.soap.WebService;
 import flash.events.Event;
 import mx.rpc.events.ResultEvent;
 import mx.rpc.soap.LoadEvent;
 import flash.utils.Timer;
 import flash.events.TimerEvent;
 
 public class SoapDemoTest {
 
 public function testListVocabularies():void {
 trace('testListVocabularies');
 ws = new mx.rpc.soap.WebService();
 ws.addEventListener(LoadEvent.LOAD, onLoadCompleted);
 ws.loadWSDL(http://192.168. 
http://192.168.1.1:8080/myserv/myserv?wsdl
 1.1:8080/myserv/myserv?wsdl);
 }
 
 private function onLoadCompleted(evt:LoadEvent):void {
 trace('onLoadCompleted');
 
 // if I just call ws.listVocabularies, I receive the
 // Cannot Resolve Element error.
 ws.addEventListener(ResultEvent.RESULT,onResultReceived);
 ws.listVocabularies(5,true);
 
 /*
 // if I use this timer instead of the above, everything works
 var timer:Timer = new Timer(1000, 1);
 timer.addEventListener(
 TimerEvent.TIMER_COMPLETE,
 onTimerComplete
 );
 timer.start();
 */
 }
 
 private function onTimerComplete(evt:TimerEvent):void {
 trace(onTimerComplete);
 ws.addEventListener(ResultEvent.RESULT,onResultReceived);
 ws.listVocabularies(5,true);
 } 
 
 private function onResultReceived(evt:ResultEvent):void {
 

RE: [flexcoders] Re: Remoteobject help

2006-08-15 Thread flex-guitar





I've 
been trying to figure this out myself. Do you need FDS in order to set a project 
as CF Flash Remoting? I couldn't figure out how to select this option. (It 
always asked for a WEB-INF folder).

Thanks,
Derek


  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Douglas 
  KnudsenSent: Wednesday, August 09, 2006 5:02 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: 
  Remoteobject help
  
  old thread but i just experienced this. Reason I had the issue was I 
  failed to set up my Flex project correctly! You have to choose 
  'ColdFusion Flash Remoting Service' as a project type and go from there. 
  Then the proper stuff is compiled into the SWF. DK
  On 7/27/06, Jeremy 
  Rottman rottmanList@gmail.com 
  wrote:
  ok well I got it to work 
with this code. But this isnt exactly how Iwant it to work. Do I have to 
use test.component name and do I haveto add the end 
point.?xml version="1.0" encoding="utf-8"? 
mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute"mx:Script![CDATA[import 
mx.controls.Alert;import 
mx.rpc.Fault;import 
mx.rpc.events.FaultEvent;import 
mx.rpc.events.ResultEvent;private 
function 
qryService_userSearch(lastName){qryService.userSearch(lastName)}private 
function 
qryService_userSearch_Result(event:ResultEvent):void{ 
testDG.dataProvider 
= 
event.result;}private 
function 
qryService_userSearch_Fault(event:FaultEvent):void{ 
Alert.show(event.fault.message);}]]/mx:Scriptmx:RemoteObjectid="qryService"destination="ColdFusion" 
source="test.ROtest"result="qryService_userSearch_Result(event)"endpoint="http://fx3.homesmartagent.com/flex2gateway/ 
"showBusyCursor="true"fault="qryService_userSearch_Fault(event)"/mx:Canvas 
x="0" y="0" width="100%" height="100%" 
mx:Label 
x="10" y="10" 
text="Name:"/mx:TextInput 
id="lastName" x="60" 
y="8"/mx:Button 
x="228" y="8" click="qryService_userSearch(lastName.text)" 
label="Button"/mx:DataGrid 
x="10" y="38" id="testDG" width="90%" height="100%" 
mx:columnsmx:DataGridColumn 
headerText="Column 
1"dataField="fld_agentFullName"/mx:DataGridColumn 
headerText="Column 2" dataField="fld_agentId"/ 
mx:DataGridColumn 
headerText="Column 3" 
dataField="fld_agentEmail"//mx:columns/mx:DataGrid/mx:Canvas/mx:Application--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/* 
To unsubscribe from this group, send an email to: 
flexcoders-unsubscr[EMAIL PROTECTED]com* 
Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ 
-- 
  Douglas Knudsenhttp://www.cubicleman.comthis is 
  my signature, like it? 
  __ NOD32 1.1699 (20060809) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex Data Services

2006-08-15 Thread scott.kinder
Hi All,

I'm new to Flex 2 and Flex Data Services. I have a problem and I need
to find out if I need Flex 2 Data Services. I have an external server
serving up a SWF, and then a server behind the firewall that contains
.NET web services. If I want my users to be able to browse to the SWF,
and then communicate with the .NET services behind the firewall, do I
need to use Flex Data Services or can I use regular Flex 2?

Cheers

Scott Kinder








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

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

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

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





Re: [flexcoders] Re: any way to catch application exit?

2006-08-15 Thread Ralf Bokelberg
If SharedObject really saves before exit, it would be nice to have a
callback to AS then.
Cheers,
Ralf.

On 8/11/06, Doug Lowder [EMAIL PROTECTED] wrote:
 I had been wondering if the Application object's remove event might
 be better for detecting this.  Has anyone tried that yet?


 --- In flexcoders@yahoogroups.com, Tobias Patton
 [EMAIL PROTECTED] wrote:
 
  The technique is described in a bit more detail here:
 http://groups.yahoo.com/group/flexcoders/message/45858
 
 
 
 
 
  
 
  From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel
  Sent: Friday, August 11, 2006 12:13 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] any way to catch application exit?
 
 
 
  javascript.
 
  On 8/11/06, Pan Troglodytes [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
 
  Is there any way to tie an event to the application exiting?  I
 know this is a longshot, but it should would make my settings-saving
 code a lot nicer.  I have a few ways to work around it, so don't
 worry about suggesting an alternative.  I just thought I'd check to
 see if there really was a way to tie into the application exit.
 
  --
  Jason
 
 
 
 
  --
  j:pn
  http://www.lennel.org http://www.lennel.org
 






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









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





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

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

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

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




[flexcoders] Issue with contex menu over video component

2006-08-15 Thread Dan Rossi






Hi there, I have a video container UIcomponent
inside an application. When i try to add a context menu, the select
click handler wont fire while a video is playing. If i display a canvas
over the playing video and try it works. Also im trying to bring up a
canvas with an alpha background to display metadata info. Im using
mouseOver and mouseOut effects on the video component however when i
mouseover it will automatically call the mouseout event without the
mouse moving at all. Any ideas what is the issue ?



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




[flexcoders] Re: Custom UIComponent creating problem

2006-08-15 Thread lostinrecursion
Forgive me, but are you adding the Component to the Display List
before you want to see it? Any objects which you want to be visual
must be explicitly added to the Display List if they are custom drawn.

See DisplayList on ASDoc.

HTH
-Kenny

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

 Dear all, 
  i have the followig problem , i have using AS3 to created a
 custom component (extends from UIComponent) , i find that the custom
 component cannot display on the screen. But if the component extends
 from HBox , it will show correctly . Can someone tell me why?
 The code is attached.
 
 thx
 capho
 
 // Mxml
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 xmlns:gp=test_comp.*
   mx:Panel width=100% height=100%
   gp:test_item/
   /mx:Panel
 /mx:Application
 
 // ActionScript file
 
   package test_comp{
   
   import mx.core.UIComponent;
   import mx.controls.Button;
   import mx.containers.HBox;
   
   public class test_item extends HBox{
   
   private var item_button:Button;
   
   public function test_item(){
   super();
   }
   
   override protected function createChildren():void {
   
   super.createChildren();
   
   if (!item_button){
   item_button = new Button();
   item_button.label = As;
   addChild(item_button);  
   }
   
   }
 
   override protected function measure():void{
   super.measure();
   measuredWidth = measuredMinWidth =  410;
   measuredHeight = measuredMinHeight = 30;
   }
 
   
   }
   }








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

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

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

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




Re: [flexcoders] Re: Remoteobject help

2006-08-15 Thread JoĆ£o Fernandes



Derek,there is no need of FDS to use remoting. The 7.0.2 version is enough to use the new AMF3 with Flex2.For the web-inf part, point to the war folder and not the web-inf itself {jrun4-home}/servers/{serverInstance}/cfusion-ear/cfusion-war/ .
JoĆ£o FernandesOn 8/9/06, flex-guitar [EMAIL PROTECTED] wrote:













  






I've 
been trying to figure this out myself. Do you need FDS in order to set a project 
as CF Flash Remoting? I couldn't figure out how to select this option. (It 
always asked for a WEB-INF folder).

Thanks,
Derek


  -Original Message-From: [EMAIL PROTECTED]ups.com
 
  [mailto:flexcoders@yahoogroups.com]On Behalf Of Douglas 
  KnudsenSent: Wednesday, August 09, 2006 5:02 PMTo: 
  [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Re: 
  Remoteobject help
  
  old thread but i just experienced this. Reason I had the issue was I 
  failed to set up my Flex project correctly! You have to choose 
  'ColdFusion Flash Remoting Service' as a project type and go from there. 
  Then the proper stuff is compiled into the SWF. DK
  On 7/27/06, Jeremy 
  Rottman [EMAIL PROTECTED] 
  wrote:
  ok well I got it to work 
with this code. But this isnt exactly how Iwant it to work. Do I have to 
use test.component name and do I haveto add the end 
point.?xml version=1.0 encoding=utf-8? 
mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolute
mx:Script![CDATA[import 
mx.controls.Alert;import 
mx.rpc.Fault;import 
mx.rpc.events.FaultEvent;import 
mx.rpc.events.ResultEvent;private 
function 
qryService_userSearch(lastName){qryService.userSearch(lastName)}private 
function 
qryService_userSearch_Result(event:ResultEvent):void{ 
testDG.dataProvider 
= 
event.result;}private 
function 
qryService_userSearch_Fault(event:FaultEvent):void{ 
Alert.show(event.fault.message);}]]/mx:Scriptmx:RemoteObjectid=qryServicedestination=ColdFusion 
source=test.ROtestresult=qryService_userSearch_Result(event)endpoint=
http://fx3.homesmartagent.com/flex2gateway/ 
showBusyCursor=truefault=qryService_userSearch_Fault(event)/mx:Canvas 
x=0 y=0 width=100% height=100% 
mx:Label 
x=10 y=10 
text=Name:/mx:TextInput 
id=lastName x=60 
y=8/mx:Button 
x=228 y=8 click=qryService_userSearch(lastName.text) 
label=Button/mx:DataGrid 
x=10 y=38 id=testDG width=90% height=100% 
mx:columnsmx:DataGridColumn 
headerText=Column 
1dataField=fld_agentFullName/mx:DataGridColumn 
headerText=Column 2 dataField=fld_agentId/ 
mx:DataGridColumn 
headerText=Column 3 
dataField=fld_agentEmail//mx:columns/mx:DataGrid/mx:Canvas/mx:Application
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 
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/* 
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/ 
-- 
  Douglas Knudsenhttp://www.cubicleman.comthis is 
  my signature, like it? 
  __ NOD32 1.1699 (20060809) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.com

  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] How to create just clickable box?

2006-08-15 Thread Sergey Kovalyov



Yes, I think subclassing UIComponent and then overridding updateDisplayList() method is the best approach in this case.
On 8/15/06, Samuel D. Colak [EMAIL PROTECTED] wrote:


Best to subclass UIComponent and then do the work yourself ā€“ it seems heavy handed but its very reliable and by default the property objects are all there ā€“ remember if you want to avoid it affecting the layout design, try
IncludeInLayout = falseYou would simply trap all messages to MouseEvent.MOUSE_DOWN using a standard event listener. By doing this you could simply add this object into the parent window without any assertion issues.
RegardsSamuel

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Dynamic ViewStack (Cairngorm)

2006-08-15 Thread lostinrecursion
Hi all,

Quick one, I think. :)

I have two Components in my application, based on a ViewStack. For the
purpose of simplicity, let's call them AdminView and UserView.

Essentially the two ViewStacks contain different screens (or the same
if applicable) dependent on the access level returned from the database.

So we've got the application looking like this:

Application
ApplicationControlBar (with dataProvider set to a static id of
myViews, which will be the id of the loaded stack so that the menu
displays the correct screens)

And then I want to load one of the views depending on the access level
which I will store in the Controller. So the Controller will dispatch
the event to the view once the access level is set. 

I know how to do that with no issue.

I just don't know how I would dynamically set the MX tag to the
proper view stack. For example, if it's an admin, the view would be
view:AdminView and if it's a normal user, it would be view:UserView

Any suggestions?

Thanks so much!
-Kenny







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

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

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

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





[flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-15 Thread ben.clinkinbeard
 if you call GetDataByGrouping() you're ignoring the arguments.
I don't think that is the case. That is how I call all of my SOAP
methods and all but the one in question work every time, and even this
one usually works.

I tried op.send() and it produces the exact same result as before. I
really need to get this figured out. I am doing a presentation on Flex
to some senior people in our group on Friday to tout its abilities and
a web service intermittently failing is not going to help my cause.

Any help is greatly appreciated.

Thanks,
Ben


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

 You should be calling op.send(), if you call GetDataByGrouping() you're
 ignoring the arguments.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of ben.clinkinbeard
 Sent: Monday, August 14, 2006 2:14 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Operation.arguments is populated but nulls are
 sent
 
  
 
 I am having a very odd error, and it only happens sometimes. I am
 creating an object structure and then assigning that to the arguments
 property of my mx.rpc.soap.Operation object like this:
 
 op.arguments = args;
 
 I then call the SOAP method like this:
 
 var call:AsyncToken = service.GetDataByGrouping();
 call.addResponder(responder);
 
 Sometimes (I've not figured out a pattern), Flex somehow loses all of
 the contents of the arguments property and sends nulls. It is sending
 the same number of nulls as there were properties though, so I am
 super confused. The Operation.arguments object is still populated with
 the correct data, but none of it gets sent. Does anyone have any idea
 what is going on here? I am pasting the entire method from my delegate
 below. 
 
 // in the delegate constructor
 service = ServiceLocator.getInstance().getService(cmws) as WebService;
 
 // in the method called by my command class
 var op:Operation = service.getOperation(GetDataByGrouping) as
 Operation;
 op.resultFormat = e4x;
 // temp object to store arguments
 var args:Object = new Object();
 args.groupingRequests = new Object();
 args.groupingRequests.GroupName = RPRTool;
 args.groupingRequests.Parameters = new Array();
 ... populate Parameters array ...
 op.arguments = args; 
 var call:AsyncToken = service.GetDataByGrouping();
 call.addResponder(responder);
 
 // results in sendign an object like this
 ns1:groupingRequests
 xmlns:ns1=http://fmr.com/BackOffice/ClientMeasures
 http://fmr.com/BackOffice/ClientMeasures 
 ns1:DataGroupingRequest/
 ns1:DataGroupingRequest/
 ns1:DataGroupingRequest/
 
 Ben








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

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

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

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




[flexcoders] Re: Trouble Printing lots of images--PLEASE HELP!!!!!!

2006-08-15 Thread wayneposner
I thought about doing that, but am concerned about the possiblity of 
loading anywhere from 500 to 1000 2k-10k images into memory and how 
it will affect the system while waiting for all those images to 
load.  Additionally, I need to add some metadata text which is also 
coming from the XML file.  Which brings me back to one at a time or 
somehow preloading each image before the canvas is rendered.

Wayne

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

 Hi Wayne,
 
 This a little out of my area, but maybe it will spark an idea.  
 Instead of loading the images that you want to print, one-at-a-
time, 
 into a canvas.  You could load all of the images, at the same 
time, 
 into a Repeater (or a list-based control).  On creationComplete of 
 the Repeater, add the child (Repeater) to the PrintJob.
 
 If you are also embedding the images, this approach may consume a 
 lot of CPU resources.  But, I'm sure that you can find a balance 
 here.
 
 Hope this helps,
 Tim
 
 --- In flexcoders@yahoogroups.com, wayneposner wayne.posner@ 
 wrote:
 
  I've been trying to figure this one out for about a week now 
with 
 no 
  success.
  
  I'm trying to load a bunch of images dynamically from an XML 
file, 
  pass each image, one at a time, to a Canvas and then print that 
  Canvas, but only being prompted with the print dialog for the 
 first 
  image.  If I just pass the image to the canvas, the print 
command 
  has executed before the image loads.
  
  If I use an event listener for the complete action on my canvas 
I 
  get the print dialog for every canvas that tries to print, 
 provided 
  I instatiate a new FlexPrintJob in my event handler--as opposed 
to 
 a 
  global FlexPrintJob which simply results in an empty print job.
  
  I've tried writing a preloader using the Loader class and a  
 sprite 
  to hold the image and then add the sprite to my canvas, but  my 
 code 
  fails at the addChild() statement at run time because flex 
cannot 
  coerce the Loader into an IUIComponent. 
  
  I've also tried a preinitialze event on my canvas which calls 
the 
  image.Load command for an mx:image tag, but that doesn't work 
 either.
  
  
  It seems like I'm running out of options here.  I didn't think 
it 
  would be so difficult to print multiple pages of images in 
Flex.  
  Can someone please help
  
  Thanks
  Wayne
 








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

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

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

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




[flexcoders] Flex/Cairngorm Syntax

2006-08-15 Thread grahampengelly



HiI am just embarking on my first Cairngorm based Flex app. In one of the sample apps there is the following syntaxpublic function onResult(event:* = null):void{}Could somebody please explain exactly what the argument "(event:* = null)" is actually doing. Obviously the argument is called 'event', I have got that far. Is the asterisk a wildcard for the type, and if so why, and is the null a default value if the argument is not supplied?I have had a look around the web and the docs but can't find any explanation of this syntax. What is more, I am not getting it to work but as I don't understand what it is supposed to be I'm not sure where the problem lies.Thanks for your help in advance...Graham

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex/Cairngorm Syntax

2006-08-15 Thread Thomas RĆ¼hl

Hi Graham,

you're exactly right, * is a wildcard, meaning the parameter event 
that is passed to the function, can be of any type. By default, if not 
passed in, it is assumed NULL. This also is written somewhere in the 
docs but at the moment, I can'T remember where it was.

Cheers, Thomas


  
  Thomas RĆ¼hl
  Design, Programming  Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




grahampengelly wrote:

 Hi

 I am just embarking on my first Cairngorm based Flex app. In one of 
 the sample apps there is the following syntax

 public function onResult(event:* = null):void
 {

 }

 Could somebody please explain exactly what the argument (event:* = 
 null) is actually doing. Obviously the argument is called 'event', I 
 have got that far. Is the asterisk a wildcard for the type, and if so 
 why, and is the null a default value if the argument is not supplied?

 I have had a look around the web and the docs but can't find any 
 explanation of this syntax. What is more, I am not getting it to work 
 but as I don't understand what it is supposed to be I'm not sure where 
 the problem lies.

 Thanks for your help in advance...

 Graham


  


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

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

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

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




Re: [flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-15 Thread Douglas Knudsen



have you tried using the debugger to see when and where these args turn up null?DKOn 8/15/06, ben.clinkinbeard 
[EMAIL PROTECTED] wrote: if you call GetDataByGrouping() you're ignoring the arguments.
I don't think that is the case. That is how I call all of my SOAPmethods and all but the one in question work every time, and even thisone usually works.I tried op.send() and it produces the exact same result as before. I
really need to get this figured out. I am doing a presentation on Flexto some senior people in our group on Friday to tout its abilities anda web service intermittently failing is not going to help my cause.
Any help is greatly appreciated.Thanks,Ben--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You should be calling 
op.send(), if you call GetDataByGrouping() you're ignoring the arguments. Matt  From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard Sent: Monday, August 14, 2006 2:14 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Operation.arguments is populated but nulls are sent I am having a very odd error, and it only happens sometimes. I am
 creating an object structure and then assigning that to the arguments property of my mx.rpc.soap.Operation object like this: op.arguments = args; I then call the SOAP method like this:
 var call:AsyncToken = service.GetDataByGrouping(); call.addResponder(responder); Sometimes (I've not figured out a pattern), Flex somehow loses all of the contents of the arguments property and sends nulls. It is sending
 the same number of nulls as there were properties though, so I am super confused. The Operation.arguments object is still populated with the correct data, but none of it gets sent. Does anyone have any idea
 what is going on here? I am pasting the entire method from my delegate below. // in the delegate constructor service = ServiceLocator.getInstance().getService(cmws) as WebService;
 // in the method called by my command class var op:Operation = service.getOperation(GetDataByGrouping) as Operation; op.resultFormat = e4x; // temp object to store arguments
 var args:Object = new Object(); args.groupingRequests = new Object(); args.groupingRequests.GroupName = RPRTool; args.groupingRequests.Parameters = new Array(); ... populate Parameters array ...
 op.arguments = args; var call:AsyncToken = service.GetDataByGrouping(); call.addResponder(responder); // results in sendign an object like this ns1:groupingRequests
 xmlns:ns1=http://fmr.com/BackOffice/ClientMeasures http://fmr.com/BackOffice/ClientMeasures
  ns1:DataGroupingRequest/ ns1:DataGroupingRequest/ ns1:DataGroupingRequest/ Ben--Flexcoders Mailing List
FAQ: 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/
* 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/-- Douglas Knudsenhttp://www.cubicleman.com
this is my signature, like it?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Bug in mac version of uploading code

2006-08-15 Thread hank williams
I think I have found a bug in the mac filereference/upload code or at
least an important difference between the two that has unfortunate
consequences.

I am having a hard time uploading using the mac uploader. The file
actually totally uploads but I am not getting the onComplete message
as I do under windows. As a result, the screen that I put up to
indicate success just hangs, waiting to be told the upload was
successful.

As I dug a little further, I discovered that the post message on the
mac includes a close command whereas the post on the windows side
does not. Typically, a close means don't wait for anything after this
message and immediately close when done. I am not an http expert, but
perhaps the onComplete message is waiting for a signal that will never
come because the connection is closed before the last bit of
information comes in.

I don't know if this is the actual cause of the problem, its just a
theory, but I know that my app doesn't have this problem under
windows, and that mac contains this close message in the request
object, which the windows flash client doesn't generate.

At this point I at least need a work around for the mac side as I am
dead in the water without a complete message, or at least some
trustable way to know the upload was successful. I thought of using
the progress percentage, but even that does not seem to come through
consistently. It may be that with smaller files it doesn't come
through, but in any case, on the mac it is inconsistent.

Hank


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

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

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

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





Re: [flexcoders] Re: Custom UIComponent creating problem

2006-08-15 Thread Michael Schmalle



Hi,It's not that it is not getting added to the display list, it's that UIComponet does not have a border.If you want something with a border, you either have to create a border skin instance in your extended UIComponent subclass OR subclass container that has a border(which is expensive if your are doing something simple).
Best bet is to create a border skin, size it in updateDisplayList().Peace, MikeOn 8/15/06, lostinrecursion 
[EMAIL PROTECTED] wrote:












  



Forgive me, but are you adding the Component to the Display List
before you want to see it? Any objects which you want to be visual
must be explicitly added to the Display List if they are custom drawn.

See DisplayList on ASDoc.

HTH
-Kenny

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

 Dear all, 
  i have the followig problem , i have using AS3 to created a
 custom component (extends from UIComponent) , i find that the custom
 component cannot display on the screen. But if the component extends
 from HBox , it will show correctly . Can someone tell me why?
 The code is attached.
 
 thx
 capho
 
 // Mxml
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 xmlns:gp=test_comp.*
 	mx:Panel width=100% height=100%
 		gp:test_item/
 	/mx:Panel
 /mx:Application
 
 // ActionScript file
 
 	package test_comp{
 		
 		import mx.core.UIComponent;
 		import mx.controls.Button;
 		import mx.containers.HBox;
 		
 		public class test_item extends HBox{
 	
 			private var item_button:Button;
 	
 			public function test_item(){
 super();	
 			}
 			
 			override protected function createChildren():void {
 
 super.createChildren();
 
 if (!item_button){
 	item_button = new Button();
 	item_button.label = As;
 	addChild(item_button);		
 }
 
 			}
 
 			override protected function measure():void{
 super.measure();
 measuredWidth = measuredMinWidth =  410;
 measuredHeight = measuredMinHeight = 30;
 			}
 
 			
 		}
 	}



  













-- What goes up, does come down.

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Bug in mac version of uploading code

2006-08-15 Thread hank williams
Well, I had searched on flashcoders and flexcoders and hadnt found any
references to this bug, but after posting I googled a bit and found
that this is a known bug.

The work around is described here:
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/workaround_file.php

In summary, the bug is exacty as I stated, it is actually a bug from
flash 8 that has apparently not been fixed in 9. And without this fix,
it seems you cannot effectively upload from flash 8 or 9 from the mac.

Hank

On 8/15/06, hank williams [EMAIL PROTECTED] wrote:
 I think I have found a bug in the mac filereference/upload code or at
 least an important difference between the two that has unfortunate
 consequences.

 I am having a hard time uploading using the mac uploader. The file
 actually totally uploads but I am not getting the onComplete message
 as I do under windows. As a result, the screen that I put up to
 indicate success just hangs, waiting to be told the upload was
 successful.

 As I dug a little further, I discovered that the post message on the
 mac includes a close command whereas the post on the windows side
 does not. Typically, a close means don't wait for anything after this
 message and immediately close when done. I am not an http expert, but
 perhaps the onComplete message is waiting for a signal that will never
 come because the connection is closed before the last bit of
 information comes in.

 I don't know if this is the actual cause of the problem, its just a
 theory, but I know that my app doesn't have this problem under
 windows, and that mac contains this close message in the request
 object, which the windows flash client doesn't generate.

 At this point I at least need a work around for the mac side as I am
 dead in the water without a complete message, or at least some
 trustable way to know the upload was successful. I thought of using
 the progress percentage, but even that does not seem to come through
 consistently. It may be that with smaller files it doesn't come
 through, but in any case, on the mac it is inconsistent.

 Hank



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

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

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

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




[flexcoders] Re: any way to catch application exit?

2006-08-15 Thread Mike Collins
As far as the SharedObject, I would think binding the lso field to some 
source field should take care of keeping the SharedObject current.






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

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

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

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





[flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-15 Thread ben.clinkinbeard
Yes, I actually just finished about a 20 minute 'step into' session
where I tried to monitor every step along the way (there are TONS).
Unfortunately, it was near impossible to follow the flow of control
and figure out where they're getting lost. op.arguments retains the
correct data even after the call, so something is happening during the
encoding that is not copying the values correctly. The values do not
seem to get passed into the AsyncToken even. Below is a piece I copied
from the debugger that shows the args object (which gets assigned to
op.arguments) correctly populated but the token with empty nodes in
its body property. I am at a complete loss.


pc = Operation.as$39.OperationPendingCall (@23b2a61)
args = Object (@235b881)
groupingRequests = Object (@235b781)
GroupName = RPRTool
Parameters = Array (@2350df1)
[0] = Object (@235b701)
Name = PLAN_N1
Value = 78167
[1] = Object (@235b6e1)
[2] = Object (@235b6c1)
[3] = Object (@235b741)
[4] = Object (@235b441)
[5] = Object (@235b181)
[6] = Object (@235b261)
[7] = Object (@235b681)
[8] = Object (@235bf01)
[9] = Object (@235bea1)
[10] = Object (@235b521)
[11] = Object (@235be41)
[12] = Object (@235bca1)
length = 13 [0xd]
headers = Array (@2357821)
token = mx.rpc.AsyncToken (@2129f61)
message = mx.messaging.messages.SOAPMessage (@2050c59)
body = ?xml version=1.0 
encoding=utf-8?\nSOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;SOAP-ENV:BodyGetDataByGrouping
xmlns=http://fmr.com/BackOffice/ClientMeasures;ns1:groupingRequests
xmlns:ns1=http://server.com/BackOffice/ClientMeasures;ns1:DataGroupingRequest
/ns1:DataGroupingRequest /ns1:DataGroupingRequest
/ns1:DataGroupingRequest /ns1:DataGroupingRequest
/ns1:DataGroupingRequest /ns1:DataGroupingRequest
/ns1:DataGroupingRequest /ns1:DataGroupingRequest
/ns1:DataGroupingRequest /ns1:DataGroupingRequest
/ns1:DataGroupingRequest /ns1:DataGroupingRequest
//ns1:groupingRequests/GetDataByGrouping/SOAP-ENV:Body/SOAP-ENV:Envelope
clientId = DirectHTTPChannel0
contentType = text/xml; charset=utf-8
destination = DefaultHTTP
headers = Object (@2259ba1)
DSEndpoint = direct_http_channel
httpHeaders = Object (@23b2921)
SOAPAction =
http://server.com/BackOffice/ClientMeasures/GetDataByGrouping;
messageId = D3441EA6-EBB1-4117-ACA6-11FE678DDBFA
method = POST
recordHeaders = false
timestamp = 0 [0x0]
timeToLive = 0 [0x0]
url = http://server/Webservices/ClientMeasures.asmx;
responders = null
result = null



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

 have you tried using the debugger to see when and where these args
turn up
 null?
 
 DK
 
 On 8/15/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:
 
   if you call GetDataByGrouping() you're ignoring the arguments.
  I don't think that is the case. That is how I call all of my SOAP
  methods and all but the one in question work every time, and even this
  one usually works.
 
  I tried op.send() and it produces the exact same result as before. I
  really need to get this figured out. I am doing a presentation on Flex
  to some senior people in our group on Friday to tout its abilities and
  a web service intermittently failing is not going to help my cause.
 
  Any help is greatly appreciated.
 
  Thanks,
  Ben
 
 
  --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
  
   You should be calling op.send(), if you call GetDataByGrouping()
you're
   ignoring the arguments.
  
  
  
   Matt
  
  
  
   
  
   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
   Behalf Of ben.clinkinbeard
   Sent: Monday, August 14, 2006 2:14 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Operation.arguments is populated but nulls are
   sent
  
  
  
   I am having a very odd error, and it only happens sometimes. I am
   creating an object structure and then assigning that to the

RE: [flexcoders] Flex/Cairngorm Syntax

2006-08-15 Thread Darren Houle
Graham

I see someone else answered your question, but... you might also want to 
look at Darron's page which talks about the Cairngorm Responder vs the Flex 
IResponder:

http://www.darronschall.com/weblog/archives/000234.cfm

The onResult(event:* = null):void method you asked about tells me you're 
using/learning the pure Cairngorm architecture which employs a Cairngorm 
Responder to get the data from the Delegate/Service back to the initial 
Command.  Darron's page explains an alternative, IResponder, that is already 
part of the Flex API.  It does the same thing, but it's more flexible, 
simpler to use, and easier to understand (just my opinion).  I'm using it in 
all my new Cairngorm apps.  I have yet to find a reason not to.

Darren




From: grahampengelly [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex/Cairngorm Syntax
Date: Tue, 15 Aug 2006 13:02:35 -

Hi

I am just embarking on my first Cairngorm based Flex app. In one of the
sample apps there is the following syntax
public function onResult(event:* = null):void
{

}
Could somebody please explain exactly what the argument (event:* =
null) is actually doing. Obviously the argument is called 'event', I
have got that far. Is the asterisk a wildcard for the type, and if so
why, and is the null a default value if the argument is not supplied?

I have had a look around the web and the docs but can't find any
explanation of this syntax. What is more, I am not getting it to work
but as I don't understand what it is supposed to be I'm not sure where
the problem lies.

Thanks for your help in advance...

Graham







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

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

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

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





[flexcoders] Want to create paint application

2006-08-15 Thread jeremyrichman
I want to create a Flex 2 application that is similar to a standard 
paint application (e.g. the old MS Paint program), allowing placement 
of circles, rectangles, text, borders, color-fill, etc. with the usual 
palette of tools.

I'm a brand newbie at Flex 2 and was hoping someone might have already 
done something like this so I could look at their work and learn from 
that.

Does anyone or know of something like this?

Jeremy







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

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

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

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





Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-15 Thread Adam Dorritie



On 8/15/06, Samuel D. Colak [EMAIL PROTECTED] wrote:







Matt,

Im actually surprised as this implies specific coding for the browser... I know IE doesn't have this effect and camino (under OSX) appears to run fine.
I think that you may be misunderstanding what Matt said. He said that, 
The browser
actually reduces the number of CPU cycles dedicated to plugins in a browser when
it doesn't have focus. I believe he is saying that this is a Safari behavior which is independent of the Flash player.Adam

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Want to create paint application

2006-08-15 Thread Renaun Erickson
Jesse Warden has some example of drawing in Flex2/AS3 on his blog:

http://www.jessewarden.com/archives/2005/10/as3_chronicles.html

There's not going to be an example just like MS but the idea of
painting in Flash is pretty standard you just have to put all the
pieces together and spend the time to make it work.


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

 I want to create a Flex 2 application that is similar to a standard 
 paint application (e.g. the old MS Paint program), allowing placement 
 of circles, rectangles, text, borders, color-fill, etc. with the usual 
 palette of tools.
 
 I'm a brand newbie at Flex 2 and was hoping someone might have already 
 done something like this so I could look at their work and learn from 
 that.
 
 Does anyone or know of something like this?
 
 Jeremy








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

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

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

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





[flexcoders] Re: flex2 final - how set flashing cursor in textinput

2006-08-15 Thread Tim Hoff
Well, it works all of the time in IE.  But, until the browser wars 
are over, that's the best we can do.  I figure that some solution is 
better than no solution.

-TH

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

 Hi Tim
 i downloaded the zip and ran the example and i'm finding it works 
 but not all of the time. (i'm using IE etc). 
 
 does it work for you all the time?
 
 regrds
 bod
 
 
 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
  Hey Bod,
  
  You don't have to put anything into the HTML wrapper file.  With 
  Abdul Qabiz's javascript injection, the java function is 
inserted 
 at 
  run-time.  Just follow the example and change the name of the 
SWF 
  file in the java function.  If you get stuck, let me know.
  
  -TH
  
  --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
  
   Thanks Tim. This is very good stuff.
   
   i'm not sure of one thing. what do i put into my html wrapper.
   
   thanks for your help
   
   regards
   bod
   
   --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
   

Hi Bod,

This might help a little:

http://www.cflex.net/showfiledetails.cfm?
   ChannelID=1Object=FileobjectI\
D=462
http://www.cflex.net/showfiledetails.cfm?
   ChannelID=1Object=Fileobject\
ID=462

-TH

--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ 
wrote:

 how do i place the cursor onto the first textinput on my 
 form 
  in
 actionscript.

 the setFocus() and setSelection() methods aren't quite 
what 
 i'm
 looking for.

 regards
 bod

   
  
 








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

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

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

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




[flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP

2006-08-15 Thread ben.clinkinbeard
That results in this structure being created and sent:

SelectedPlans xmlns=
   item xmlns=78167/item
   item xmlns=78173/item
/SelectedPlans

Arrays do not seem to have their names preserved consistently. I am
assuming this is affected by the WSDL. Please, get some clarification
into the community on these issues. If my experience is
representative, companies evaluating Flex for web service-based
applications are going to be very discouraged by the lack of
documentation and may once again disregard it as a viable solution. I
would love nothing more than to convince my superiors to use Flex but
with the issues I have been running into it is making it very hard for
me to stand behind it as a solid platform for development that is
heavily reliant on web services.

Ben


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

 Shouldn't you have another array, PlanNumber hanging off the object (not
 array) SelectedPlans and be pushing your numbers into that?
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of ben.clinkinbeard
 Sent: Monday, August 14, 2006 6:11 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Clarification needed on how WSDL affects
 conversion of AS objects to SOAP
 
  
 
 Hi Matt,
 
 My current problem and questions are concerning serialization, not
 deserialization. Flex is creating SOAP requests differently for 2
 methods of the same service, even though the AS is virtually
 identical. My only guess is that its due to the WSDL. Here is a recap
 from my previous posts.
 
 // SERIALIZES AS EXPECTED AND WORKS CORRECTLY
 args.ContainersToRetrieve = new Array();
 args.ContainersToRetrieve.push(Client);
 args.ContainersToRetrieve.push(IndustryTrends);
 
 // RESULTING SOAP CALL
 ContainersToRetrieve
 ContainerTypeClient/ContainerType
 ContainerTypeIndustryTrends/ContainerType
 
 // CORRESPONDING PIECE OF WSDL
 s:element minOccurs=0 maxOccurs=unbounded name=ContainerType
 type=tns:ContainerType/
 (tns:ContainerType maps to an enum collection)
 
 // 
 
 // DOES NOT SERIALIZE AS EXPECTED, CAUSING AN ERROR IN THE WEB SERVICE
 args.RPRSelections = new Object();
 args.RPRSelections.SelectedPlans = new Array();
 for(var i:int = 0; i  model.arr_selectedPlans.length; i++)
 {
 args.RPRSelections.SelectedPlans.push(model.arr_selectedPlans[i]);
 }
 
 // RESULTING SOAP CALL
 // ignores the SelectedPlans array that was created.
 RPRSelections
 item78167/item
 item78173/item
 
 // WHAT IT SHOULD LOOK LIKE
 RPRSelections
 SelectedPlans
 PlanNumber78167/PlanNumber
 PlanNumber78173/PlanNumber
 SelectedPlans
 /RPRSelections
 
 // CORRESPONDING PIECE OF WSDL
 s:element minOccurs=0 maxOccurs=1 name=SelectedPlans
 type=tns:ArrayOfString/
 
 s:complexType name=ArrayOfString
 s:sequence
 s:element minOccurs=0 maxOccurs=unbounded name=PlanNumber
 nillable=true type=s:string/
 /s:sequence
 /s:complexType
 
 I would LOVE to know how to fix this as right now its a total deal
 breaker for my project.
 
 Thanks,
 Ben
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Matt Chotin mchotin@ wrote:
 
  I'm not sure how WSDL structure would affect deserialization. We have
  mappings of the standard types into ActionScript versions. There's not
  a huge number of those types so we map as best as possible. Are you
  looking for those exact details? As far as RPC vs. doc-literal, I
  believe that the WSDL for a doc-lit generally provides less
 information
  that we can use so we're less likely to be able serialize or
 deserialize
  with as much accuracy as we attempt in RPC. If you use
  resultFormat=xml or e4x of course the doc-lit services will work
 fine,
  though I've seen serialization work fine with doc-lit too.
  
  
  
  Sorry, not sure if that is very helpful. If you have a more specific
  issue I might be able to forward that in, though the engineer who
 really
  knows our library at this point is on vacation. 
  
  
  
  Matt
  
  
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of ben.clinkinbeard
  Sent: Friday, August 11, 2006 10:48 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Re: Clarification needed on how WSDL affects
  conversion of AS objects to SOAP
  
  
  
  Hi Matt,
  
  The types of things I would like to see explained are what I mentioned
  in my previous posts. Stuff like how does
  WSDL structure affect Flex's serialization of objects? (this is a big
  one) and what differences are there in Flex's treatment of Doc/Literal
  vs RPC/Encoded web services?
  
  I would also be more than willing to alpha/beta test any new
  functionality as my entire app revolves around .NET web services.
  
  Thanks,
  Ben
  
  --- In 

[flexcoders] Re: Cairngorm createPopUp in a command

2006-08-15 Thread Tim Hoff
I appreciate it Douglas.  It's a work in progress.

-TH

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

 Old thread...but...I just ran across the need for something like 
this.
 Basically I needed a 'processing, please wait' type message that 
was modal
 to keep the user from clicking save again, etc...  Here's what I 
did:  In my
 modellocator I created a bool called processing with custom 
mutators.  In
 the setter I added code to create the popup.  Seems I had to extend
 UIComponent to do this.  I can't go back and add a view reference 
to all my
 events and such, too many and that kind of gives me the chills 
doing that
 for so many events.  Anywhoo, thought I'd share and invite 
criticism on this
 approach.
 
 DK
 
 On 6/13/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
  Sorry, I mean Dustin.  Going blind.
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
   Cool Justin,
  
   Works like a charm!  I think this method is more in-line with 
the
   Cairngorm architecture than the path I was travelling.  Thanks 
for
   helping me out.
  
   -TH
  
   --- In flexcoders@yahoogroups.com, dirtmediaworld dustin@
   wrote:
   
Tim-
This is how I integrated a popup into a Cairngorm 
application.
  I'm
   not
an expert by any means, so use caution if you follow my 
lead. In
  my
application I click a Send It button that creates a popup
  window
   with
a form in it. The following is the bones of how I do it with
   Cairngorm.
   
When I click the Send It button I dispatch a SendItEvent 
from
  a
   Canvas
component like this:
   
public function sendIt():void {
 dispatchEvent(new SendItEvent(this));
}
   
this being the Canvas component that the Send It button is
   inside. And
the event passes along the DisplayObject:
   
package com.mydomain.controller {
   
 import org.nevis.cairngorm.control.CairngormEvent;
 import flash.display.DisplayObject;
   
 public class SendItEvent extends CairngormEvent {
   
 public function SendItEvent( parentDisplay :
   DisplayObject ) {
 super(ApplicationController.EVENT_SENDIT);
 this.parentDisplay = parentDisplay;
 }
   
 public var parentDisplay : DisplayObject;
   
 }
}
   
   
I created a command class that communicates with a ViewHelper
  like
   this:
   
package com.mydomain.controller {
   
 import com.mydomain.model.ApplicationModel;
 import org.nevis.cairngorm.commands.Command;
 import org.nevis.cairngorm.control.CairngormEvent;
   
   
 public class SendItCommand implements Command {
   
 private static var model:ApplicationModel =
ApplicationModel.getInstance();
   
 public function execute
   (cairngormEvent:CairngormEvent):void {
 var event:SendItEvent = cairngormEvent as
  SendItEvent;
 model.popupViewHelper.showPopUpWindow(
   event.parentDisplay
);
   
 }
   
 }
}
   
In my ApplicationModel constructor I have:
   
 popupState = POPUP_CLOSED;
 popupViewHelper = new PopUpViewHelper();
   
   
With two constants declared in that class:
   
 public static const POPUP_CLOSED : Number = 1;
 public static const VIEWING_POPUP : Number = 2;
   
And then my PopUpViewHelper class looks like this:
   
package com.mydomain.view {
   
 import org.nevis.cairngorm.view.ViewHelper;
 import com.mydomain.model.ApplicationModel;
 import com.mydomain.view.forms.SendItForm;
 import mx.containers.TitleWindow;
 import mx.managers.PopUpManager;
 import mx.core.Application;
 import mx.core.UIComponent;
   
 public class PopUpViewHelper extends ViewHelper {
   
 public function PopUpViewHelper() {
 super();
 }
   
   
 public function showPopUpWindow( parentDisplay : 
* ) :
   Boolean {
 if( ApplicationModel.getInstance().popupState !=
ApplicationModel.VIEWING_POPUP ) {
 if( (parentDisplay.window == null) ||
(parentDisplay.window != null 
!Application.application.systemManager.rawChildren.contains
   (parentDispla\
y.window)) )
 parentDisplay.window =
TitleWindow(PopUpManager.createPopUp(parentDisplay, 
SendItForm,
   false));
 ApplicationModel.getInstance().popupState =
ApplicationModel.VIEWING_POPUP;
 return true;
 } else {
 return false;
 }
 }
   
 public function closePopUpWindow( window :
   TitleWindow ) : void
{
 if(window != null) PopUpManager.removePopUp(
  window );
 ApplicationModel.getInstance().popupState =
ApplicationModel.POPUP_CLOSED;
 

[flexcoders] Re: Trouble Printing lots of images--PLEASE HELP!!!!!!

2006-08-15 Thread Tim Hoff
Yeah, I'm not saying load all of the images at one time, just the 
ones that you want to print.  Possible use of cacheAsBitmap here too.

-TH

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

 I thought about doing that, but am concerned about the possiblity 
of 
 loading anywhere from 500 to 1000 2k-10k images into memory and 
how 
 it will affect the system while waiting for all those images to 
 load.  Additionally, I need to add some metadata text which is 
also 
 coming from the XML file.  Which brings me back to one at a time 
or 
 somehow preloading each image before the canvas is rendered.
 
 Wayne
 
 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
  Hi Wayne,
  
  This a little out of my area, but maybe it will spark an idea.  
  Instead of loading the images that you want to print, one-at-a-
 time, 
  into a canvas.  You could load all of the images, at the same 
 time, 
  into a Repeater (or a list-based control).  On creationComplete 
of 
  the Repeater, add the child (Repeater) to the PrintJob.
  
  If you are also embedding the images, this approach may consume 
a 
  lot of CPU resources.  But, I'm sure that you can find a balance 
  here.
  
  Hope this helps,
  Tim
  
  --- In flexcoders@yahoogroups.com, wayneposner wayne.posner@ 
  wrote:
  
   I've been trying to figure this one out for about a week now 
 with 
  no 
   success.
   
   I'm trying to load a bunch of images dynamically from an XML 
 file, 
   pass each image, one at a time, to a Canvas and then print 
that 
   Canvas, but only being prompted with the print dialog for the 
  first 
   image.  If I just pass the image to the canvas, the print 
 command 
   has executed before the image loads.
   
   If I use an event listener for the complete action on my 
canvas 
 I 
   get the print dialog for every canvas that tries to print, 
  provided 
   I instatiate a new FlexPrintJob in my event handler--as 
opposed 
 to 
  a 
   global FlexPrintJob which simply results in an empty print job.
   
   I've tried writing a preloader using the Loader class and a  
  sprite 
   to hold the image and then add the sprite to my canvas, but  
my 
  code 
   fails at the addChild() statement at run time because flex 
 cannot 
   coerce the Loader into an IUIComponent. 
   
   I've also tried a preinitialze event on my canvas which calls 
 the 
   image.Load command for an mx:image tag, but that doesn't work 
  either.
   
   
   It seems like I'm running out of options here.  I didn't think 
 it 
   would be so difficult to print multiple pages of images in 
 Flex.  
   Can someone please help
   
   Thanks
   Wayne
  
 








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

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

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

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





[flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread ben.clinkinbeard
In my ongoing crusade to increase the attention given by Adobe to web
service support in Flex, I decided to do a little impromptu survey. My
feeling is that its a mistake to focus so heavily on FDS in regards to
articles, tutorials and the like when such a small percentage of
organizations will actually deploy the technology.

So, which are you using? I am more interested in actual production
apps, rather than personal projects used for learning or
experimentation purposes.

Personally, I am evaluating Flex as the front end for an application
that relies heavily on .NET web services.

Ben
http://www.returnundefined.com/





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

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

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

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





RE: [flexcoders] Custom UIComponent creating problem

2006-08-15 Thread Gordon Smith












A general rule in Flex layout management is
that children get positioned and sized by their parents. I suspect that the
reason you don't see anything is that item_button has a width and height of 0
by default.



If you extend UIComponent, then it is your
responsibility to position and size all of your component's children (in this
case, item_button) in an override of updateDisplayList().



When you extend HBox, HBox's override of
updateDisplayList() implements the horizontal box layout algorithm for the
children.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sinacapho
Sent: Tuesday, August 15, 2006
1:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
UIComponent creating problem











Dear all, 
i have the followig problem , i have using AS3 to created a
custom component (extends from UIComponent) , i find that the custom
component cannot display on the screen. But if the component extends
from HBox , it will show correctly . Can someone tell me why?
The code is attached.

thx
capho

// Mxml

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
xmlns:gp=test_comp.*
mx:Panel width=100% height=100%
gp:test_item/
/mx:Panel
/mx:Application

// ActionScript file

package test_comp{

import mx.core.UIComponent;
import mx.controls.Button;
import mx.containers.HBox;

public class test_item extends HBox{

private var item_button:Button;

public function test_item(){
super(); 
}

override protected function createChildren():void {

super.createChildren();

if (!item_button){
item_button = new Button();
item_button.label = As;
addChild(item_button); 
}

}

override protected function measure():void{
super.measure();
measuredWidth = measuredMinWidth = 410;
measuredHeight = measuredMinHeight = 30;
}


}
}






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Flex Data Services

2006-08-15 Thread Scott Kinder



Resending - am I asking the wrong question? There were no responses.Cheers,Scott"scott.kinder" [EMAIL PROTECTED] wrote: Hi All,  I'm new to Flex 2 and Flex Data Services. I have a problem and I need to find out if I need Flex 2 Data Services. I have an external server serving up a SWF, and then a server behind the firewall that contains .NET web services. If I want my users to be able to browse to the SWF, and then communicate with the .NET services behind the firewall, do I need to
 use Flex Data Services or can I use regular Flex 2?  Cheers  Scott Kinder__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Tree item renderer's scrolling with mousewheel

2006-08-15 Thread lyon.james
Unfortunately, it isn't the tree component thats scrolling out of
place or incorrectly.  What's scrolling out of our control are the
labels inside the items inside the tree (which shouldn't scroll at all
as the items are fixed sizes and.  Needless to say that the Tree is
fast becoming useless to us as a component if the labels can't be read :(



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

 you can use a mx:Tree dataProvider={treeAdd}
 mouseWell=EventDispacherYours
 
 
 
 On 8/11/06, lyon.james [EMAIL PROTECTED] wrote:
 
I've been working to populate a tree component with a dynamic
  dataprovider and now that it's working, I'm seeing some wierdity. The
  item renderers are scrolling with the mousewheel when I scroll the
  entire tree list. Also some labels seem out of place to start with.
 
  I filed a bug on this this morning, but I wanted to ask others if
  they've seen this behavior and if they've found a fix by using custom
  TreeItemRenderers.
 
   
 
 
 
 
 -- 
 
 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 
Yahoo! Groups Links

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

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

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




[flexcoders] how to change the template name in Flex?

2006-08-15 Thread Douglas Knudsen



Any way we can change the HTML template name? Right now it defaults to flexappname.html. I'd like tto use flexappname.cfm. Why? Deploying app to a CF based server, I want the app secured using a centralised login HTML page already in place.
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] defaultButton and viewstack issue

2006-08-15 Thread jrjazzman23
Hi,

One of the children of the ViewStack has the defaultButton defined. 
The problem is that if a different child of the ViewStack is visible,
pressing enter on one of its text boxes fires the click of the
defaultButton for the hidden ViewStack child.  

The docs say When controls in the container have focus, pressing the
Enter key is the same as clicking this Button control.  The button
that gets clicked is on a container that does NOT have focus.

The only workaround we've found is to define defaultButtons for all
the viewstack's children.  Is there a better solution to this?

thanks

Jeremy







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

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

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

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





[flexcoders] Re: how to change the template name in Flex?

2006-08-15 Thread Douglas Knudsen



doh! Think I got it. After you create and compile your project, create flexappname.cfm. Copy the contents of flexappname.html to it. Now in the project properties  Flex Compiler uncheck generate HTML wrapper. Bamm!
DKOn 8/15/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
Any way we can change the HTML template name? Right now it defaults to flexappname.html. I'd like tto use flexappname.cfm. Why? Deploying app to a CF based server, I want the app secured using a centralised login HTML page already in place.
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex/Cairngorm Syntax

2006-08-15 Thread grahampengelly
Thanks Thomas and Darren for taking the time to help me out. I have
had a read of the article you suggested Darren and that definitely
looks like a cleaner way of doing things. I'll give that a shot...

I am still having problems actually getting my object out of the
result although I can see the values in there in the debugger but
casting it is causing me problems. I will have a go with the 'Darron'
method and if my troubles persist I'm sure I'll be back to the group
with another post.

Thanks again for your help...

Graham

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

 Graham
 
 I see someone else answered your question, but... you might also
want to 
 look at Darron's page which talks about the Cairngorm Responder vs
the Flex 
 IResponder:
 
 http://www.darronschall.com/weblog/archives/000234.cfm
 
 The onResult(event:* = null):void method you asked about tells me
you're 
 using/learning the pure Cairngorm architecture which employs a
Cairngorm 
 Responder to get the data from the Delegate/Service back to the initial 
 Command.  Darron's page explains an alternative, IResponder, that is
already 
 part of the Flex API.  It does the same thing, but it's more flexible, 
 simpler to use, and easier to understand (just my opinion).  I'm
using it in 
 all my new Cairngorm apps.  I have yet to find a reason not to.
 
 Darren
 
 
 
 
 From: grahampengelly [EMAIL PROTECTED]
 Reply-To: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex/Cairngorm Syntax
 Date: Tue, 15 Aug 2006 13:02:35 -
 
 Hi
 
 I am just embarking on my first Cairngorm based Flex app. In one of the
 sample apps there is the following syntax
 public function onResult(event:* = null):void
 {
 
 }
 Could somebody please explain exactly what the argument (event:* =
 null) is actually doing. Obviously the argument is called 'event', I
 have got that far. Is the asterisk a wildcard for the type, and if so
 why, and is the null a default value if the argument is not supplied?
 
 I have had a look around the web and the docs but can't find any
 explanation of this syntax. What is more, I am not getting it to work
 but as I don't understand what it is supposed to be I'm not sure where
 the problem lies.
 
 Thanks for your help in advance...
 
 Graham
 
 
 








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

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

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

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





[flexcoders] using drop-in renderer with button and application scope.

2006-08-15 Thread Jon Kong



I'm having problems trying to call a refresh data grid function from outside the parent page. For example i have a main mxml called FlexGradeBook.mxml that has the datagrid and everything set up. Then i have another mxml called 
DeleteRenderer.mxml that is used foran item renderer button in a column of the datagrid (datagrid that's in FlexGradeBook.mxml). When i click the button on the datagrid, it calls a mouse event function in the DeleteRenderer.mxml
 and after it does what it needs to do, i want to call the refresh datagridfunction that is in the FlexGradeBook.mxml page but DeleteRenderer.mxml can not access anything in the main page...thus the main page is out of scope within the 
DeleteRenderer.mxml. So the deletion of the row in the datagrid works but the datagrid does not refresh since i can't call that function b/c it is out of scope. Any help will be appreciated. Thanks

Jon

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready






Hey Sahlas  actually the only test for a correctly loaded wsdl is the canLoadWSDL property. If this fails it is back to the drawing board.

As for a publicly accessible wsdl try my server http://www.ifeel3.com/webservices/services.asmx?WDSL - there is a complex type under the function doQuery if interested. If you go to the same address minus the ?WSDL then you can see all the operations and the parameters out/in etc.

Regards
Samuel


On 9/8/06 14:47, Bill Sahlas [EMAIL PROTECTED] wrote:

 



Howdy, 

Id like to reproduce this internally here in the FDS QA lab using some of your examples. Ā Can someone on this list forward me a link to a WSDL that is publicly accessible with sample code to execute?

Thanks, Bill

FDS QA  Adobe Systems Inc.






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Franck de Bruijn
Sent: Tuesday, August 08, 2006 1:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready
 

Hi Kaleb,

Cool! Great stuff.

My guess is that the delay is machine dependent, but not necessarily network dependent. I do believe that the LOAD event does indicate that the WSDL actually has loaded successfully. Flex will not need any more access to the network in order to initialize the web service.

Anyway, its a little bit sloppy that the LOAD event does not indicate that the webservice is actually ready for use. I consider this a bug if you ask me. So, maybe this is something we can put on the wish list???

Thanks,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kaleb_pederson
Sent: Tuesday, August 08, 2006 7:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready
 

Frank,

I did a bit more research into this. I don't need nearly a second 
for the WebService to be ready after the load event. I just put the 
whole process in a loop to see what kind of delay I need to make it 
work on my box (with the service running on my box). Unfortunately, 
the delay is probably machine and network dependent and, therefore, 
would have to be different on other machines.

My results were:

res[delay in ms] = # successes (out of 100)
res[1] = 0
res[2] = 5 ...
res[10] = 13 ...
res[15] = 42 ...
res[20] = 53 ...
res[30] = 77 ...
res[38] = 100
(and the rest were 100 also)

Somebody else had what may have been a similar problem and he just 
re-fired the request 
(http://groups.yahoo.com/group/flexcoders/message/46401). That's 
certainly not an elegant solution

So, I still don't have a solution, just a work-around. Does anybody 
else have any ideas or suggestions?

Thanks.

--Kaleb

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Franck de Bruijn 
[EMAIL PROTECTED] wrote:

 Hi Kaleb,
 
 
 
 I always expected the web service to be ready after the load event
 completed. Probably it's a matter of milliseconds. I never 
encountered your
 problem before, since I don't automatically call web services 
after loading.
 So far, my webservices are only invoked behind a button.
 
 
 
 But sooner or later I probably will, since I will want to push 
master data
 from the server into the application (like a country table or 
something like
 that) directly after startup.
 
 
 
 So, this does not sound good ...
 
 
 
 I expect that your workaround is the only solution.
 
 
 
 Cheers,
 
 Franck
 
 
 
 
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of kaleb_pederson
 Sent: Tuesday, August 08, 2006 1:38 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] WSDLError:Element not resolvable = 
LoadEvent doesn't
 imply service ready
 
 
 
 I have been struggling with the Element not resolvable error 
today 
 in some of my unit tests using FlexUnit. As far as I can tell, the 
 LoadEvent doesn't imply that the service is ready. If I put a 
timer 
 in and wait 1 second after the load event to make my service call, 
 everything works correctly. If I don't wait 1 second, however, 
then 
 I receive the Element not resolvable error. This appears to be a 
 bug in the WebService class.
 
 Here's my sample code:
 
 import mx.rpc.soap.WebService;
 import flash.events.Event;
 import mx.rpc.events.ResultEvent;
 import mx.rpc.soap.LoadEvent;
 import flash.utils.Timer;
 import flash.events.TimerEvent;
 
 public class SoapDemoTest {
 
 public function testListVocabularies():void {
 trace('testListVocabularies');
 ws = new mx.rpc.soap.WebService();
 ws.addEventListener(LoadEvent.LOAD, onLoadCompleted);
 ws.loadWSDL(http://192.168. 
http://192.168.1.1:8080/myserv/myserv?wsdl
 1.1:8080/myserv/myserv?wsdl);
 }
 
 private function 

Re: [flexcoders] Custom UIComponent creating problem

2006-08-15 Thread Michael Schmalle



Gordon;Opps my bad; to early in the morning;I read to much into this,He needed
	item_button.label = As;override protected function updateDisplayList({ super.updateD ... item_button.move(0, 0); item_button.setActualSize( item_button.measuredWidth, item_button.measuredHeight);
Heh, sorry about that but, what I said still does pertain to the border. ;-)Peace, MikeOn 8/15/06, Gordon Smith 
[EMAIL PROTECTED] wrote:












  













A general rule in Flex layout management is
that children get positioned and sized by their parents. I suspect that the
reason you don't see anything is that item_button has a width and height of 0
by default.



If you extend UIComponent, then it is your
responsibility to position and size all of your component's children (in this
case, item_button) in an override of updateDisplayList().



When you extend HBox, HBox's override of
updateDisplayList() implements the horizontal box layout algorithm for the
children.



- Gordon











From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of sinacapho
Sent: Tuesday, August 15, 2006
1:18 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Custom
UIComponent creating problem











Dear all, 
i have the followig problem , i have using AS3 to created a
custom component (extends from UIComponent) , i find that the custom
component cannot display on the screen. But if the component extends
from HBox , it will show correctly . Can someone tell me why?
The code is attached.

thx
capho

// Mxml

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
xmlns:gp=test_comp.*
mx:Panel width=100% height=100%
gp:test_item/
/mx:Panel
/mx:Application

// ActionScript file

package test_comp{

import mx.core.UIComponent;
import mx.controls.Button;
import mx.containers.HBox;

public class test_item extends HBox{

private var item_button:Button;

public function test_item(){
super(); 
}

override protected function createChildren():void {

super.createChildren();

if (!item_button){
item_button = new Button();
item_button.label = As;
addChild(item_button); 
}

}

override protected function measure():void{
super.measure();
measuredWidth = measuredMinWidth = 410;
measuredHeight = measuredMinHeight = 30;
}


}
}










  













-- What goes up, does come down.

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] How to stick pop up to some component?

2006-08-15 Thread Sergey Kovalyov
Hi All!

I have a component that opens pop up as its state. In some sense
ComboBox is similar. Its dropdown view should be attached to its
regular view. But layout could be changed. Native Flex ComboBox hides
the dropdown in this case. Is it okay to bind x and y properties on
appropriate getters? Or should I change the position in overridden
updateDisplayList()? Any other ideas?

Regards, Sergey.


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

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

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

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




Re: [flexcoders] Flex Data Services

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex Data Services





You can use Flex alone with its webservice support.
Im not sure what all the fuss is with FDS but webservices were never meant to be that hard in general.


On 15/8/06 08:10, scott.kinder [EMAIL PROTECTED] wrote:

 



Hi All,

I'm new to Flex 2 and Flex Data Services. I have a problem and I need
to find out if I need Flex 2 Data Services. I have an external server
serving up a SWF, and then a server behind the firewall that contains
.NET web services. If I want my users to be able to browse to the SWF,
and then communicate with the .NET services behind the firewall, do I
need to use Flex Data Services or can I use regular Flex 2?

Cheers

Scott Kinder






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Re: XML vs. Array data provider... inline renderer for DataGridColumn discrepanc

2006-08-15 Thread Jeff

Thanks Kenny, for the sanity check and the example! At least I'm not as
crazy or stoopid as I was beginning to feel.

OK, so if that's the way it has to be, I can easily turn my XML into
arrayCollections for dataGrids.

In another part of the app, though, I need to have a tree of checkboxes
in which every branch and leaf has a checkbox on it (think MSBackup,
for example). Any ideas for that?

Cheers,
Jeff


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

 Hi there. I have had a lot of trouble over the Flex 2 launch with
 getting XML to behave correctly as a DataProvider. I have found that
 converting the XML to an ArrayCollection first solves most problems.
 YOu don't have to do it by looping either. You can typically use the
 mx:Model tag to accomplish it simply.

 See the following post:

 http://www.mail-archive.com/flexcoders@yahoogroups.com/msg33137.html

 HTH
 -Kenny







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

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

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

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




[flexcoders] Getting a problem trying to do a remote object in FLEX

2006-08-15 Thread laidezmon
Here is the error I get when trying to access the remote object called
simpleJava which is defined as a destination in my remote-config.xml
file. 

Here is the Flex error.

[RPC Fault faultString=Send failed
faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Failed]
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()
at
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()


Here is the JRUN Server inline error.

08/15 13:10:51 error Requested resource '/messagebroker/amf'
(%2fmessagebroker%2famf) not found






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

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

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

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




Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex / Eclipse under Mac OS X





Oops  yep  you are right  my apologies Matt and Adam (and ze group!)
Regards
Samuel


On 15/8/06 16:21, Adam Dorritie [EMAIL PROTECTED] wrote:

 



On 8/15/06, Samuel D. Colak [EMAIL PROTECTED] wrote:
Matt,

Im actually surprised as this implies specific coding for the browser... I know IE doesn't have this effect and camino (under OSX) appears to run fine.


I think that you may be misunderstanding what Matt said. He said that,  The browser actually reduces the number of CPU cycles dedicated to plugins in a browser when it doesn't have focus. I believe he is saying that this is a Safari behavior which is independent of the Flash player.

Adam
 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





Re: [flexcoders] Flex/Cairngorm Syntax

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex/Cairngorm Syntax





The * is an approximation of the Object keyword. Can be any type. Im not sure whether the typing is preserved or not but im sure Matt can confirm this. In effect event is cast as any object rather than having a strongly typed function call. Be aware in doing this though as type coercion issues may occur later on when dealing with the result.

Since all event classes usually subclass from Event, you might use Event rather than * for type safety.

Regards
Samuel

On 15/8/06 15:02, grahampengelly [EMAIL PROTECTED] wrote:

 



Hi

I am just embarking on my first Cairngorm based Flex app. In one of the sample apps there is the following syntax
public function onResult(event:* = null):void
{

}
Could somebody please explain exactly what the argument (event:* = null) is actually doing. Obviously the argument is called 'event', I have got that far. Is the asterisk a wildcard for the type, and if so why, and is the null a default value if the argument is not supplied?

I have had a look around the web and the docs but can't find any explanation of this syntax. What is more, I am not getting it to work but as I don't understand what it is supposed to be I'm not sure where the problem lies.

Thanks for your help in advance...

Graham







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Awe

2006-08-15 Thread Samuel D. Colak
Title: Awe






Dear All,

Ive been a member of this group for the last 2 days and frankly am very amazed regarding the quality of the posts and replies given. Its fun to be part of a group that has an interest in this new technology.

Just thought id leave my 2 cents.

Regards
Samuel

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] ASDoc is now available for download

2006-08-15 Thread Brian Deitte
Hi Tom,

I wasn't very happy releasing the code this way either.  Releasing code
for only two OSs causes my Java side to twitch.  But there's some
reasons behind this, and I'll try to explain what I can.

ASDoc has a long history in at Macromedia/Adobe, as you probably know
from the number of times we've released API documentation.  I'm the
lastest person to pick up it's helm, but there's a long line of people
who put a lot more effort than I did into it.  We had a joke for awhile
that anybody working on the compiler team was required to work on ASDoc
at least once.  All these changes were made over time not for external
consumption but for our internal needs.  At some point, we got some
executable code mixed in there.  I can't really share the specifics of
this... but let me say it's a big chunk of code that isn't easily
switched to Linux.  And there's a lot of it.  And it contains code that
from other products, where we can't quickly make the decision to release
this in the open.  So now we're stuck in the current situation.  Again,
as this was always thought to be for internal use, and since ASDoc
usually only runs on a Windows build machine, we only ran into this
problem when I started to put together things for an external release.

So what's being done about this?  As a long term plan, we're hoping (and
starting to plan) to move the executable code over to Java.  As a short
term plan, we want to get this working on Linux for the next full
release.

-Brian


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
 Sent: Tuesday, August 15, 2006 4:39 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] ASDoc is now available for download
 
 On Tuesday 15 August 2006 09:16, Tom Chiverton wrote:
  Rar !
 
 Boo.
 
 You *knew* what would happen if you released a tool that only 
 ran on Windows 
 and OSX didn't you, without the source so the community can 
 fix whatever you 
 know is wrong with it ?
 
 -- 
 Tom Chiverton, http://www.rachaelandtom.info/node/1359
 
 
 
 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
 
 
 
  
 
 
 


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

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

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

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




RE: [flexcoders] Getting a problem trying to do a remote object in FLEX

2006-08-15 Thread Brian Deitte
You don't have the necessary servlet set up in web.xml.  I don't know
the current FDS documentation, but I assume the details are in there, or
just look in another Flex install for the expected info that should be
in the web.xml.  -Brian 
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of laidezmon
 Sent: Tuesday, August 15, 2006 1:10 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Getting a problem trying to do a remote 
 object in FLEX
 
 Here is the error I get when trying to access the remote object called
 simpleJava which is defined as a destination in my remote-config.xml
 file. 
 
 Here is the Flex error.
 
 [RPC Fault faultString=Send failed
 faultCode=Client.Error.MessageSend
 faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed:
 HTTP: Failed]
   at
 mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/inte
 rnal::faultHandler()
   at mx.rpc::Responder/fault()
   at mx.rpc::AsyncRequest/fault()
   at mx.messaging::ChannelSet/::faultPendingSends()
   at mx.messaging::ChannelSet/channelFaultHandler()
   at
 flash.events::EventDispatcher/flash.events:EventDispatcher::di
 spatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
   at
 mx.messaging.channels::PollingChannel/mx.messaging.channels:Po
 llingChannel::connectFailed()
   at
 mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFCha
 nnel::statusHandler()
 
 
 Here is the JRUN Server inline error.
 
 08/15 13:10:51 error Requested resource '/messagebroker/amf'
 (%2fmessagebroker%2famf) not found
 
 
 
 
 
 
 --
 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/

* 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 Data Services

2006-08-15 Thread scott.kinder
Are there issues with a Flex Proxy? In my research that seems to be
what may be causing my problem. My Flex application is on a public
server, but the IP adresses that are coded into my WebService calls
are for 192.168.0.XXX addresses because they are on an internal
network. The public server can talk to them, but the Flex application
does not seem to be able to.

Is this because the flex application is actually running on the client
machine and the client machine does not have access to the other servers?

Thank you for responding Samuel.

Cheers,

Scott Kinder

--- In flexcoders@yahoogroups.com, Samuel D. Colak [EMAIL PROTECTED]
wrote:

 You can use Flex alone with its webservice support.
 Im not sure what all the fuss is with FDS but webservices were never
meant
 to be that hard in general.
 
 
 On 15/8/06 08:10, scott.kinder [EMAIL PROTECTED] wrote:
 
   
   
   
  
  Hi All,
  
  I'm new to Flex 2 and Flex Data Services. I have a problem and I need
  to find out if I need Flex 2 Data Services. I have an external server
  serving up a SWF, and then a server behind the firewall that contains
  .NET web services. If I want my users to be able to browse to the SWF,
  and then communicate with the .NET services behind the firewall, do I
  need to use Flex Data Services or can I use regular Flex 2?
  
  Cheers
  
  Scott Kinder
  
   
 








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

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

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

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





Re: [flexcoders] Awe

2006-08-15 Thread Michael Schmalle



It happens when people enjoy what they do :)On 8/15/06, Samuel D. Colak [EMAIL PROTECTED] wrote:













  







Dear All,

Ive been a member of this group for the last 2 days and frankly am very amazed regarding the quality of the posts and replies given. Its fun to be part of a group that has an interest in this new technology.

Just thought id leave my 2 cents.

Regards
Samuel




  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] positioning Accordion indexes

2006-08-15 Thread s_hernandez01
Hello

Would anyone know how to set an index's height to a specific position
on the y axis.  For example, say I have an accordion with two indexes,
but when I click on the second index to view it, I want it to go up
only halfway, so that both indexes are viewable.  Any takers?

-Sal






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

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

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

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





Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript





Hey Franck,

You use how many wsdls? Wow  I always thought that one wsdl caters for many functions. What I do, in psuedo code, is create a queue (array of objects) inside a class  the class instantiates the wsdl reference, and keeps this connected (until the app dies or the world ends)  I only need to do this once per wsdl and then when I call a webservice, I instantiate a AbstactOperation as a class inside the array. Add a couple of event catchers and you have a capability to call many webservices asynchronously and very very little code to burn. You have to be careful with the AsyncToken, as you mentioned a number of sleepless nights, as you cant guarantee that you see something in there after the send operation. This took about 2 days to work out before I suddenly homerd.

Samuel

On 15/8/06 06:34, Franck de Bruijn [EMAIL PROTECTED] wrote:

 



Hi Samuel,

Good to hear that it works now. Its the tedious hours chasing a stupid bug that gives the greatest learning curve!

When I start up my application I load all the WSDLs I need. For each load I register on the LoadEvent. I know how much WSDLs Im loading, so I count the number of events that I receive back. Only when I have received all WSDLs I unlock the Login button. In my opinion you have to wait until all WSDLs have loaded successfully, otherwise it has no use to start your application.

I only (try to) use MXML for the visual parts. For all other parts like models, controllers, webservices and the like Im using actionscript.

Cheers,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 5:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript
 

 

Franck,

 

i managed to get it working without any issues - yes i own ifeel3.com, so there arent any security violations as the flash file is originating from the same site.

 

The code issue you mention is very valid for the startup - once the wsdl is cached it doesnt take much more time - i forgot to take into account that when you query an iis server running dotNet framework, the system takes 1-2 seconds to load in the dlls etc to run the application framework - in all it was a learning curve involving a few hours of banging my head against the wall.. finally it works ;)

 

The async stuff is usefull for dealing with multiple calls simultaneously to the wsdl. When you do what you propose, you lock the wsdl from doing anything else than one call at a time. 

 

Thanks for the headsup on the doc/literal issue - you are quite right, but i think i got that sneaky thing covered ;)

 

On another note its actually very interesting that the lack of clear actionscript documentation for the components - seems adobe is pushing everyone to use mxml which actually starts to tie your hands in a number of cases i can think of. But one thing for sure, i cant wait for Flex on Mac - it pains me to run two systems side by side and my trusty macbook pro no more than an mp3 player whilst coding on a dell ;(

 

Oh well - such is like ;) TTFN 

 


On 13 Aug 2006, at 07:47, Franck de Bruijn wrote:


 

Hi Samuel,

A few things:
Are you sure that you host your Flex application also at the www.ifeel3.com http://www.ifeel3.com/ site? This is a necessity for a Flex application to communicate with a webservice, due to Flashs security model. (unless there is somewhere a crossdomain.xml file with the correct content ... check the documentation) 
Your code might work, but not necessarily so.. The loadWSDL() operation is asynchronous, but takes quite some time to complete. Only after the loadWSDL() has completed (and then some milliseconds more ... see some recent threads in this mailing list) you can fire your operation. To accomplish this you have to register for the LoadEvent.LOAD event 
I dont know where all this AsyncToken stuff comes from, but invocation of webservices can be done much simpler. Just try: tsWS.createUser(sessionId, userName, dob). 
Expect some difficulties with Flex and the support of DOC/Literal webservices; I see that you are probably using .Net and DOC/Literal, and there are some issues with it. Also check the mailing list for this. 
 
HTH,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 1:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help regarding WebServices (FLEX) in Actionscript
 

var tsWS:WebService = new WebService();
tsWS.wsdl = http://www.ifeel3. http://www.ifeel3.com/webservices/service.asmx?WSDL com/webservices/service.asmx?WSDL; 
tsWS.loadWSDL();

var op:AbstractOperation = tsWS[createUser];
tsWS.addEventListener(result, doResults);
tsWS.addEventListener(fault, doFailed);
var token:AsyncToken = op.send();
token.responder = new Responder(resultOut, null);

-

All,

i am tring 

RE: [flexcoders] Flex Data Services

2006-08-15 Thread Franck de Bruijn












Webservices are indeed never meant to be
hard and if they work its totally simple. If they dont work ...
youre in for trouble: check the posts ... :) Unfortunately, my feeling
tells me that Flex has more problems communicating with .Net webservices than Java
(AXIS based) webservices.



For the problem mentioned originally by Scott,
the following:



You cannot access the webservices behind a
firewall directly from the Flex application. The Flex application will be
served to the client, but in the end it does not matter. The Flex application
will run locally. And if the local machine cannot reach behind the firewall youre
out of luck. Even if the webservices are not behind the webservices you
probably will have a problem accessing them, since Flash only allows you to
address URLs with the base identical to the URL you have downloaded your app
from. Since you are talking about two different machines, these base addresses
will not match and youll have a security issue.



To solve this you have to the proxy
way, which gives you 2 directions:


 On
 the machine where you host your Flex application, set-up a server hosting
 your own webservices. These webservices can be called from the Flex app.
 The implementation behind these webservices can then forward the Flex
 requests to the real server.
 On
 the machine where you host your Flex application, set-up FDS. But here my
 experience lacks, so I cannot give you guidelines how to accomplish that.




Good luck!

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006
6:48 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex
Data Services











You can use Flex alone with its
webservice support.
Im not sure what all the fuss is with FDS but webservices were never meant to
be that hard in general.


On 15/8/06 08:10, scott.kinder scott.kinder@yahoo.com
wrote:







Hi All,

I'm new to Flex 2 and Flex Data Services. I have a problem and I need
to find out if I need Flex 2 Data Services. I have an external server
serving up a SWF, and then a server behind the firewall that contains
.NET web services. If I want my users to be able to browse to the SWF,
and then communicate with the .NET services behind the firewall, do I
need to use Flex Data Services or can I use regular Flex 2?

Cheers

Scott Kinder













__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Web services or FDS: which are you using?





YaHOOO ! Someone after my own heart  Welcome to the club  Now I count 2. F**k AJAX when you can use intelligent flex engines infront of Webservices :)

Now we truly use client/server design  It continuously amazes me how often I come across people specifically trying to mesh php and AJAX together and really not getting the point. 

Are there any other people out there in the same boat  personally I managed to get dotNet WS and Flex working very happily together  wondered if I was a minority..

Samuel


On 15/8/06 16:58, ben.clinkinbeard [EMAIL PROTECTED] wrote:

 



In my ongoing crusade to increase the attention given by Adobe to web
service support in Flex, I decided to do a little impromptu survey. My
feeling is that its a mistake to focus so heavily on FDS in regards to
articles, tutorials and the like when such a small percentage of
organizations will actually deploy the technology.

So, which are you using? I am more interested in actual production
apps, rather than personal projects used for learning or
experimentation purposes.

Personally, I am evaluating Flex as the front end for an application
that relies heavily on .NET web services.

Ben
http://www.returnundefined.com/






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Deserializing WebService call... Flex/Cairngorm

2006-08-15 Thread grahampengelly



I am just getting up to speed with the Cairngorm architecture and have been struggling with this problem for a while. I have got to the point where I am getting a response from my web service call that has the data in that I expect but I cannot seem to get it to deserialize into the object that I need.The code (I have used IResponder rather than the cairngorm Responder here as suggested during an earlier post here )  public function result( data:Object ):void  {   var event:ResultEvent = data as ResultEvent;  var testString:String = "";   for each(var thing:Object in event.result)   {testString += " " + thing + " ";   }   //test alert 1   Alert.show(testString);   //test alert 2   Alert.show("event.result.Id = " + event.result.Id + ", event.result.Name = " + event.result.Name);  var tObj:TestObj = event.result as TestObj;   Alert.show("TestObj.Id = " + tObj.Id); }The test alerts print out: test 1: Graham 1 test 2: "event.result.Id = 1, event.result.Name = GrahamThe subsequent line throws an exception:TypeError: Error #1034: Type Coercion failed: cannot convert mx.utils::[EMAIL PROTECTED] to HASAW.ClientApp.Model.TestObj.The object that I am trying to create from the results looks like this: public class TestObj implements ValueObject {public var Id:int;  public var Name:String;  public function TestObj()  {   Id = 0;   Name = "";  } }I have tried various implementations and can't get the web service response to cast to TestObj. To be honest, I wouldn't have thought that it should cast to TestObj but I have followed all of the code samples for Cairngorm and they all do it like this.I am using .NET for the web service which may be an issue as the samples don't. It is returning the following SOAP in event.result.body ?xml 
version="1.0" encoding="utf-8" ? 

-  soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:xsd="http://www.w3.org/2001/XMLSchema"soap:Body





-   GetTesterResponse xmlns=""


-GetTesterResult


 Id1/Id 

 NameGraham/Name 
   /GetTesterResult
  /GetTesterResponse
  /soap:Body
 /soap:EnvelopeI know I could manually populate the object with the values but the objects I will be deserializing in the application are much more complex than this which would make a manual approach a pain. Thanks in advance...Graham

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Help onTab Navigator !!!

2006-08-15 Thread Mauro Pelaez Vasquez
i would know if exists some way to set text color on event Mouse Over 
to a Tab from Tab navigator, only i know so exist SelectedTabStyle 
because by default Tab Mouse Over is Black Color Text and i want to 
change, anybody know? please help me!

Mauricio





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

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

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

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




[flexcoders] Developers needed: Flex 2, Flash, FMS, FDS

2006-08-15 Thread Tom Bray



Hey flexcoders,Userplane Technologies, the chat and IM provider for MySpace and thousands of other communites, was just acquired by AOL and we're looking to expand our team of Flex, Flash, and FMS developers. Check out this press release to see what we're up to: 
http://tinyurl.com/jgdluWe're based in L.A. (moving to the beach very soon) and looking for locals or people willing to become locals. Send me an email offlist with your resume and links to your work if you're interested.
Thanks!Tom BraySenior Software EngineerUserplane Technologies[EMAIL PROTECTED]

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] hi

2006-08-15 Thread bardnivar
hi iam new to flex, for learning flex should i know java plz let
me know what is the minimum requirements to choose my career as a flex
coder, is there any jobs for flex coders (i know only flash) what
applications should know the flex coders.***plz let me know***






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

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

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

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





RE: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Brian Deitte
The person who is thinking about this the most lately isn't going to be
able to answer your crusade.  Pete Farland is out traveling in Australia
and other countries for his sabbatical, so you may want to bring this up
again in a month.  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
 Sent: Tuesday, August 15, 2006 10:59 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Web services or FDS: which are you using?
 
 In my ongoing crusade to increase the attention given by Adobe to web
 service support in Flex, I decided to do a little impromptu survey. My
 feeling is that its a mistake to focus so heavily on FDS in regards to
 articles, tutorials and the like when such a small percentage of
 organizations will actually deploy the technology.
 
 So, which are you using? I am more interested in actual production
 apps, rather than personal projects used for learning or
 experimentation purposes.
 
 Personally, I am evaluating Flex as the front end for an application
 that relies heavily on .NET web services.
 
 Ben
 http://www.returnundefined.com/
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


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

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

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

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





RE: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready

2006-08-15 Thread Franck de Bruijn












Hi Bill,



Great to see that someone from Adobe is looking
into this. I hope Kaleb is reading this post and can provide you with the WSDL.
I personally did not encounter this error myself, but it looks thoroughly
investigated by Kaleb.



If Kaleb is not responding, its
maybe an idea to create a huge WSDL, then load it and immediately after the
LoadEvent try to call an operation. It should fail. If you need help with
creating this WSDL I can try. Let me know.



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bill Sahlas
Sent: Wednesday, August 09, 2006
2:48 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
WSDLError:Element not resolvable = LoadEvent doesn't imply service ready













Howdy, 



Id like to reproduce this internally here in the FDS QA lab
using some of your examples. Can someone on this list forward me a link
to a WSDL that is publicly accessible with sample code to execute?



Thanks, Bill



FDS QA  Adobe Systems Inc.











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Franck de Bruijn
Sent: Tuesday, August 08, 2006
1:59 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Re:
WSDLError:Element not resolvable = LoadEvent doesn't imply service ready













Hi Kaleb,



Cool! Great stuff..



My guess is that the delay is machine dependent, but not
necessarily network dependent. I do believe that the LOAD event does indicate that
the WSDL actually has loaded successfully. Flex will not need any more access
to the network in order to initialize the web service.



Anyway, its a little bit sloppy that the LOAD event does not
indicate that the webservice is actually ready for use. I consider this a bug
if you ask me. So, maybe this is something we can put on the wish list???



Thanks,

Franck











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of kaleb_pederson
Sent: Tuesday, August 08, 2006
7:18 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re:
WSDLError:Element not resolvable = LoadEvent doesn't imply service ready











Frank,

I did a bit more research into this. I don't need nearly a second 
for the WebService to be ready after the load event. I just put the 
whole process in a loop to see what kind of delay I need to make it 
work on my box (with the service running on my box). Unfortunately, 
the delay is probably machine and network dependent and, therefore, 
would have to be different on other machines.

My results were:

res[delay in ms] = # successes (out of 100)
res[1] = 0
res[2] = 5 ...
res[10] = 13 ...
res[15] = 42 ...
res[20] = 53 ...
res[30] = 77 ...
res[38] = 100
(and the rest were 100 also)

Somebody else had what may have been a similar problem and he just 
re-fired the request 
(http://groups.yahoo.com/group/flexcoders/message/46401).
That's 
certainly not an elegant solution

So, I still don't have a solution, just a work-around. Does anybody 
else have any ideas or suggestions?

Thanks.

--Kaleb

--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn 
franck.de.bruijn@... wrote:

 Hi Kaleb,
 
 
 
 I always expected the web service to be ready after the load event
 completed. Probably it's a matter of milliseconds. I never 
encountered your
 problem before, since I don't automatically call web services 
after loading.
 So far, my webservices are only invoked behind a button.
 
 
 
 But sooner or later I probably will, since I will want to push 
master data
 from the server into the application (like a country table or 
something like
 that) directly after startup.
 
 
 
 So, this does not sound good ...
 
 
 
 I expect that your workaround is the only solution.
 
 
 
 Cheers,
 
 Franck
 
 
 
 
 
 
 
 _ 
 
 From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of kaleb_pederson
 Sent: Tuesday, August 08, 2006 1:38 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] WSDLError:Element not resolvable = 
LoadEvent doesn't
 imply service ready
 
 
 
 I have been struggling with the Element not resolvable error 
today 
 in some of my unit tests using FlexUnit. As far as I can tell, the 
 LoadEvent doesn't imply that the service is ready. If I put a 
timer 
 in and wait 1 second after the load event to make my service call, 
 everything works correctly. If I don't wait 1 second, however, 
then 
 I receive the Element not resolvable error. This appears to be
a 
 bug in the WebService class.
 
 Here's my sample code:
 
 import mx.rpc.soap.WebService;
 import flash.events.Event;
 import mx.rpc.events.ResultEvent;
 import mx.rpc.soap.LoadEvent;
 import flash.utils.Timer;
 import flash.events.TimerEvent;
 
 public class SoapDemoTest {
 
 public function testListVocabularies():void {
 trace('testListVocabularies');
 ws = new mx.rpc.soap.WebService();
 ws.addEventListener(LoadEvent.LOAD, onLoadCompleted);
 ws.loadWSDL(http://192.168. 

[flexcoders] flex 2 with CFC help...

2006-08-15 Thread Greg Morphis
In my flex 2 application, I'm trying to call to a CFC and return a
query.. I'm getting an error stating.. faultCode:Client.Input
faultString:'unexpected parameter 'nxx' found in input arguments.'
faultDetail:null

This is what my webservice call looks like..
mx:WebService id=myWS
useProxy=false
wsdl=http://localhost:8300/npanxx/npanxx.cfc?wsdl;
showBusyCursor=true
mx:operation name=listRecords 
result=handleQueryResult(event)
fault=Alert.show(event.fault.message) resultFormat=object
mx:request
npa{txtNPA.text}/npa
nxx{txtNXX.text}/nxx
data{txtDATA.text}/data
/mx:request
/mx:operation

/mx:WebService

and my CFC

cfcomponent output=false name=npanxx



cffunction name=listRecords access=remote returnType=query
output=false
cfset var npa = '' /
cfset var nxx = '' /
cfset var data = '' /
cfset var fooQ = '' /

   cfquery name=fooQ datasource=npanxx_prod
   SELECT npa, nxx
   FROM npanxx
   where npa = cfqueryparam cfsqltype=cf_sql_numeric
value=#npa# /
   and nxx = cfqueryparam cfsqltype=cf_sql_numeric
value=#nxx# /
   and t_strt  cfqueryparam cfsqltype=cf_sql_varchar
value=#data# /
   and t_finish  cfqueryparam cfsqltype=cf_sql_varchar
value=#data# /
   /cfquery

cfreturn fooQ
/cffunction

/cfcomponent

I'm not sure what I'm doing wrong, can someone assist?

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/

* 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] Deserializing WebService call... Flex/Cairngorm

2006-08-15 Thread Franck de Bruijn












Hi Graham,



I did not read your entire post, nor do I
have any knowledge about cairngorm. But Ill give a try ...



Your code: var tObj:TestObj = event.result
as TestObj; will not work.



event.result is a dynamic Object and you
cannot cast it to your own custom made ActionScript class TestObj. If you want
to put the webservice result into an ActionScript object, you will have to do
the following:


 var
 tObj:TestObj
 tObj
 = new TestObj();
 tObj.Id
 = event.result.Id
 tObj.Name
 = event.result.Name




Yep, its tedious and boring, but
thats exactly the way Im doing it at the moment ...



On the other hand: its quite
understandable. How can Flex know that the result coming back from a webservice
is actually some sort of custom type? It would be an extremely interesting
feature of Flex if you could specify that somehow ...



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of grahampengelly
Sent: Tuesday, August 15, 2006
6:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Deserializing WebService call... Flex/Cairngorm











I am just getting up to speed with
the Cairngorm architecture and have been struggling with this problem for a
while. I have got to the point where I am getting a response from my web
service call that has the data in that I expect but I cannot seem to get it to
deserialize into the object that I need.

The code (I have used IResponder rather than the cairngorm Responder here as
suggested during an earlier post here
)

  public function result( data:Object
):void
  {
   var
event:ResultEvent = data as ResultEvent;
   
   var
testString:String = ;
   for each(var
thing:Object in event.result)
   {
  
 testString +=   + thing +  ;
   }
   //test alert 1
  
Alert.show(testString);
   //test alert 2
   Alert.show(event.result.Id
=  + event.result.Id + , event.result.Name =  +
event.result.Name);
   
   var tObj:TestObj
= event.result as TestObj;
   Alert.show(TestObj.Id
=  + tObj.Id);
   
  }
The test alerts print out:
 test 1: Graham 1
 test 2: event.result.Id = 1, event.result.Name
= Graham

The subsequent line throws an exception:

TypeError: Error #1034: Type Coercion failed: cannot convert mx.utils::ObjectPro[EMAIL PROTECTED]
to HASAW.ClientApp.Model.TestObj.

The object that I am trying to create from the results looks like this:

 public class TestObj implements ValueObject
 {
  
  public var Id:int;
  public var Name:String;
  public function TestObj()
  {
   Id = 0;
   Name = ;
  }
 }


I have tried various implementations and can't get the web service response to
cast to TestObj. To be honest, I wouldn't have thought that it should cast to
TestObj but I have followed all of the code samples for Cairngorm and they all
do it like this.

I am using .NET for the web service which may be an issue as the samples don't.
It is returning the following SOAP in event.result.body



 ?xml version=1.0 encoding=utf-8 ? 







-
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance  xmlns:xsd=http://www.w3.org/2001/XMLSchema
soap:Body













-
  GetTesterResponse xmlns=









-
   GetTesterResult









 
   Id1/Id 









 
   NameGraham/Name








 
 /GetTesterResult









 
/GetTesterResponse









 
/soap:Body









 /soap:Envelope








I know I could manually populate the object with the values but the objects I
will be deserializing in the application are much more complex than this which
would make a manual approach a pain. 

Thanks in advance...

Graham






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Caringorm - Visual Flowchart Poster!

2006-08-15 Thread Evan Gifford












 Is the FrontController tilting for a
specific reason?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 8/14/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/418 - Release Date: 8/14/2006
 


Re: [flexcoders] Image manipulation on client side

2006-08-15 Thread John Dowdell
Summary: Search term colormatrixfilter flex pulls up details.


edugalvez wrote:
 How can my flex 2 application manipulate images on the client file 
 system?
 Read manipulate as sepia-toning, resizing, rotating, exif-reading and 
 uploading to server. Mainly jpgs.

That's funny... I just replied to a similar question on a ColdFusion 
mailing list... let me paste the links here:

 Subject: Re: OT: Flash or Ajax to Compliment CF Project
 Date: Tue, 15 Aug 2006 11:29:48 -0700
 From: John Dowdell [EMAIL PROTECTED]
 To: cf-talk@houseoffusion.com
 References: [EMAIL PROTECTED]
 
 Dakota Burns wrote:
 I have a fairly large CF project coming up with an interactive piece that
 will involve changing colors on car parts (roll mouse over hood for design
 or color, select  post to database or session), possibly an audio greeting
 - that sort of thing.
 
 The audio requirement may resolve the question in itself, although for 
 some presentations it may not matter exactly how each browser invokes 
 the audio file.
 
 A more subtle advantage may be in the on-demand coloring... it's 
 possible to use the realtime color matrix filtering in Adobe Flash 
 Player 8 and above to change the coloring of an image without having to 
 download a new file. Docs  example:
 http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2079.html
 http://page.freett.com/isolations_nest/upload/test20.html


The realtime clientside filtering capabilities can be set through the 
Adobe Flash Professional 8 authoring environment, but are also exposed 
to ActionScript control. Lots of good Flex-specific links here too:
http://www.google.com/search?q=ColorMatrixFilter+flex

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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/

* 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 2 ColdFusion Apps with IIS and Virtual directories.

2006-08-15 Thread kjlinboomer
Hello,

I am trying to set up a Flex2 app that calls CFCs via the new remoting
gateway.  I am using ColdFusion integrated with IIS and virtual
directories.  I am able to compile the application but cant call any
CFCs living in an IIS virtual directory.  I receive the following error:

faultCode:Client.Error.MessageSend 
faultString:'Send failed' 
faultDetail:'Channel.Connect.Failed 
error NetConnection.Call.Failed: HTTP: Failed'

Now, I have set up all the proper mappings in CF, enabled mappings in
the services-config file and am sure my remoteObject mxml code is
correct.  I'm thinking I might need to change something in the channel
setup in the services-config file but really cant find any
documentation on it. 

I am able to run apps and connect to CFCs fine when I have the
standalone version of ColdFusion installed and CFCs living in the CF
wwwroot.  

Has anybody been able to connect to CFCs in Flex2 with ColdFusion
integreated with IIS and virtual directories?






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

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

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

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





[flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-15 Thread ben.clinkinbeard
OK, the issue seems to be isolated to my machine. The error began
happening again, so I sent a coworker the link to the file on my
machine. He can run the app successfully with no issues whatsoever,
while I still cannot. I have tried clearing my cache, closing Flex
Builder and restarting my machine but nothing seems to help. It seems
like this has to be related to something getting screwed up on my
machine because it also usually goes away by the time I come in the
next day.

Is there anything else I can try clearing or resetting? This has to be
'a bug', no?

Thanks,
Ben


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

 You should be calling op.send(), if you call GetDataByGrouping() you're
 ignoring the arguments.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of ben.clinkinbeard
 Sent: Monday, August 14, 2006 2:14 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Operation.arguments is populated but nulls are
 sent
 
  
 
 I am having a very odd error, and it only happens sometimes. I am
 creating an object structure and then assigning that to the arguments
 property of my mx.rpc.soap.Operation object like this:
 
 op.arguments = args;
 
 I then call the SOAP method like this:
 
 var call:AsyncToken = service.GetDataByGrouping();
 call.addResponder(responder);
 
 Sometimes (I've not figured out a pattern), Flex somehow loses all of
 the contents of the arguments property and sends nulls. It is sending
 the same number of nulls as there were properties though, so I am
 super confused. The Operation.arguments object is still populated with
 the correct data, but none of it gets sent. Does anyone have any idea
 what is going on here? I am pasting the entire method from my delegate
 below. 
 
 // in the delegate constructor
 service = ServiceLocator.getInstance().getService(cmws) as WebService;
 
 // in the method called by my command class
 var op:Operation = service.getOperation(GetDataByGrouping) as
 Operation;
 op.resultFormat = e4x;
 // temp object to store arguments
 var args:Object = new Object();
 args.groupingRequests = new Object();
 args.groupingRequests.GroupName = RPRTool;
 args.groupingRequests.Parameters = new Array();
 ... populate Parameters array ...
 op.arguments = args; 
 var call:AsyncToken = service.GetDataByGrouping();
 call.addResponder(responder);
 
 // results in sendign an object like this
 ns1:groupingRequests
 xmlns:ns1=http://fmr.com/BackOffice/ClientMeasures
 http://fmr.com/BackOffice/ClientMeasures 
 ns1:DataGroupingRequest/
 ns1:DataGroupingRequest/
 ns1:DataGroupingRequest/
 
 Ben







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

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

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

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




[flexcoders] Accordion Headers: Only one?

2006-08-15 Thread Tom Ortega



An according can only have one header, correct? I'm asssuming so since the AccordionHeader section has this bit in its description:The AccordionHeader class defines the appearance of the navigation buttons
  of an Accordion.
  You use the getHeaderAt() method of the Accordion class to get a reference
  to an individual AccordionHeader object.So, no different header per accordion session then, eh?Thanks,Tom

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Trouble Printing lots of images--PLEASE HELP!!!!!!

2006-08-15 Thread wayneposner
Unfortunately, when a user requests a print job it will mean print 
all the images.  

cacheAsBitmapbeen having problems with bitmaps as they don't 
seem to load into an IUIComponent.  Any insite into possibly why?

Wayne

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

 Yeah, I'm not saying load all of the images at one time, just the 
 ones that you want to print.  Possible use of cacheAsBitmap here 
too.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, wayneposner wayne.posner@ 
 wrote:
 
  I thought about doing that, but am concerned about the 
possiblity 
 of 
  loading anywhere from 500 to 1000 2k-10k images into memory and 
 how 
  it will affect the system while waiting for all those images to 
  load.  Additionally, I need to add some metadata text which is 
 also 
  coming from the XML file.  Which brings me back to one at a time 
 or 
  somehow preloading each image before the canvas is rendered.
  
  Wayne
  
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
   Hi Wayne,
   
   This a little out of my area, but maybe it will spark an 
idea.  
   Instead of loading the images that you want to print, one-at-a-
  time, 
   into a canvas.  You could load all of the images, at the same 
  time, 
   into a Repeater (or a list-based control).  On 
creationComplete 
 of 
   the Repeater, add the child (Repeater) to the PrintJob.
   
   If you are also embedding the images, this approach may 
consume 
 a 
   lot of CPU resources.  But, I'm sure that you can find a 
balance 
   here.
   
   Hope this helps,
   Tim
   
   --- In flexcoders@yahoogroups.com, wayneposner 
wayne.posner@ 
   wrote:
   
I've been trying to figure this one out for about a week now 
  with 
   no 
success.

I'm trying to load a bunch of images dynamically from an XML 
  file, 
pass each image, one at a time, to a Canvas and then print 
 that 
Canvas, but only being prompted with the print dialog for 
the 
   first 
image.  If I just pass the image to the canvas, the print 
  command 
has executed before the image loads.

If I use an event listener for the complete action on my 
 canvas 
  I 
get the print dialog for every canvas that tries to print, 
   provided 
I instatiate a new FlexPrintJob in my event handler--as 
 opposed 
  to 
   a 
global FlexPrintJob which simply results in an empty print 
job.

I've tried writing a preloader using the Loader class and a  
   sprite 
to hold the image and then add the sprite to my canvas, but  
 my 
   code 
fails at the addChild() statement at run time because flex 
  cannot 
coerce the Loader into an IUIComponent. 

I've also tried a preinitialze event on my canvas which 
calls 
  the 
image.Load command for an mx:image tag, but that doesn't 
work 
   either.


It seems like I'm running out of options here.  I didn't 
think 
  it 
would be so difficult to print multiple pages of images in 
  Flex.  
Can someone please help

Thanks
Wayne
   
  
 








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

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

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

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




Re: [flexcoders] again - DataGrid rows and wows

2006-08-15 Thread Brian

I have seen this problem when I was binding to an Array instead of an 
ArrayCollection.

The datagrid uses the ArrayCollection.getItemAt() function

Make sure your dataProvider is an ArrayCollection and not an Array.

It is easy to make an ArrayCollection it takes and array as source

ArrayCollection id=myAC source=myArray/

then bind to the ArrayCollection.

At least this resolved my problem

--Brian 

On Wed, 2 Aug 2006 12:46:41 +0300, Matti Bar-Zeev wrote:
 Hi list,

 Can someone please tell me if the mess that scrolling a datagrid produces is 
 a known bug or just me doing something wrong?

 What I mean by mess? I mean that the top row goes to the bottom; the bottom 
 row goes to the top only to prevent rendering non-viewable rows. This causes 
 my cell renderers to lose touch with their initial place and stateĀ… and what 
 not.



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

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

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

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





[flexcoders] MediaPlayback for Flex 2

2006-08-15 Thread Bruno Martins



Any one know where I can find it?

Tks..-- Bruno Gustavo MartinsOffice: (11)3443-9527experience everywherehttp://www.dclick.com.br/blog 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



  1   2   >