[flexcoders] SOAP WebService faultString problem

2006-03-03 Thread Jan L. Nauta
Hi,

[Flex 2.0 Beta 1]

I'm not getting the faultString when a fault occurs in my SOAP WebService:

fault=Alert.show(event.fault.faultstring, 'SOAP Fault');

shows only 'HTTP Request Error'.

I found some info about this with google that states that this doesn't work
with most browsers, but it should (only) work with Internet Explorer. I've
tried with Internet Explorer 6, FireFox 1.5 and Opera 8.5. None works. What
am I doing wrong? I'm testing with PHP5.1 on an Apache 2.0 using a WSDL
based soap server.

Regards,

Jan L. Nauta

B.T.W. in Opera you sometimes have to refresh the page to get your Flex
application to run. Is this a known problem?



--
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] Detecting Client Country or Location

2006-03-03 Thread Dan
hi,

As Actionscript can detect the OS version of the client machine, is 
there any way that a flex application can detect the country of the 
client? Since we want to store the information for analysis. Any people 
come across this before?

Any suggestion?

Thx
Dan





--
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] Can we remove RemoteObject instances??

2006-03-03 Thread sn197412
Hi.

About RemoteObject instances.
Can we remove RemoteObject instances like removeChild method??
If we create 100 RemoteObject instances, we can't remove those instances??






--
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] Detecting Client Country or Location

2006-03-03 Thread Martin Wood
I had a brief look into this kind of thing, heres a couple of links :

http://www.geobytes.com/

http://www.hostip.info/

basically you will have to rely on another service to give you the answer.

thanks,

Martin


Dan wrote:
 hi,
 
 As Actionscript can detect the OS version of the client machine, is 
 there any way that a flex application can detect the country of the 
 client? Since we want to store the information for analysis. Any people 
 come across this before?
 
 Any suggestion?
 
 Thx
 Dan


--
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] Dynamic UI question

2006-03-03 Thread Alberto Albericio Salvador
I think I cant use the Tile* components because they resize their tiles 
to the same width and height: resizing one tile will resize all the the 
rest.

Since I want a vertical list, can I use the List component to create a 
list with one checkbox on each item and expandable content for each item 
whenever I select that checkbox?

Thanks

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



Alberto Albericio Salvador escribió:
 Hi all,

 I want to create a vertical dynamic UI and Im currently trying 2 approaches:

 1)  mx:TileList id=list listItemRenderer=myThumbnail 
 direction=vertical dataProvider={} /

 2)mx:Tile direction=vertical 
  mx:Repeater dataProvider={...} id=list
myThumbnail myData={list.currentItem} /
  /mx:Repeater

 This is working ok in both cases BUT my myThumbnail.mxml component is 
 somehow resizable wheter the user selects a checkbox or not:

 mx:CheckBox id=myCheck label={...} /
 mx:VBox visible={myCheck.selected} includeInLayout={myCheck.selected}
 mx:Label text=whatever /
 /mx:VBox

 In approach 1, a scrollbar appears if I select the checkbox of any of 
 the repeated objects instead of resizing the item at the TileList and 
 show the full component.

 In approach 2, the Tile item resizes fine only If I select the checkbox 
 at the first position. If I press the checkbox at the second, It resizes 
 the second item and  also resizes the first one!

 Basically, Im driven myself mad trying to make this working. Has anyone 
 a working example on something similar? A vertical repeatr component 
 with expandable items? or what am I doing wrong?

 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

* 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] Dynamic UI question

2006-03-03 Thread Alberto Albericio Salvador
got it! I just used the Repeater component without any Tile* component hehe

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



Alberto Albericio Salvador escribió:
 I think I cant use the Tile* components because they resize their tiles 
 to the same width and height: resizing one tile will resize all the the 
 rest.

 Since I want a vertical list, can I use the List component to create a 
 list with one checkbox on each item and expandable content for each item 
 whenever I select that checkbox?

 Thanks

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



 Alberto Albericio Salvador escribió:
   
 Hi all,

 I want to create a vertical dynamic UI and Im currently trying 2 approaches:

 1)  mx:TileList id=list listItemRenderer=myThumbnail 
 direction=vertical dataProvider={} /

 2)mx:Tile direction=vertical 
  mx:Repeater dataProvider={...} id=list
myThumbnail myData={list.currentItem} /
  /mx:Repeater

 This is working ok in both cases BUT my myThumbnail.mxml component is 
 somehow resizable wheter the user selects a checkbox or not:

 mx:CheckBox id=myCheck label={...} /
 mx:VBox visible={myCheck.selected} includeInLayout={myCheck.selected}
 mx:Label text=whatever /
 /mx:VBox

 In approach 1, a scrollbar appears if I select the checkbox of any of 
 the repeated objects instead of resizing the item at the TileList and 
 show the full component.

 In approach 2, the Tile item resizes fine only If I select the checkbox 
 at the first position. If I press the checkbox at the second, It resizes 
 the second item and  also resizes the first one!

 Basically, Im driven myself mad trying to make this working. Has anyone 
 a working example on something similar? A vertical repeatr component 
 with expandable items? or what am I doing wrong?

 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 
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] Understanding UIComponent

2006-03-03 Thread Stephen Gilson





There is indeed a book - It is called "Creating and 
Extending Flex Components" and you can find it at: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation

This page lists the order of events when you create a 
component: http://livedocs.macromedia.com/flex/20beta1/docs/1877.html

Stephen


From: Gordon Smith Sent: Thursday, 
March 02, 2006 11:55 PMTo: 'flexcoders@yahoogroups.com'Cc: 
Stephen GilsonSubject: RE: [flexcoders] Understanding 
UIComponent


He wants to create custom components, so he needs to 
understand methods like
createChildren(), commitProperties(), measure(), and 
updateDisplayList().

There should be a whole book in the documentation set 
about creating your own components, and it should cover basic methods like 
these.

- Gordon


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
JesterXL
Sent: Thursday, March 02, 2006 8:26 
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Understanding 
UIComponent

You look like you're on the right track. For now 
(as of Beta 1), I think the only ones that actually matter event wise 
are:

initialize
creationComplete

The only difference is initialize runs before 
allof the layout stuff, so if you need to do your own positioning/sizing, 
this is a good place to do it; creationComplete is after all the children have 
been created AND sized + positioned.

We've all asked for the goto flow diagramof the 
main component that is UIComponent, so hopefully this'll get clearer doc wise 
soon.

- Original Message - 

From: Bill 
Lane 
To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 7:51 
PM
Subject: [flexcoders] Understanding 
UIComponent

I'm just getting started with Flex Beta. We are 
particularly
interested in being able to create custom components 
using AS3. So I
am keen to get my head around the structure of 
UIComponent. In AS2 I
saw an excellent diagram that explained the sequence 
that methods were
executed and what should be done with each. I have 
been looking for a
similar diagram for AS3 with no luck. Consequently 
I've had a go myself.

Firstly, does anyone know of a good resource (other than 
the AS3
language reference which has become my constant 
companion) with this
information. OR Could someone have a look at my 
drawing
(http://www.geekglue.com/media/swf/uicomponent.htm) and 
let me know if
I'm on the right track.

Bill 
Lane


--
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] DateField and DateFormatter issue.

2006-03-03 Thread Flex Coders



Hi Shigeru,These issues have all been fixed in our internal builds so keep
an eye out for the next public drop to resolve this for you.RaghuOn 3/2/06, sn197412 
[EMAIL PROTECTED] wrote:Hi.When I use a DateFormatter with a couple of DateFileds,
Something remove formatted date text.And also, when I focus in TextInput,Something remove formatted date text too.Here is a sample.?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxmlxmlns=* layout=absolutemx:Script![CDATA[
private function formatDate(date:Date):String{return dfconv.format(date);}]]/mx:Scriptmx:DateFormatter id=dfconv formatString=MM,  /
mx:DateField id=df1 x=10 y=40 formattingFunction=formatDate /mx:DateField id=df2 x=10 y=70 formattingFunction=formatDate /
mx:TextInput id=txtIn x=10 y=100//mx:ApplicationThis must be a Beta1 bug, right?--Shigeru--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/






--
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] DragManager issues when running in swf inside a swf

2006-03-03 Thread Karl Johnson






(Flex 1.5, AS 
2)

My drag and drop code has worked fine for a long time. Today, I took the 
swf generated by the flex compiler and am loading it inside of a loader control 
in another flex app. Everything about the inner app works fineexcept for the 
call to DragManager.doDrag(), which gets called by the mouseDown event on the 
draggable objects.

I have verified that the event is getting called, and that inside the event 
handler "event.target" is correct. Yet, for some reason, when the swf is loaded 
inside of another swf, the drag operation does not work. It is like the call to 
doDrag is failing without error. All of the other code in the dragDrop and 
dragOver event handlers execute fine (when I drag in an item from a list, where 
I am not handling the initialization of the dragsource and am not calling 
doDrag()). 

When I hit the swf directly, drag/drop works wonderfully. When I load it 
inside of another swf, dragging does not work.

Any thoughts? ANY help very much appreciated.

Thanks,
Karl





--
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] AS3 Date month starting at 0?

2006-03-03 Thread Sönke Rohde
Hi,
Using the AS3-Date-Class the first time I recognized that the month is
starting at 0 means 0 is January. Is this the expected behaviour?

Example:
var d:Date = new Date(2006,03,22);
trace(date  + d); // date Sat Apr 22 00:00:00 GMT+0200 2006

And another date I tried has a different GMT:
var d:Date = new Date(2006,10,18);
trace(date  + d); // date Sat Nov 18 00:00:00 GMT+0100 2006

Is this a known issue/bug or am I doing something wrong?

Cheers,
Sönke



--
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] Getelementbyid and web service result problem

2006-03-03 Thread sinacapho
Dear all,
  i am very new to Flex and actionscript. I want to know if
actionscript have some function by javascript getelementbyid which can
locate the object.

  Also another question is that i want to retrieve one of the
record from a set of web service result. it that i need to parse it in
xml and is there any method? As i find that i cannot do that by
changing it into a array.

thx

capho





--
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] Detecting Client Country or Location

2006-03-03 Thread Michael Klishin
Dan wrote:
 hi,
 
 As Actionscript can detect the OS version of the client machine, is 
 there any way that a flex application can detect the country of the 
 client? Since we want to store the information for analysis. Any people 
 come across this before?
 
 Any suggestion?

Use server-side programming or / and services like GeoIP

-- 
Michael Antares Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi


--
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] Catching ChangeEvent 1.5

2006-03-03 Thread Steve Cox










All,



Im passing through
several arrays to a custom component. 



Ideally what Id like to
do is call a function inside the component when one of these arrays changes. How
do I capture the change event ?



Cheers,



Ste









--
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: JSON support?

2006-03-03 Thread harald_dehn
Hi,

look at 

http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:ap
is:libraries#corelib

there is a JSON de- and encoder. I didn't test it.

Harry


--- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] 
wrote:

 dhirshbe wrote:
  Is there a convenient way to generate objects in AS3 from JSON?

 Yes.  I wrote a JSON library for AS3, but I'm not 100% when it's 
going 
 to be released (it's part of a larger library that should be 
released 
 soon, I think).  Unofficially, I think it's going to be public in 
the 
 next week or two.  I can't say for certain though, because I'm not 
in 
 charge of it.
 
 -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/
 





[flexcoders] CrossDomain file

2006-03-03 Thread mvbaffa
Hi All,

I am using Flex 2 Beta 1.

I need to host my swf files in a domain different from the one that 
reside my webservices. In fact the webservice is installed in my 
office webserver and I have created at DynDNS to point to my server.

I have uploaded the swf compiled by Flex 2 and at the Windows 
Server, that host my webservices, I have a crossdomain.xml file to 
allow the flex application to access the webservices.

When I browse the swf an it tries to access my webservice it gives a 
Fault event stating that it could not find my service. 

The error occurs even when I turn off my Windows Firewall.

Is There any special procedure related to the crossdaomain.xml 
file 

Thanks in Advance
Baffa






--
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] Coustom cellRenderer in AS3 for a DataGrid

2006-03-03 Thread harald_dehn
Hello,

does anyone know how to write a custom cellrenderer for a datagrid in 
AS3. All examples i have found using MXML or were written for flash8 
(using setValue function). Unfortunealy this approach doesn't work in 
AS3...

Harry 






--
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] mx.control.alert

2006-03-03 Thread Deepak Verma










Yes, adding \n \r increases the box size
but scrollbar is still there .

Any ideas to remove scroll bar











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Friday, March 03, 2006 12:09
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
mx.control.alert





Try adding some
\n and \r to the end of the text you put in to the
Alert 
box.

- Original Message - 
From: deepu_verma [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, March 02, 2006 12:05 PM
Subject: [flexcoders] mx.control.alert


Hi all,
I am using mx.controls.Alert.show in flex 1.5
The text in the alert box is displayed with a
vertical scroll bar.
How can I increase the size of the alert box.

Thanks,
Deepak






--
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] datagrid filter

2006-03-03 Thread deepu_verma
How can I filter data from a datagrid?
Is there a function to filter data for the data provider?

(I was able to find a Dataset component for Flash which has the
capability to filter the data.)






--
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] Character input in a form : strange issue?

2006-03-03 Thread Flex Coders



Hi,I will try to investigate this issue on Flex1.5, but this does not reproduce on Flex2.0:)ThanksRaghuOn 3/2/06, Barrau Antoine
 [EMAIL PROTECTED] wrote:Hi,i'm currently experiencing a strange issue with flex
1.5i've made the following simple test :mx:Accordionmx:Formmx:FormItemmx:TextInput text=toto/mx:TextInput/mx:FormItem/mx:Form
/mx:Accordionit seems, for something i can't understand that wheni'm including this sample code into my application, ican't enter any of the numbers and special charactergiven by pressing shift or alt plus one of the
character on the upper number bar. For example, when ineed to do a @ by pressing alt+à (on a frenchkeyboard), i'm only getting a à.anyone have a clue?:/thanks a lotTonio
thanksTonio___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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







--
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: JSON support?

2006-03-03 Thread Darron J. Schall
Hi Harry,

Yeah, that's what I was talking about.  I wrote that... ;-)

-d

harald_dehn wrote:
 Hi,

 look at 

 http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:ap
 is:libraries#corelib

 there is a JSON de- and encoder. I didn't test it.

 Harry


 --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] 
 wrote:
   
 dhirshbe wrote:
 
 Is there a convenient way to generate objects in AS3 from JSON?
   
   
 Yes.  I wrote a JSON library for AS3, but I'm not 100% when it's 
 
 going 
   
 to be released (it's part of a larger library that should be 
 
 released 
   
 soon, I think).  Unofficially, I think it's going to be public in 
 
 the 
   
 next week or two.  I can't say for certain though, because I'm not 
 
 in 
   
 charge of it.

 -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] AS3 Date month starting at 0?

2006-03-03 Thread Johannes Nel



this is expected behaviour i thinkOn 3/3/06, Sönke Rohde [EMAIL PROTECTED] wrote:
Hi,Using the AS3-Date-Class the first time I recognized that the month isstarting at 0 means 0 is January. Is this the expected behaviour?Example:var d:Date = new Date(2006,03,22);
trace(date  + d); // date Sat Apr 22 00:00:00 GMT+0200 2006And another date I tried has a different GMT:var d:Date = new Date(2006,10,18);trace(date  + d); // date Sat Nov 18 00:00:00 GMT+0100 2006
Is this a known issue/bug or am I doing something wrong?Cheers,Sönke--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/
-- j:pn http://www.lennel.org






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








  
  
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] AS3 Date month starting at 0?

2006-03-03 Thread Sönke Rohde





but why is month startingat 0 and day at 
1?
seems very strange to me.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Johannes 
  NelSent: Friday, March 03, 2006 3:04 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] AS3 Date month 
  starting at 0?
  this is expected behaviour i think
  On 3/3/06, Sönke 
  Rohde [EMAIL PROTECTED] wrote:
  Hi,Using 
the AS3-Date-Class the first time I recognized that the month isstarting 
at 0 means 0 is January. Is this the expected 
behaviour?Example:var d:Date = new Date("2006","03","22"); 
trace("date " + d); // date Sat Apr 22 00:00:00 GMT+0200 2006And 
another date I tried has a different GMT:var d:Date = new 
Date("2006","10","18");trace("date " + d); // date Sat Nov 18 00:00:00 
GMT+0100 2006 Is this a known issue/bug or am I doing something 
wrong?Cheers,Sönke--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links* To visit your group on the web, go to: 
http://groups.yahoo.com/group/flexcoders/* 
To unsubscribe from this group, send an email 
to: 
[EMAIL PROTECTED]* Your use of 
Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/-- j:pn http://www.lennel.org





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








  
  
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] AS3 Date month starting at 0?

2006-03-03 Thread Peter Hall



It's the way it works in AS2, and the way it works in _javascript_. I don't know why it is designed like that, but it is correct.
Peter

On 3/3/06, Sönke Rohde [EMAIL PROTECTED] wrote:







but why is month startingat 0 and day at 
1?
seems very strange to me.







--
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] AS3 Date month starting at 0?

2006-03-03 Thread Paul Hastings
Peter Hall wrote:
 It's the way it works in AS2, and the way it works in JavaScript. I 
 don't know why it is designed like that, but it is correct.

because java does it that way?


--
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] AS3 Date month starting at 0?

2006-03-03 Thread Geoffrey Williams










day and month are constant pointers where
as year and date are variable values?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sönke Rohde
Sent: Friday, March 03, 2006 9:11
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] AS3 Date
month starting at 0?





but why is month
startingat 0 and day at 1?

seems very strange to me.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel
Sent: Friday, March 03, 2006 3:04
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS3 Date
month starting at 0?

this is expected behaviour i think



On 3/3/06, Sönke Rohde [EMAIL PROTECTED] wrote:


Hi,
Using the AS3-Date-Class the first time I recognized that the month is
starting at 0 means 0 is January. Is this the expected behaviour?

Example:
var d:Date = new Date(2006,03,22); 
trace(date  + d); // date Sat Apr 22 00:00:00 GMT+0200 2006

And another date I tried has a different GMT:
var d:Date = new Date(2006,10,18);
trace(date  + d); // date Sat Nov 18 00:00:00 GMT+0100 2006 

Is this a known issue/bug or am I doing something wrong?

Cheers,
Sönke



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










-- 
j:pn 
http://www.lennel.org








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








  
  
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] AS3 Date month starting at 0?

2006-03-03 Thread Darron J. Schall
Sönke Rohde wrote:
 Hi,
 Using the AS3-Date-Class the first time I recognized that the month is
 starting at 0 means 0 is January. Is this the expected behaviour?

Yeah - it's supposed to be like this (and has been like this for a long 
time).  Not a bug, sorry, you'll just have to account for the 0-indexed 
month in your code.

-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] datagrid filter

2006-03-03 Thread jeremy lu



if you are using flex 2, ArrayCollection has a filter property which is handyOn 3/3/06, deepu_verma 
[EMAIL PROTECTED] wrote:How can I filter data from a datagrid?Is there a function to filter data for the data provider?
(I was able to find a Dataset component for Flash which has thecapability to filter the data.)--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

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] Understanding UIComponent

2006-03-03 Thread jeremy lu



that chapter is particularly well written, should read it over and over again.On 3/3/06, Stephen Gilson 
[EMAIL PROTECTED] wrote:








There is indeed a book - It is called Creating and 
Extending Flex Components and you can find it at: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation


This page lists the order of events when you create a 
component: http://livedocs.macromedia.com/flex/20beta1/docs/1877.html


Stephen


From: Gordon Smith Sent: Thursday, 
March 02, 2006 11:55 PMTo: 'flexcoders@yahoogroups.com'Cc: 
Stephen GilsonSubject: RE: [flexcoders] Understanding 
UIComponent


He wants to create custom components, so he needs to 
understand methods like
createChildren(), commitProperties(), measure(), and 
updateDisplayList().

There should be a whole book in the documentation set 
about creating your own components, and it should cover basic methods like 
these.

- Gordon


From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of 
JesterXL
Sent: Thursday, March 02, 2006 8:26 
PM
To: flexcoders@yahoogroups.com

Subject: Re: [flexcoders] Understanding 
UIComponent

You look like you're on the right track. For now 
(as of Beta 1), I think the only ones that actually matter event wise 
are:

initialize
creationComplete

The only difference is initialize runs before 
allof the layout stuff, so if you need to do your own positioning/sizing, 
this is a good place to do it; creationComplete is after all the children have 
been created AND sized + positioned.

We've all asked for the goto flow diagramof the 
main component that is UIComponent, so hopefully this'll get clearer doc wise 
soon.

- Original Message - 

From: Bill 
Lane 
To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 7:51 
PM
Subject: [flexcoders] Understanding 
UIComponent

I'm just getting started with Flex Beta. We are 
particularly
interested in being able to create custom components 
using AS3. So I
am keen to get my head around the structure of 
UIComponent. In AS2 I
saw an excellent diagram that explained the sequence 
that methods were
executed and what should be done with each. I have 
been looking for a
similar diagram for AS3 with no luck. Consequently 
I've had a go myself.

Firstly, does anyone know of a good resource (other than 
the AS3
language reference which has become my constant 
companion) with this
information. OR Could someone have a look at my 
drawing
(http://www.geekglue.com/media/swf/uicomponent.htm
) and 
let me know if
I'm on the right track.

Bill 
Lane


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

Re: [flexcoders] Coustom cellRenderer in AS3 for a DataGrid

2006-03-03 Thread jeremy lu



what you want to do with it ?On 3/3/06, harald_dehn [EMAIL PROTECTED] wrote:
Hello,does anyone know how to write a custom cellrenderer for a datagrid inAS3. All examples i have found using MXML or were written for flash8(using setValue function). Unfortunealy this approach doesn't work in
AS3...Harry--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







--
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] Reading or Embedding SWFs?

2006-03-03 Thread jeremy lu



hi Roger, still eagerly waiting for your tutorial on dynamic class loading and instantiation (application domain and etc) :-)jeremy.On 3/3/06, 
Roger Gonzalez [EMAIL PROTECTED] wrote:









If it 
doesn't import your frame labels, that's a bug. I don't know of any reason 
why those would be skipped.

Not sure why you recommend embedding to the class 
rather than a variable, though. All that embedding to a variable does is 
generate a class for you and tweak your variable to point to the 
class.

-rg


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  JesterXLSent: Thursday, March 02, 2006 7:01 PMTo:
 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
  Embedding SWFs?
  
  It doesn't import your frame labels either, but 
  it DOES work. Word of advice; embed your movieclip asset to a class 
  rather than a variable.
  
  
  [Embed(source=your.swf)]
  public class YouClass extends 
  MovieClip
  
  vs. 
  
  [Embed(source=your.swf#SymbolName)]
  public var MySymbol:Class;
  
  - Original Message - 
  From: 
Roger Gonzalez 
  
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, March 02, 2006 9:35 PM
  Subject: RE: [flexcoders] Reading or Embedding SWFs?
  
  Not so.
  
  Flex does support embedding older SWFs. The only 
  restriction is that because we can't mix-n-match bytecode formats, we strip 
  out AS2 code. This is not likely to change.
  
  (In fact, Flex will not support embedding 8.5 and newer 
  SWFs, because all assets are now classes, and we need to link classes, not 
  embed them. You will have to either dynamically load 8.5 SWFs, or else 
  build SWCs instead, and just link to them. No need to 
  embed.)
  
  Embedded SWFs have nothing to do with trust files, so I'm 
  not sure if everybody is talking about the same thing 
here.
  
  -rg
  


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Bruce 
EckelSent: Thursday, March 02, 2006 2:38 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
Embedding SWFs?
It turns out that Flex2 will not embed SWF files that are pre 8.5 
(or maybe pre 8). This is apparently a bug that will be fixed in a later 
beta (possibly the next one).
On 2/28/06, Abdul 
Qabiz [EMAIL PROTECTED] 
wrote: 

  Cool! I had heard of the trust files but never 
  tried using it.Thanks Harish for info :)-abdul
  
  On 2/28/06, Harish 
  Sivaramakrishnan  
  [EMAIL PROTECTED] wrote: 
  Hi 
Bruce,For getting rid of the Security Sandbox violation 
error that you are getting, you will have toexplicitly trust the 
swfs / images that you areloading. One way of doing this is the 
method thatabdul has suggested in his mailalternatively, You 
could also do this: Trust an SWF explicitly by adding it to the 
TrustList. This could be done by adding a cfg file in 
thefollowing 
location:C:\Windows\system32\Macromed\Flash\FlashPlayerTrust\TrustedStuff.cfgJust 
enter the folder which you want to always trust. For example if one 
wants to trust C:\Flex, just addthat in the cfg file. You could 
comment out things byadding a #.The following links have 
some useful info too:http://livedocs.macromedia.com/flash/8/main/1604.html
http://flashplatform/dev/projects/maelstrom/specs/localfilesecurity/LocalFileSecurity.cfm 
http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf 
Hope this helps,Thanks 
HarishFlex-QAAdobe India.--- Abdul Qabiz [EMAIL PROTECTED] wrote:
 Hi 
Bruce, Loading local SWF might not be working because of 
 Security Sandbox. Try giving the permission to your 
main to load SWFs from context-menu of Flash 
Player. Context-menu  Settings  first 
tab Advanced  It would show advanced settings 
manager from macromedia.com, from 
there you can the directory.  Though, I expect 
somebody would confirm this. You can also try reading 
the security white paper for Flash Player 8 here:
http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf 
 Things might be different in Macromedia Flash 
Player 8.5, so information in above white paper might 
not totally apply. As far as embedding swfs is 
concerned, I think that  should work. I don't remember 
the exact syntax, but if you do quick search to this 
mailing-list archive, I am sure you would find the exact 
syntax. Roger has replied many such queries. 
 A quick search gave me following 
results:http://www.mail-archive.com/flexcoders@yahoogroups.com/msg20285.html 
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg20239.html 
 Hope that helps... BTW! Are you 
Bruce Eckel of Mindview.net? 
  

AW: [flexcoders] Coustom cellRenderer in AS3 for a DataGrid

2006-03-03 Thread Harald Dehn










Hi



here ist the
sourcecode I am experimenting with Unfortunealy the setValue function (I
found a lot of examples for flash 8) doesnt work with AS3. Do have any
idea?



Regards,

Harry



package
CellRenderer {

  import
mx.controls.Image;

  import
mx.controls.Label;

  import
mx.containers.HBox;

  import
mx.core.IDataObject;

  

  public
class KundeCellRenderer extends HBox {

    [Embed(source=Kunde.png)]

    public
static const cKundeImage:Class;

    [Embed(source=Kunde_Del.png)]

    public
static const cKundeDeleteImage:Class;

    

    private
var _Icon:Image;

    private
var _Label:Label;

    private
var _DataObject:Object;





    public
function setValue(str:String, item:Object, sel:Boolean):void {

  _Label.text
= item.KundenName;

    }



    protected
override function createChildren():void {

  super.createChildren();

  this.setStyle(verticalAlign,
middle);

  this.setStyle(marginLeft,
6);

  _Icon
= new Image();

  _Icon.source
= KundeCellRenderer.cKundeImage;

  this.addChild(_Icon);

  _Label
= new Label();

  //
_Label.text = 1234;

  this.addChild(_Label);

    }



    public
function KundeCellRenderer() {

    }

  }

}











Von:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von jeremy lu
Gesendet: Freitag, 3. März 2006
16:09
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] Coustom
cellRenderer in AS3 for a DataGrid





what you want to do with
it ?



On 3/3/06, harald_dehn
[EMAIL PROTECTED] wrote:

Hello,

does anyone know how to write a custom cellrenderer for a datagrid in
AS3. All examples i have found using MXML or were written for flash8
(using setValue function). Unfortunealy this approach doesn't work in 
AS3...

Harry






--
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 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] SOAP WebService faultString problem

2006-03-03 Thread Carson Hager
Flex 1.5?  If so, there is a limitation in the flash player itself that
causes the web services to choke if a fault is raised due to the
required http 500 status code. If you use the proxy, it will change the
status code to 200 so that the flash player can read the fault. This is
evidently fixed in Flex 2/FP 8.5 but will ( according to Adobe ) not be
back ported to earlier versions.


Carson


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


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jan L. Nauta
Sent: Friday, March 03, 2006 3:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SOAP WebService faultString problem

Hi,

[Flex 2.0 Beta 1]

I'm not getting the faultString when a fault occurs in my SOAP
WebService:

fault=Alert.show(event.fault.faultstring, 'SOAP Fault');

shows only 'HTTP Request Error'.

I found some info about this with google that states that this doesn't
work
with most browsers, but it should (only) work with Internet Explorer.
I've
tried with Internet Explorer 6, FireFox 1.5 and Opera 8.5. None works.
What
am I doing wrong? I'm testing with PHP5.1 on an Apache 2.0 using a WSDL
based soap server.

Regards,

Jan L. Nauta

B.T.W. in Opera you sometimes have to refresh the page to get your Flex
application to run. Is this a known problem?



--
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] CrossDomain file

2006-03-03 Thread Carson Hager
Where do you have crossdomain.xml?  What are its contents?


Carson


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


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mvbaffa
Sent: Friday, March 03, 2006 7:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CrossDomain file

Hi All,

I am using Flex 2 Beta 1.

I need to host my swf files in a domain different from the one that 
reside my webservices. In fact the webservice is installed in my 
office webserver and I have created at DynDNS to point to my server.

I have uploaded the swf compiled by Flex 2 and at the Windows 
Server, that host my webservices, I have a crossdomain.xml file to 
allow the flex application to access the webservices.

When I browse the swf an it tries to access my webservice it gives a 
Fault event stating that it could not find my service. 

The error occurs even when I turn off my Windows Firewall.

Is There any special procedure related to the crossdaomain.xml 
file 

Thanks in Advance
Baffa






--
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] Reading or Embedding SWFs?

2006-03-03 Thread JesterXL





Because it works consistently with the embedding of 
the path. Once Flex Builder fails to transcode, it refuses to budge on 
"re-checking" the embed path.

I'll try to send you a re-producible test case by 
Monday.

- Original Message - 
From: Roger Gonzalez 

To: flexcoders@yahoogroups.com 
Sent: Friday, March 03, 2006 12:08 AM
Subject: RE: [flexcoders] Reading or Embedding SWFs?

If it 
doesn't import your frame labels, that's a bug. I don't know of any reason 
why those would be skipped.

Not sure why you recommend embedding to the class 
rather than a variable, though. All that embedding to a variable does is 
generate a class for you and tweak your variable to point to the 
class.

-rg


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Thursday, March 02, 2006 7:01 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
  Embedding SWFs?
  
  It doesn't import your frame labels either, but 
  it DOES work. Word of advice; embed your movieclip asset to a class 
  rather than a variable.
  
  
  [Embed(source="your.swf")]
  public class YouClass extends 
  MovieClip
  
  vs. 
  
  [Embed(source="your.swf#SymbolName")]
  public var MySymbol:Class;
  
  - Original Message - 
  From: Roger Gonzalez 
  
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, March 02, 2006 9:35 PM
  Subject: RE: [flexcoders] Reading or Embedding SWFs?
  
  Not so.
  
  Flex does support embedding older SWFs. The only 
  restriction is that because we can't mix-n-match bytecode formats, we strip 
  out AS2 code. This is not likely to change.
  
  (In fact, Flex will not support embedding 8.5 and newer 
  SWFs, because all assets are now classes, and we need to link classes, not 
  embed them. You will have to either dynamically load 8.5 SWFs, or else 
  build SWCs instead, and just link to them. No need to 
  embed.)
  
  Embedded SWFs have nothing to do with trust files, so I'm 
  not sure if everybody is talking about the same thing 
here.
  
  -rg
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce 
EckelSent: Thursday, March 02, 2006 2:38 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
Embedding SWFs?
It turns out that Flex2 will not embed SWF files that are pre 8.5 
(or maybe pre 8). This is apparently a bug that will be fixed in a later 
beta (possibly the next one).
On 2/28/06, Abdul 
Qabiz [EMAIL PROTECTED] 
wrote: 

  Cool! I had heard of the trust files but never 
  tried using it.Thanks Harish for info :)-abdul
  
  On 2/28/06, Harish 
  Sivaramakrishnan  
  [EMAIL PROTECTED] wrote: 
  Hi 
Bruce,For getting rid of the Security Sandbox violation 
error that you are getting, you will have toexplicitly trust the 
swfs / images that you areloading. One way of doing this is the 
method thatabdul has suggested in his mailalternatively, You 
could also do this: Trust an SWF explicitly by adding it to the 
TrustList. This could be done by adding a cfg file in 
thefollowing 
location:C:\Windows\system32\Macromed\Flash\FlashPlayerTrust\TrustedStuff.cfgJust 
enter the folder which you want to always trust. For example if one 
wants to trust C:\Flex, just addthat in the cfg file. You could 
comment out things byadding a #.The following links have 
some useful info too:http://livedocs.macromedia.com/flash/8/main/1604.htmlhttp://flashplatform/dev/projects/maelstrom/specs/localfilesecurity/LocalFileSecurity.cfm 
http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf 
Hope this helps,Thanks 
HarishFlex-QAAdobe India.--- Abdul Qabiz [EMAIL PROTECTED] wrote: Hi 
Bruce, Loading local SWF might not be working because of 
 Security Sandbox. Try giving the permission to your 
main to load SWFs from context-menu of Flash 
Player. Context-menu  Settings  first 
tab Advanced  It would show advanced settings 
manager from macromedia.com, from 
there you can the directory.  Though, I expect 
somebody would confirm this. You can also try reading 
the security white paper for Flash Player 8 here:http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf 
 Things might be different in Macromedia Flash 
Player 8.5, so information in above white paper might 
not totally apply. As far as embedding swfs is 
concerned, I think that  should work. I don't remember 
the exact syntax, but if you do quick search to this 
mailing-list archive, I am sure you would find the exact 
syntax. Roger has replied many such queries. 
 A quick search gave me following 

Re: [flexcoders] Flexlet's and Yahoo Widgets

2006-03-03 Thread JesterXL





Here's the example (CAREFUL!!! TONS OF RAM 
USAGE!)
http://dev.jessewarden.com/captivate/flexonthedesktop/

Here's the background:
http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html

API for Central ( I have like 5 posters with this, 
it rocked!)
http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm

There are some things I'm sure could be taken from 
Central's ideal, and built into a main wrapper. Then, Flex 1.5 SWF's could 
be loaded in and implement specific interfaces to play in the framework. 
Flex 2 SWF's would have to be loaded in period, but either path could 
work. TON of work, and with Apollo aruond the 
corner

- Original Message - 
From: Clint Modien 
To: flexcoders@yahoogroups.com 
Sent: Friday, March 03, 2006 12:57 AM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
Got an example jess? Or a link to more info?I've 
been asked about this as well.
On 3/2/06, JesterXL 
 [EMAIL PROTECTED] 
wrote:

  
  You can easily create these using tools like 
  mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
  would create a framework around such tools, like Central kind of.
  
  
  - Original Message - 
  From: 
  Tariq Ahmed 
  To: flexcoders@yahoogroups.com 
  
  Sent: Thursday, March 02, 2006 9:50 PM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Hi Dimitrios. That's exactly what we'd love to have - a bunch 
  of enterprise widgets for keeping tabs on things. Dimitrios Gianninas 
  wrote: 
  Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: flexcoders@yahoogroups.com
 on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 
I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?

- Original Message - 
From: Tariq Ahmed 
To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo Widgets
I know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that had these widgets that run on your desktop. So recently I decided to try the Yahoo Widgets - this is awesome stuff, and I think pretty much what I ultimately hope to be able to do with Apollo and Flex. Though to take the idea further the widgets would be aware of each other and will be able leverage that through increased UI context.
But I was thinking in the meantime, since Yahoo and Macromedia/Adobe have a relationship - couldn't the widget engine be enhanced to incorporate the flash player so that you can have flash/flex based widgets (Flexlets?).
--Flexcoders Mailing ListFAQ: 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 developmentMacromedia flex  Software development best practice  
YAHOO! GROUPS LINKS   a..  Visit your group "flexcoders" on the web.  b..  To unsubscribe from this group, send an email to:   
[EMAIL PROTECTED]

  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


--Flexcoders Mailing ListFAQ: 
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 
  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: 

RE: [flexcoders] Reading or Embedding SWFs?

2006-03-03 Thread Roger Gonzalez





Oh, its a Flex Builder problem. Sheesh, why didn't 
you say so? That's what you get for being coddled! What, you have 
someone snuggle you up in a binky and give you some warm milk while you're 
coding, too? Be a hairy-chested manly programmer and suffer the raw rage 
of pure unfiltered mxmlc! 

ok, so I love using Flex Builder too, its like the IDE is 
giving me a big hug. but don't tell.

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Friday, March 03, 2006 7:55 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
  Embedding SWFs?
  
  Because it works consistently with the embedding 
  of the path. Once Flex Builder fails to transcode, it refuses to budge 
  on "re-checking" the embed path.
  
  I'll try to send you a re-producible test case by 
  Monday.
  
  - Original Message - 
  From: Roger Gonzalez 
  
  To: flexcoders@yahoogroups.com 
  Sent: Friday, March 03, 2006 12:08 AM
  Subject: RE: [flexcoders] Reading or Embedding SWFs?
  
  If 
  it doesn't import your frame labels, that's a bug. I don't know of any 
  reason why those would be skipped.
  
  Not sure why you recommend embedding to the class 
  rather than a variable, though. All that embedding to a variable does is 
  generate a class for you and tweak your variable to point to the 
  class.
  
  -rg
  
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
JesterXLSent: Thursday, March 02, 2006 7:01 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
Embedding SWFs?

It doesn't import your frame labels either, but 
it DOES work. Word of advice; embed your movieclip asset to a class 
rather than a variable.


[Embed(source="your.swf")]
public class YouClass extends 
MovieClip

vs. 

[Embed(source="your.swf#SymbolName")]
public var MySymbol:Class;

- Original Message - 
From: Roger Gonzalez 

To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 9:35 PM
Subject: RE: [flexcoders] Reading or Embedding SWFs?

Not so.

Flex does support embedding older SWFs. The only 
restriction is that because we can't mix-n-match bytecode formats, we strip 
out AS2 code. This is not likely to change.

(In fact, Flex will not support embedding 8.5 and newer 
SWFs, because all assets are now classes, and we need to link classes, not 
embed them. You will have to either dynamically load 8.5 SWFs, or else 
build SWCs instead, and just link to them. No need to 
embed.)

Embedded SWFs have nothing to do with trust files, so 
I'm not sure if everybody is talking about the same thing 
here.

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Bruce 
  EckelSent: Thursday, March 02, 2006 2:38 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
  Embedding SWFs?
  It turns out that Flex2 will not embed SWF files that are pre 
  8.5 (or maybe pre 8). This is apparently a bug that will be fixed in a 
  later beta (possibly the next one).
  On 2/28/06, Abdul 
  Qabiz [EMAIL PROTECTED] 
  wrote: 
  
Cool! I had heard of the trust files but 
never tried using it.Thanks Harish for info 
:)-abdul

On 2/28/06, Harish Sivaramakrishnan  
[EMAIL PROTECTED] wrote: 
Hi 
  Bruce,For getting rid of the Security Sandbox violation 
  error that you are getting, you will have toexplicitly trust 
  the swfs / images that you areloading. One way of doing this is 
  the method thatabdul has suggested in his 
  mailalternatively, You could also do this: Trust an 
  SWF explicitly by adding it to the TrustList. This could be done 
  by adding a cfg file in thefollowing 
  location:C:\Windows\system32\Macromed\Flash\FlashPlayerTrust\TrustedStuff.cfgJust 
  enter the folder which you want to always trust. For example if 
  one wants to trust C:\Flex, just addthat in the cfg file. You 
  could comment out things byadding a #.The following links 
  have some useful info too:http://livedocs.macromedia.com/flash/8/main/1604.htmlhttp://flashplatform/dev/projects/maelstrom/specs/localfilesecurity/LocalFileSecurity.cfm 
  http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf 
  Hope this helps,Thanks 
  HarishFlex-QAAdobe India.--- Abdul Qabiz 
  [EMAIL PROTECTED] wrote: Hi 
  Bruce, Loading local SWF might not be working because 
  of  Security Sandbox. Try giving the permission to 
  your main to load SWFs from context-menu of Flash 
  Player. Context-menu  Settings  first 
  tab Advanced  It 

RE: [flexcoders] AS3 Date month starting at 0?

2006-03-03 Thread Sönke Rohde

  Hi,
  Using the AS3-Date-Class the first time I recognized that 
 the month is
  starting at 0 means 0 is January. Is this the expected behaviour?
 
 Yeah - it's supposed to be like this (and has been like this 
 for a long 
 time).  Not a bug, sorry, you'll just have to account for the 
 0-indexed 
 month in your code.

Thanks a lot for all responses.
Btw: I ran into this issue getting a MySQL-Recordset back via amfphp where
the date-column arrives as a string in Flash. Parsing the date-string e.g.
2006-03-03 resulted as the third of April which I now learned is right.
Maybe amfphp with amf3-support can handle this better? Anyway - other topic
...

Cheers,
Sönke



--
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] SOAP WebService faultString problem

2006-03-03 Thread Peter Farland
Are you using the proxy? I think we changed for Beta 2 to return the
entire status line from the HTTP error (as it's likely you're running
into a 404)... But please submit a test case (or at the very least email
me your file) if you want us to check your particular situation.

Thanks,
   Pete



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jan L. Nauta
Sent: Friday, March 03, 2006 3:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SOAP WebService faultString problem

Hi,

[Flex 2.0 Beta 1]

I'm not getting the faultString when a fault occurs in my SOAP
WebService:

fault=Alert.show(event.fault.faultstring, 'SOAP Fault');

shows only 'HTTP Request Error'.

I found some info about this with google that states that this doesn't
work with most browsers, but it should (only) work with Internet
Explorer. I've tried with Internet Explorer 6, FireFox 1.5 and Opera
8.5. None works. What am I doing wrong? I'm testing with PHP5.1 on an
Apache 2.0 using a WSDL based soap server.

Regards,

Jan L. Nauta

B.T.W. in Opera you sometimes have to refresh the page to get your Flex
application to run. Is this a known problem?



--
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] Can we remove RemoteObject instances??

2006-03-03 Thread Peter Farland
Have you tried calling delete myRo; in a script block of the
Application (or component) that declares the RemoteObject?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sn197412
Sent: Friday, March 03, 2006 6:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can we remove RemoteObject instances??

Hi.

About RemoteObject instances.
Can we remove RemoteObject instances like removeChild method??
If we create 100 RemoteObject instances, we can't remove those
instances??






--
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] SOLVED - Re: X-Y Coordinate translation

2006-03-03 Thread thunderstumpgesatwork
OK, so I answered this one myself =)

DisplayObject has a function called localToGlobal() that takes a local
point, and returns one relative to the stage (global). It also has a
'partner' function called globalToLocal() which does the opposite.

So to get a point relative to an ancestor container, you call:

ancestor.globalToLocal(child.localToGlobal(child.x,child.y));

cheers!
Thunder

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

 Hi all,
 
 I am trying to catch a selection change event on a chart, and then
 position and show an HBox relative to a corner of the chart item.
 
 The HBox is a child of an outer canvas which houses several other
 containers including the chart, legend, etc. 
 
 The X and Y position of the HBox is relative to the outer Canvas, but
 the X and Y position I have is for the chart item, and it's renderer.
 
 Are there any built-in functions that will convert the X-Y position on
 the chart item to it's ancestor (the canvas)? 
 
 If not, would this recursive search up the 'parent' chain be an
 appropriate approach to doing so? It works for my situation, but I
 don't know if all 'parent' objects are required to have both an x-y
 combination and a 'parent' object as well...
 
 thanks,
 Thunder
 ___
 
 public function translateCoordinates(referenceObject:Object,
 ancestor:Object):Object
 {
var oRet:Object=null;
if ( (referenceObject != null) 
 (referenceObject.x != null) 
 (referenceObject.y != null) 
 (referenceObject.parent != null) 
 (ancestor != null)
)
{
   // assume we have valid objects
   if (referenceObject.parent == ancestor)
   {
  // the object's parent is the ancestor. its coordinates are
 relative to the ancestor
  oRet = new Object();
  oRet.x = referenceObject.x;
  oRet.y = referenceObject.y;
   }
   else
   {
  // keep looking up the chain of parents
  var oPos:Object =
 translateCoordinates(referenceObject.parent, ancestor);
  if (oPos != null)
  {
 // the relative position was found, add it to the current
 reference object
 oRet = oPos;
 oRet.x = referenceObject.x + oPos.x;
 oRet.y = referenceObject.y + oPos.y;
  }
   }
}
return oRet;
 }








--
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] Clearing Results

2006-03-03 Thread Jeremy Rottman
In my app, I have a section called add sale. When this state is called I
use initialize to call a fucntion. This function queries my db and I use
another fucntion that populates a text input when the results are
returned.

With the code below, how can I clear the results of the state. I have
several text inputs that I have set to no values, but I cant figure out
how to make it so that the next time I call the state, the text input is
populated again. I am assuming that I need to clear the results handler.
But I am not sure how to do that.

Here are the snippets of code.

Initializing the function:

mx:Canvas width=100% height=100%
initialize=SaleModqiAdminSaleStart() 
xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*

Webservice call:
 mx:WebService id=SaleMod  useProxy=false
wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl;
showBusyCursor=true
 mx:operation name=qiAdminSaleStart
result=SaleModqiAdminSaleStartResult( SaleMod.qiAdminSaleStart.result
) fault=SaleModqiAdminSaleStartFault( event )/
 /mx:WebService

Function used to query my db:

 // used to call the service
 function SaleModqiAdminSaleStart(){
 SaleMod.qiAdminSaleStart();
 }

 // called when results received
 function SaleModqiAdminSaleStartResult( result ){
 fileNum.text = result;
 }

 function SaleModqiAdminSaleStartFault ( event ){}






--
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] Reading or Embedding SWFs?

2006-03-03 Thread JesterXL





I use ANT to make mxmlc my automated-bitch with 1 
click. The mouse won't hurt you Roger... it's actually pretty pimp if you 
get a glowing one.

- Original Message - 
From: Roger Gonzalez 

To: flexcoders@yahoogroups.com 
Sent: Friday, March 03, 2006 11:03 AM
Subject: RE: [flexcoders] Reading or Embedding SWFs?

Oh, its a Flex Builder problem. Sheesh, why didn't 
you say so? That's what you get for being coddled! What, you have 
someone snuggle you up in a binky and give you some warm milk while you're 
coding, too? Be a hairy-chested manly programmer and suffer the raw rage 
of pure unfiltered mxmlc! 

ok, so I love using Flex Builder too, its like the IDE is 
giving me a big hug. but don't tell.

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Friday, March 03, 2006 7:55 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
  Embedding SWFs?
  
  Because it works consistently with the embedding 
  of the path. Once Flex Builder fails to transcode, it refuses to budge 
  on "re-checking" the embed path.
  
  I'll try to send you a re-producible test case by 
  Monday.
  
  - Original Message - 
  From: Roger Gonzalez 
  
  To: flexcoders@yahoogroups.com 
  Sent: Friday, March 03, 2006 12:08 AM
  Subject: RE: [flexcoders] Reading or Embedding SWFs?
  
  If 
  it doesn't import your frame labels, that's a bug. I don't know of any 
  reason why those would be skipped.
  
  Not sure why you recommend embedding to the class 
  rather than a variable, though. All that embedding to a variable does is 
  generate a class for you and tweak your variable to point to the 
  class.
  
  -rg
  
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
JesterXLSent: Thursday, March 02, 2006 7:01 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
Embedding SWFs?

It doesn't import your frame labels either, but 
it DOES work. Word of advice; embed your movieclip asset to a class 
rather than a variable.


[Embed(source="your.swf")]
public class YouClass extends 
MovieClip

vs. 

[Embed(source="your.swf#SymbolName")]
public var MySymbol:Class;

- Original Message - 
From: Roger Gonzalez 

To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 9:35 PM
Subject: RE: [flexcoders] Reading or Embedding SWFs?

Not so.

Flex does support embedding older SWFs. The only 
restriction is that because we can't mix-n-match bytecode formats, we strip 
out AS2 code. This is not likely to change.

(In fact, Flex will not support embedding 8.5 and newer 
SWFs, because all assets are now classes, and we need to link classes, not 
embed them. You will have to either dynamically load 8.5 SWFs, or else 
build SWCs instead, and just link to them. No need to 
embed.)

Embedded SWFs have nothing to do with trust files, so 
I'm not sure if everybody is talking about the same thing 
here.

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Bruce 
  EckelSent: Thursday, March 02, 2006 2:38 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Reading or 
  Embedding SWFs?
  It turns out that Flex2 will not embed SWF files that are pre 
  8.5 (or maybe pre 8). This is apparently a bug that will be fixed in a 
  later beta (possibly the next one).
  On 2/28/06, Abdul 
  Qabiz [EMAIL PROTECTED] 
  wrote: 
  
Cool! I had heard of the trust files but 
never tried using it.Thanks Harish for info 
:)-abdul

On 2/28/06, Harish Sivaramakrishnan  
[EMAIL PROTECTED] wrote: 
Hi 
  Bruce,For getting rid of the Security Sandbox violation 
  error that you are getting, you will have toexplicitly trust 
  the swfs / images that you areloading. One way of doing this is 
  the method thatabdul has suggested in his 
  mailalternatively, You could also do this: Trust an 
  SWF explicitly by adding it to the TrustList. This could be done 
  by adding a cfg file in thefollowing 
  location:C:\Windows\system32\Macromed\Flash\FlashPlayerTrust\TrustedStuff.cfgJust 
  enter the folder which you want to always trust. For example if 
  one wants to trust C:\Flex, just addthat in the cfg file. You 
  could comment out things byadding a #.The following links 
  have some useful info too:http://livedocs.macromedia.com/flash/8/main/1604.htmlhttp://flashplatform/dev/projects/maelstrom/specs/localfilesecurity/LocalFileSecurity.cfm 
  http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf 
  Hope this helps,Thanks 
  HarishFlex-QAAdobe 

[flexcoders] Re: Can we remove RemoteObject instances??

2006-03-03 Thread sn197412
Hi, thank you for replay.

But delete myRo; didn't work...
myRo still exists in this.
(I checked this by a debug mode.)

--Shigeru

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

 Have you tried calling delete myRo; in a script block of the
 Application (or component) that declares the RemoteObject?
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sn197412
 Sent: Friday, March 03, 2006 6:54 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Can we remove RemoteObject instances??
 
 Hi.
 
 About RemoteObject instances.
 Can we remove RemoteObject instances like removeChild method??
 If we create 100 RemoteObject instances, we can't remove those
 instances??
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







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

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

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

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




[flexcoders] Re: a GridTree component for flex 2

2006-03-03 Thread thunderstumpgesatwork
Looks good! I've been thinking I'm going to need something like this too.

Any plans to release this as a component at least? If so when?

Thanks,
Thunder

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

 hi list,
 
 just made a GridTree component for next project, please take a look at
 
 -preview video
 http://ria.richtechmedia.com/upload/GridTreeForFlex2/
 
 -blog entry (upper half written in English)
 http://ria.richtechmedia.com/?p=330
 
 any suggestions or ideas would be appreciated.
 
 btw, thanks to the flex team for making AS3/datagrid/cell renderer so
 fast that this could be achieved.
 
 jeremy lu.







--
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] Flexlet's and Yahoo Widgets

2006-03-03 Thread Clint Modien



wow dood... you weren't kidding about the ram usuage... I saw 450MB used in firefox... good thing i got mad ram...so all you did was run the generated swf through mProjector to make an exe? What were the 2 lines of AS to make it work with the executable?
anyplace else I can find some info on this? *runs a search* Didn't really find anything in this list... have any pointers?On 3/3/06, 

JesterXL [EMAIL PROTECTED]
 wrote:








Here's the example (CAREFUL!!! TONS OF RAM 
USAGE!)
http://dev.jessewarden.com/captivate/flexonthedesktop/


Here's the background:
http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html


API for Central ( I have like 5 posters with this, 
it rocked!)
http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm


There are some things I'm sure could be taken from 
Central's ideal, and built into a main wrapper. Then, Flex 1.5 SWF's could 
be loaded in and implement specific interfaces to play in the framework. 
Flex 2 SWF's would have to be loaded in period, but either path could 
work. TON of work, and with Apollo aruond the 
corner




- Original Message - 
From: 


Clint Modien 
To: flexcoders@yahoogroups.com 



Sent: Friday, March 03, 2006 12:57 AM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
Got an example jess? Or a link to more info?I've 
been asked about this as well.
On 3/2/06, JesterXL 
 [EMAIL PROTECTED] 
wrote:

  
  You can easily create these using tools like 
  mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
  would create a framework around such tools, like Central kind of.
  
  
  - Original Message - 
  From: 
  Tariq Ahmed 
  To: flexcoders@yahoogroups.com 
  
  Sent: Thursday, March 02, 2006 9:50 PM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Hi Dimitrios. That's exactly what we'd love to have - a bunch 
  of enterprise widgets for keeping tabs on things. Dimitrios Gianninas 
  wrote: 
  Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: flexcoders@yahoogroups.com
 on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: flexcoders@yahoogroups.com

Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 
I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?

- Original Message - 
From: Tariq Ahmed 
To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo Widgets
I know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that had these widgets that run on your desktop. So recently I decided to try the Yahoo Widgets - this is awesome stuff, and I think pretty much what I ultimately hope to be able to do with Apollo and Flex. Though to take the idea further the widgets would be aware of each other and will be able leverage that through increased UI context.
But I was thinking in the meantime, since Yahoo and Macromedia/Adobe have a relationship - couldn't the widget engine be enhanced to incorporate the flash player so that you can have flash/flex based widgets (Flexlets?).
--Flexcoders Mailing ListFAQ: 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 developmentMacromedia flex  Software development best practice  
YAHOO! GROUPS LINKS   a..  Visit your group flexcoders on the web.  b..  To unsubscribe from this group, send an email to:   



[EMAIL PROTECTED]

  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


--Flexcoders Mailing ListFAQ: 



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 
  Mailing ListFAQ: 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 
  



Re: [flexcoders] Flexlet's and Yahoo Widgets

2006-03-03 Thread JesterXL





Yep.

Actually more than 2:

// if running in 
mProjectorif(_global.mSystem != 
null){var o = 
_global.mSystem.getDesktopWorkArea();var tW:Number = 
o.right - o.left;var tH:Number = o.bottom - 
o.top;_global.mWindow.setPosition(0, 
0);_global.mWindow.setSize(tW, 
tH);_global.mWindow.showOnTaskBar(true);}

Info? What exactly are you looking for? 
Macromedia intended for Flex to be on the server, not as a desktop app, hehe, so 
you'll need to be specific.


- Original Message - 
From: Clint Modien 
To: flexcoders@yahoogroups.com 
Sent: Friday, March 03, 2006 11:42 AM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
wow dood... you weren't kidding about the ram usuage... I 
saw 450MB used in firefox... good thing i got mad ram...so all you did 
was run the generated swf through mProjector to make an exe? What were the 
2 lines of AS to make it work with the executable? anyplace else I can 
find some info on this? *runs a search* Didn't really find anything 
in this list... have any pointers?
On 3/3/06, JesterXL 
[EMAIL PROTECTED] 
 wrote:

  
  Here's the example (CAREFUL!!! TONS OF RAM 
  USAGE!)
  http://dev.jessewarden.com/captivate/flexonthedesktop/ 
  
  
  Here's the background:
  http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html 
  
  
  API for Central ( I have like 5 posters with 
  this, it rocked!)
  http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm 
  
  
  There are some things I'm sure could be taken 
  from Central's ideal, and built into a main wrapper. Then, Flex 1.5 
  SWF's could be loaded in and implement specific interfaces to play in the 
  framework. Flex 2 SWF's would have to be loaded in period, but either 
  path could work. TON of work, and with Apollo aruond the 
  corner
  
  
  - Original Message - 
  From: 
  Clint Modien 
  To: flexcoders@yahoogroups.com 
  
  Sent: Friday, March 03, 2006 12:57 AM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Got an example jess? Or a link to more info?I've 
  been asked about this as well.
  On 3/2/06, JesterXL 
   
  [EMAIL PROTECTED] wrote: 
  

You can easily create these using tools like 
mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
would create a framework around such tools, like Central kind 
of.


- Original Message - 
From: 
Tariq Ahmed 
To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 9:50 PM
Subject: Re: [flexcoders] Flexlet's and Yahoo 
Widgets


Hi Dimitrios. That's exactly what we'd love to have - a bunch 
of enterprise widgets for keeping tabs on things. Dimitrios 
Gianninas wrote: 
Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: flexcoders@yahoogroups.com
 on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: flexcoders@yahoogroups.com

Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 
I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?

- Original Message - 
From: Tariq Ahmed 
To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo Widgets
I know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that had these widgets that run on your desktop. So recently I decided to try the Yahoo Widgets - this is awesome stuff, and I think pretty much what I ultimately hope to be able to do with Apollo and Flex. Though to take the idea further the widgets would be aware of each other and will be able leverage that through increased UI context.
But I was thinking in the meantime, since Yahoo and Macromedia/Adobe have a relationship - couldn't the widget engine be enhanced to incorporate the flash player so that you can have flash/flex based widgets (Flexlets?).
--Flexcoders Mailing ListFAQ: 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 developmentMacromedia flex  Software development best practice  
YAHOO! GROUPS LINKS   a..  Visit your group "flexcoders" on the web.  b..  To unsubscribe from this group, send an email to:   



[EMAIL PROTECTED]

  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



RE: [flexcoders] Coustom cellRenderer in AS3 for a DataGrid

2006-03-03 Thread Stephen Gilson





If you have the Flex 2.0 Beta, the architecture has changed 
completely from AS2. You can read about them in the "Developing Flex 
Applications" book, available here: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation

The chapters you want are "Using Cell Renderers and Cell 
Editors" at http://livedocs.macromedia.com/flex/20beta1/docs/1063.html

and "Working with Cell Editors" at http://livedocs.macromedia.com/flex/20beta1/docs/1096.html

Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Harald 
DehnSent: Friday, March 03, 2006 10:20 AMTo: 
flexcoders@yahoogroups.comSubject: AW: [flexcoders] Coustom 
cellRenderer in AS3 for a DataGrid


Hi

here ist the 
sourcecode I am experimenting with… Unfortunealy the setValue function (I found 
a lot of examples for flash 8) doesn’t work with AS3. Do have any 
idea?

Regards,
Harry

package 
CellRenderer {
 
import mx.controls.Image;
 
import mx.controls.Label;
 
import mx.containers.HBox;
 
import mx.core.IDataObject;
 

 
public class KundeCellRenderer extends HBox {
 
[Embed(source="Kunde.png")]
 
public static const cKundeImage:Class;
 
[Embed(source="Kunde_Del.png")]
 
public static const cKundeDeleteImage:Class;
 

 
private var _Icon:Image;
 
private var _Label:Label;
 
private var _DataObject:Object;


 
public function setValue(str:String, item:Object, sel:Boolean):void 
{
 
_Label.text = item.KundenName;
 
}

 
protected override function createChildren():void {
 
super.createChildren();
 
this.setStyle("verticalAlign", "middle");
 
this.setStyle("marginLeft", 6);
 
_Icon = new Image();
 
_Icon.source = KundeCellRenderer.cKundeImage;
 
this.addChild(_Icon);
 
_Label = new Label();
 
// _Label.text = "1234";
 
this.addChild(_Label);
 
}

 
public function KundeCellRenderer() {
 
}
 
}
}





Von: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von jeremy luGesendet: Freitag, 3. März 2006 
16:09An: 
flexcoders@yahoogroups.comBetreff: Re: [flexcoders] Coustom 
cellRenderer in AS3 for a DataGrid

what you want to do with it 
?

On 3/3/06, harald_dehn [EMAIL PROTECTED] 
wrote:
Hello,does anyone know how to write 
a custom cellrenderer for a datagrid inAS3. All examples i have found using 
MXML or were written for flash8(using setValue function). Unfortunealy this 
approach doesn't work in 
AS3...Harry--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links* To visit your group on the web, go to: 
http://groups.yahoo.com/group/flexcoders/* 
To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]* Your use of Yahoo! 
Groups is subject to:http://docs.yahoo.com/info/terms/






--
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] IE Update disables Flash

2006-03-03 Thread Clint Modien



Anyone else seen this?http://weblogs.asp.net/jgalloway/archive/2006/03/03/439483.aspxShould I start using FlashObject?






--
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] IE Update disables Flash

2006-03-03 Thread Dave Carabetta



On 3/3/06, Clint Modien [EMAIL PROTECTED] wrote:



Anyone else seen this?http://weblogs.asp.net/jgalloway/archive/2006/03/03/439483.aspx
Should I start using FlashObject?Clint,Did you see/apply this hot fix released yesterday?http://www.macromedia.com/go/ace0407
Regards,Dave.






--
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] Flexlet's and Yahoo Widgets

2006-03-03 Thread Clint Modien



Umm is it stable? Have you deployed an app like this? Ran into any weird problems? Is this even legal from a licensing standpoint? Is the swf loaded @ runtime meaning... can I load in a new swf from a web server... (I guess I could write a loader that does nothing but load the main app)?
I was reading through the mProjector docs and it looks to be exactly what I want.  Info? What exactly are you looking for? 
Macromedia intended for Flex to be on the server,  not as a desktop app, hehe, so 
you'll need to be specific.On 3/3/06, JesterXL [EMAIL PROTECTED] wrote:









Yep.

Actually more than 2:

// if running in 
mProjectorif(_global.mSystem != 
null){var o = 
_global.mSystem.getDesktopWorkArea();var tW:Number = 
o.right - o.left;var tH:Number = o.bottom - 
o.top;_global.mWindow.setPosition(0, 
0);_global.mWindow.setSize(tW, 
tH);_global.mWindow.showOnTaskBar(true);}

Info? What exactly are you looking for? 
Macromedia intended for Flex to be on the server, not as a desktop app, hehe, so 
you'll need to be specific.



- Original Message - 
From: 
Clint Modien 
To: flexcoders@yahoogroups.com 

Sent: Friday, March 03, 2006 11:42 AM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
wow dood... you weren't kidding about the ram usuage... I 
saw 450MB used in firefox... good thing i got mad ram...so all you did 
was run the generated swf through mProjector to make an exe? What were the 
2 lines of AS to make it work with the executable? anyplace else I can 
find some info on this? *runs a search* Didn't really find anything 
in this list... have any pointers?
On 3/3/06, JesterXL 
[EMAIL PROTECTED] 
 wrote:

  
  Here's the example (CAREFUL!!! TONS OF RAM 
  USAGE!)
  http://dev.jessewarden.com/captivate/flexonthedesktop/ 
  
  
  Here's the background:
  http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html 
  
  
  API for Central ( I have like 5 posters with 
  this, it rocked!)
  http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm 
  
  
  There are some things I'm sure could be taken 
  from Central's ideal, and built into a main wrapper. Then, Flex 1.5 
  SWF's could be loaded in and implement specific interfaces to play in the 
  framework. Flex 2 SWF's would have to be loaded in period, but either 
  path could work. TON of work, and with Apollo aruond the 
  corner
  
  
  - Original Message - 
  From: 
  Clint Modien 
  To: flexcoders@yahoogroups.com 
  
  Sent: Friday, March 03, 2006 12:57 AM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Got an example jess? Or a link to more info?I've 
  been asked about this as well.
  On 3/2/06, JesterXL 
   
  [EMAIL PROTECTED] wrote: 
  

You can easily create these using tools like 
mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
would create a framework around such tools, like Central kind 
of.


- Original Message - 
From: 
Tariq Ahmed 
To: flexcoders@yahoogroups.com 


Sent: Thursday, March 02, 2006 9:50 PM
Subject: Re: [flexcoders] Flexlet's and Yahoo 
Widgets


Hi Dimitrios. That's exactly what we'd love to have - a bunch 
of enterprise widgets for keeping tabs on things. Dimitrios 
Gianninas wrote: 
Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: flexcoders@yahoogroups.com
 on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: flexcoders@yahoogroups.com


Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 
I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?

- Original Message - 
From: Tariq Ahmed 
To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo Widgets
I know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that had these widgets that run on your desktop. So recently I decided to try the Yahoo Widgets - this is awesome stuff, and I think pretty much what I ultimately hope to be able to do with Apollo and Flex. Though to take the idea further the widgets would be aware of each other and will be able leverage that through increased UI context.
But I was thinking in the meantime, since Yahoo and Macromedia/Adobe have a relationship - couldn't the widget engine be enhanced to incorporate the flash player so that you can have flash/flex based widgets (Flexlets?).
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: 

Re: [flexcoders] Catching ChangeEvent 1.5

2006-03-03 Thread Abdul Qabiz



Hi,If array's reference changes, you can watch that. But if individual elements are changing you can watch those.What I suggest that instead of uusing raw Arrays, you can wrap these arrays in some class and add/remove elements using the methods of the classs...
Check out the flexcoder's FAQ and archives on binding...This has been discussed manytimes..-abdulOn 3/3/06, Steve Cox 
[EMAIL PROTECTED] wrote:




















All,



I'm passing through
several arrays to a custom component. 



Ideally what I'd like to
do is call a function inside the component when one of these arrays changes. How
do I capture the change event ?



Cheers,



Ste









--
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] More FB2 strangeness

2006-03-03 Thread Tom Ortega



I'm not sure if this is an eclipse bug or a FB2 bug. When you maximize the code window, it hides the Navigator, Outline and Problems panes. I have multiple mxml files open. When I click on a different file tab, the Navigator, Outline and Problems come back, then I have to click the Maximize button again. This continues every time I toggle between files.
Just an FYI for the QA team.-Tom






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] IE Update disables Flash

2006-03-03 Thread Clint Modien



Awesome... thanks Dave and Adobe.On 3/3/06, Dave Carabetta [EMAIL PROTECTED] wrote:



On 3/3/06, Clint Modien [EMAIL PROTECTED] wrote:




Anyone else seen this?http://weblogs.asp.net/jgalloway/archive/2006/03/03/439483.aspx
Should I start using FlashObject?Clint,Did you see/apply this hot fix released yesterday?
http://www.macromedia.com/go/ace0407
Regards,Dave.






--
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] Flex and URL variables

2006-03-03 Thread Abdul Qabiz



Hi Jesse,I think, even in Flex 1.5 it was quite straight forward. You just need to declare public vars in MXML and then you can pass those vars through query string. F.ex.:##querystring.mxmlmx:Application xmlns:mx=
http://www.macromedia.com/2003/mxml mx:Scriptimport mx.controls.Alert;public var name:String = ;
private function onAppInit(){ Alert.show(name);}/mx:Script/mx:ApplicationUsage:
http://server/querystring.mxml?name=AbdulIt would show the passed value in Alert...Kevin and Manish deep linking was useful when you want to save the state of application in form of rest url. Or re initialize to same state from the rest URL...
FYI! Patent has been filed for this idea :)-abdulOn 3/3/06, JesterXL [EMAIL PROTECTED]
 wrote:








Don't know the Flex 2 way.

For Flex 1.5, I used Kevin Lynch's deep linking 
code.

http://www.klynch.com/archives/76.html

My implementation:
http://www.jessewarden.com/archives/2005/10/code_share_real.html


Basically, _javascript_ will set vars for you and you 
can use Kevin's class to get vars. The are at least 2 other 
implementations I've seen on the net, but this one worked, so I stuck with 
it.

So:

codeid = 
browserState.getValue(codeid);

Allows me to get the codeid value from this 
url:
http://dev.jessewarden.com/flex/codeshare/#codeid=43


And thus I can do stuff with that variable. 
If I want to update the browser's URL to reflect the state of the 
app:

browserState.setValue(codeid, 
posts_lb.selectedItem.id);

You can bookmark these links too. There was 
something funky with Firefox where you come from an existing bookmark or 
something, but whatever it was was an extreme use case (sort of).





- Original Message - 
From: 
Jonathan 
Miranda 
To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 6:02 PM
Subject: RE: [flexcoders] Flex and URL variables


Dos



_
Jonathan 
Miranda
Flexible 
Master of the Web
Try not to become 
a man of success, but a man of value. - Albert 
Einstein

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 JesterXLSent: Thursday, March 02, 2006 3:55 
PMTo: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex and URL 
variables


Flex 1.5 or 
2?



- Original Message - 



From: 
Jonathan 
Miranda 

To: 
flexcoders@yahoogroups.com 


Sent: Thursday, 
March 02, 2006 5:49 PM

Subject: 
[flexcoders] Flex and URL variables


Alright, I've done this with Flash 
before but I'm wondering how similar it is.Let's say I start my app @ http://mysite.com/index.mxml?number=3
What's 
the easiest way to get that 3 into a variable in Flex? Using FlashVars in the 
embed/object tags and then somehow do mx.core.application.Application.number as 
my variable?
_
Jonathan 
Miranda
Flexible Master 
of the Web
Try not to become a man of success, but a 
man of value. - Albert Einstein
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









  
  
  

[flexcoders] IOException of ColdFusion + FileReference Class

2006-03-03 Thread sn197412
Hi.

When a file upload to ColdFusion via FleReference Class,
ColdFusion has IOException Error like below.
(I just tried a sample at flashplatform's SVN in Macromedia Labs.)

Is this FlashPler8.5's bug??
(My current FlashPlayer's version is 8,5,0,212.)

03/04 02:34:18 error Corrupt form data: premature ending
java.io.IOException: Corrupt form data: premature ending
at
com.oreilly.servlet.multipart.MultipartParser.init(MultipartParser.java:166)
at
com.oreilly.servlet.multipart.MultipartParser.init(MultipartParser.java:94)
at coldfusion.filter.FormScope.fillMultipart(FormScope.java:107)
at
coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:382)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)





--
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] AS3 Date month starting at 0?

2006-03-03 Thread Gordon Smith
January being month 0 in the Date class is required by the ECMA-262 standard 
that we're following, since we want AS3 to be compatible with Ecmascript.

Dunno what's going on with the GMT. That looks weird.

BTW, you should be passing numbers, not strings, to the Date constructor.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke 
Rohde
Sent: Friday, March 03, 2006 2:08 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AS3 Date month starting at 0?

Hi,
Using the AS3-Date-Class the first time I recognized that the month is
starting at 0 means 0 is January. Is this the expected behaviour?

Example:
var d:Date = new Date(2006,03,22);
trace(date  + d); // date Sat Apr 22 00:00:00 GMT+0200 2006

And another date I tried has a different GMT:
var d:Date = new Date(2006,10,18);
trace(date  + d); // date Sat Nov 18 00:00:00 GMT+0100 2006

Is this a known issue/bug or am I doing something wrong?

Cheers,
Sönke



--
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] Flexlet's and Yahoo Widgets

2006-03-03 Thread Scott Langeberg



Actually, I think Konfabulator only supported XML and _javascript_. No HTML and no Flash, as far as I know. All your layout tags were in the xml doc.ScottOn 3/2/06, 
JesterXL [EMAIL PROTECTED] wrote:







How do they differ from Kapsules?
http://www.kwidgets.com/

Basically, Kapsules used:
- .NET compatible script (I used 
_javascript_)
- images
- XML file for config info

If Konfabulator supports the AJAX approach, I 
assume that means they support HTML  _javascript_? If so, what's to 
prevent you from embedding ActiveX controls?


- Original Message - 
From: 
Tariq Ahmed 
To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 6:10 PM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
All those widgets are basically a package of graphics and 
_javascript_ utilizing an Ajax approach. But they have access to all kinds of 
local resources like your memory, outlook, etc... JesterXL 
wrote: 

  
  

  I've never messed with Konfabulator or whatever 
  Yahoo calls it now. What does it support currently?
  
  - 
  Original Message - 
  From: 
  Tariq Ahmed 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, March 02, 2006 1:34 PM
  Subject: [flexcoders] Flexlet's and Yahoo Widgets
  I know it's been mentioned before, most notably on Jesse's 
  blog, about ultimately your desktop being the dashboard when it comes to Flex 
  applications. Being able to move beyond the limitations of an instance of a 
  browser. I've always loved the the concept of the MAC Dashboard that 
  had these widgets that run on your desktop. So recently I decided to try the 
  Yahoo Widgets - this is awesome stuff, and I think pretty much what I 
  ultimately hope to be able to do with Apollo and Flex. Though to take the idea 
  further the widgets would be aware of each other and will be able leverage 
  that through increased UI context.But I was thinking in the meantime, 
  since Yahoo and Macromedia/Adobe have a relationship - couldn't the widget 
  engine be enhanced to incorporate the flash player so that you can have 
  flash/flex based widgets (Flexlets?).





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



  








-- : : ) Scott






--
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] Button height and width in CSS?

2006-03-03 Thread Gordon Smith










By design; x, y, width, and height are
regular properties, not styles.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Friday, March 03, 2006 5:39
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Button
height and width in CSS?







Is it a bug or by design, that button's height and width
can't be set through CSS?











Thanks



---Pablo Gustavo Apanasionek









--
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] Understanding UIComponent

2006-03-03 Thread Gordon Smith










Please be aware that some of it is
changing for Beta 2. For example, the 'initialize' event is going to be
dispatched AFTER the children have been created. A new 'preinitialize' event
will be dispatched before. Also, 'initialize' and 'creationComplete' are going
to be deferred for panes of navigator components until you navigate to them and
they create their children.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jeremy lu
Sent: Friday, March 03, 2006 7:08
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Understanding UIComponent






that chapter is particularly well written, should read it over and over again.






On 3/3/06, Stephen
Gilson  [EMAIL PROTECTED]
wrote:



There is indeed a book - It is
called Creating and Extending Flex Components and you can
find it at: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation




This page lists the order of events when
you create a component: http://livedocs.macromedia.com/flex/20beta1/docs/1877.html 



Stephen









From: Gordon
Smith 
Sent: Thursday, March 02, 2006
11:55 PM
To: 'flexcoders@yahoogroups.com'
Cc: Stephen Gilson
Subject: RE: [flexcoders]
Understanding UIComponent







He wants to create custom components, so he needs to understand
methods like

createChildren(), commitProperties(), measure(), and
updateDisplayList().



There should be a whole book in the documentation set about
creating your own components, and it should cover basic methods like these.



- Gordon





From: flexcoders@yahoogroups.com
[mailto: flexcoders@yahoogroups.com]
On Behalf Of JesterXL

Sent: Thursday, March 02, 2006 8:26 PM

To: flexcoders@yahoogroups.com


Subject: Re: [flexcoders] Understanding UIComponent



You look like you're on the right track. For now (as of
Beta 1), I think the only ones that actually matter event wise are:



initialize

creationComplete



The only difference is initialize runs before allof the
layout stuff, so if you need to do your own positioning/sizing, this is a good
place to do it; creationComplete is after all the children have been created
AND sized + positioned.



We've all asked for the goto flow diagramof the main
component that is UIComponent, so hopefully this'll get clearer doc wise soon.



- Original Message - 

From: Bill Lane


To: flexcoders@yahoogroups.com


Sent: Thursday, March 02, 2006 7:51 PM

Subject: [flexcoders] Understanding UIComponent



I'm just getting started with Flex Beta. We are
particularly

interested in being able to create custom components using
AS3. So I

am keen to get my head around the structure of
UIComponent. In AS2 I

saw an excellent diagram that explained the sequence that
methods were

executed and what should be done with each. I have been
looking for a

similar diagram for AS3 with no luck. Consequently I've
had a go myself.



Firstly, does anyone know of a good resource (other than the AS3

language reference which has become my constant companion) with
this

information. OR Could someone have a look at my drawing

(http://www.geekglue.com/media/swf/uicomponent.htm ) and let
me know if

I'm on the right track.



Bill Lane





--

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
  
  
 

Re: [flexcoders] Flexlet's and Yahoo Widgets

2006-03-03 Thread Rich Tretola



Hey Jesse

Why does this use so much RAM ?

RichOn 3/3/06, JesterXL [EMAIL PROTECTED] wrote:









Here's the example (CAREFUL!!! TONS OF RAM 
USAGE!)
http://dev.jessewarden.com/captivate/flexonthedesktop/


Here's the background:
http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html


API for Central ( I have like 5 posters with this, 
it rocked!)
http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm


There are some things I'm sure could be taken from 
Central's ideal, and built into a main wrapper. Then, Flex 1.5 SWF's could 
be loaded in and implement specific interfaces to play in the framework. 
Flex 2 SWF's would have to be loaded in period, but either path could 
work. TON of work, and with Apollo aruond the 
corner

- Original Message - 
From: 
Clint Modien 
To: flexcoders@yahoogroups.com 

Sent: Friday, March 03, 2006 12:57 AM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
Got an example jess? Or a link to more info?I've 
been asked about this as well.
On 3/2/06, JesterXL 
 [EMAIL PROTECTED] 
wrote:

  
  You can easily create these using tools like 
  mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
  would create a framework around such tools, like Central kind of.
  
  
  - Original Message - 
  From: 
  Tariq Ahmed 
  To: flexcoders@yahoogroups.com 
  
  Sent: Thursday, March 02, 2006 9:50 PM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Hi Dimitrios. That's exactly what we'd love to have - a bunch 
  of enterprise widgets for keeping tabs on things. Dimitrios Gianninas 
  wrote: 
  Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: flexcoders@yahoogroups.com
 on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?- Original Message - From: Tariq Ahmed To: 
flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo WidgetsI know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that had these widgets that run on your desktop. So recently I decided to try the Yahoo Widgets - this is awesome stuff, and I think pretty much what I ultimately hope to be able to do with Apollo and Flex. Though to take the idea further the widgets would be aware of each other and will be able leverage that through increased UI context.
But I was thinking in the meantime, since Yahoo and Macromedia/Adobe have a relationship - couldn't the widget engine be enhanced to incorporate the flash player so that you can have flash/flex based widgets (Flexlets?).
--Flexcoders Mailing ListFAQ: 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 developmentMacromedia flex  Software development best practice  
YAHOO! GROUPS LINKS   a..  Visit your group flexcoders on the web.  b..  To unsubscribe from this group, send an email to:   
[EMAIL PROTECTED]  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
--Flexcoders Mailing ListFAQ: 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 
  Mailing ListFAQ: 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 

Re: [flexcoders] xml files embedded in swf?

2006-03-03 Thread Abdul Qabiz



Yeah, it should not be copied when you are embedding it. But FB might be assuming things, it might be copying every linked document(structure) to bin...I think, you can file a bug, if it is not already known.
-abdulOn 2/28/06, Jan L. Nauta [EMAIL PROTECTED] wrote:
Hi Abdul,Ok, so this is intended behaviour. But then the xml file shouldn't be copiedinto the bin (output) directory, as it's already embedded in the swf file?The fact that it _was_ copied into the bin directory led me to believe that
it wasn't embeded in the first place.Regards, and thanks for the quick replies!Jan L. Nauta -Original Message- From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz Sent: Tuesday, February 28, 2006 00:20 To: 
flexcoders@yahoogroups.com Subject: Re: [flexcoders] xml files embedded in swf? Hi Jan, This is not a strange behaviour. mx:Model /, mx:XML / etc are compiler
 tags, which means content inside them (or linked) would be compiled in the SWF. It is well documented and it has been the same in Flex 1.5 as well. You use @Embed (..), mx:XML /, mx:Model / when you want to compile the
 assets with-in the final SWFs. As Harish said, if you want to load content/assets on runtime, you should consider other available APIs/tags, f.ex. mx:HTTPService /, mx:Image /
 without @Embed in source attribute, mx:Loader / etc Does that make sense? -abdul On 2/27/06, Jan L. Nauta [EMAIL PROTECTED]
 wrote: Hi Harish, Is there a reason for this strange behaviour? Normally I have to add @embed explicitely... Also what is the limitation on the size of the xml
 embeded in the swf? Regards, Jan L. Nauta  -Original Message-  From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On  Behalf Of Harish Sivaramakrishnan  Sent: Monday, February 27, 2006 15:05
  To: flexcoders@yahoogroups.com  Subject: Re: [flexcoders] xml files embedded in swf?   Hi 
  mx:XML tag always embeds the xml at compile time,  hence there is also a limitation to the size of the  xml that you can load on to the swf. In order to read
  an xml data at run time you could use  mx:HTTPService id=serv url="">  resultFormat=xml result=foo()/ 
  You could write ur logic in function foo() and use the  loaded xml data.   Hope this helps,   Harish.  Flex-QA
  Adobe India.   --- Jan L. Nauta [EMAIL PROTECTED] wrote:-
  Hi,   (Flex 2.0 Beta 1)   I noticed that xml files are always embedded in the  generated .swf file??? 
  mx:XML id=my_xml source= my.xml format=e4x/   I thought it would work like images, so unless you  embed it explicit it
  would be an external resource. The xml file even got  copied to the bin  directory, but the swf still uses it's 'internal'  version... 
  Regards,   Jan L. Nauta --  Flexcoders Mailing List  FAQ:
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt  Search Archives:  http://www.mail-archive.com/flexcoders%40yahoogroups.com
 SPONSORED LINKS  Web  site design development  Computer software development
  Software design and development   Macromedia flex  Software development best practice-
  YAHOO! GROUPS LINKSVisit 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
   -- 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 
http://groups.yahoo.com/group/flexcoders/ -- 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+si
 te+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+desig
 n+and+developmentw4=Macromedia+flexw5=Software+development+best+practice c=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design anddevelopment 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=We 

RE: [flexcoders] Button height and width in CSS?

2006-03-03 Thread Gordon Smith










Are you aware that if you want a bunch of
100 x 30 buttons, you don't have to specify width=100
height=30 on every one of them? Just make a 2-line custom component
that defines default values for these properties and then use it instead:



MyButton.mxml:



?xml version=1.0
encoding=utf-8?

mx:Button
xmlns:mx=http://www.adobe.com/2006/mxml width=100
height=30/



MyApp.mxml:



?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml xmlns:my=* width=600
height=600

 my:MyButton/

 my:MyButton/

 my:MyButton/

/mx:Application



A lot of developers don't realize that
custom components are useful for simple things like this.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith
Sent: Friday, March 03, 2006 9:57
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Button
height and width in CSS?





By design; x, y, width, and height are
regular properties, not styles.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Friday, March 03, 2006 5:39
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Button
height and width in CSS?







Is it a bug or by design, that button's height and width
can't be set through CSS?











Thanks



---Pablo Gustavo Apanasionek










--
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] Security sandbox violation

2006-03-03 Thread Abdul Qabiz



Hi,How are you making AMFPHP connection? Are you using carlaabreu.com/../gateway.php or www.carlaabreu.com/../gateway.php
?I think, if you are trying to access data from a sub domain to main domain, it might be problem...Not sure, check the security whitepaper for the Maths behind it...-abdul
On 3/1/06, jf.saldanha [EMAIL PROTECTED] wrote:
HiThis error is about cross domain files i think?But today and i put on run the example of Mike Potterhttp://blogs.adobe.com/mikepotter/I put the example run onLine that way give the error
http://www.carlaabreu.com/amfphp2test.htmlThat way runhttp://carlaabreu.com/amfphp2test.html
The all files is in same domain dont have files in diferent domains.Question, I need a crossdomin file?Thanks--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

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: Understanding UIComponent

2006-03-03 Thread Dmitry Miller
Bill, hi

You have mentioned a diagram for AS2. Do you happen to have a link to
this diagram?

Thanks, 

--- Dmitry





--
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: AS3 Date month starting at 0?

2006-03-03 Thread Doug Lowder
I believe the timezone change (GMT+0200 in one date, GMT+0100 in the 
other) is because the two dates cross a DST boundary. Your system is 
probably set set to a zone that supports daylight savings time.

Doug

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

 January being month 0 in the Date class is required by the ECMA-
262 standard that we're following, since we want AS3 to be 
compatible with Ecmascript.
 
 Dunno what's going on with the GMT. That looks weird.
 
 BTW, you should be passing numbers, not strings, to the Date 
constructor.
 
 - Gordon
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sönke Rohde
 Sent: Friday, March 03, 2006 2:08 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] AS3 Date month starting at 0?
 
 Hi,
 Using the AS3-Date-Class the first time I recognized that the 
month is
 starting at 0 means 0 is January. Is this the expected behaviour?
 
 Example:
 var d:Date = new Date(2006,03,22);
 trace(date  + d); // date Sat Apr 22 00:00:00 GMT+0200 2006
 
 And another date I tried has a different GMT:
 var d:Date = new Date(2006,10,18);
 trace(date  + d); // date Sat Nov 18 00:00:00 GMT+0100 2006
 
 Is this a known issue/bug or am I doing something wrong?
 
 Cheers,
 Sönke
 
 
 
 --
 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] Flexlet's and Yahoo Widgets

2006-03-03 Thread JesterXL





Because when I recorded it, I had Captivate do 
real-time recording. It uses hardware accerlation to ensure that every 
frame is recorded at 30 frames per second.

Thus, that's about a 3 meg PNG per frame, 30 frames 
a second, for a 1 minute demo. Thus, that's 10 billion gallons of 
RAM.

The actual app doesn't use that much, 
hehe!

- Original Message - 
From: Rich Tretola 

To: flexcoders@yahoogroups.com 
Sent: Friday, March 03, 2006 1:05 PM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
Hey JesseWhy does this use so much RAM 
?Rich
On 3/3/06, JesterXL 
[EMAIL PROTECTED] 
wrote:

  
  Here's the example (CAREFUL!!! TONS OF RAM 
  USAGE!)
  http://dev.jessewarden.com/captivate/flexonthedesktop/ 
  
  
  Here's the background:
  http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html 
  
  
  API for Central ( I have like 5 posters with 
  this, it rocked!)
  http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm 
  
  
  There are some things I'm sure could be taken 
  from Central's ideal, and built into a main wrapper. Then, Flex 1.5 
  SWF's could be loaded in and implement specific interfaces to play in the 
  framework. Flex 2 SWF's would have to be loaded in period, but either 
  path could work. TON of work, and with Apollo aruond the 
  corner
  
  
  - Original Message - 
  From: 
  Clint Modien 
  To: flexcoders@yahoogroups.com 
  
  Sent: Friday, March 03, 2006 12:57 AM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Got an example jess? Or a link to more info?I've 
  been asked about this as well.
  On 3/2/06, JesterXL 
   
  [EMAIL PROTECTED] wrote: 
  

You can easily create these using tools like 
mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
would create a framework around such tools, like Central kind 
of.


- Original Message - 
From: 
Tariq Ahmed 
To: flexcoders@yahoogroups.com 

Sent: Thursday, March 02, 2006 9:50 PM
Subject: Re: [flexcoders] Flexlet's and Yahoo 
Widgets


Hi Dimitrios. That's exactly what we'd love to have - a bunch 
of enterprise widgets for keeping tabs on things. Dimitrios 
Gianninas wrote: 
Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: flexcoders@yahoogroups.com
 on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?- Original Message - From: Tariq Ahmed To: 
flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo WidgetsI know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that had these widgets that run on your desktop. So recently I decided to try the Yahoo Widgets - this is awesome stuff, and I think pretty much what I ultimately hope to be able to do with Apollo and Flex. Though to take the idea further the widgets would be aware of each other and will be able leverage that through increased UI context.
But I was thinking in the meantime, since Yahoo and Macromedia/Adobe have a relationship - couldn't the widget engine be enhanced to incorporate the flash player so that you can have flash/flex based widgets (Flexlets?).
--Flexcoders Mailing ListFAQ: 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 developmentMacromedia flex  Software development best practice  
YAHOO! GROUPS LINKS   a..  Visit your group "flexcoders" on the web.  b..  To unsubscribe from this group, send an email to:   
[EMAIL PROTECTED]  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
--Flexcoders Mailing ListFAQ: 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] Flexlet's and Yahoo Widgets

2006-03-03 Thread JesterXL





Stable? Yes.

Deployed? No.

Weird problems? No.

Legal? Depends.

Yeah, if you made a Flash SWF, you could then load 
like Central did:

loadMovie("http://server.com/your.mxml.swf");


- Original Message - 
From: Clint Modien 
To: flexcoders@yahoogroups.com 
Sent: Friday, March 03, 2006 12:40 PM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
Umm is it stable? Have you deployed an app like 
this? Ran into any weird problems? Is this even legal from a 
licensing standpoint? Is the swf loaded @ runtime meaning... can I load in 
a new swf from a web server... (I guess I could write a loader that does nothing 
but load the main app)? I was reading through the mProjector docs and it 
looks to be exactly what I want.  
Info? What exactly are you looking for? Macromedia intended for Flex 
to be on the server,  not as a desktop app, hehe, so you'll need to be 
specific.
On 3/3/06, JesterXL 
[EMAIL PROTECTED] 
wrote: 

  
  Yep.
  
  Actually more than 2:
  
  // if running in 
  mProjectorif(_global.mSystem != 
  null){var o = 
  _global.mSystem.getDesktopWorkArea();var tW:Number = 
  o.right - o.left;var tH:Number = o.bottom - 
  o.top;_global.mWindow.setPosition(0, 
  0);_global.mWindow.setSize(tW, 
  tH);_global.mWindow.showOnTaskBar(true);}
  
  Info? What exactly are you looking 
  for? Macromedia intended for Flex to be on the server, not as a desktop 
  app, hehe, so you'll need to be specific.
  
  
  
  - Original Message - 
  From: 
  Clint Modien 
  To: flexcoders@yahoogroups.com 
  
  Sent: Friday, March 03, 2006 11:42 AM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  wow dood... you weren't kidding about the ram usuage... I 
  saw 450MB used in firefox... good thing i got mad ram...so all you did 
  was run the generated swf through mProjector to make an exe? What were 
  the 2 lines of AS to make it work with the executable? anyplace else I 
  can find some info on this? *runs a search* Didn't really find 
  anything in this list... have any pointers?
  On 3/3/06, JesterXL 
  [EMAIL PROTECTED] 
   wrote: 
  

Here's the example (CAREFUL!!! TONS OF RAM 
USAGE!)
http://dev.jessewarden.com/captivate/flexonthedesktop/ 


Here's the background:
http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html 


API for Central ( I have like 5 posters with 
this, it rocked!)
http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm 


There are some things I'm sure could be taken 
from Central's ideal, and built into a main wrapper. Then, Flex 1.5 
SWF's could be loaded in and implement specific interfaces to play in the 
framework. Flex 2 SWF's would have to be loaded in period, but either 
path could work. TON of work, and with Apollo aruond the 
corner


- Original Message - 
From: 
Clint Modien 
To: flexcoders@yahoogroups.com 

Sent: Friday, March 03, 2006 12:57 AM
Subject: Re: [flexcoders] Flexlet's and Yahoo 
Widgets


Got an example jess? Or a link to more 
info?I've been asked about this as well.
On 3/2/06, JesterXL  
[EMAIL PROTECTED] wrote: 

  
  You can easily create these using tools like 
  mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
  would create a framework around such tools, like Central kind 
  of.
  
  
  - Original Message - 
  From: 
  Tariq Ahmed 
  To: flexcoders@yahoogroups.com 
  
  Sent: Thursday, March 02, 2006 9:50 PM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Hi Dimitrios. That's exactly what we'd love to have - a 
  bunch of enterprise widgets for keeping tabs on things. Dimitrios 
  Gianninas wrote: 
  Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: flexcoders@yahoogroups.com
 on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: flexcoders@yahoogroups.com


Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 
I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?

- Original Message - 
From: Tariq Ahmed 
To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo Widgets
I know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that had these widgets that run on your desktop. So recently I decided to try the Yahoo Widgets - this is awesome 

RE: [flexcoders] Button height and width in CSS?

2006-03-03 Thread Pablo Apanasionek





Gordon,

that was exactly my decision after your reply.

Thanks!
---Pablo Gustavo 
Apanasionek


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Gordon 
SmithEnviado el: Viernes, 03 de Marzo de 2006 15:10Para: 
flexcoders@yahoogroups.comAsunto: RE: [flexcoders] Button height and 
width in CSS?


Are you aware that if 
you want a bunch of 100 x 30 buttons, you don't have to specify width="100" 
height="30" on every one of them? Just make a 2-line custom component that 
defines default values for these properties and then use it 
instead:

MyButton.mxml:

?xml version="1.0" 
encoding="utf-8"?
mx:Button 
xmlns:mx="http://www.adobe.com/2006/mxml" width="100" 
height="30"/

MyApp.mxml:

?xml version="1.0" 
encoding="utf-8"?
mx:Application 
xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:my="*" width="600" 
height="600"
 
my:MyButton/
 
my:MyButton/
 
my:MyButton/
/mx:Application

A lot of developers 
don't realize that custom components are useful for simple things like 
this.

- 
Gordon





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Gordon 
SmithSent: Friday, March 03, 
2006 9:57 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Button height and 
width in CSS?

By design; x, y, width, 
and height are regular properties, not styles.

- 
Gordon





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Pablo 
ApanasionekSent: Friday, March 
03, 2006 5:39 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Button height and 
width in CSS?


Is it a bug or by design, that 
button's height and width can't be set through 
CSS?



Thanks
---Pablo Gustavo 
Apanasionek






--
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] Need to deploy Flex 2.0 with Flash Player 8.0

2006-03-03 Thread Stephane B.










Hello everyone,



Im building my Flex 2.0 online portfolio which is, by
itself, more design than logic oriented with the exception of some Flex 2.0 samples
from Explorer. Since downloading Flash Player 8.5 requires registration under
Macromedia Labs, I would like to deploy this application using Flash Player 8.0
in order to make it either directly viewable, or viewable after AUTOMATIC
update of the player to 8.0, and this until 8.5 is publicly released (around spring
?).



1/ how to set Flex 2.0 to deploy for Flash Player 8.0?

2/ what are the features to be avoided while deployed for
Flash Player 8.0?



Thank you all in advance for your help.



Stephane B.













--
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] 1.5 datagrid - toggle cell editable property

2006-03-03 Thread Griffin, Michael \(FEB\)
Title: Message





Working with the 1.5 grid and I have a columnthat hasa button 
in each row that has to make just the cells in that row editable when 
clicked. As a starting point I assume I have to have the grids editable 
property set to true, and the rows editable properties set to false 
initially. 

Does 
anyone have the syntax handy to target the editable property of all the cells in 
a row, or another approach that can be used to target the properties of a rows 
cells? I can get at the column, but so far not the individual cell in the 
column and I'm assuming to get the effect that I'm looking for I need to loop 
through all the columns setting the editable property for the cell in the row 
that was clicked.

Any 
ideas or guidance would be appreciated.

Mike





--
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] Getelementbyid and web service result problem

2006-03-03 Thread Manish Jethani
On 3/3/06, sinacapho [EMAIL PROTECTED] wrote:

   i am very new to Flex and actionscript. I want to know if
 actionscript have some function by javascript getelementbyid which can
 locate the object.

Just refer to the element by its ID!

 Application
  Button id=button1 label=Click to Grow
click=button1.width += 10 / !-- see? --
 /Application

   Also another question is that i want to retrieve one of the
 record from a set of web service result. it that i need to parse it in
 xml and is there any method? As i find that i cannot do that by
 changing it into a array.

You don't have to parse XML - HTTPService does that for you.  See the
docs/samples.

Manish


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

* 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] Flexlet's and Yahoo Widgets

2006-03-03 Thread Clint Modien



Thanks for the tips jess.. I'll let you know how it goes.On 3/3/06, JesterXL [EMAIL PROTECTED]
 wrote:








Stable? Yes.

Deployed? No.

Weird problems? No.

Legal? Depends.

Yeah, if you made a Flash SWF, you could then load 
like Central did:

loadMovie(http://server.com/your.mxml.swf);



- Original Message - 
From: 
Clint Modien 
To: flexcoders@yahoogroups.com 

Sent: Friday, March 03, 2006 12:40 PM
Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
Umm is it stable? Have you deployed an app like 
this? Ran into any weird problems? Is this even legal from a 
licensing standpoint? Is the swf loaded @ runtime meaning... can I load in 
a new swf from a web server... (I guess I could write a loader that does nothing 
but load the main app)? I was reading through the mProjector docs and it 
looks to be exactly what I want.  
Info? What exactly are you looking for? Macromedia intended for Flex 
to be on the server,  not as a desktop app, hehe, so you'll need to be 
specific.
On 3/3/06, JesterXL 
[EMAIL PROTECTED] 
wrote: 

  
  Yep.
  
  Actually more than 2:
  
  // if running in 
  mProjectorif(_global.mSystem != 
  null){var o = 
  _global.mSystem.getDesktopWorkArea();var tW:Number = 
  o.right - o.left;var tH:Number = o.bottom - 
  o.top;_global.mWindow.setPosition(0, 
  0);_global.mWindow.setSize(tW, 
  tH);_global.mWindow.showOnTaskBar(true);}
  
  Info? What exactly are you looking 
  for? Macromedia intended for Flex to be on the server, not as a desktop 
  app, hehe, so you'll need to be specific.
  
  
  
  - Original Message - 
  From: 
  Clint Modien 
  To: flexcoders@yahoogroups.com 
  
  Sent: Friday, March 03, 2006 11:42 AM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  wow dood... you weren't kidding about the ram usuage... I 
  saw 450MB used in firefox... good thing i got mad ram...so all you did 
  was run the generated swf through mProjector to make an exe? What were 
  the 2 lines of AS to make it work with the executable? anyplace else I 
  can find some info on this? *runs a search* Didn't really find 
  anything in this list... have any pointers?
  On 3/3/06, JesterXL 
  [EMAIL PROTECTED] 
   wrote: 
  

Here's the example (CAREFUL!!! TONS OF RAM 
USAGE!)
http://dev.jessewarden.com/captivate/flexonthedesktop/ 


Here's the background:
http://www.jessewarden.com/archives/2005/09/flex_on_the_des.html 


API for Central ( I have like 5 posters with 
this, it rocked!)
http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/js/html/wwhelp.htm 


There are some things I'm sure could be taken 
from Central's ideal, and built into a main wrapper. Then, Flex 1.5 
SWF's could be loaded in and implement specific interfaces to play in the 
framework. Flex 2 SWF's would have to be loaded in period, but either 
path could work. TON of work, and with Apollo aruond the 
corner


- Original Message - 
From: 
Clint Modien 
To: flexcoders@yahoogroups.com 


Sent: Friday, March 03, 2006 12:57 AM
Subject: Re: [flexcoders] Flexlet's and Yahoo 
Widgets


Got an example jess? Or a link to more 
info?I've been asked about this as well.
On 3/2/06, JesterXL  
[EMAIL PROTECTED] wrote: 

  
  You can easily create these using tools like 
  mProject or SWFStudio to wrap your Flex SWF's, but it'd be nice if someone 
  would create a framework around such tools, like Central kind 
  of.
  
  
  - Original Message - 
  From: 
  Tariq Ahmed 
  To: flexcoders@yahoogroups.com 

  
  Sent: Thursday, March 02, 2006 9:50 PM
  Subject: Re: [flexcoders] Flexlet's and Yahoo 
  Widgets
  
  
  Hi Dimitrios. That's exactly what we'd love to have - a 
  bunch of enterprise widgets for keeping tabs on things. Dimitrios 
  Gianninas wrote: 
  Actually my boss mentioned having something like this done in Flex for the business purpose here at our company. We threw around a few ideas as to what widgets we might create... just all a dream currently.
Jimmy GianninasOptimal Payments-Original Message-From: 
flexcoders@yahoogroups.com on behalf of JesterXLSent: Thu 3/2/2006 1:44 PMTo: 
flexcoders@yahoogroups.com

Subject: Re: [flexcoders] Flexlet's and Yahoo Widgets
 
I've never messed with Konfabulator or whatever Yahoo calls it now.  What does it support currently?

- Original Message - 
From: Tariq Ahmed 
To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 1:34 PMSubject: [flexcoders] Flexlet's and Yahoo Widgets
I know it's been mentioned before, most notably on Jesse's blog, about ultimately your desktop being the dashboard when it comes to Flex applications. Being able to move beyond the limitations of an instance of a browser. 
I've always loved the the concept of the MAC Dashboard that 

Re: [flexcoders] Flex and URL variables

2006-03-03 Thread JesterXL





Aye, but that's one way. You need to use 
Kevin's code for the reasons you stated; deep linking.

- Original Message - 
From: Abdul Qabiz 

To: flexcoders@yahoogroups.com 
Sent: Friday, March 03, 2006 12:50 PM
Subject: Re: [flexcoders] Flex and URL variables
Hi Jesse,I think, even in Flex 1.5 it was quite straight 
forward. You just need to declare public vars in MXML and then you can pass 
those vars through query string. 
F.ex.:##querystring.mxmlmx:Application xmlns:mx=" http://www.macromedia.com/2003/mxml" 

mx:Scriptimport 
mx.controls.Alert;public var name:String = ""; private function 
onAppInit(){ Alert.show(name);}
/mx:Script/mx:ApplicationUsage:http://server/querystring.mxml?name=AbdulIt 
would show the passed value in Alert...Kevin and Manish deep linking 
was useful when you want to save the state of application in form of rest url. 
Or re initialize to same state from the rest URL... FYI! Patent has been 
filed for this idea :)-abdul
On 3/3/06, JesterXL 
[EMAIL PROTECTED]  
wrote:

  
  Don't know the Flex 2 way.
  
  For Flex 1.5, I used Kevin Lynch's deep linking 
  code.
  
  http://www.klynch.com/archives/76.html
  
  My implementation:
  http://www.jessewarden.com/archives/2005/10/code_share_real.html 
  
  
  Basically, _javascript_ will set vars for you and 
  you can use Kevin's class to get vars. The are at least 2 other 
  implementations I've seen on the net, but this one worked, so I stuck with 
  it.
  
  So:
  
  codeid = 
  browserState.getValue("codeid");
  
  Allows me to get the codeid value from this 
  url:
  http://dev.jessewarden.com/flex/codeshare/#codeid=43 
  
  
  And thus I can do stuff with that variable. 
  If I want to update the browser's URL to reflect the "state" of the 
  app:
  
  browserState.setValue("codeid", 
  posts_lb.selectedItem.id);
  
  You can bookmark these links too. There was 
  something funky with Firefox where you come from an existing bookmark or 
  something, but whatever it was was an extreme use case (sort of).
  
  
  
  
  
  - Original Message - 
  From: 
  Jonathan Miranda 
  
  To: flexcoders@yahoogroups.com 
  
  Sent: Thursday, March 02, 2006 6:02 PM
  Subject: RE: [flexcoders] Flex and URL 
variables
  
  
  
  
  Dos
  
  
  
  _
  Jonathan 
  Miranda
  Flexible 
  Master of the Web
  "Try not to become a man of 
  success, but a man of value." - Albert Einstein
  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 JesterXLSent: Thursday, March 02, 2006 3:55 
  PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex and URL 
  variables
  
  
  Flex 1.5 or 
  2?
  
  
  
  - Original Message - 
  
  
  From: Jonathan Miranda 
  
  
  To: flexcoders@yahoogroups.com 
  
  Sent: Thursday, 
  March 02, 2006 5:49 PM
  
  Subject: 
  [flexcoders] Flex and URL variables
  
  
  Alright, I've done this with Flash 
  before but I'm wondering how similar it is.Let's say I start my app @ 
  http://mysite.com/index.mxml?number=3 What's the 
  easiest way to get that 3 into a variable in Flex? Using FlashVars in the 
  embed/object tags and then somehow do mx.core.application.Application.number 
  as my variable?
  _
  Jonathan 
  Miranda
  Flexible Master 
  of the Web
  "Try not to become a man of success, but a man of 
  value." - Albert Einstein
  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 

RE: [flexcoders] Need to deploy Flex 2.0 with Flash Player 8.0

2006-03-03 Thread João Fernandes










Stephane,



You cannot play Flex 2
swf inside flash player 8. If you need really flex, try then Flex 1.5.



Regards,





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 Stephane B.
Sent: sexta-feira, 3 de Março de
2006 19:06
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need to
deploy Flex 2.0 with Flash Player 8.0





Hello everyone,



Im building my Flex 2.0 online portfolio which
is, by itself, more design than logic oriented with the exception of some Flex
2.0 samples from Explorer. Since downloading Flash Player 8.5 requires
registration under Macromedia Labs, I would like to deploy this application
using Flash Player 8.0 in order to make it either directly viewable, or
viewable after AUTOMATIC update of the player to 8.0, and this until 8.5 is
publicly released (around spring ?).



1/ how to set Flex 2.0 to deploy for Flash Player
8.0?

2/ what are the features to be avoided while deployed
for Flash Player 8.0?



Thank you all in advance for your help.



Stephane B.













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

2006-03-03 Thread Manish Jethani
On 3/3/06, deepu_verma [EMAIL PROTECTED] wrote:
 How can I filter data from a datagrid?
 Is there a function to filter data for the data provider?

Flex 2.0?

http://mannu.livejournal.com/324821.html

For Flex 1.5, I had written a FilteredDataProvider class that I've
lost the source to.  Maybe someone on the list has it.

Manish

--
Currently in Noida.  Nice weather!


--
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] Button height and width in CSS?

2006-03-03 Thread Manish Jethani
On 3/3/06, Gordon Smith [EMAIL PROTECTED] wrote:

 By design; x, y, width, and height are regular properties, not styles.

 But you can make them work like CSS!

http://mannu.livejournal.com/299285.html

Manish


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

* 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] AS3 Date month starting at 0?

2006-03-03 Thread Peter Hall



Gordon,
>From what I can tell, Date is perfectly happy to take a string in its constructor. This is new in AS3...

Peter
On 3/3/06, Gordon Smith [EMAIL PROTECTED] wrote:
January
being month 0 in the Date class is required by the ECMA-262 standard
that we're following, since we want AS3 to be compatible with
Ecmascript.Dunno what's going on with the GMT. That looks weird.BTW, you should be passing numbers, not strings, to the Date constructor.- Gordon-Original Message-From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sönke RohdeSent: Friday, March 03, 2006 2:08 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] AS3 Date month starting at 0?Hi,Using the AS3-Date-Class the first time I recognized that the month isstarting at 0 means 0 is January. Is this the expected behaviour?
Example:var d:Date = new Date(2006,03,22);trace(date  + d); // date Sat Apr 22 00:00:00 GMT+0200 2006And another date I tried has a different GMT:
var d:Date = new Date(2006,10,18);trace(date  + d); // date Sat Nov 18 00:00:00 GMT+0100 2006Is this a known issue/bug or am I doing something wrong?Cheers,
Sönke--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/






--
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 WebService faultString problem

2006-03-03 Thread Dave Wolf
I know in Flex 1.5 the issue (if you are not using the proxy) is that
the SOAP spec tells the server to return an HTTP status of 500 for a
SOAP fault.  The issue is the player (XML Class?) doesnt fully parse
the message when it receives the 500.  If you use the proxy, this 500
is remapped to a 200 so it works.

I understand this is resolved in FP8.5 and Flex 2.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

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

 Are you using the proxy? I think we changed for Beta 2 to return the
 entire status line from the HTTP error (as it's likely you're running
 into a 404)... But please submit a test case (or at the very least email
 me your file) if you want us to check your particular situation.
 
 Thanks,
Pete
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jan L. Nauta
 Sent: Friday, March 03, 2006 3:37 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SOAP WebService faultString problem
 
 Hi,
 
 [Flex 2.0 Beta 1]
 
 I'm not getting the faultString when a fault occurs in my SOAP
 WebService:
 
 fault=Alert.show(event.fault.faultstring, 'SOAP Fault');
 
 shows only 'HTTP Request Error'.
 
 I found some info about this with google that states that this doesn't
 work with most browsers, but it should (only) work with Internet
 Explorer. I've tried with Internet Explorer 6, FireFox 1.5 and Opera
 8.5. None works. What am I doing wrong? I'm testing with PHP5.1 on an
 Apache 2.0 using a WSDL based soap server.
 
 Regards,
 
 Jan L. Nauta
 
 B.T.W. in Opera you sometimes have to refresh the page to get your Flex
 application to run. Is this a known problem?
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







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

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

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

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




[flexcoders] Re: Authentication with Macromedia Flex

2006-03-03 Thread Dave Wolf
Yup exactly.  There are two flavors of challenge. 

The ulgy gray browser box is called BASIC.  You can also use FORM and
use anything you want.  Either HTML or as Carson said, a flex form
that posts to j_security_check.  There are some minor differences
between them both, but theyre effectively the same end situation.

Try it out.  You'll be happy you did :)

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

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

 It can be html or even a flex form that simply posts to
j_security_check. 
 
 
 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: Thu Mar 02 23:11:04 2006
 Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
 But Dave described using a cusom screen instead of the grey
 security/login popup thingy.  In the web.xml settings you can set the
 URL of a custom form for login.  This form can be in HTML or whatever,
 eh?
 
 DK
 
 
 On 3/2/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote:
 
  Dave,
 
  I don't disagree with you, that will work and I have seen it work.
But I don't like the little pop-up challenge window. For lack of a
better term, I wanted a more presentable login screen for my end
users, so with the wonderful component model that Flex provides, I
created a LoginView component that all our UIs re-use... see I didn't
write much code either :) Is my way more complex? Perhaps just a wee
little bit, but not very much. Both ways work, just a matter of choice
I guess.
 
  Jimmy
 
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of Dave Wolf
  Sent: Thu 3/2/2006 9:20 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Authentication with Macromedia Flex
 
  I am trying to understand why we all keep trying to make this so
  complex rather then taking advantage of the functionality that is
  already in Flex and your container (JRun, Tomcat etc).  J2EE has a
  resonably simple model for handling authentication and access control
  that alleviates the requirement to write your own login logic, to
  write specific login remote objects, use custom authentication etc.
 
  Effectively you only need to do the following.
 
  1) Secure specific URL patterns via settings in the web applications
  deployment descriptor (web.xml).  I have in the past, and would now be
  more then happy to show how to configure these.
 
  2) Upon trying to load a secured URL pattern, the container will
  challenge you by presenting a login screen.  We have developed these
  screens in Flex.  Effectively you create a simple form with two input
  fields name j_username and j_password.  You post those values to the
  url /j_security_check.  Now the container handles all your
authentication.
 
  Once completed the container will provide you access to the secured
  resource and will populate all the in-memory structures to completely
  support runtime interrogation of securerity context.
 
  Flex integrates so well and so transparantly with J2EE and its
  security model it is foolish not to take advantage of that.
 
  I dunno I'm an odd duck.  I like writing less code :)
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY
 
 
  --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
  dimitrios.gianninas@ wrote:
  
  
   Hi Allister,
  
   Ok let me clear things up for you. We use WebLogic 8.1 around here,
  in Flex I present a login screen to the user where they enter their
  credentials. These credentials are passed to the server (using a
  RemoteObject - it is not secure, but only has one method doLogin() )
  where using a WebLogic API I authenticate the user, so WebLogic knows
  who he is and a HTTP session is created.
  
   Then all the other RemoteObjects are locked down and when the
  session expires, I kick them back out to the login screen (where I
  wrote below // do whatever you want here, its a free country), all
  still in Flex.
  
   Does this make more sense?
  
   Dimitrios Jimmy Gianninas
   Optimal Payments
  
   -Original Message-
   From: flexcoders@yahoogroups.com on behalf of allister_dickson
   Sent: Thu 3/2/2006 6:13 PM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] Authentication with Macromedia Flex
  
  
   Hi Dimitrios,
  
   From reading through your earlier posts I get the impression that
  you are
   using a two methods to authenticate users. Initially, you
  authenticate the
   user using standard J2EE form based authentication. Then 

Re: [flexcoders] Coustom cellRenderer in AS3 for a DataGrid

2006-03-03 Thread jeremy lu




as Stephen said, setValue is not needed anymore, the whole structure changed, Using Cell Renderers and Cell 
Editors is a must read.On 3/4/06, Stephen Gilson [EMAIL PROTECTED] wrote:









If you have the Flex 2.0 Beta, the architecture has changed 
completely from AS2. You can read about them in the Developing Flex 
Applications book, available here: http://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_1_documentation


The chapters you want are Using Cell Renderers and Cell 
Editors at http://livedocs.macromedia.com/flex/20beta1/docs/1063.html


and Working with Cell Editors at 
http://livedocs.macromedia.com/flex/20beta1/docs/1096.html

Stephen






--
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: a GridTree component for flex 2

2006-03-03 Thread jeremy lu




the component will be released in swc format afer I finished the
project and got time to refurbish the code, about a month later, will
post again then.

jeremy.On 3/4/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote:
Looks good! I've been thinking I'm going to need something like this too.Any plans to release this as a component at least? If so when?Thanks,Thunder--- In 
flexcoders@yahoogroups.com, dc [EMAIL PROTECTED] wrote: hi list, just made a GridTree component for next project, please take a look at -preview video 
http://ria.richtechmedia.com/upload/GridTreeForFlex2/ -blog entry (upper half written in English) 
http://ria.richtechmedia.com/?p=330 any suggestions or ideas would be appreciated. btw, thanks to the flex team for making AS3/datagrid/cell renderer so fast that this could be achieved.
 jeremy lu.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







--
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] IE Update disables Flash

2006-03-03 Thread John Dowdell
For what it's worth, I figure we're in for a few weeks of 
less-than-fully-accurate reporting out there, as new people learn of the 
browser change.

If you could spread the word of the Adobe Active Content Developer 
Center, which links to the Flex technote and other resources, then that 
would be great, thanks:
http://www.macromedia.com/devnet/activecontent/

For fastest updates, I've been following each twist and turn of this 
case on my weblog... a search term of activex there will pull up these 
issues (along with a couple of unrelated hits).
http://weblogs.macromedia.com/jd

jd





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


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

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

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

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




RE: [flexcoders] DragManager issues when running in swf inside a swf

2006-03-03 Thread Matt Chotin










This is a known issue because the drag and
drop stuff is static and therefore doesnt often play nice across loaded
swfs. 



In the Flex app that does the loading try
putting a specific reference to the DragManager to make sure it gets loaded
correctly. So for example, in your initialize for the Application put var
dm:DragManager = null.



I think that should pull it in and help
out.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson
Sent: Thursday, March 02, 2006
9:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DragManager
issues when running in swf inside a swf









(Flex 1.5, AS 2)











My drag and drop code has worked fine for a long time. Today, I took
the swf generated by the flex compiler and am loading it inside of a loader
control in another flex app. Everything about the inner app works
fineexcept for the call to DragManager.doDrag(), which gets called by the
mouseDown event on the draggable objects.











I have verified that the event is getting called, and that inside the
event handler event.target is correct. Yet, for some reason, when
the swf is loaded inside of another swf, the drag operation does not work. It
is like the call to doDrag is failing without error. All of the other code in
the dragDrop and dragOver event handlers execute fine (when I drag in an item
from a list, where I am not handling the initialization of the dragsource and
am not calling doDrag()). 











When I hit the swf directly, drag/drop works wonderfully. When I load
it inside of another swf, dragging does not work.











Any thoughts? ANY help very much appreciated.











Thanks,





Karl













--
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] Getelementbyid and web service result problem

2006-03-03 Thread Matt Chotin
If the WebService has an id you should be able to reach it just by id.
If you're in the same file it's basically already sitting there, just
refer to it as if the id was a declared variable name.  If it's in
another MXML file though you'll need to get to that MXML file (by the
ids of the components or passing a reference or whatever).

The WebService parses results for you by default, you should be able to
just go into the returned array and get what you want.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sinacapho
Sent: Friday, March 03, 2006 12:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getelementbyid and web service result problem

Dear all,
  i am very new to Flex and actionscript. I want to know if
actionscript have some function by javascript getelementbyid which can
locate the object.

  Also another question is that i want to retrieve one of the
record from a set of web service result. it that i need to parse it in
xml and is there any method? As i find that i cannot do that by
changing it into a array.

thx

capho





--
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] AS3 Date month starting at 0?

2006-03-03 Thread Gordon Smith










Sure, it's perfectly happy to coerce a
string like 2006 to the number 2006. But if you pass 2006 it
wouldn't have to coerce anything.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Hall
Sent: Friday, March 03, 2006 1:01
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS3 Date
month starting at 0?





Gordon,
>From what I can tell, Date is perfectly happy to take a string in its
constructor. This is new in AS3...

Peter





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

January being month 0 in
the Date class is required by the ECMA-262 standard that we're following, since
we want AS3 to be compatible with Ecmascript.

Dunno what's going on with the GMT. That looks weird.

BTW, you should be passing numbers, not strings, to the Date constructor.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Sönke Rohde
Sent: Friday, March 03, 2006 2:08 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AS3 Date month starting at 0?

Hi,
Using the AS3-Date-Class the first time I recognized that the month is
starting at 0 means 0 is January. Is this the expected behaviour? 

Example:
var d:Date = new Date(2006,03,22);
trace(date  + d); // date Sat Apr 22 00:00:00 GMT+0200 2006

And another date I tried has a different GMT:
var d:Date = new Date(2006,10,18);
trace(date  + d); // date Sat Nov 18 00:00:00 GMT+0100 2006

Is this a known issue/bug or am I doing something wrong?

Cheers, 
Sönke



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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex 2.0 Dashboard Project

2006-03-03 Thread sergiosergiomon
Hello everyone!
I had already posted here asking for a tutorial on how to build a
dashboard like the sample on the Adobe/Macromedia Flex page.
Being advised to look at the sample alreade in the Welcome page of
Flex 2.0, I decided to go ahead, but being novice to Flex I really
need a STEP BY STEP tutorial.
Is there anything like that out there?
Or at least how to work with charting components?

Thanks!
Sergio
Brazil





--
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] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-03 Thread Boon Chew



   Hi all,With the _eval being gone in AS3, does anyone know how to get to the reference of a movieclip (via the target name string) without using _eval (e.g. "_level0.mc1.mc2.mc3") ? I know we can instantiate an object from a class name string via the _global namespace but not positive about mc's.Thanks.- boon
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 






--
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] DragManager issues when running in swf inside a swf

2006-03-03 Thread Karl Johnson





Thanks much for the reply Matt. This was supposed to be put 
in the application initialize event of the parent flex app (the one that has the 
loader control)? I tried in both and didn't have any luck.

A colleague had suggested setting _lockroot="true" on the 
loader object but that didn't seem to do it either. Any other ideas? This 
problem is really killing me!

Thanks for your help.

Karl


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Friday, March 03, 2006 9:13 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager 
issues when running in swf inside a swf


This is a known issue 
because the drag and drop stuff is static and therefore doesnt often play nice 
across loaded swfs. 

In the Flex app that 
does the loading try putting a specific reference to the DragManager to make 
sure it gets loaded correctly. So for example, in your initialize for the 
Application put var dm:DragManager = null.

I think that should 
pull it in and help out.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Karl 
JohnsonSent: Thursday, March 
02, 2006 9:29 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] DragManager issues 
when running in swf inside a swf



(Flex 1.5, AS 
2)



My drag and drop code has worked fine for a long time. 
Today, I took the swf generated by the flex compiler and am loading it inside of 
a loader control in another flex app. Everything about the inner app works 
fineexcept for the call to DragManager.doDrag(), which gets called by the 
mouseDown event on the draggable objects.



I have verified that the event is getting called, and 
that inside the event handler "event.target" is correct. Yet, for some reason, 
when the swf is loaded inside of another swf, the drag operation does not work. 
It is like the call to doDrag is failing without error. All of the other code in 
the dragDrop and dragOver event handlers execute fine (when I drag in an item 
from a list, where I am not handling the initialization of the dragsource and am 
not calling doDrag()). 



When I hit the swf directly, drag/drop works 
wonderfully. When I load it inside of another swf, dragging does not 
work.



Any thoughts? ANY help very much 
appreciated.



Thanks,

Karl






--
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: RIA Certified Developer/Architect

2006-03-03 Thread nirav
Hi,

Slightly off-topic, but here goes:

On the topic of certification, how about creating a community driven Flex
certification? We have a project - www.opencerti.com - where we have
started out with PHP certification. I was talking to my team and they were
excited to contribute to a Flash/Flex/RIA certification. And I said let me
see how the PHP certification works out and then we can do Flex as well.

OpenCerti is not run by any organization. It's a community project. If
there are people on the list who want to take leadership on the Flex
certification, please contact me off list and we could take it up.

There are a few issues that we are discussing about a community
certification on the opencerti yahoo group - credibility, sustainability
etc. And you are most welcome there as well.

:Nirav




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

2006-03-03 Thread Richard Leggett





Yeah I don't think interfaces fit the bill here, but 
I've found that as long as you throw an error (especially in AS3) it works 
pretty well as a rough approximation of what abstract might do. 
:)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sauro, 
NickSent: 22 February 2006 15:58To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Does AS have an 
equivalant of Java's 'Abstract'


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

O well, just 
wondering

Thanks 
J





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

Hi,

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

Richard



From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Sauro, NickSent: 22 February 2006 15:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Does AS have an 
equivalant of Java's 'Abstract'
I havent seen any 
examples of it anywhere, but I could be looking in the wrong places? Im 
wondering if AS 2.0 has this?

Thanks





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jonathan 
MirandaSent: Tuesday, February 
21, 2006 3:31 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights


Im still trying to 
figure out how to set a row height in actionscript J I havent even gotten 
to the effect of resizing the rows yet.
_
Jonathan 
Miranda
Flexible 
Master of the Web
"In the game of 
chess, it's important to never let your opponent see your 
pieces."


From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Sauro, NickSent: Tuesday, February 21, 2006 1:10 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights

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





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jonathan 
MirandaSent: Tuesday, February 
21, 2006 2:38 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FW: Datagrid Row Heights

Alright, lets say I have a datagrid 
with variableRowHeight=true. Now I want, using actionscript, to switch the 
height of row #2 to 200. Ive got a semi-way of doing it right now using a label 
cellrenderer but I was wondering if there was a basic method I was missing. Ive 
been attempting using getItemByIndex with little luck.And anyway to add 
a move effect so its not instant?
_
Jonathan 
Miranda
Flexible Master 
of the Web
"In the game of chess, it's important to 
never let your opponent see your pieces."







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Hello All

2006-03-03 Thread Adrian Lynch
Just a quick test email to see if it's working from my mail client. I've had
trouble with Yahoo in the past.

Adrian Lynch
http://www.halestorm.co.uk/

Spring clean out:
http://www.adrianlynch.co.uk/selling/





--
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] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-03 Thread Gordon Smith










Whoa not only is there no eval(),
there's no _target, no _level0, and no _global! Plus, you should almost always
use Sprite instead of MovieClip.



So what are you really trying to do? Are
you using Flex or just pure AS3? Where are you getting a string like sprite1.sprite2.sprite3
from? Why do you have to transform it back into a Sprite reference? Could you have
just kept the reference instead of the string?



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boon Chew
Sent: Friday, March 03, 2006 3:41
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] eval gone in
AS3, how to get reference to movieclip via target name?





Hi all,

With the _eval being gone in AS3, does anyone know how to get to the reference
of a movieclip (via the target name string) without using _eval (e.g.
_level0.mc1.mc2.mc3) ? I know we can instantiate an object
from a class name string via the _global namespace but not positive about mc's.

Thanks.

- boon







Yahoo! Mail
Bring photos to life! New
PhotoMail makes sharing a breeze. 







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

2006-03-03 Thread Rob Rusher
Sergio,

I did a presentation at MAX last year on building a dashboard. The preso is
based on Flex 1.5 but it can at least get you started.

http://www.robrusher.com/1/2006/03/Flex-15-Dashboard-Tutorial.cfm



Rob Rusher
 
RIA Consultant
Macromedia Certified Flex Instructor
e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher
blog:http://www.robrusher.com

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sergiosergiomon
Sent: Friday, March 03, 2006 4:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 Dashboard Project

Hello everyone!
I had already posted here asking for a tutorial on how to build a
dashboard like the sample on the Adobe/Macromedia Flex page.
Being advised to look at the sample alreade in the Welcome page of
Flex 2.0, I decided to go ahead, but being novice to Flex I really
need a STEP BY STEP tutorial.
Is there anything like that out there?
Or at least how to work with charting components?

Thanks!
Sergio
Brazil





--
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] How to add Icon to MenuItem?

2006-03-03 Thread flexhtoo
I want to konw how to add icon to menuitem, and then How to customize
the MenuCellRenderer?

There are right way or not?
MainMenu
menuitem label=slick
menuitem label=MenuItem A 
menuitem label=SubMenuItem 1-A /
 menuitem label=SubMenuItem 2-A /
/menuitem
menuitem label=MenuItem B /
menuitem label=MenuItem C /
menuitem label=MenuItem D 
menuitem label=SubMenuItem 1-D icon=icon1.png/
menuitem label=SubMenuItem 2-D icon=icon2.png/
menuitem label=SubMenuItem 3-D icon=icon3.png/
/menuitem
/menuitem
/MainMenu


Please give me a way.






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