Re: [flexcoders] Flexbuilder 2B1: coercion error at package declaration, JSON

2006-02-24 Thread Darron J. Schall
Matt Chotin wrote:
 As for JSON I don't think anyone has tried it yet.

Nope, it's been done.  :-)  I wrote a JSON library that is part of a 
larger AS3 library set which will be announced at FlashForward.  See the 
earlier JSON Support thread...

Usage will be as follows:

// package might change to adobe, I'm not sure yet
import com.macromedia.serialization.json.JSON;

var jsonString:String = JSON.encode( someValue );
var value = JSON.decode( jsonString );

Stay tuned, it'll be available soon on the labs website (as open source).

-d






--
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 2.0 and Flash 8

2006-02-24 Thread ashish



if flex2.0 supports or recommed flash player 8.5, then we should use the same recommended versions, unless some features will not be working, or some tags of mxml will be depreciated in the older versions-ashish grover On Fri, Feb 24, 2006 at 7:31 AM, Stephane B. wrote:Is there any way to get an application developed using Flex Builder 2.0 to be viewable with version 8 (not 8.5) of the player? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw ___YAHOO! GROUPS LINKS  • Visit your group  flexcoders http://groups.yahoo.com/group/flexcoders  on the web.  • To unsubscribe from this group, send an email to: [EMAIL PROTECTED] • Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . ___-- Sent using Laszlo Mail. Try it yourself.http://www.laszlomail.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] Re: SOAP message thru http proxy server

2006-02-24 Thread JulianHtun
Thanks Carson.  I found that MyEclipse also came with the TcpMonitor 
and it doesn't cause extra character.

-Julian

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

 You don't have to change the wsdl. It only specifies the default 
location. You can override that in code. 
 
 Where is the extra character you are seeing?  Anything passed in a 
webservice should be technically visible in any text editor. 
 
 Let met know if you'd like me to send you tcptunnelgui. It's 
somehat primitive but effective. 
 
 Carson
 
 
 
 
 
  
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
  
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY ext. 89
 Mobile: 1.703.489.6466
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Sent: Wed Feb 22 23:14:22 2006
 Subject: [flexcoders] Re: SOAP message thru http proxy server
 
 Thanks Carson.  I was using TcpMon from old JBoss.  Looks like the 
 TcpMon version from Matt is newer.
 
 2 downside of TcpMon:
 
 1. We have to heck the WSDL that stored in JBoss to point to 7070 
 (local port).
 2. I'm seeing some extra strange character in TcpMon even the 
latest 
 version.  I'm not sure it's JBoss fault or TcpMon.
 
 -Julian
 
 --- In flexcoders@yahoogroups.com, Carson Hager carson.hager@ 
 wrote:
 
  Another one I meant to mention is tcptunnelgui from Apache SOAP. 
I 
 have
  a bundled version of this with a simplified batch file if you're
  interested in using it.
  
  
  Carson 
  
  
  
   
  Carson Hager
  Cynergy Systems, Inc.
  http://www.cynergysystems.com
   
  Email:  carson.hager@
  Office:  866-CYNERGY
  Mobile: 1.703.489.6466
   
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Matt Chotin
  Sent: Tuesday, February 21, 2006 9:18 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] SOAP message thru http proxy server
  
  https://tcpmon.dev.java.net/
  
  The FES server can also print the debugging information you may be
  looking for.
  
  You could also run a true packet sniffer like Ethereal.
  
  Matt
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of JulianHtun
  Sent: Sunday, February 19, 2006 8:24 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] SOAP message thru http proxy server
  
  Hi,
  
  You know how Java has a HTTP Proxy option when you start a JVM. I 
 want 
  to send all SOAP request message from AS3 script to a HTTP Proxy 
 Server 
  so that I can exam the SOAP content. Is there a way to do that?
  
  TIA,
  -Julian 
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
  
  
  
   
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
 Yahoo! Groups Links







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

2006-02-24 Thread Jyoti Kishnani



You can find details on this topic on below URL

http://labs.macromedia.com/technologies/cf_flexconnectivity/

hope it helps

Jyoti Kishnani
([EMAIL PROTECTED])
On 2/24/06, Dekayd Media Inc. [EMAIL PROTECTED] wrote:
How are you reading data from ColdFusion?If you are using CFC's connected to remote objects then you can already
easily do everything you mentioned.Once you have a remote object tag in flex pointing to a CFC you can any ofits methods just like you could using cfinvoke. There is a working example of an upload form that you can incorporate into
flex. It probably won't work with Flex 2 though but you could open it in anew window.Uploading is easy. You do it just like you would from an html form postingto a coldfusion page.Have fun
--Kelly-Original Message-From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] OnBehalf Of christopherjdunnSent: Thursday, February 23, 2006 7:10 PM
To: flexcoders@yahoogroups.comSubject: [flexcoders] Flex  ColdfusionI'm new to Flex and have been looking to start playing with it. I'm
looking to interface with CF. So far i have only seen examples on howto get data from CF. Can Flex be used to send data to CF? Example:Photo browser, user Flex to create an interface to select a photo toupload, enter a discription, etc the CF uploads the photo and writes
the info to a DB.Any pointers would be great, also, i'm using CF 7.0.1 Standard. I havean sample app working that can read data just fine.Chris--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 ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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] quick Q's: ColdFusion/Flex 2.0 Connectivity...for a Mac

2006-02-24 Thread Barry Beattie
hi guys...

I just want to check a couple of quick details about setting up
Flex2.0 on a Mac.

(1)  Even tho I've got Eclipse (and the CFEclipse plugin) working OK
on the Mac (10.4.5), there isn't FlexBuilder for Mac yet? not even as
a plug-in? this means using ANT scripts or whatever to use the command
line compiler? (BTW, is the Mac's XCode any help?)

(2) I also noticed on the MACR Flex download site that the
ColdFusion/Flex 2.0 Connectivity download is for windows only. is this
still true (and no work-arounds)?
   I ask 'cos I wanted to see if I could
 - install Flex 2.0 server in one of the JRun instances (with CF being
in another)
 - then have CF for the backend and use remoting to connect them

these are baby steps for me trying to branch out from CF and ASP.NET
development and I just need to get my little iBook set up and I'll be
away. so any help is appreciated.

thanx
barry.b


--
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: Using Two returned Fields in a single DG Column.

2006-02-24 Thread Harish Sivaramakrishnan
Have a look at the attached files. This is a sample
implementation of a labelField in datagrid. This picks
up data from an xml, concatenates the first name and
last name into a single datagrid column and displays.
Have a look at the getName() functio  implementation.

Hope this helps,

Harish
Flex-QA
Adobe India.

--- Doug Lowder [EMAIL PROTECTED] wrote:


-
Have a look at DataGridColumn.labelFunction in the
docs.  You can 
specify a function for the column that returns a
concatenation of 
your two fields.

Doug

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

 I have a cfc function that I am using to search my
db and it 
returns
 results as a query. This works fine with my testing.
 
 The issue that I have run into is. How I can use two
returned db
 fields in one dg column. 
 
 Right now I am testing this.
 
 mx:DataGrid x=10 y=67 id=ASDG click=
width=85% 
height=65%
  mx:columns
   mx:DataGridColumn headerText=Name
columnName=FLD_FULLNAME
 FLD_OAFULLNAME/
 /mx:columns
 /mx:DataGrid
 
 The fields I am returning are FLD_FULLNAME AND
FLD_OAFULLNAME.








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

  
-

__
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

* 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/
 
?xml version=1.0 encoding=utf-8?

list

salesrep
name
firstChristina/first
lastCoenraets/last
/name
q11289/q1
q21456/q2
q3987/q3
q41675/q4
/salesrep

salesrep
name
firstLouis/first
lastFreligh/last
/name
q11143/q1
q21543/q2
q31054/q3
q41276/q4
/salesrep

salesrep
name
firstJoanne/first
lastWall/last
/name
q11098/q1
q21345/q2
q3876/q3
q41423/q4
/salesrep

salesrep
name
firstMary/first
lastJones/last
/name
q11145/q1
q21176/q2
q31456/q3
q41522/q4
/salesrep

/list

sample_new.mxml
Description: 3088593788-sample_new.mxml


[flexcoders] Remote Objects in Flex 1.5 Problem

2006-02-24 Thread allister_dickson

I am integrating a Flex frontend with a J2EE backend using Cairngorm 
Framework and RemoteObjects. I am able to successfully retrieve 
information from my java services, but when they are sent back after 
changes are made to the Java Service doesn't always recognise them 
as the correct type of Object, therefore causing a cast exception.

After turning on debugging and logging in both the flex client and 
Java Server I have found the following things.

1) The flex server interprets the objects correctly when passing 
back the results. All the Typed objects are as expected see log 
below as an example:
  [0] = (Typed Object 
#1 'au.com.myplan.domain.financial.FinancialDefaultCategory')
financialCategoryType = (Typed Object 
#5 'au.com.myplan.domain.financial.FinancialCategoryType')
  defaultAccountingTypeId = null
  selected = true
  _remoteClass 
= au.com.myplan.domain.financial.FinancialCategoryType
  description = 
  isNested = true
  new = true
  name = Budget Income
  id = 1.0
accountingTypeId = null
_remoteClass 
= au.com.myplan.domain.financial.FinancialDefaultCategory
new = true
name = Dividends
subDefaultCategories = (Array #6)
id = 43.0

2) When the object is viewed in the flex debugger only the 
associated object financialCategoryType has _remoteClass set and the 
parent object (FinancialDefaultCategory).

3) After changes are made and sent back to the Java Service the log 
only shows that it only understands the associated object and not 
the parent.
[0] = (Object #6)
  id = 43.0
  subDefaultCategories = (Array #7)
  name = Dividends Changed
  new = false
  accountingTypeId = null
  financialCategoryType = (Typed Object 
#8 'au.com.myplan.domain.financial.FinancialCategoryType')
defaultAccountingTypeId = null
selected = false
_remoteClass 
= au.com.myplan.domain.financial.FinancialCategoryType
description = 
isNested = false
new = false
name = Budget Income
id = 1.0
  parentFinancialDefaultCategory = null
  selected = true

4) When the Java Service receives the object it is of type ASObject.


I have read and followed any examples I can find on the net, but I 
haven't found a way of forcing the Flex client to associate the 
objects recieved as the correct Action Script Class. The java log 
messages give the impression that it is configured correctly but 
when the object is in the flex client the _remoteClass is not set 
for the parent object. I have made sure that the ActionScript 
Classes have been register correctly (public static var regClass = 
Object.registerClass
(au.com.myplan.domain.financial.FinancialDefaultCategory,au.com.myp
lan.domain.financial.FinancialDefaultCategory);).

Any help resolving this problem would be appreciated.

Regards,

Allister






--
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] problem with DataService

2006-02-24 Thread cplus_developer
Hello all:
I tried to run the following codes in flex builder 2 :
import mx.rpc.AsyncToken;
import mx.rpc.events.*;
import mx.messaging.events.*;
import mx.utils.ObjectProxy;
private var ds:DataService;
public var noteObj:Object = new Object();
public var getToken:AsyncToken;
public var noteProxy:ObjectProxy;
private function initApp() {
ds = new DataService(notes);
ds.addEventListener(ResultEvent.RESULT, resultHandler);
ds.autoCommit = false;
noteObj.noteId = 1;
noteObj.noteText = This is a test note.;
getToken = ds.getItem(noteObj, noteObj);
}
private function sendMessage() {
noteProxy.noteText = log.text;
ds.commit();
}
public function resultHandler(event:ResultEvent) {
if (event.call == getToken)
{
noteProxy = ObjectProxy(event.result);
noteProxy.addEventListener(ObjectEvent.CHANGE,
changeHandler);
log.text = noteProxy.noteText;
}
}
public function changeHandler(event:ObjectEvent) {
log.text = noteProxy.noteText;
}
]]
/mx:Script
mx:TextArea id=log width=100% height=100%/
mx:Button label=Send click=sendMessage();/
/mx:Application

it sent me back this error:
1 Error found.

Error /tutorials/tutorial1.mxml:1
Content is not allowed in prolog.

1: import mx.rpc.AsyncToken;
2: import mx.rpc.events.*;

Please help me.
Sincerely yours Mohsena






--
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 find out range start date and range end date of selectedRanges of date chooser control,

2006-02-24 Thread venkat eswar



hi,  i am new user of flex2.  now i am doing one module which requires range start date and range end date of selectedRanges of date chooser control.if u specify multipleselection property is "true" in date chooser  it selects range of date.  i want start range date and end range date.  how to capture these dates.  please help me.  thanking u  urs Eraga  
		  
What are the most popular cars? Find out at Yahoo! Autos 






--
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] Flex2 :: TileList :: ScrollBar

2006-02-24 Thread Harish Sivaramakrishnan
Thanks for the code snippet. I have logged this as a
bug for investigation .

Thanks
Harish

Flex-QA
Adobe India.

--- Teoti Graphix [EMAIL PROTECTED] wrote:

 Hello,
 
 This just seems like a dumb question but, I have the
 code below;
 
 [code]
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application
 xmlns:mx=http://www.macromedia.com/2005/mxml;
 xmlns=*
 layout=vertical
 creationComplete=addHoldsToList();
 
 mx:Script
 ![CDATA[
 import HandHold;
 
 var dp:Array =
 [
 {name:HandHold 1,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 2,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 3,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 4,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 5,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 6,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 7,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 8,
 source:images/icon_projectsLarge.png},
 
 {name:HandHold 9,
 source:images/icon_projectsLarge.png},
 {name:HandHold 10,
 source:images/icon_projectsLarge.png},
 {name:HandHold 11,
 source:images/icon_projectsLarge.png},
 {name:HandHold 12,
 source:images/icon_projectsLarge.png},
 {name:HandHold 13,
 source:images/icon_projectsLarge.png},
 {name:HandHold 14,
 source:images/icon_projectsLarge.png},
 {name:HandHold 15,
 source:images/icon_projectsLarge.png}
 ];
 
 public function addHoldsToList()
 {
 }
 
 ]]
 /mx:Script
 
 mx:Panel width=750 height=600
 layout=absolute
 
 mx:TileList x=10 y=10 height=549
 width=200
 dataProvider={dp}
 direction=vertical
 id=holdList
 listItemRenderer=HandHold
 columnCount=1
 selectedIndex=2
 /mx:TileList
 
 /mx:Panel
 
 /mx:Application
 
 [/code]
 
 
 Why is the vertical scrollbar not showing? There is
 defintely enough items
 in the dp to register the scroll bar.
 
 If I ture vScrollPolicy to on, the scroll bar is
 there but no
 setScrollProperties(0 has been called on it?
 
 Any thoughts?
 
 Peace, Mike
 


__
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

* 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] Remote Objects in Flex 1.5 Problem

2006-02-24 Thread allister_dickson

I am integrating a Flex frontend with a J2EE backend using Cairngorm 
Framework and RemoteObjects. I am able to successfully retrieve 
information from my java services, but when they are sent back after 
changes are made to the Java Service doesn't always recognise them 
as the correct type of Object, therefore causing a cast exception.

After turning on debugging and logging in both the flex client and 
Java Server I have found the following things.

1) The flex server interprets the objects correctly when passing 
back the results. All the Typed objects are as expected see log 
below as an example:
  [0] = (Typed Object 
#1 'au.com.myplan.domain.financial.FinancialDefaultCategory')
financialCategoryType = (Typed Object 
#5 'au.com.myplan.domain.financial.FinancialCategoryType')
  defaultAccountingTypeId = null
  selected = true
  _remoteClass 
= au.com.myplan.domain.financial.FinancialCategoryType
  description = 
  isNested = true
  new = true
  name = Budget Income
  id = 1.0
accountingTypeId = null
_remoteClass 
= au.com.myplan.domain.financial.FinancialDefaultCategory
new = true
name = Dividends
subDefaultCategories = (Array #6)
id = 43.0

2) When the object is viewed in the flex debugger only the 
associated object financialCategoryType has _remoteClass set and the 
parent object (FinancialDefaultCategory).

3) After changes are made and sent back to the Java Service the log 
only shows that it only understands the associated object and not 
the parent.
[0] = (Object #6)
  id = 43.0
  subDefaultCategories = (Array #7)
  name = Dividends Changed
  new = false
  accountingTypeId = null
  financialCategoryType = (Typed Object 
#8 'au.com.myplan.domain.financial.FinancialCategoryType')
defaultAccountingTypeId = null
selected = false
_remoteClass 
= au.com.myplan.domain.financial.FinancialCategoryType
description = 
isNested = false
new = false
name = Budget Income
id = 1.0
  parentFinancialDefaultCategory = null
  selected = true

4) When the Java Service receives the object it is of type ASObject.


I have read and followed any examples I can find on the net, but I 
haven't found a way of forcing the Flex client to associate the 
objects recieved as the correct Action Script Class. The java log 
messages give the impression that it is configured correctly but 
when the object is in the flex client the _remoteClass is not set 
for the parent object. I have made sure that the ActionScript 
Classes have been register correctly (public static var regClass = 
Object.registerClass
(au.com.myplan.domain.financial.FinancialDefaultCategory,au.com.myp
lan.domain.financial.FinancialDefaultCategory);).

Any help resolving this problem would be appreciated.

Regards,

Allister





--
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] DataGrid automatic height

2006-02-24 Thread Alberto Albericio Salvador
Hi all,

Is there any property on the DataGrid component to automatically resize 
the datagrid to show the number of items of its dataProvider?

I use height=dataProviders.length * Number but it's not exact enough

Thanks

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



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

* 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] Compress String

2006-02-24 Thread Luís Gustavo Sanabio



Hi.. I would like to compress a String and send it to a server.I used compress() function of ByteArray and worked fine.But I need to do reverse, and the uncompress() function did not works.The uncompress() function only works in the SAME instance of ByteArray. (arrggh)
Is there another way to compress a string?Or any other custom function to compress?thanks !






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] how to find out range start date and range end date of selectedRanges of date chooser control,

2006-02-24 Thread Harish Sivaramakrishnan
Hi

Please go through the attached file. Hopefully this
must solve your problem. however, the selectedRanges
property is capable of returning multiple ranges as an
array of objects. The example I have attached will
handle only one range. For getting values across
ranges you must loop through the array and get the
values. Also Please change allowMultipleSelection
property to multipleSeletion in the attached file
before you compile.

Hope this helps,

Harish
Flex-QA
Adobe India.

--- venkat eswar [EMAIL PROTECTED] wrote:

 hi,
   i am new user of flex2.
   now i am doing one module which requires range
 start  date and range end date  of selectedRanges of
 date chooser control.

   if  u specify multipleselection property is true
 in date chooser
it selects range of date.
   i want  start range date and end range date.
   how to capture these dates.
   please help me.
   thanking u
   urs Eraga

 
   
 -
  
  What are the most popular cars? Find out at Yahoo!
 Autos 

__
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

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


datechooserquestion.mxml
Description: 502419040-datechooserquestion.mxml


Re: [flexcoders] Compress String

2006-02-24 Thread Anatole Tartakovsky





Why do not just set compression filter on the 
server and list URLs worth compressing there ? The http protocol will transport 
compressed info over wire anddeliver uncompressed information to the 
player. Seems you would get larger benefit with much less work and transparent 
solution.
Thank you,
Anatole Tartakovsky


  - Original Message - 
  From: 
  Luís Gustavo 
  Sanabio 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, February 24, 2006 9:04 
  AM
  Subject: [flexcoders] Compress 
  String
  Hi.. I would like to compress a String and send it to a 
  server.I used compress() function of ByteArray and worked fine.But I 
  need to do reverse, and the uncompress() function did not works.The 
  uncompress() function only works in the SAME instance of ByteArray. 
  (arrggh) Is there another way to compress a string?Or any 
  other custom function to compress?thanks !





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] DataGrid automatic height

2006-02-24 Thread Jonathan Miranda












Id love to figure this out also,
especially if you use variableRowHeight=true

_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w  (720)
963-3832

c  (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee.  If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a hard-copy
version.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Salvador
Sent: Friday, February 24, 2006
6:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
automatic height





Hi all,

Is there any property on the DataGrid component to
automatically resize 
the datagrid to show the number of items of its
dataProvider?

I use height=dataProviders.length *
Number but it's not exact enough

Thanks

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









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








  
  
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 2.0 and Flash 8

2006-02-24 Thread Jonathan Miranda












If you set the Detect Flash Version
8.5 and check Express Install in the Flex 2 builder, it
doesnt work at all (Ive had to have clients manually install the
playerwhich also requires admin rights, which is annoying)  they just
see a solid blue screen. Is this working as intended or a known bug?

_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a hard-copy
version.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Friday, February 24, 2006
12:29 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0
and Flash 8





Nope, sorry. Flex 2 will only work
with 8.5.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stephane B.
Sent: Thursday, February 23, 2006
6:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 and
Flash 8





Is there any way to get an application developed using Flex
Builder 2.0 to be viewable with version 8 (not 8.5) of the player?










--
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] Remote Objects in Flex 1.5 Problem

2006-02-24 Thread Graham, Jason
You have something in your class that the serialization layer is having
a problem with.  Make sure in your class you don't have any static final
fields.  This will cause a problem because the serialization layer going
from java to flex sends these fields across, when you send the object
back to java it blows up trying to set those fields.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of allister_dickson
Sent: Friday, February 24, 2006 12:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote Objects in Flex 1.5 Problem


I am integrating a Flex frontend with a J2EE backend using Cairngorm 
Framework and RemoteObjects. I am able to successfully retrieve 
information from my java services, but when they are sent back after 
changes are made to the Java Service doesn't always recognise them 
as the correct type of Object, therefore causing a cast exception.

After turning on debugging and logging in both the flex client and 
Java Server I have found the following things.

1) The flex server interprets the objects correctly when passing 
back the results. All the Typed objects are as expected see log 
below as an example:
  [0] = (Typed Object 
#1 'au.com.myplan.domain.financial.FinancialDefaultCategory')
financialCategoryType = (Typed Object 
#5 'au.com.myplan.domain.financial.FinancialCategoryType')
  defaultAccountingTypeId = null
  selected = true
  _remoteClass 
= au.com.myplan.domain.financial.FinancialCategoryType
  description = 
  isNested = true
  new = true
  name = Budget Income
  id = 1.0
accountingTypeId = null
_remoteClass 
= au.com.myplan.domain.financial.FinancialDefaultCategory
new = true
name = Dividends
subDefaultCategories = (Array #6)
id = 43.0

2) When the object is viewed in the flex debugger only the 
associated object financialCategoryType has _remoteClass set and the 
parent object (FinancialDefaultCategory).

3) After changes are made and sent back to the Java Service the log 
only shows that it only understands the associated object and not 
the parent.
[0] = (Object #6)
  id = 43.0
  subDefaultCategories = (Array #7)
  name = Dividends Changed
  new = false
  accountingTypeId = null
  financialCategoryType = (Typed Object 
#8 'au.com.myplan.domain.financial.FinancialCategoryType')
defaultAccountingTypeId = null
selected = false
_remoteClass 
= au.com.myplan.domain.financial.FinancialCategoryType
description = 
isNested = false
new = false
name = Budget Income
id = 1.0
  parentFinancialDefaultCategory = null
  selected = true

4) When the Java Service receives the object it is of type ASObject.


I have read and followed any examples I can find on the net, but I 
haven't found a way of forcing the Flex client to associate the 
objects recieved as the correct Action Script Class. The java log 
messages give the impression that it is configured correctly but 
when the object is in the flex client the _remoteClass is not set 
for the parent object. I have made sure that the ActionScript 
Classes have been register correctly (public static var regClass = 
Object.registerClass
(au.com.myplan.domain.financial.FinancialDefaultCategory,au.com.myp
lan.domain.financial.FinancialDefaultCategory);).

Any help resolving this problem would be appreciated.

Regards,

Allister





--
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] Problem with Actionscript to Java object conversion

2006-02-24 Thread Barrau Antoine
Hi,
i'm currently experiencing a problem with the
conversion of an actionscript class to a java class
during a service call with Flex 1.5.
I get a the following error when trying to call an
update service : 
The expected argument types are (myPackage.UserData)
but the supplied types were (flashgateway.io.ASObject)
and converted to (null).

My UserData java object has the following properties :


private String userId;
private String firstname;
private String lastname;
private String email;
private Map properties;


and thus, my corresponding PersonalDetailsVO value
object has the following properties : 

public var userId:String ;
public var email:String;
public var firstname:String;
public var lastname:String;
public var properties:Object;
public static var registered:Boolean =
Object.registerClass( myPackage.UserData,
PersonalDetailsVO );



The java method i call from Flex is : 

public boolean update(UserData userData)

and i call it with a : 

service.update(personalDetails);

where personalDetails is a PersonalDetailsVO




The weird thing is that in a first call to get an
existing value for my UserData, everything goes fine
and i get a valid PersonalDetailsVO in my Flex
application. But when i try to call an update with a
UserData parameter, i had the previous error.

Anyone got a clue?:(

Thanks a lot,

Antoine








___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


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

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

* 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] Problem with Actionscript to Java object conversion

2006-02-24 Thread Barrau Antoine
oups, i've just seen a previous post from Jason Graham
giving me a possible solution (i do have static final
properties in my Java class..:))

Sorry for this repost.

Antoine

--- Barrau Antoine [EMAIL PROTECTED] a écrit :


-
Hi,
i'm currently experiencing a problem with the
conversion of an actionscript class to a java class
during a service call with Flex 1.5.
I get a the following error when trying to call an
update service : 
The expected argument types are (myPackage.UserData)
but the supplied types were (flashgateway.io.ASObject)
and converted to (null).

My UserData java object has the following properties :


private String userId;
private String firstname;
private String lastname;
private String email;
private Map properties;


and thus, my corresponding PersonalDetailsVO value
object has the following properties : 

public var userId:String ;
public var email:String;
public var firstname:String;
public var lastname:String;
public var properties:Object;
public static var registered:Boolean =
Object.registerClass( myPackage.UserData,
PersonalDetailsVO );



The java method i call from Flex is : 

public boolean update(UserData userData)

and i call it with a : 

service.update(personalDetails);

where personalDetails is a PersonalDetailsVO




The weird thing is that in a first call to get an
existing value for my UserData, everything goes fine
and i get a valid PersonalDetailsVO in my Flex
application. But when i try to call an update with a
UserData parameter, i had the previous error.

Anyone got a clue?:(

Thanks a lot,

Antoine




  

  

___

Nouveau : téléphonez moins cher avec Yahoo! Messenger
! Découvez les tarifs exceptionnels pour appeler la
France et l'international.
Téléchargez sur http://fr.messenger.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

  

  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.

  
-









___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


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

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

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

2006-02-24 Thread Jeremy Rottman
I have this datagrid

mx:DataGrid x=10 y=67 id=ASDG width=90% height=65%
mx:columns
mx:DataGridColumn headerText=Name columnName=FLD_FULLNAME 
/
mx:DataGridColumn headerText=Company 
columnName=FLD_USEREMAIL/
mx:DataGridColumn headerText=Address 
columnName=FLD_ADDRESS/
mx:DataGridColumn headerText=Agent Id visible=false
columnName=FLD_USERLOGIN/
mx:DataGridColumn headerText=Side columnName={agentType}
cellRenderer=ComboBoxCellRenderer /
/mx:columns
/mx:DataGrid

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

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






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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] SWF Object/Embed tags (Flex/Flex 2/Flash 7+)

2006-02-24 Thread Darin Kohles
I recently had a colleague recommend not using the Embed tag for
loading SWF files into html. I personally use swifs generated from
multiple applications and I've currently got FP 8.5 on my main browser
apps (IE/Moz-FF). I'm wondering if there is a definitive statement
from someone who develops the applications in question
(Cartman:'respect my authoritay') who can definately say what
attributes/params are actually required and what are purely
optional. Unfortunately for me, I have to check platform/browser
compliance for everything I produce (IE 5 - mac!!!) so I'd like to not
have conflicts.

My most recent usage is the following:

object width=760 height=580 data=/media/swf/vault.swf
type=application/x-shockwave-flash id=vault name=vault
param name=allowScriptAccess value=sameDomain/
param name='FlashVars'
value=clientID=10serverURL=http://idp05gwas.d-p.com;
param name=movie value=/media/swf/vault.swf /
param name=quality value=high /
param name=bgcolor value=#ff /
/object

Changing/adding stuff gives me inconsistent behaviors. For example
codebase and classid attributes of the object tag cause failures in
Firefox and IE respectively. Maybe this is a DOCTYPE issue, but I
really could use a difinitive answer from a TIC (Those/Them In Charge).

Thanks for you time. 





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

2006-02-24 Thread Sauro, Nick










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











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





I have this datagrid

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

 mx:DataGridColumn
headerText=Name columnName=FLD_FULLNAME /

 mx:DataGridColumn
headerText=Company columnName=FLD_USEREMAIL/

 mx:DataGridColumn
headerText=Address columnName=FLD_ADDRESS/

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

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

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

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












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: Unable to use custom cell renders

2006-02-24 Thread Jeremy Rottman
Do you know the FQO for the combobox cell render. I searched the
livedocs and could not find it.

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

 I had a similar problem, and using the fully qualified object
 name(mx.controls) worked.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jeremy Rottman
 Sent: Friday, February 24, 2006 11:37 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Unable to use custom cell renders
 
  
 
 I have this datagrid
 
 mx:DataGrid x=10 y=67 id=ASDG width=90% height=65%
   mx:columns
 mx:DataGridColumn headerText=Name
 columnName=FLD_FULLNAME /
 mx:DataGridColumn headerText=Company
 columnName=FLD_USEREMAIL/
 mx:DataGridColumn headerText=Address
 columnName=FLD_ADDRESS/
 mx:DataGridColumn headerText=Agent Id visible=false
 columnName=FLD_USERLOGIN/
 mx:DataGridColumn headerText=Side
 columnName={agentType}
 cellRenderer=ComboBoxCellRenderer /
   /mx:columns
 /mx:DataGrid
 
 In it I am trying to use the cellerRenderer ComboboxCellerRenderer,
 and populate it with the bindable array agentType. I have imported the
 mx tools below. Does anyone know why I wouldnt be able to use this
 custom cell render? It tells me Access of undefined proptery
 'ComboBoxCellRenderer.
 
 import mx.controls.listclasses.*;
 import mx.controls.*;
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw  
 
 Software development best practice
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  
 
  
 
  
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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] LinkBar for viewStack

2006-02-24 Thread rgwilson26
I would like to know if there is a way to allow a link that has been 
clicked to stay highlighted with relation to what viewstack item is 
displayed? I have all forms under one viewstack (on the right), with 
multiple navigation menus/linkbars (in another viewstack on the 
left...vertical alignment). At the moment I am using vs.selectedChild 
for each link to specify which viewStack component to navigate to, but 
links will not stay highlighted with regards to their given component. 
Is there a propery that will allow this? Also, is there a way to pass 
an ID instead of the string for a reference in a click event as shown 
below?

Thanks,

event.id does not work...I want to pass the id of the string and not 
the label.


mx:LinkBar click={'vs.selectedChild=' + String(event.id)} 
direction=vertical
mx:dataProvider
mx:Array
mx:String id=link1Link 1/mx:String
mx:String id=link2Link 2/mx:String
/mx:Array
/mx:dataProvider
/mx:LinkBar





--
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] DataGrid columnStretch (1.5)

2006-02-24 Thread Brendan Meutzner
Hi,

I have a method which calculates the width/position of my column
headercells within my datagrid.  If the datagrid resizes, and i call
my method, it re-calculates the widths/positions just fine.

mx:DataGrid id=myGrid resize=determineTopDividerX() /


private function determineTopDividerX():Void
{
topDividerX_left =
periodDataGrid.getColumnAt(periodDataGrid.getColumnIndex('col1')).headerCell.x;

topDividerX_middle =
periodDataGrid.getColumnAt(periodDataGrid.getColumnIndex('col2')).headerCell.x;
}

However, when a columnStretch event occurs (a user expands/contracts a
column width manually with the column header seperators) it seems that
the new measurements are not set soon enough for me to re-measure from
that event.

mx:DataGrid id=myGrid columnStretch=determineTopDividerX() /

I've tried delaying the method call, using a doLater, etc... with no
luck.  Anybody have some advice they could offer?

Much appreciated,

Brendan






--
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] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread Vadim Melnik





Hi All,

I've got runtime ActionScript 
errorwhen "return" statement placed inside try/finally block. Small test 
case attached below, it reports me:

VerifyError: Error 
#1068: void and * cannot be reconciled.

Is it correct AS3 
behaviour?


?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" 
creationComplete="test1()"mx:Script![CDATA[private 
function test1():void{var i:int = 0;try 
{i = 1;if( i==2 )return; 
// - error statement } finally 
{i = 
0;}}]]/mx:Script/mx:Application

--
Thanks,
Vadim.





--
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] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread João Fernandes










Isnt missing a { after the if(
i==2 )?





João Fernandes
Sistemas
de Informação

Programador
Informático
Cofina media

Avenida
João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel
(+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik
Sent: sexta-feira, 24 de Fevereiro
de 2006 17:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Runtime
Error #1068: void and * cannot be reconciled







Hi All,











I've got runtime
ActionScript errorwhen return statement placed inside
try/finally block. Small test case attached below, it reports me:











VerifyError:
Error #1068: void and * cannot be reconciled.











Is it correct AS3
behaviour?

















?xml
version=1.0 encoding=utf-8?
mx:Application
xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* creationComplete=test1()
mx:Script![CDATA[
private function test1():void
{
var i:int = 0;
try {
i = 1;
if( i==2 )
return; // - error statement 
}
finally {
i = 0;
}
}
]]/mx:Script/mx:Application











--





Thanks,





Vadim.











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Unable to use custom cell renders

2006-02-24 Thread Sauro, Nick










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











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





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

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

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

mx:columns

mx:DataGridColumn headerText=Name
 columnName=FLD_FULLNAME /

mx:DataGridColumn headerText=Company
 columnName=FLD_USEREMAIL/

mx:DataGridColumn headerText=Address
 columnName=FLD_ADDRESS/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Full dynamic tree example

2006-02-24 Thread Pat Buchanan



Hello fellow Flex coders! Greetings from the frozen state of Utah.Well, I'm stuck. I see a lot of people asking for examples of how to do a dynamic tree. Dynamic as in JUST loading the first level of nodes, and when the user opens a node, it calls back to the server, gets it's children, and adds them to the tree dynamically.
(The reason I can't load the tree all at once is because it can be recursive, so the tree would go forever.)Anyway, I have searched the list archive and I see a LOT of answers with either a quick explanation or tiny partial code snippet, but have yet to find a COMPLETE running example. Every time I find what I'm looking for via Google, it links back to a certain pay site and I can't justify $250 for a few lines of example code.
Does anyone know of a fully working dynamic tree example with source?I'm POSITIVE it's right under my nose and I'll feel like a twinkie when it's pointed out to me. :(Thanks ya'all-Pat Buchanan







--
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] Compress String

2006-02-24 Thread Luís Gustavo Sanabio



Ok.. It's a way.Do you know how to set compression filter at IIS ? I'm using PHP.It will work on IE and Firefox?thanks,Gustavo (from Brazil)On 2/24/06, 
Anatole Tartakovsky [EMAIL PROTECTED] wrote:









Why do not just set compression filter on the 
server and list URLs worth compressing there ? The http protocol will transport 
compressed info over wire anddeliver uncompressed information to the 
player. Seems you would get larger benefit with much less work and transparent 
solution.
Thank you,
Anatole Tartakovsky


  - Original Message - 
  
From: 
  Luís Gustavo 
  Sanabio 
  To: 
flexcoders@yahoogroups.com 
  Sent: Friday, February 24, 2006 9:04 
  AM
  Subject: [flexcoders] Compress 
  String
  Hi.. I would like to compress a String and send it to a 
  server.I used compress() function of ByteArray and worked fine.But I 
  need to do reverse, and the uncompress() function did not works.The 
  uncompress() function only works in the SAME instance of ByteArray. 
  (arrggh) Is there another way to compress a string?Or any 
  other custom function to compress?thanks !





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

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









  
  
SPONSORED LINKS
  
  
  


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 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] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread Vadim Melnik
Hi João,

 Isn't missing a { after the   if( i==2 )? 

In my understanding missed { will cause compilation error, but this code 
compiles w/o any problem and throws exception at runtime. Probably it's 
mxmlc or AS3 engine bug, similar code worked well with previous Flex 
1.5/AS2. Anyway surrounding return statement with {} doesn't help, to fix 
this problem code has to be rewritten using if/else statements to prevent 
return usage.

--
Thanks,
Vadim.
- Original Message - 
From: João Fernandes
To: flexcoders@yahoogroups.com
Sent: Friday, February 24, 2006 7:37 PM
Subject: RE: [flexcoders] Runtime Error #1068: void and * cannot be 
reconciled


Isn't missing a { after the   if( i==2 )?

João Fernandes
Sistemas de Informação
Programador Informático
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of Vadim Melnik
Sent: sexta-feira, 24 de Fevereiro de 2006 17:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Runtime Error #1068: void and * cannot be reconciled

Hi All,

I've got runtime ActionScript error when return statement placed inside 
try/finally block. Small test case attached below, it reports me:

VerifyError: Error #1068: void and * cannot be reconciled.

Is it correct AS3 behaviour?


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* 
creationComplete=test1()
mx:Script![CDATA[
private function test1():void
{
 var i:int = 0;
 try {
  i = 1;
  if( i==2 )
   return; // - error statement
 } finally {
  i = 0;
 }
}
]]/mx:Script/mx:Application

--
Thanks,
Vadim.



--
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 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] LinkBar for viewStack

2006-02-24 Thread Daniel Cascais
I think this is what you are looking for:

mx:LinkBar dataProvider=myViewStack /

On 2/24/06, rgwilson26 [EMAIL PROTECTED] wrote:
 I would like to know if there is a way to allow a link that has been
 clicked to stay highlighted with relation to what viewstack item is
 displayed? I have all forms under one viewstack (on the right), with
 multiple navigation menus/linkbars (in another viewstack on the
 left...vertical alignment). At the moment I am using vs.selectedChild
 for each link to specify which viewStack component to navigate to, but
 links will not stay highlighted with regards to their given component.
 Is there a propery that will allow this? Also, is there a way to pass
 an ID instead of the string for a reference in a click event as shown
 below?

 Thanks,

 event.id does not work...I want to pass the id of the string and not
 the label.
 

 mx:LinkBar click={'vs.selectedChild=' + String(event.id)}
 direction=vertical
 mx:dataProvider
 mx:Array
 mx:String id=link1Link 1/mx:String
 mx:String id=link2Link 2/mx:String
 /mx:Array
 /mx:dataProvider
 /mx:LinkBar





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









--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355


--
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] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread Carolyn Cole




Just a guess here...
You defined the function as void. When you call the return
statement with no value it probably gets the * type.
You could define your function to have a return type you do not use, or
drop the void return type. 
At 01:04 PM 2/24/2006, you wrote:
Hi João,
 Isn't missing a { after the if( i==2 )?

In my understanding missed { will cause compilation error, but this code

compiles w/o any problem and throws exception at runtime. Probably it's

mxmlc or AS3 engine bug, similar code worked well with previous Flex

1.5/AS2. Anyway surrounding return statement with {} doesn't help, to fix

this problem code has to be rewritten using if/else statements to prevent

return usage.
--
Thanks,
Vadim.
- Original Message - 
From: João Fernandes
To: flexcoders@yahoogroups.com
Sent: Friday, February 24, 2006 7:37 PM
Subject: RE: [flexcoders] Runtime Error #1068: void and * cannot be 
reconciled

Isn't missing a { after the if( i==2 )?
João Fernandes
Sistemas de Informação
Programador Informático
Cofina media
Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

From: flexcoders@yahoogroups.com
[
mailto:flexcoders@yahoogroups.com] On 
Behalf Of Vadim Melnik
Sent: sexta-feira, 24 de Fevereiro de 2006 17:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Runtime Error #1068: void and * cannot be
reconciled
Hi All,
I've got runtime ActionScript error when return statement
placed inside 
try/finally block. Small test case attached below, it reports
me:
VerifyError: Error #1068: void and * cannot be reconciled.
Is it correct AS3 behaviour?

?xml version=1.0 encoding=utf-8?
mx:Application
xmlns:mx=
http://www.macromedia.com/2005/mxml xmlns=* 
creationComplete=test1()
mx:Script![CDATA[
private function test1():void
{
var i:int = 0;
try {
 i = 1;
 if( i==2 )
 return; // - error statement
} finally {
 i = 0;
}
}
]]/mx:Script/mx:Application
--
Thanks,
Vadim.

--
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 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] DataGrid automatic height

2006-02-24 Thread Dustin Mercer










What did you use for number?  What about height={(dg.dataProvider.length
* dg.rowHeight) + 2} you might need the + 2 there to account for
the 1px border on top and bottom.  For the variableRowHeight, you will have to
do a lot more work.  It will be very tough since you cannot just loop through
the rows to find their heights, because the hidden rows arent drawn yet ;) 
So that will take so creativity.  Maybe someone else has an idea on that, in
the mean time, I will play with the idea.  Hope this works for normal row
heights though.



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
7:23 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid
automatic height







Id love to figure this out also,
especially if you use variableRowHeight=true

_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w
(720) 963-3832

c
(707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alberto Albericio Salvador
Sent: Friday, February 24, 2006
6:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
automatic height





Hi all,

Is there any property on the DataGrid component to
automatically resize 
the datagrid to show the number of items of its
dataProvider?

I use height=dataProviders.length *
Number but it's not exact enough

Thanks

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] DataGrid automatic height

2006-02-24 Thread Jonathan Miranda












If you can find a way to find out
rowHeight by actionscript with variableRowHeight=true, more power to you 
Im still stumped on this.

_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w  (720)
963-3832

c  (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee.  If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a hard-copy
version.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dustin Mercer
Sent: Friday, February 24, 2006
11:40 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid
automatic height





What did you use for number? What
about height={(dg.dataProvider.length * dg.rowHeight) + 2}
you might need the + 2 there to account for the 1px border on top and
bottom. For the variableRowHeight, you will have to do a lot more
work. It will be very tough since you cannot just loop through the rows
to find their heights, because the hidden rows arent drawn yet ;)
So that will take so creativity. Maybe someone else has an idea on that,
in the mean time, I will play with the idea. Hope this works for normal
row heights though.



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
7:23 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid
automatic height







Id love to figure this out also,
especially if you use variableRowHeight=true

_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w
(720) 963-3832

c
(707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alberto Albericio Salvador
Sent: Friday, February 24, 2006
6:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
automatic height





Hi all,

Is there any property on the DataGrid component to
automatically resize 
the datagrid to show the number of items of its
dataProvider?

I use height=dataProviders.length *
Number but it's not exact enough

Thanks

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











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








  
  
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: Full dynamic tree example

2006-02-24 Thread Brendan Meutzner
Pat,

Have a look at the object inspector tool in the FAST toolkit...

http://www.macromedia.com/devnet/flex/articles/fast_userguide.html

Pay attention to:

EchoConsole.mxml
EchoConsoleconnection.as
EchoAppConnection.as

You'll have to figure out your remote calls, but this does show the
dynamic construction of a tree dataProvider might help...


Brendan



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

 Hello fellow Flex coders!  Greetings from the frozen state of Utah.
 
 Well, I'm stuck.  I see a lot of people asking for examples of how
to do a
 dynamic tree.  Dynamic as in JUST loading the first level of nodes,
and when
 the user opens a node, it calls back to the server, gets it's
children, and
 adds them to the tree dynamically.
 
 (The reason I can't load the tree all at once is because it can be
 recursive, so the tree would go forever.)
 
 Anyway, I have searched the list archive and I see a LOT of answers with
 either a quick explanation or tiny partial code snippet, but have yet to
 find a COMPLETE running example.  Every time I find what I'm looking
for via
 Google, it links back to a certain pay site and I can't justify $250
for a
 few lines of example code.
 
 Does anyone know of a fully working dynamic tree example with source?
 
 I'm POSITIVE it's right under my nose and I'll feel like a twinkie
when it's
 pointed out to me.  :(
 
 Thanks ya'all
 -Pat Buchanan







--
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] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread Vadim Melnik
Hi Carolyn,

Thanks for assumption. Yes, I can define function return type other than 
void and it also works fine. It's not critical issue for me, there are few 
workarounds. But out of curiosity, why the return ;  statement throws 
runtime error in the original example, but works well outside of try/finally 
block:

snip

private function test1():void
{
var i:int = 0;
if( i==2 )
  return; // - it's OK
}

/snip

--
Thanks,
Vadim.

- Original Message - 
From: Carolyn Cole
To: flexcoders@yahoogroups.com
Sent: Friday, February 24, 2006 8:16 PM
Subject: Re: [flexcoders] Runtime Error #1068: void and * cannot be 
reconciled


Just a guess here...

You defined the function as void.  When you call the return statement with 
no value it probably gets the * type.

You could define your function to have a return type you do not use, or drop 
the void return type.

At 01:04 PM 2/24/2006, you wrote:

Hi João,

 Isn't missing a { after the   if( i==2 )? 

In my understanding missed { will cause compilation error, but this code
compiles w/o any problem and throws exception at runtime. Probably it's
mxmlc or AS3 engine bug, similar code worked well with previous Flex
1.5/AS2. Anyway surrounding return statement with {} doesn't help, to fix
this problem code has to be rewritten using if/else statements to prevent
return usage.

--
Thanks,
Vadim.
- Original Message - 
From: João Fernandes
To: flexcoders@yahoogroups.com
Sent: Friday, February 24, 2006 7:37 PM
Subject: RE: [flexcoders] Runtime Error #1068: void and * cannot be
reconciled


Isn't missing a { after the   if( i==2 )?

João Fernandes
Sistemas de Informação
Programador Informático
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]



From: flexcoders@yahoogroups.com [ mailto:[EMAIL PROTECTED] On
Behalf Of Vadim Melnik
Sent: sexta-feira, 24 de Fevereiro de 2006 17:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Runtime Error #1068: void and * cannot be reconciled

Hi All,

I've got runtime ActionScript error when return statement placed inside
try/finally block. Small test case attached below, it reports me:

VerifyError: Error #1068: void and * cannot be reconciled.

Is it correct AS3 behaviour?


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx= http://www.macromedia.com/2005/mxml; xmlns=*
creationComplete=test1()
mx:Script![CDATA[
private function test1():void
{
var i:int = 0;
try {
  i = 1;
  if( i==2 )
   return; // - error statement
} finally {
  i = 0;
}
}
]]/mx:Script/mx:Application

--
Thanks,
Vadim.



--
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 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 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 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] Compress String

2006-02-24 Thread Anatole Tartakovsky





IIS standard compression filter works only "second 
time" - ie it compresses the resource for future requests while sending the 
first one out - not good for dynamic requests. You would need to set it up on 
PHP layer - please see if the options are available in your 
packages/gateway.
Thanks,
Anatole


  - Original Message - 
  From: 
  Luís Gustavo 
  Sanabio 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, February 24, 2006 12:53 
  PM
  Subject: Re: [flexcoders] Compress 
  String
  Ok.. It's a way.Do you know how to set compression filter 
  at IIS ? I'm using PHP.It will work on IE and 
  Firefox?thanks,Gustavo (from Brazil)
  On 2/24/06, Anatole 
  Tartakovsky [EMAIL PROTECTED] wrote:
  
Why do not just set compression filter on the 
server and list URLs worth compressing there ? The http protocol will 
transport compressed info over wire anddeliver uncompressed 
information to the player. Seems you would get larger benefit with much less 
work and transparent solution.
Thank you,
Anatole Tartakovsky


  
  - 
  Original Message - 
  From: 
  Luís Gustavo Sanabio 
  
  To: 
  flexcoders@yahoogroups.com 
  Sent: 
  Friday, February 24, 2006 9:04 AM
  Subject: 
  [flexcoders] Compress String
  Hi.. I would like to compress a String and send it to a 
  server.I used compress() function of ByteArray and worked fine.But 
  I need to do reverse, and the uncompress() function did not works.The 
  uncompress() function only works in the SAME instance of ByteArray. 
  (arrggh) Is there another way to compress a string?Or any 
  other custom function to compress?thanks 
  !--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  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 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: Full dynamic tree example

2006-02-24 Thread Jignesh Dodiya



Its seems to be really a helpfull material, keep posting such links Brendan
On 2/25/06, Brendan Meutzner [EMAIL PROTECTED] wrote:
Pat,Have a look at the object inspector tool in the FAST toolkit...
http://www.macromedia.com/devnet/flex/articles/fast_userguide.htmlPay attention to:EchoConsole.mxmlEchoConsoleconnection.asEchoAppConnection.asYou'll have to figure out your remote calls, but this does show the
dynamic construction of a tree dataProvider might help...Brendan 
--- In flexcoders@yahoogroups.com, Pat Buchanan [EMAIL PROTECTED] wrote:
 Hello fellow Flex coders! Greetings from the frozen state of Utah.  Well, I'm stuck. I see a lot of people asking for examples of howto do a dynamic tree. Dynamic as in JUST loading the first level of nodes,
and when the user opens a node, it calls back to the server, gets it'schildren, and adds them to the tree dynamically.  (The reason I can't load the tree all at once is because it can be
 recursive, so the tree would go forever.)  Anyway, I have searched the list archive and I see a LOT of answers with either a quick explanation or tiny partial code snippet, but have yet to
 find a COMPLETE running example. Every time I find what I'm lookingfor via Google, it links back to a certain pay site and I can't justify $250for a few lines of example code. 
 Does anyone know of a fully working dynamic tree example with source?  I'm POSITIVE it's right under my nose and I'll feel like a twinkiewhen it's pointed out to me. :(  Thanks ya'all
 -Pat Buchanan
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- jignesh dodiya 






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

2006-02-24 Thread Mehdi, Agha
Title: TreeGridCellRenderer







First of all I'd like to thank James for this great contribution. I am using it in pre-production mode of one of my apps and everyone loves it. How can I make it so that users can also expand the node by clicking on the item and not just the arrow?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 209.275.0482

Fax : 408.284.2766









--
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] General quick questions

2006-02-24 Thread Jonathan Miranda










Before I go off and research, wondering if anyone has
tackled these before so thought Id ask here.

-Anyone exported a datagrids data out to an excel file or printer?



-Anyone tried connecting with MDX/Cube technology directly?

_

Jonathan Miranda

Flexible Master of
the Web

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

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If you
are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











--
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: DataGrid columnStretch (1.5)

2006-02-24 Thread anumathew76
Hi Brendan

I had the same situation and I noticed that the x,width... are reset 
only after the columnStretch event is finished. I handled it in the 
draw event.. it worked fine since the draw event fires after the 
columnStrech is finished.

Thanks,
Anu

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

 Hi,
 
 I have a method which calculates the width/position of my column
 headercells within my datagrid.  If the datagrid resizes, and i 
call
 my method, it re-calculates the widths/positions just fine.
 
 mx:DataGrid id=myGrid resize=determineTopDividerX() /
 
 
 private function determineTopDividerX():Void
 {
 topDividerX_left =
 periodDataGrid.getColumnAt(periodDataGrid.getColumnIndex
('col1')).headerCell.x;
 
 topDividerX_middle =
 periodDataGrid.getColumnAt(periodDataGrid.getColumnIndex
('col2')).headerCell.x;
 }
 
 However, when a columnStretch event occurs (a user 
expands/contracts a
 column width manually with the column header seperators) it seems 
that
 the new measurements are not set soon enough for me to re-measure 
from
 that event.
 
 mx:DataGrid id=myGrid columnStretch=determineTopDividerX() /
 
 I've tried delaying the method call, using a doLater, etc... with 
no
 luck.  Anybody have some advice they could offer?
 
 Much appreciated,
 
 Brendan







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

2006-02-24 Thread Peter Watson
Title: TreeGridCellRenderer










Agha,



Use a handler function for the mouseUp
event of the tree



In the function:

check if the selectedNode
is a branch

 if it is -
check if its open|closed

 if
its closed  open it

if its open  close it

 

- peter















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha
Sent: Friday, February 24, 2006
2:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
TreeGridCellRenderer





First of all I'd like to thank James for this
great contribution. I am using it in pre-production mode of one of my apps and
everyone loves it. How can I make it so that users can also expand the node by
clicking on the item and not just the arrow?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 209.275.0482

Fax : 408.284.2766









--
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] Digest Number 1550

2006-02-24 Thread knly browne



Good day all...I have been using flex1.x for about a year now..and for all that time I have been consuming RPC style web services.The situation has arised. where i need to consume web service that of document style..when i try calling the web service using the same method that i use for RPC style web services i get errors telling my that i have no result handler and the like... for some odd reason the flex documentation has no good example as to how a document style web service should be handled...
Would anyonne be kind enough to point me to some examples that show how to consume document styles web services in FlexAny help will be greatly appreciatedThanks-- Kenlie BrowneSoftware Developer






--
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] Digest Number 1550

2006-02-24 Thread Carson Hager





Flex 1.5 has serious problems with document style web 
services that use complex types. Are you possibly using complex 
types?

On a related note, an Adobe engineer ( Matt Chotin I 
believe ) posted a note last week saying that a bug with document style web 
services had been fixed that would address these problems in both Flex 1.5 and 
Flex 2.0 but there were no details given on the release status fo that 
fix.


Carson

  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of knly 
browneSent: Friday, February 24, 2006 12:30 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Digest Number 
1550
Good day all...I have been using flex1.x for about a year 
now..and for all that time I have been consuming RPC style web 
services.The situation has arised. where i need to consume web service 
that of document style..when i try calling the web service using the same method 
that i use for RPC style web services i get errors telling my that i have no 
result handler and the like... for some odd reason the flex documentation has no 
good example as to how a document style web service should be handled... 
Would anyonne be kind enough to point me to some examples that show how to 
consume document styles web services in FlexAny help will be greatly 
appreciatedThanks-- Kenlie BrowneSoftware Developer 





--
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] Delegation and Callbacks

2006-02-24 Thread Vadim Melnik
Hi All,

 don't need that in
2.0 because we have closures which means that the function will maintain
the correct this pointer 

Sorry for perhaps silly questions... It sounds like AS3 Function object now 
becomes something like thunks in C++, delegates in .NET or mx.utils.Delegate 
in Flex1.5/AS2, so two things now are not very clear as for me:

1) Why do we need the first parameter in Function.call/Function.apply APIs 
also known as thisObject? Code prototype used in my tests listed below. I 
was not able to call A.f1 function using B class context, (thisObject 
argument was ignored). Is it possible at all?

code_snip

class A { function f1() { trace(this=+this); } }
class B { function f1() { trace(this=+this); } }
...

var a:A = new A();
var b:B = new B();

var fa:Function = a.f1;
var fb:Function = b.f1;

fa(); // - this=[object A]
fb(); // - this=[object B]

fa.apply(b); // - this=[object A] why ???
fa.call(b);// - this=[object A] why ???

/code_snip


2) If all functions are thunked in AS3, is it possible to retrieve this 
object pointer from Function object using ActionScript code? In other words 
how to find object pointer this function is belong to?

--
Thanks,
Vadim.



- Original Message - 
From: Matt Chotin
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 22, 2006 7:23 AM
Subject: RE: [flexcoders] Delegation and Callbacks


Sorry, I'm not sure I get what you're trying to do.  When you say
delegate do you mean the 1.5 mx.utils.Delegate?  We don't need that in
2.0 because we have closures which means that the function will maintain
the correct this pointer.  Or are you looking for a different delegate
class?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mvbaffa
Sent: Monday, February 20, 2006 4:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Delegation and Callbacks

Hi everybody,

I have developed an ActionScript class to help synchonize WebService
calls.

You have to create an instance of it in the load event of the
WebService. Then the class initializes some internal data structures
looping through the webservice operations and drives the result
event.

At the initialization process the class receives also a
setupCallback function parameter so that the application can define
methods to be called before the webservice operation is sent and
after the result event is fired. This setupCallback function is
called by the class when it is initializing.

I Would rather use a delegate to communicate with the application.
How can I define and use delegation in Flex 2/ActionScript 3

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








--
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 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: General quick questions

2006-02-24 Thread Doug Lowder
There's an AS2/Flex 1.5 example for Internet Explorer/Windows OSes 
over at CFlex that exports a datagrid to Excel.

http://www.cflex.net/showfiledetails.cfm?ObjectID=298

Since an IE-only solution wasn't an option for me, I use a LoadVars 
class to post the contents of the grid's dataprovider to a server-
side page that just sends it right back with mime type and headers 
set appropriately.  Tab-delimited data works fine when opened with 
Excel.

Doug

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

 Before I go off and research, wondering if anyone has tackled these
 before so thought I'd ask here.
 
 -Anyone exported a datagrid's data out to an excel file or printer?
 
  
 
 -Anyone tried connecting with MDX/Cube technology directly?
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 In the game of chess, it's important to never let your opponent 
see
 your pieces.
 
 HealthGrades http://www.healthgrades.com/ : Guiding America to 
Better
 Healthcare(tm)
 
 NASDAQ: HGRD
 
 w  (720) 963-3832
 
 c  (707) 761-0868
 
 [EMAIL PROTECTED] 
 
 _
 
 The message contains confidential and/or legally privileged 
information
 and is intended for use only by the indicated addressee.  If you 
are not
 the named addressee you should not disseminate, distribute, or 
copy this
 e-mail. Please notify the sender immediately by e-mail if you have
 received this e-mail by mistake and delete this e-mail from your 
system.
 E-mail transmissions cannot be guaranteed to be secure or error-
free as
 information could be intercepted, corrupted, lost, 
destroyed,arrive late
 or incomplete, or contain viruses. The sender therefore does not 
accept
 liability for any errors or omissions in the contents of this 
message
 which arise as a result of e-mail transmission. If verification is
 required please request a hard-copy version.







--
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] General quick questions

2006-02-24 Thread Jonathan Miranda










Well I should have just done some
research. For the rest of the flexcoders group, here goes:



1) http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=298

2) http://cfdj.sys-con.com/read/46790.htm



_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a hard-copy
version.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
12:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] General
quick questions





Before I go off and research, wondering if anyone has
tackled these before so thought Id ask here.

-Anyone exported a datagrids data out to an excel file or printer?



-Anyone tried connecting with MDX/Cube technology directly?

_

Jonathan Miranda

Flexible Master of
the Web

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

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











--
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] General quick questions

2006-02-24 Thread Anatole Tartakovsky





One other solution would be involving 
ExternalInterface and microsft web components - we will release toolkit for 
customizable export to Excel at the time of Flex 2 release - however, 
crude html for export to excel can be used with microsoft web 
components.
Thank you,
Anatole Tartakovsky

  - Original Message - 
  From: 
  Jonathan Miranda 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, February 24, 2006 3:52 
  PM
  Subject: RE: [flexcoders] General quick 
  questions
  
  
  Well I should have 
  just done some research. For the rest of the flexcoders group, here 
  goes:
  
  1) 
  http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=298
  2) 
  http://cfdj.sys-con.com/read/46790.htm
  
  _
  Jonathan 
  Miranda
  Flexible 
  Master of the Web
  "In the game of chess, it's important to 
  never let your opponent see your pieces."
  HealthGrades: Guiding 
  America to Better 
  Healthcare™
  NASDAQ: 
  HGRD
  w 
  (720) 963-3832
  c 
  (707) 761-0868
  [EMAIL PROTECTED] 
  
  _
  The message contains 
  confidential and/or legally privileged information and is intended for use 
  only by the indicated addressee. If you are not the named addressee you 
  should not disseminate, distribute, or copy this e-mail. Please notify the 
  sender immediately by e-mail if you have received this e-mail by mistake and 
  delete this e-mail from your system. E-mail transmissions cannot be guaranteed 
  to be secure or error-free as information could be intercepted, corrupted, 
  lost, destroyed,arrive late or incomplete, or contain viruses. The sender 
  therefore does not accept liability for any errors or omissions in the 
  contents of this message which arise as a result of e-mail transmission. If 
  verification is required please request a hard-copy 
  version.
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan MirandaSent: Friday, February 24, 2006 12:56 
  PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] General quick 
  questions
  
  Before I go off and research, 
  wondering if anyone has tackled these before so thought I’d ask 
  here.-Anyone exported a datagrid’s data out to an excel file or 
  printer?
  
  -Anyone tried connecting with 
  MDX/Cube technology directly?
  _
  Jonathan 
  Miranda
  Flexible Master 
  of the Web
  "In the game of 
  chess, it's important to never let your opponent see your 
  pieces."
  HealthGrades: Guiding America to Better 
  Healthcare™
  NASDAQ: 
  HGRD
  w (720) 
  963-3832
  c (707) 
  761-0868
  [EMAIL PROTECTED] 
  
  _
  The message contains confidential 
  and/or legally privileged information and is intended for use only by the 
  indicated addressee. If you are not the named addressee you should not 
  disseminate, distribute, or copy this e-mail. Please notify the sender 
  immediately by e-mail if you have received this e-mail by mistake and delete 
  this e-mail from your system. E-mail transmissions cannot be guaranteed to be 
  secure or error-free as information could be intercepted, corrupted, lost, 
  destroyed,arrive late or incomplete, or contain viruses. The sender therefore 
  does not accept liability for any errors or omissions in the contents of this 
  message which arise as a result of e-mail transmission. If verification is 
  required please request a hard-copy version.
  
  





--
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: Flexbuilder 2B1: coercion error at package declaration, JSON

2006-02-24 Thread Matt Chotin
Yes, a for..in loop will return the properties as strings, you'll want
to use a regular for loop (for (var i:int=0; i  someArray.length; i++)
if you want the int access.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dhirshbe
Sent: Friday, February 24, 2006 2:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flexbuilder 2B1: coercion error at package
declaration, JSON

Thanks, it was somewhere else in the file.  I wasn't aware that arrays
still had string indices. The error was: for(var i:int in someArray) 


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

 I think there must be another problem in your file and the compiler
just
 can't line it up correctly.  Can you break the file down further and
see
 what happens?  I'm assuming you did this in an AS file and not MXML?
 
 As for JSON I don't think anyone has tried it yet.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of dhirshbe
 Sent: Thursday, February 23, 2006 3:25 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flexbuilder 2B1: coercion error at package
 declaration, JSON
 
 When I try to compile with -strict, I get the error:
 Implicit coercion of a value of type 'String' to an unrelated type
'int'
 
 
 The line it refers to reads package packagename {
 
 Any ideas?
 
 Also: 
 Is there a convenient way to create objects from JSON in AS3?  
 
   
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







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



 





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

* 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] Another charting bug

2006-02-24 Thread Matt Chotin










147 J











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
2:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Another
charting bug





If you use a mx:Legend in the control-bar of a panel that
holds a graph and you dont specify width=100%, the legend
will not wrap in the control-bar and go off the screen (with no scrolling so
you cant see the edge of the legend). So either the Legend isnt
correctly reading its default dimensions of width or the control-bar
isnt containing the legend correctly, or something like that 
setting it to width=100% makes it correctly wrap.


So how many bugs until I get into the credits again Matt? J

_

Jonathan Miranda

Flexible Master of
the Web

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

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











--
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] Another charting bug

2006-02-24 Thread Jonathan Miranda












Awwand I thought it was 42 J

_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a hard-copy
version.











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: Friday, February 24, 2006
3:49 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Another
charting bug





147 J











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
2:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Another
charting bug





If you use a mx:Legend in the control-bar of a panel that
holds a graph and you dont specify width=100%, the legend
will not wrap in the control-bar and go off the screen (with no scrolling so
you cant see the edge of the legend). So either the Legend isnt
correctly reading its default dimensions of width or the control-bar
isnt containing the legend correctly, or something like that 
setting it to width=100% makes it correctly wrap.


So how many bugs until I get into the credits again Matt? J

_

Jonathan Miranda

Flexible Master of
the Web

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

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.












--
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: Flexbuilder 2B1: coercion error at package declaration, JSON

2006-02-24 Thread Doug Lowder
Regarding JSON, have you tried the parser at 
http://www.theorganization.net/work/jos/JSON.as to see if it will 
compile in AS3?  Since the eval() function has been removed, I think 
parsing is the only approach left.

Doug

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

 Thanks, it was somewhere else in the file.  I wasn't aware that 
arrays
 still had string indices. The error was: for(var i:int in 
someArray) 
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  I think there must be another problem in your file and the 
compiler just
  can't line it up correctly.  Can you break the file down further 
and see
  what happens?  I'm assuming you did this in an AS file and not 
MXML?
  
  As for JSON I don't think anyone has tried it yet.
  
  Matt
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
  Behalf Of dhirshbe
  Sent: Thursday, February 23, 2006 3:25 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flexbuilder 2B1: coercion error at package
  declaration, JSON
  
  When I try to compile with -strict, I get the error:
  Implicit coercion of a value of type 'String' to an unrelated 
type 'int'
  
  
  The line it refers to reads package packagename {
  
  Any ideas?
  
  Also: 
  Is there a convenient way to create objects from JSON in AS3?  
  

  
  
  
  
  
  
  
  
  --
  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: Flexbuilder 2B1: coercion error at package declaration, JSON

2006-02-24 Thread David Mendels





Hi,

It is probably not worth doing this now. As Darrel 
pointed out on this thread somewhere there is an AS3 library for JSON coming out 
soon.
-David

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Doug 
  LowderSent: Friday, February 24, 2006 5:57 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flexbuilder 
  2B1: coercion error at package declaration, JSON
  Regarding JSON, have you tried the parser at http://www.theorganization.net/work/jos/JSON.as 
  to see if it will compile in AS3? Since the eval() function has been 
  removed, I think parsing is the only approach left.Doug--- 
  In flexcoders@yahoogroups.com, "dhirshbe" [EMAIL PROTECTED] 
  wrote: Thanks, it was somewhere else in the file. I 
  wasn't aware that arrays still had string indices. The error was: 
  for(var i:int in someArray)--- In 
  flexcoders@yahoogroups.com, "Matt Chotin" mchotin@ wrote: 
I think there must be another problem in your file and the 
  compiler just  can't line it up correctly. Can you break 
  the file down further and see  what happens? I'm 
  assuming you did this in an AS file and not MXML?   
   As for JSON I don't think anyone has tried it yet.   
   Matt-Original Message-  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On  Behalf Of dhirshbe  Sent: Thursday, February 23, 
  2006 3:25 PM  To: flexcoders@yahoogroups.com  Subject: 
  [flexcoders] Flexbuilder 2B1: coercion error at package  
  declaration, JSONWhen I try to compile with 
  -strict, I get the error:  Implicit coercion of a value of type 
  'String' to an unrelated type 'int' 
   The line it refers to reads "package packagename {"   
   Any ideas?Also:   Is there a 
  convenient way to create objects from JSON in AS3?   
   
 
  --  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.



  









[flexcoders] Anybody willing to field a Flex2/CF noobs architectural questions?

2006-02-24 Thread Ian Skinner
I am studying the phones example, the documentation, and all web resources I 
know of as fast as I can in order to get my 25 year old procedural head around 
these new Flex/OO concepts.

My goal is to create a working mockup of an existing application I wrote in 
CFML\HTML a few years ago.  I am having trouble finding the information I need 
to get very far in this project.  I do not yet know enough to even know where 
to begin.

My first stumbling block, how does one retrieve multiple pieces of data from 
the CFC backend?  Following the phones example and the documentation I have 
successfully retrieved a simple array and attached it to a tile list, but I 
also want a string label that describes/names the dynamic data in the array.  I 
created a function to return the string, but do not know how to connect this 
string to a label control separately from the array which is connected to a 
tile control at the same time.

I can provide copies of my files to anybody willing to review them.  I am not 
posting them here until I learn whether it is accepted or not to post larger 
code examples to this list.

Pointers to useful sections of the manual or other written resources also 
gratefully accepted.

TIA

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
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] Flex2 Tree Bug crashes browser

2006-02-24 Thread sufibaba
Has anyone experienced this:

I have a tree that is being populated by an xml object -- treeDataXML,
using databinding.

Situation:
Adding a new node to the treeDataXML via the appendChild(newNode)

Case1:  Add to a branch node -- works
Case2:  Add to a leaf node -- browser crashes.

The crashing is very consistent and seems to only happen when the a
new node is appended to a leaf node.

Any help on this is greatly appreciated.

Cheers.

Tim





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