[flexcoders] Re: FDS port in biggest disadvantage in Flex?

2007-03-01 Thread marcel.panse
 I belive there was a post from Adobe asking if anyone wanted to try
a new 
 FDS/SDK that would tunnel over port 80.
 
 You could then use a reverse web proxy to send the requests to the
correct 
 back end.
 

Tunneling FDS over port 80 would be nice, any idea where to look?

What do you mean with reverse web proxy.. if you have 3
webapplications in 1 webcontainer on 1 server, then those 3 backends
need 3 different ports to start FDS on, otherwise Flex will fail to
load. (bindexception port already in use)



[flexcoders] flex bluetooth.

2007-03-01 Thread gunadi bowo
please somebody tell me how to connecting bluetooth with flex.
  i just want send text with my handphone to computer with flex.
  thanks before..
  

__
YM: [EMAIL PROTECTED]
Blog  : gunadiw.blogsome.com
 
-
TV dinner still cooling?
Check out Tonight's Picks on Yahoo! TV.

[flexcoders] LegendItem inheritance

2007-03-01 Thread vigen2000
Hi,

It seems that the only way to change the legendItem behavior and look
is to inherit from it. but what i found out that the
nameLabel(UITextField) property (the actual label component)is private
and therefor cannot be accessed from my custom LegendItem component. 

What i want to do is to change the wordWrap to true.

any ideas/solutions?

thanks,
vigen



Re: [flexcoders] Embedding FusionCharts in a Flex application

2007-03-01 Thread leds usop
Aware of that. like I said, you cnt directly;
but using  flashinterface you can make them talk to
each other. think of it as localconnection on
steroids.
check this for more details:

http://www.flashextensions.com/products/flashinterface.php



--- Muzak [EMAIL PROTECTED] wrote:


http://livedocs.macromedia.com/flex/2/docs/1955.html
 quote
 Cross-scripting is not supported between AVM1
 SWF files and AVM2 SWF files.
 /quote
 
 The only way to have an AVM1 and AVM2 swf
 communicate is through a LocalConnection.
 No idea how large the FusionCharts API is, but if
 all you need is to call a method or two, then
 LocalConnection might be worth it.
 
 regards,
 Muzak
 
 
 - Original Message - 
 From: leds usop [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, February 28, 2007 6:01 PM
 Subject: Re: [flexcoders] Embedding FusionCharts in
 a Flex application
 
 
  not directly perhaps. try using flashinterface.
 
  --- Muzak [EMAIL PROTECTED] wrote:
 
  FusionCharts are AS2.
  You'll be able to load a FusionChart swf into a
 Flex
  app, but you won't be able to control it from
 Flex
  though.
 
  regards,
  Muzak
 
  - Original Message - 
  From: Jon Rowland  [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, February 27, 2007 11:16 AM
  Subject: [flexcoders] Embedding FusionCharts in a
  Flex application
 
 
  Hi there,
 
  I'm looking at embedding a diagramming tool
 called
  PowerCharts from the
  FusionCharts suite within a Flex application. The
  chart is shipped as an
  SWF file, there are lots of examples of use, but
  none using Flex. Has
  anyone done this before? Basically I want to
 access
  it programatically,
  and use it like you would a 3rd party control in
  Visual Studio - e.g.
  drop it on my flex designer and access it
  programatically.
 
  Is this possible?
 
  Many thanks,
 
  Jon Rowland
 
 
 



 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 


Re: [flexcoders] flex bluetooth.

2007-03-01 Thread Tom Chiverton
On Thursday 01 Mar 2007, gunadi bowo wrote:
 please somebody tell me how to connecting bluetooth with flex.

On what O/S ?
I would *imagine* your bluetooth input device will just appear to the O/S as a 
keyboard, and so not care if it's Flex or a HTML form.

-- 
Tom Chiverton
Helping to revolutionarily benchmark leading-edge eyeballs
On: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] LocalConnection Bug?

2007-03-01 Thread Tom Chiverton
On Wednesday 28 Feb 2007, zhongtie wrote:
 I tried to send an XML object over LocalConnection, and noticed if
 this XML doesn't have any child node, the other side will only see an
 empty one. For example:

 lc.send(lc_id, fn, new XML(a b='1'/))

What if you send a b=1/ ?

If you create the finial parameter in a temp. var., and inspect it in the 
debugger, is it valid XML ?

-- 
Tom Chiverton
Helping to continuously differentiate wireless schemas
On: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


RE: [flexcoders] Custom Collection Sorting Challenge

2007-03-01 Thread Alex
Create a temporary array, add data there using push() and then assign in to
fields property.

tmpArray:Array = new Array();

tmpArray.push(sfSortField);
tmpArray.push(sfLevel);

aSort.fields = tmpArray; 

Cheers,
Alex

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of iko_knyphausen
Sent: Wednesday, February 28, 2007 11:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom Collection Sorting Challenge

Hi all,

more questions on custom collection sorting... I have a XMLListCollection
dataprovider, which I am sorting using a sort object. The sorting works as
expected, when I use the following syntax to define the array of SortFields:

aSort.fields = [sfSortField, sfLevel];

However, I would like to assemble the fields array dynamically, depending on
column position, or what have you, so my first thought was to use the
array.push() method to add the individual SortFields, but this fails without
an exception being thrown...  

i = aSort.fields.push(sfSortField);
i = aSort.fields.push(sfLevel); 

Any ideas? Thanks

 



[flexcoders] Re: ArrayCollection to comma-delimited list?

2007-03-01 Thread qnotemedia
How I did this for anyone interested...

Made a component based on VBox that contains one Text.  The Text's 
text is set to a function that passes a bound ArrayCollection.  The 
function then does all the looping needed and returns a String.

Purely luck of the draw for me - I had no idea you could put a 
function in a text property.



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

 Couldn't quite figure this one out.  I have a multi-level 
 arraycollection and I need to write it out in flex as two separated 
 lists - i.e.
 
 itemA[0]: 1, 2, 3, 4
 itemB[1]: 5, 6
 itemC[2]: 7, 8
 
 I'm currently using two repeaters with mx:Text to properly view the 
 data, but of course, that just ends up as a bunch of separate text 
 boxes vertically.  Since mx:Text doesn't have an itemRenderer, I'm 
not 
 quite sure how to do this.





[flexcoders] Re: CF/Flex OOP Question - based on Matt Boles' Tutorial

2007-03-01 Thread qnotemedia
Of course, I'm moving on now.  My solution as of now has been to do a 
bit of both.  I'm passing the all of needed objects (four of them) 
through a custom event, and then building them as necessary in the 
view.  I'm still not quite sure if this is correct or not.  My 
example differs quite a bit from flexGrocer, so its a bit tought to 
compare.

Sorry for the length.
 - Chris



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

 Hi all,
 
 I've developed a number of Flex projects in the past few months, 
but 
 as I started to make bigger ones, I've run into a lot of problems.  
I 
 went back through a hands-on tutorial I had taken that was hosted 
by 
 Matt Boles at MAX, and I think its time to move up to the advanced 
 table.
 
 But there's something fundamental I'm still missing.  Some 
background 
 first - Matt basically ended the tutorial with showing us how to 
send 
 a custom event up from a component to the main application, and 
 passed to another component.  It wasn't until I put this in my own 
 application that I finally understood the point behind needing to 
 create loosely-coupled components.  I just did a google, and 
 strangely enough, the PDF for this hands-on is found here:
 
 
http://www.ammug.org/drupal/system/files/Building+a+Rich+Internet+Appl
 ication+with+Flex+2+and+ColdFusion.pdf
 
 The example he gave was a rather simple one.  Make your CFC using 
the 
 Flex wizard, and base your custom event off sending the wizard's 
 object - i.e. in reality, only a single table's fields, because in 
 the wizard, that's all you can create!
 
 But typically, us developers need much more than that in order to 
 view our data.  On to my question...
 
 
 Lets say I have a contact list - this would require names (names 
 tables) and a list of departments (dpts table), likely something 
 like: where names.dptID = departments.dptID.  Using Matt's 
tutorial, 
 I would create my CFCs by running the wizard on the Names table, 
make 
 a list all names component and a view selected name component.  
I 
 would create a custom event object that would dispatch the name 
 object, i.e. the selected name and fields from the names table - 
to 
 the view selected component, which would display the detailed 
data.
 
 
 But what about the non-name tables that are directly related, like 
my 
 list of departments (again: where name.dptID = departments.dptID)?  
 My question is, since ALL names will have ONE department, should 
this 
 SQL join be formed by editing the name object CFCs, and the name 
 object then includes things like Department Name and Department 
 Description every time its used - OR, should I have a completely 
 separate department object that is dispatched additionaly when the 
 selected name object is dispatched, which is in essence, forming 
the 
 join inside Flex?
 
 Considering that at some point the departments will be a separately 
 edited item, with their own add/remove/edit, I'm assuming the 
 latter?  And IF that's the case, what would the dispatch function 
 look like on page 76 of the tutorial?
 
 
 A long question - but typing it out helps me understand it, and I 
 need to get over this small bump in order to move on.
 
 Thanks for reading ;)





RE: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread Sajid Hussain
Wow :)

leds usop [EMAIL PROTECTED] wrote:  Great 
work as always! 
 
 --- Merrill, Jason [EMAIL PROTECTED]
 wrote:
 
  Awesome!  I hope this grows into something really
  great.
   
  
  Jason Merrill 
  Bank of America  
  Global Technology  Operations 
  Learning  Leadership Development 
  eTools  Multimedia Team 
  
  
   
  
  
  
  
   From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Doug McCune
   Sent: Wednesday, February 28, 2007 11:08 AM
   To: flexcoders@yahoogroups.com;
  flexcomponents@yahoogroups.com
   Subject: [flexcoders] Announcing FlexLib - open
  source flex
  component library
   
   
  
   I'm pleased to announce FlexLib: a new open-source
  project for
  Flex 2
   components. This project is a Google Code hosted
  project,
  released
   under the MIT license. I've been working with
  Darron Schall,
  Mike
   Chambers and Ted Patrick to get the project up and
  running.
  We're
   hoping to build a concentrated community effort for
  custom Flex
   component development.
   
   Have you been looking for a community project to
  contribute to?
  Do you
   have custom components you've been releasing on
  your blog? Want
  to
   brainstorm about new and improved components?
   
   The project currently contains a handful of
  components that have
  been
   developed by me or Darron (including some new ones
  I haven't
  blogged
   about yet). We want to get the Flex developer
  community involved
  and
   have a central resource that will help us all build
  off each
  other's
   work. To get involved take a look at the project
  page on google
  code
   (link below) and read the HowToContribute wiki
  page.
   
   For more information read through the project
  website, join the
   discussion group, and email me if you have more
  questions. If
  you want
   to contribute your code, drop us a line and we'll
  get you
  involved.
   
   FlexLib project page:
  http://code.google.com/p/flexlib
  http://code.google.com/p/flexlib 
   
   Announcement on my blog:
   
 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle
  x-component-library/
 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fl
  ex-component-library/ 
   
   Darron Schall's announcement:
  http://darronschall.com/weblog/
  http://darronschall.com/weblog/ 
   
  

  
  
 
 __
 Bored stiff? Loosen up... 
 Download and play hundreds of games for free on Yahoo! Games.
 http://games.yahoo.com/games/front
 
 
   

 
-
Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.

RE: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread Sajid Hussain
Wow :)

leds usop [EMAIL PROTECTED] wrote:  Great 
work as always! 
 
 --- Merrill, Jason [EMAIL PROTECTED]
 wrote:
 
  Awesome!  I hope this grows into something really
  great.
   
  
  Jason Merrill 
  Bank of America  
  Global Technology  Operations 
  Learning  Leadership Development 
  eTools  Multimedia Team 
  
  
   
  
  
  
  
   From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Doug McCune
   Sent: Wednesday, February 28, 2007 11:08 AM
   To: flexcoders@yahoogroups.com;
  flexcomponents@yahoogroups.com
   Subject: [flexcoders] Announcing FlexLib - open
  source flex
  component library
   
   
  
   I'm pleased to announce FlexLib: a new open-source
  project for
  Flex 2
   components. This project is a Google Code hosted
  project,
  released
   under the MIT license. I've been working with
  Darron Schall,
  Mike
   Chambers and Ted Patrick to get the project up and
  running.
  We're
   hoping to build a concentrated community effort for
  custom Flex
   component development.
   
   Have you been looking for a community project to
  contribute to?
  Do you
   have custom components you've been releasing on
  your blog? Want
  to
   brainstorm about new and improved components?
   
   The project currently contains a handful of
  components that have
  been
   developed by me or Darron (including some new ones
  I haven't
  blogged
   about yet). We want to get the Flex developer
  community involved
  and
   have a central resource that will help us all build
  off each
  other's
   work. To get involved take a look at the project
  page on google
  code
   (link below) and read the HowToContribute wiki
  page.
   
   For more information read through the project
  website, join the
   discussion group, and email me if you have more
  questions. If
  you want
   to contribute your code, drop us a line and we'll
  get you
  involved.
   
   FlexLib project page:
  http://code.google.com/p/flexlib
  http://code.google.com/p/flexlib 
   
   Announcement on my blog:
   
 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle
  x-component-library/
 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fl
  ex-component-library/ 
   
   Darron Schall's announcement:
  http://darronschall.com/weblog/
  http://darronschall.com/weblog/ 
   
  

  
  
 
 __
 Bored stiff? Loosen up... 
 Download and play hundreds of games for free on Yahoo! Games.
 http://games.yahoo.com/games/front
 
 
   

 
-
Looking for earth-friendly autos? 
 Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.  

RES: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread DANIEL CREDIDIO - INFORMATICA
Wow 2 times, this is great i wish i could do these things :D congrats this is 
so cool i loved the super tabBar

 



De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Sajid 
Hussain
Enviada em: quinta-feira, 1 de março de 2007 09:53
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Announcing FlexLib - open source flex component 
library

 

Wow :)

leds usop [EMAIL PROTECTED] wrote:

Great work as always! 

--- Merrill, Jason [EMAIL PROTECTED] 
mailto:jason.merrill%40bankofamerica.com 
wrote:

 Awesome! I hope this grows into something really
 great.
 
 
 Jason Merrill 
 Bank of America 
 Global Technology  Operations 
 Learning  Leadership Development 
 eTools  Multimedia Team 
 
 
 
 
 
 
 
 From: flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com ] On Behalf Of
 Doug McCune
 Sent: Wednesday, February 28, 2007 11:08 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ;
 flexcomponents@yahoogroups.com 
mailto:flexcomponents%40yahoogroups.com 
 Subject: [flexcoders] Announcing FlexLib - open
 source flex
 component library
 
 
 
 I'm pleased to announce FlexLib: a new open-source
 project for
 Flex 2
 components. This project is a Google Code hosted
 project,
 released
 under the MIT license. I've been working with
 Darron Schall,
 Mike
 Chambers and Ted Patrick to get the project up and
 running.
 We're
 hoping to build a concentrated community effort for
 custom Flex
 component development.
 
 Have you been looking for a community project to
 contribute to?
 Do you
 have custom components you've been releasing on
 your blog? Want
 to
 brainstorm about new and improved components?
 
 The project currently contains a handful of
 components that have
 been
 developed by me or Darron (including some new ones
 I haven't
 blogged
 about yet). We want to get the Flex developer
 community involved
 and
 have a central resource that will help us all build
 off each
 other's
 work. To get involved take a look at the project
 page on google
 code
 (link below) and read the HowToContribute wiki
 page.
 
 For more information read through the project
 website, join the
 discussion group, and email me if you have more
 questions. If
 you want
 to contribute your code, drop us a line and we'll
 get you
 involved.
 
 FlexLib project page:
 http://code.google.com/p/flexlib http://code.google.com/p/flexlib 
 http://code.google.com/p/flexlib http://code.google.com/p/flexlib 
 
 
 Announcement on my blog:
 


http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle 
http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle 
 x-component-library/


http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fl 
http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fl 
 ex-component-library/ 
 
 Darron Schall's announcement:
 http://darronschall.com/weblog/ http://darronschall.com/weblog/ 
 http://darronschall.com/weblog/ http://darronschall.com/weblog/  
 
 
 
 
 

__
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front http://games.yahoo.com/games/front 

 

  



Looking for earth-friendly autos? 
Browse Top Cars by Green Rating 
http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI-
  at Yahoo! Autos' Green Center. 

 



Re: [flexcoders] problem firing ChangeWatcher event on specific ModelLocator property

2007-03-01 Thread Webdevotion

This fires the event I want:
var collection : Array = model.downloads.toArray();
collection.push( newDownloadVO );
model.downloads = new ArrayCollection( collection );


model.downloads.addItem( aNewDownloadVO ) will not fire an event.

Any one knows why ?


RE: [flexcoders] Re: Flex choking while converting less than 2 MB of data

2007-03-01 Thread Matt Chotin
If you can provide an example XML and the example deserialization
technique you would use we can use that in a Player testcase and see
what we can do about it.  Doesn't have to have 10,000 records, just 2 or
3 and we can do the copy-paste work.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Karl Johnson
Sent: Wednesday, February 28, 2007 7:37 AM
To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex choking while converting less than 2
MB of data

 

Hey Matt-

 

I would never even try 10,000 objects in a strongly typed result set
because of the performance. But I think the bigger key factor here is
how deeply nested your strongly typed objects are. In the example I gave
in my reply, it was a very complex nested object...and I gotta think the
actual delay is the deserialization and creation of the strongly typed
objects in memory by the player instead of rendering time or something
else.

 

I think what you suggest below is correct.

 

Karl

Cynergy

 



From: flexcoders@yahoogroups.com on behalf of Matt Chotin
Sent: Tue 2/27/2007 3:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex choking while converting less than 2
MB of data

Can you send us a test-case please?  Instantiating 10,000 objects like
you have shouldn't be so bad as far as I know.

 

Sounds like getting the XML into anonymous objects is OK, it's just the
strongly-typed ones right?

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Tuesday, February 27, 2007 1:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex choking while converting less than 2 MB
of data

 

Wow, that sucks REALLY bad. I appreciate the response Karl.

I did try (before posting the original message) setting resultFormat
to e4x and then assembling my objects with pretty much the same
outcome. Are you suggesting I leave the data as XML permanently? I
suppose thats worth a shot but I've found using XML dataProviders to
be a real PITA when making extensive use of itemRenderers and
labelFunctions (like my app does).

Thanks,
Ben

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Karl Johnson [EMAIL PROTECTED]
wrote:

 It is unfortunate, but it is the way it is. When returning large
sets of data like this, we had to stop using webservices returning
objects and change to using webservices returning an XML string or
HTTPServices returning XML. Having the flash player consume a big blog
of XML and then you do what you want with it (like turn it in to AS
XML Objects and use it for a grid's dataprovider, etc) is WAY faster
than letting flex try to deserialize it all and put it all into memory
as strongly typed objects.
 
 One perf test we did in 1.5 was to return three hundred items as
nested, strongly typed objects took about 45 seconds for the FP to
handle the result set and render. When using straight xml, it took
about 2 seconds. Of course it all depends on how large your result set
as well as how deep and nested your objects are.
 
 Karl
 Cynergy
 
 Shameless Plug:
 Come see us at AJAXWorld next month! Several Cynergy employees,
including myself, will be presenting on great Flex topics. Don't miss
it!
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
on behalf of ben.clinkinbeard
 Sent: Tue 2/27/2007 1:42 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Flex choking while converting less than 2 MB
of data
 
 
 
 I am calling a web service that sometimes returns up to 1.9 MB of SOAP
 formatted data. I have left the resultFormat set to object, and it
 seems to handle the initial parsing into anonymous objects without
 much trouble. However, when I attempt to convert this structure into
 class instances the player chokes and usually ends up freezing the
 browser.
 
 The object structure consists of one main Batch object instance, which
 contains 2000 BatchDocument instances, which in turn each contain a
 single ClientInfo object instance and up to four Plan object
 instances. This doesn't seem like a structure that Flex should fail so
 miserably with as the performance everywhere else has been pretty
 impressive. I have attempted this using Darron Schall's
 ObjectTranslator class
 (http://www.darronschall.com/weblog/archives/000247.cfm
http://www.darronschall.com/weblog/archives/000247.cfm 
http://www.darronschall.com/weblog/archives/000247.cfm
http://www.darronschall.com/weblog/archives/000247.cfm  ) as well as
 simply passing the anonymous objects to my class constructors. Both
 result in a completely unusable application.
 
 Any help is greatly appreciated.
 
 Ben


 



RE: [flexcoders] Does anyone know of ActionScript for Linux ? Just the basic AS3 will be fine ...

2007-03-01 Thread Gordon Smith
Adobe has donated the basic AS3 runtime to mozilla.org as the Tamarin
project.
 
http://www.mozilla.org/projects/tamarin/
http://www.mozilla.org/projects/tamarin/  says The current tree does
not yet include the branch for Linux (x86) support, which will be
integrated in a few weeks. I don't know the current status of this,
although I wouldn't hold my breath if it isn't there yet.
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of helihobby
Sent: Wednesday, February 28, 2007 10:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Does anyone know of ActionScript for Linux ? Just
the basic AS3 will be fine ...



Does anyone know of ActionScript for Linux ? Just the basic AS3 will be 
fine ...

Don't need the full UI and Libs of Flex. 
Just basic AS3 Core Libs would be fine if they can run on Linux.

As always, Thank you for all the help and support.

Regards,

Sean - http://www.HeliHobby.com http://www.HeliHobby.com 

P.S.

You can read my solution for Flex Component communication here:

http://www.helihobby.com/html/alon_desingpattern.html
http://www.helihobby.com/html/alon_desingpattern.html 



 


RE: [flexcoders] Re: Fisheye component

2007-03-01 Thread Ely Greenfield
 
 
Attached.
 
Ely.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of fsawitzki
Sent: Tuesday, February 27, 2007 5:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Fisheye component



I have also the problem to find the missing CachedLabel file. On Elys
page is only one FisheyeProject.zip file stored, dated 12-13-06. And
there is no CachedLabel file inside. Also not in the srcview folder.

Can you or anyone else post a link, where i can find it?

thanks in advance,
Frank

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Mitch Grasso [EMAIL PROTECTED] wrote:

 Download the full source code zip file and you'll find it there.
 
 - Original Message 
 From: leo0401flick [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Sent: Wednesday, February 21, 2007 12:16:00 PM
 Subject: [flexcoders] Fisheye component
 
  
 I want to use the fisheye component from Ely Greenfield.
 
 But the compiler ask for a missing qs.controls. CachedLabel
 
 Does anybody know's where to get it.
 
 thanx



 


CachedLabel.as
Description: CachedLabel.as


RE: [flexcoders] How can I access public members of custom MXML component using inline statemen ?

2007-03-01 Thread Stephen Gilson
There is a section in the doc on creating and accessing properties in
MXML components:
 
http://livedocs.adobe.com/flex/201/html/mxmlcomponents_advanced_145_03.h
tml
 
Stephen



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of helihobby
Sent: Tuesday, February 27, 2007 8:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How can I access public members of custom MXML
component using inline statemen ?



Hello all,

How can I access public members of custom MXML component using inline 
statemen ?

For example, I have my own MXML component name myComp which has 
public members.

How can I access these public member from inling mxml.

In other words, of couse I can do myComp.myMember = ABC;

But I wish to do it not in ActionScript but in MXML ( inline ).

In other words, I wish to do:

myview:MyComp x=100 y=100 myMember=ABC /

In other words, in line MXML ( not in AS ).

I tried using the setter function in myComp, but no luck.

As always, Thank you for all the help and support.

Regards,

Sean - http://www.HeliHobby.com http://www.HeliHobby.com 

P.S.

You can read my solution for Flex Component communication here:

http://www.helihobby.com/html/alon_desingpattern.html
http://www.helihobby.com/html/alon_desingpattern.html 

public function doThis():void {
}

Now I want 

ns1 leDisplay id=viewerContainer x=263 y=85
/ns1 leDisplay



 


Re: [flexcoders] Basic inheritance question

2007-03-01 Thread Michael Schmalle

BTW,

You could put an else statement on that to throw() an error if you really
cared about the currentTarget not setting the style correctly.

I think this is the most elegantly decoupled way to attack the problem.

Peace, Mike

On 2/28/07, Michael Schmalle [EMAIL PROTECTED] wrote:


Or...

If you want to get really crazy and say what is the way you should do it
in perfection world, it would be;

if (event.currentTarget is IStyleClient)
   IStyleClient(e.currentTarget).setStyle(color, red);

Peace, Mike

On 2/28/07, Jamal Romero [EMAIL PROTECTED] wrote:

   Hi,
 Thanks for your reply. Yes that's what I wanted to
 say. The code will compile, I've tried it on
 www.flex.org online compiler and it did what expected
 without error. I think the compiler is not strict
 about type reference. But as has been said, it's
 better to type cast to the right ancestor or
 descendent an call the appropiate method. As coming
 from java land the java compiler won't tolerate this
 error if it is an error. When I get the target from
 the event it's not even a UIComponent, it's as been
 said an Object type. Anyway I'm still learning Flex.
 Java Swing id too slow, but I must say it wasn't a
 wast of time. It is a very elegant architecture but
 the problem is too slow. All the concept reading the
 Develp. Guide are familiar to me because they all
 implemented in Java Swing.
 Thanks
 Jairo

 --- Gordon Smith [EMAIL PROTECTED] gosmith%40adobe.com wrote:

  The Developer's Guide is wrong... you won't get a
  compilation error if
  you don't cast. However, casting is best practice so
  that the compiler
  can help you catch coding mistakes. For example,
 
  e.currentTarget.setSytle(...)
 
  would compile despite the typo, but throw a runtime
  error. However,
 
  Button(e.currentTarget).setSytle(...)
 
  would not compile.
 
  - Gordon
 
  
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of Karl Johnson
  Sent: Tuesday, February 27, 2007 10:27 AM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com;
  flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: RE: [flexcoders] Basic inheritance question
 
 
 
  In general you always want to cast something like
  this - because
  event.currentTarget is of type object and NOT
  UIComponent or Button. But
  since objects are loosely typed as type Object, then
  you reference any
  property or method you want at compile time. Often
  at runtime though you
  will hit errors unless it is properly casted. Your
  sample application
  was done in Flex 2 right?
 
  Definitely a best practice to be casting generic
  objects like this to
  the type of object you want to be working with to
  avoid runtime errors
 
  Karl
  Cynergy
 
  
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on
 behalf of
  jairokan
  Sent: Tue 2/27/2007 11:53 AM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: [flexcoders] Basic inheritance question
 
 
 
  Hi,
  I'm reading the Developer's Guide and in the section
  using Events, they
  say on a paragraph that :
  If you try to call another method on the
  currentTarget (for example,
  the setStyle() method), Flex returns an error. The
  setStyle() method is
  defined on UIComponent, a subclass of DisplayObject.
  Therefore, you must
  cast currentTarget to UIComponent before calling the
  setStyle() method
  for example:
  mx:Script
  ![CDATA[
  import mx.core.UIComponent;
 
  private function myEventHandler(e:Event):void {
 
  UIComponent(e.currentTarget).setStyle(color,
  red);
  }
  ]]
  /mx:Script
 
  and e.currentTarget is of type Button. But Button
  extends UIComponent,
  so we don't have to upcast the reference because
  setStyle method is
  public and is available to Button object reference0.
  I tried the code
  without upcasting and it works.
  Is the writer wrong or Am I missing something on the
  concept.
 
  Thanks
 
  Jairo
 
 
 
 
 

 __
 Food fight? Enjoy some healthy debate
 in the Yahoo! Answers Food  Drink QA.
 http://answers.yahoo.com/dir/?link=listsid=396545367

  





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-03-01 Thread Michael Schmalle

Hi,

Is it an SWC file?

If so, you need to go

CurrentProject - right click, Properties - Flex Build Path - Library Path
Tab;

Then either choose, Add SWC Folder or Add swc.


From there you should be good to go.


Peace, Mike

On 2/28/07, Bruce H. Johnson [EMAIL PROTECTED] wrote:


  I downloaded a neat-looking speedometer chart component in a zip file.
I can extract with the directory structure (GaugeComponent\Gauge... etc.)

Now, how do I get Builder 2 to recognize the sucker is there? I've
tried File  Import..., pointing a Source Path at it, etc. I've spent
a couple hours in Builder Help so I'm obviously asking the wrong question.

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


RE: [flexcoders] JEE5 web application glassfish EJB Hibernate....how use it by fds and flex?

2007-03-01 Thread Jeff Vroom
ActionScript (like javascript) is an asynchronous programming language
so each RPC call you make does not block while the code fetches the
results.  Because of this, pretty much every asynchronous call does not
return the result directly... instead it returns a token which you can
use to register a callback function which gets the result.  So this line
of your code below isn't going to return a Year - it returns an
AsyncToken.   

 

year = Year(ro.retrieveYear(1));

 

With that token you can register a callback function that is given the
year.  The other thing Java programmers get tripped up by is the fact
that the flash player will not actually initiate any RPC ops until your
current code completes.  Thus it is safe to assign to the returned token
after the call is made as long as you do so before the current frame
completes.  

 

Jeff

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lruinelli
Sent: Wednesday, February 28, 2007 5:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] JEE5 web application glassfish EJB
Hibernatehow use it by fds and flex?

 

Hello,

I have a JEE5 web application based on EJB and Hibernate.
for each entity I have:
- an Hibernate mapping
- a java class
- a controller of the java class (with method to create, modify, ecc
the entity)
- a controllerLocalInterface 
- a controllerRemoteInteface

example for entity Year...i have:
- Year.hbm.xml
- Year.java
- YearControllerBean.java (Year createYear()...updateYear(Year y)...ecc)
- YearControllerLocal.java
- YearRemoteLocal.java

...a java client has the following structures (it works fine!):

public class TestClient {
public static void main(String[] args) {
try {
InitialContext ic = new InitialContext();

YearControllerRemote yc =(YearControllerRemote)
ic.lookup(YearControllerRemote.class.getName());
Year anno = yc.createYear();
anno.setValue(2013);
yc.updateYear(anno);

...
}

How to perform something like this with fds2 and flex...I see an
article on:
http://weblogs.macromedia.com/pmartin/archives/2006/08/ejb_and_flex_in.c
fm
http://weblogs.macromedia.com/pmartin/archives/2006/08/ejb_and_flex_in.
cfm 

and I based my fds and my client on this (using the given
flex-ejb-factory.jar and configuring remoting-config.xml and
service-config.xml as described)

remoting-config.xml:
destination id=MyEJB
properties
factoryejb3/factory
sourceorg.seamless_ip.ontologies.farm.YearControllerBean/source
/properties
/destination

and service-config.xml:
factories 
factory id=ejb3 class=com.adobe.ac.ejb.EJB3Factory /
/factories

In the client side I have a YearControllerBean.as and a Year.as 

...my flex client (as entry point I use a remoteObject which point the
org.seamless_ip.ontologies.farm.YearControllerBean):

mx:RemoteObject id=ro destination=MyEJB
/mx:RemoteObject

private function initApp():void
{
year = Year(ro.retrieveYear(1));

}



...but the following error occours:
type Coercion failed: cannot convert mx.rpc::[EMAIL PROTECTED] to
Year.

Could someone please help me...giving me tricks or interesting link,
samples?

thanks
Lorenzo

 



RE: [flexcoders] FDS port in biggest disadvantage in Flex?

2007-03-01 Thread Jeff Vroom
I have a couple of comments on this.  First off, there is nothing to say
you can't run RTMP on port 80 so if it is just a port number issue, you
can get around that problem.  Of course most servers will need to be
listening for both RTMP and HTTP traffic so that would require more than
one IP address to allow both to listen to port 80 at the same time. 

I think that some folks have constraints so that they need to be running
their app server behind the firewall so it is not directly exposed to
clients.  In many J2EE architectures, the web server sits on the DMZ and
serves up static files and proxies dynamic requests to the app server
tier.  We do not yet have a multi-tier solution for RTMP but this is
something we're looking at.

As Tom mentions, we are working on support for RTMPT - the HTTP based
tunneling version of the RTMP protocol.  This uses the same actual
server socket as RTMP but wraps RTMP traffic in HTTP requests.  We
detect which protocol is being used by looking at the first few bytes
the client writes.  You could theoretically proxy these requests using
an HTTP based proxy server to keep the RTMP server behind the DMZ.
RTMPT does require polling the server though so this is not as scalable
as using plain old RTMP.  We implemented it primarily so that clients
can get real time data delivery even when their only internet
connectivity is through an HTTP proxy server.  

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Wednesday, February 28, 2007 8:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FDS port in biggest disadvantage in Flex?

On Wednesday 28 Feb 2007, marcel.panse wrote:
 Because flex uses another port for FDS instead of 80... A lot of users
 have firewalls installed and cant use ports other than 80 or have to
 adjust there firewalls. I work at a company who just can't use other
 ports..

I belive there was a post from Adobe asking if anyone wanted to try a
new 
FDS/SDK that would tunnel over port 80.

 Another problem is you have to specify an new port for every flex
 application you host on your server. Every webapp needs its own fds
 port. So you have to forward who ranges of ports in you firewalls and
 systems..

You could then use a reverse web proxy to send the requests to the
correct 
back end.

-- 
Tom Chiverton
Helping to assertively optimize edge-of-your-seat partnerships
On: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



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





Re: [flexcoders] crossdomain? image dragging

2007-03-01 Thread Troy Gilbert

I'd imagine its throwing a SecurityError that the DragManager is handling on
your behalf. When you begin the drag, you are probably creating a proxy
image to use for dragging. Since the image was loaded from a different
domain (that probably doesn't have a crossdomain.xml policy) you can only
have the player display the image, you can't read from it or copy it. As a
result, it can't create the proxy image.

Now, how you fix that... I'm not sure. I personally think Flash Player
should have identical security policies to the browser when it comes to
image formats, etc., i.e. if the browser allows me to load an image (through
a standard http request) I should be able to do anything I want with the
image data.

Troy.


On 2/28/07, Paul Hastings [EMAIL PROTECTED] wrote:


  we're getting some user complaints about some functionality based on
drag  drop of an image. for servers in domains local to them, works a
treat. for servers in remote domains it appears the drag image can't
be retrieved  they're getting the broken image instead when dragging.
what's puzzling us is that we can load images from those remote
domains w/out any problems:

theMap.load(mapResults.mapSrc);

where mapResults.mapSrc consists of a URL pointing at the image we
want to display which works fine for all servers. only the drag
operations seem broken.

any ideas?

thanks.
 



[flexcoders] E4X descendant operator doesn't work for XML object?

2007-03-01 Thread Troy Gilbert

Many apologies for the subject line, it should have been E4X descendant
operator doesn't work for XML object? ... the original subject line related
to just my own coding stupidity.

On 2/28/07, thirtyfivemph [EMAIL PROTECTED] wrote:


  I've run into a curious problem with E4X (which is otherwise
spectacular). Given this document:

var document:XML =
document id=1
object id=4
content id=3
node id=20 /
/content
/object
object id=7
/object
/document;

I would have expected this code to work:

var list:XMLList = game..(@id == 7);

But the compiler gives me an error message:

Syntax error: expecting doublecolon before rightparen.

Can I not use the descendant selector (..) directly on an XML
object? All of the examples I've seen use it on XMLList objects, but I
didn't see any specific mentions that it only works with XMLList
objects. For now, it seems I have to do this to get the result I'm
looking for:

var list:XMLList = game.descendants().(@id == 7);

Which is fine, I just need to make sure I'm not misunderstanding the
E4X syntax or rules.

Thanks,

Troy.

 



Re: [flexcoders] Multi-axis chart

2007-03-01 Thread Mikhail Shevchuk

As far as I can see, it can draw only two axis max. I need three axes, like
in this link(http://www.infosoftglobal.com


/FusionCharts/PowerCharts.asp#maxisline).



How can I implement *real* multiple(not just 2) axis chart?


2007/2/27, Tom Chiverton [EMAIL PROTECTED]:


On Tuesday 27 Feb 2007, Mikhail Shevchuk wrote:
 What is the best way to implement multi-axis line chart like this (
 http://www.infosoftglobal.com/FusionCharts/PowerCharts.asp#maxisline) ?

The normal Flex Charting stuff supports multiple axis.

--
Tom Chiverton
Helping to elementarily brand fine-grained appliances
at http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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




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







--
A vivid and creative mind characterizes you.


RE: [flexcoders] Re: Just curious, A big development team or individual developers

2007-03-01 Thread - FI / Jonas Eliasson +
Sorry didn't mean to slash Adobe or FlexBuilder. I was extremely frustrated
atm :-). We do really enjoy AS3 and the Flex API. It's pretty hard to find
information on how to use these features in a structured way. To me it seems
extremely limiting if you can't split your application up within a project
easily. Now we have spent weeks on getting up to speed with limited
information online. If I wasn't already using Eclipse, ANT, and Hamtasc for
AS2 development this process would have taken ages. 

 

Here is a few good links on the topic if others are interested in modular
applications. 

 

http://blogs.adobe.com/flexdoc/pdfs/modular.pdf  (Creating Modular
Applications) 

http://flexblog.faratasystems.com/?p=76 (Use of RSL's and modules)

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.ht
m?context=LiveDocs_Book_Parts
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.h
tm?context=LiveDocs_Book_Partsfile=modular_083_1.html
file=modular_083_1.html (Flex 2 developer guide)

http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_1.html
(by Roger Gonzalez)

 

 

Jonas 

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Gonzalez
Sent: den 27 februari 2007 13:38
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Just curious, A big development team or
individual developers

 

Modules were a point-release feature that were released earlier than the
corresponding IDE support so that we could get feedback from the community
about what people wanted.

 

If we had waited to get Module support into FlexBuilder, you wouldn't have
seen Modules until 3.0.

 

Would that have been preferable to you?

 

-rg

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of - FI / Jonas Eliasson +
Sent: Monday, February 26, 2007 8:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Just curious, A big development team or
individual developers

We are a team of 6 developers working on a flex project from two offices
using SVN. We have a modular setup where we use different RSL's and external
modules which are pulled in from a main application. This way we can work
independently. 

I have been developing Adobe (Macromedia) products for about 5 years and
this time I was hoping for a solid product. But right now it feels like I am
a paying beta tester... Flexbuilder is not easy to setup for a modular
application approach. Right now we are using the Flex SDK and ANT which
makes it easier to set up a large application with many external modules and
RSL's. Now we only use Flexbuiler for the text editor and step debugger.
$500 for a text editor, silly huh! Hopefully we will se good updates in the
near future. 

Jonas 

-Original Message-
From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
[mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com]
On
Behalf Of softwarecat
Sent: den 23 februari 2007 15:35
To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
Subject: [flexcoders] Re: Just curious, A big development team or individual
developers

For our project it is a TEAM of 2. I am entirely new to flex and AS3 
with more of a design/html background. I'm now knee (sometimes it 
feels neck deep) in the front end design while my partner is more 
code PHP background is providing the code and architectures. It 
seems to work.

We are sharing with CVS through flex builder, but it is tough to work 
on the main file (commit - update issues maybe someone has some 
advice on this area). It is working, but we are only 6 weeks in and 
development has definately been slowed by our learning curve, But 
with that said I'm head over heels in love with Flex and AS.

We plan to add an additional developer over the next two weeks (any 
ideas where to find a respectable one?)

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com ,
Robert Chyko [EMAIL PROTECTED] wrote:

 For the project I am on now, it is just me.
 
 For the project that is being designed it will be a team. We have 3
 inhouse Flex devs currently (myself and 2 others) and will either be
 hiring more or bringing in some consultants.
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com 
 [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com ]
On Behalf Of boy_trike
 Sent: Friday, February 23, 2007 1:57 PM
 To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Just curious, A big development team or
 individual developers
 
 
 
 I wonder how many people are working on TEAM to develop their
 flex applications (and how 
 many are 1 or 2 men (whoops I mean PEOPLE) developers. Please
 discount the Graphic 
 artists, HTML coders. et. 

Re: [flexcoders] Storing / retrieving rich text

2007-03-01 Thread Ben Marchbanks
Actually I want an XML formatted result from the 
server.

What I don't want is for the rich text to be 
interpreted as an XML string when applying it to 
the text control as htmlText.

All the white space in the XML string gets 
rendered as white space in the text control while 
it does render the text as HTML.

For now I have used AS to strip out all the white 
space ( between the ending and beginning tags) and 
then apply the htmlText to the text control.

Maybe I am still missing the easy solution


Brian Holmes wrote:
 You need to escape the xml formatting before sending it to the client.
 In cold fusion you could use the XMLFormat() function so if you're using
 cf, just wrap that around your return, or find a similar function for
 the back end lang you're using.
 
 
 Brian.. 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of pdflibpilot
 Sent: Monday, February 26, 2007 9:54 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Storing / retrieving rich text
 
 I am trying to develop a method to allow web administrators to be able
 to edit text in their Flex application directly in the UI (without
 Flex). This text gets saved to mySQL when they close the rich text
 editor.  
 
 The data is stored correctly in mySQL however when its retrieved it gets
 formated as an XML object when extracted from the event.result.
 
 While this makes it easy to populate the various labels and text objects
 with the rich text data. The problem is that the rich text data gets
 formatted as XML with new lines and indents. Like in this
 dmup
 
 contentLive
   TEXTFORMAT LEADING=2
 P ALIGN=CENTER
   FONT FACE=Verdana SIZE=14 COLOR=#FF LETTERSPACING=0
 KERNING=0
 BThis is /B
 FONT COLOR=#0033FF
   B
 Ulive content/U
   /B
 /FONT
   /FONT
 /P
   /TEXTFORMAT
 /contentLive
 
 How can I force it to treat it as raw text just like its stored in mySQL
 without the formatting ? 
 
 
 
  Yahoo! Groups Sponsor ~--
 Great things are happening at Yahoo! Groups.  See the new email design.
 http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM
 ~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 ***
 The information in this e-mail is confidential and intended solely for the 
 individual or entity to whom it is addressed.  If you have received this 
 e-mail in error please notify the sender by return e-mail delete this e-mail 
 and refrain from any disclosure or action based on the information.
 ***
 


Re: [flexcoders] Flex Builder Syntax Highlighting Not Working

2007-03-01 Thread Mark Robinson

I installed the stand alone Flex Builder and all the highlighting came
back.  I tried reinstalling the eclipse plugin but that didn't make any
difference.

Adobe support is looking into this but right now they don't have any ideas.
They pointed me to this post but it doesn't really help me:
http://www.morearty.com/blog/2006/05/22/undocumented-flex-builder-changing-the-syntax-coloring/

-Mark

On 2/27/07, feiy [EMAIL PROTECTED] wrote:


  give me the detail about your mxml code!maybe the namespace define error

2007/2/27, mark_c_robinson [EMAIL PROTECTED]:

   Has anyone experienced syntax highlighting for the Flex Builder plugin
 (2.0.1) in Eclipse (3.2.1) failing all together or at best working
 sporadically?

 And has anyone determined a fix?




--
闲云孤鹤 - 清冷香中抱膝吟

 



Re: [flexcoders] Controlling Content Scrolling inside HBOX without ScrollBars

2007-03-01 Thread Daniel Freiman

First, double check to make sure that verticalScrollPosition and
horizontalScrollPosition won't work even if you hide the scrollbars (I don't
think they will but I'm not sure).  If and when that doesn't work,
all scrollbars do is change the scollRect property of a UIComponent.  You
could manipulate this property directly.

- Dan

On 2/28/07, Faisal Raja [EMAIL PROTECTED] wrote:


  hi,
I want to control the scrolling of the content inside the HBOX through a
button. Any1 having idea on how i can do it. I don't want to use the
ScrollBars.

Thank you

--
It's here! Your new message!
Get new email 
alertshttp://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/with
 the free Yahoo!
Toolbar.

 



Re: [flexcoders] Flex and Java

2007-03-01 Thread Igor Costa

Hi there Thierry

you can you this

http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP


Regards.

On 2/28/07, thierrybertossa [EMAIL PROTECTED] wrote:


  Is it possible to embed swf in java application?
And call method between them?

http://www.javaworld.com/javaworld/jw-01-2003/jw-0117-flash.html
if not with flex perhaps with flash 6 7 8 ?

 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread Cutter (Flex Related)
This is outstanding, but I do wonder why you don't use Ray Camden's 
RIAForge (http://www.riaforge.org) to host a project of this nature, 
since it is specific to Adobe product extensions.

Cutter
_
http://blog.cutterscrossing.com

Doug McCune wrote:
 
 
 I'm pleased to announce FlexLib: a new open-source project for Flex 2
 components. This project is a Google Code hosted project, released
 under the MIT license. I've been working with Darron Schall, Mike
 Chambers and Ted Patrick to get the project up and running. We're
 hoping to build a concentrated community effort for custom Flex
 component development.
 
 Have you been looking for a community project to contribute to? Do you
 have custom components you've been releasing on your blog? Want to
 brainstorm about new and improved components?
 
 The project currently contains a handful of components that have been
 developed by me or Darron (including some new ones I haven't blogged
 about yet). We want to get the Flex developer community involved and
 have a central resource that will help us all build off each other's
 work. To get involved take a look at the project page on google code
 (link below) and read the HowToContribute wiki page.
 
 For more information read through the project website, join the
 discussion group, and email me if you have more questions. If you want
 to contribute your code, drop us a line and we'll get you involved.
 
 FlexLib project page: http://code.google.com/p/flexlib 
 http://code.google.com/p/flexlib
 
 Announcement on my blog:
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-flex-component-library/
  
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-flex-component-library/
 
 Darron Schall's announcement: http://darronschall.com/weblog/ 
 http://darronschall.com/weblog/
 
 


Re: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread Brendan Meutzner

This is great Guys!

On 2/28/07, leds usop [EMAIL PROTECTED] wrote:


  Great work as always!

--- Merrill, Jason [EMAIL PROTECTED]jason.merrill%40bankofamerica.com


wrote:

 Awesome! I hope this grows into something really
 great.


 Jason Merrill
 Bank of America
 Global Technology  Operations
 Learning  Leadership Development
 eTools  Multimedia Team





 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
Behalf Of
 Doug McCune
 Sent: Wednesday, February 28, 2007 11:08 AM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com;
 flexcomponents@yahoogroups.com flexcomponents%40yahoogroups.com
 Subject: [flexcoders] Announcing FlexLib - open
 source flex
 component library



 I'm pleased to announce FlexLib: a new open-source
 project for
 Flex 2
 components. This project is a Google Code hosted
 project,
 released
 under the MIT license. I've been working with
 Darron Schall,
 Mike
 Chambers and Ted Patrick to get the project up and
 running.
 We're
 hoping to build a concentrated community effort for
 custom Flex
 component development.

 Have you been looking for a community project to
 contribute to?
 Do you
 have custom components you've been releasing on
 your blog? Want
 to
 brainstorm about new and improved components?

 The project currently contains a handful of
 components that have
 been
 developed by me or Darron (including some new ones
 I haven't
 blogged
 about yet). We want to get the Flex developer
 community involved
 and
 have a central resource that will help us all build
 off each
 other's
 work. To get involved take a look at the project
 page on google
 code
 (link below) and read the HowToContribute wiki
 page.

 For more information read through the project
 website, join the
 discussion group, and email me if you have more
 questions. If
 you want
 to contribute your code, drop us a line and we'll
 get you
 involved.

 FlexLib project page:
 http://code.google.com/p/flexlib
 http://code.google.com/p/flexlib

 Announcement on my blog:


http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle
 x-component-library/

http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fl
 ex-component-library/

 Darron Schall's announcement:
 http://darronschall.com/weblog/
 http://darronschall.com/weblog/






__
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

 





--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca


Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-03-01 Thread Bruce Johnson
Did that. I can now see the two Gauge components in Custom Components. However, 
if I drag one onto the design panel, the code shows, ns1:Gauge x=53 
y=301/ Apparently not picking up the class definition.

There's a test mxml file and an SWF with the zip. When I copy over the style 
definitions, I get two errors on this style:
  .bitmapGauge {
   frameSkin:  Embed(source=/gauge/skins/graphic/BitmapFrame.png);
   coverSkin:  Embed(source=/gauge/skins/graphic/BitmapCover.png);
  }

Severity Description Resource In Folder Location Creation Time Id
2 Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = 
/gauge/skins/graphic/BitmapFrame.png)'. main.mxml RD line 28

So, apparently there's some more stuff gotta go on. Any ideas, anyone?

 
Bruce H. Johnson
Sylmar, California
[EMAIL PROTECTED]
#include std_disclaimer



- Original Message 
From: Nuno Morgadinho [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 28, 2007 7:43:29 AM
Subject: Re: [flexcoders] Getting a Third-Party Component into Builder 2?

Try adding the folder source path of the component under Project Properties  
ActionScript Build Path .




 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

Re: [flexcoders] Top and Bottom padding on DataGrid

2007-03-01 Thread Douglas Knudsen

ever have any luck with this?

DK

On 1/22/07, Matt Maher [EMAIL PROTECTED] wrote:


Is there a simple way to change the forced padding on the top and bottom
of datagrid rows?

If I make font-size=6 I would expect the row to shrink to a tiny size,
but there seems to be a forced top and bottom margin that keeps the row
at a certain height.



ItemRenderers are possible, but that means trouble with as much data as
I am displaying.

Any css'ers or skinners out there know how to do this?





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







--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread Nicolas Boulet-Lavoie
Very good idea.
I greatly appreciate the Supertab Component wich I'll use in my next 
projects :)
Keep up the good work.
Nicolas

leds usop a écrit :

 Great work as always!

 --- Merrill, Jason [EMAIL PROTECTED] 
 mailto:jason.merrill%40bankofamerica.com
 wrote:

  Awesome! I hope this grows into something really
  great.
 
 
  Jason Merrill
  Bank of America
  Global Technology  Operations
  Learning  Leadership Development
  eTools  Multimedia Team
 
 
 
 
 
  
 
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com] On Behalf Of
  Doug McCune
  Sent: Wednesday, February 28, 2007 11:08 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com;
  flexcomponents@yahoogroups.com mailto:flexcomponents%40yahoogroups.com
  Subject: [flexcoders] Announcing FlexLib - open
  source flex
  component library
 
 
 
  I'm pleased to announce FlexLib: a new open-source
  project for
  Flex 2
  components. This project is a Google Code hosted
  project,
  released
  under the MIT license. I've been working with
  Darron Schall,
  Mike
  Chambers and Ted Patrick to get the project up and
  running.
  We're
  hoping to build a concentrated community effort for
  custom Flex
  component development.
 
  Have you been looking for a community project to
  contribute to?
  Do you
  have custom components you've been releasing on
  your blog? Want
  to
  brainstorm about new and improved components?
 
  The project currently contains a handful of
  components that have
  been
  developed by me or Darron (including some new ones
  I haven't
  blogged
  about yet). We want to get the Flex developer
  community involved
  and
  have a central resource that will help us all build
  off each
  other's
  work. To get involved take a look at the project
  page on google
  code
  (link below) and read the HowToContribute wiki
  page.
 
  For more information read through the project
  website, join the
  discussion group, and email me if you have more
  questions. If
  you want
  to contribute your code, drop us a line and we'll
  get you
  involved.
 
  FlexLib project page:
  http://code.google.com/p/flexlib http://code.google.com/p/flexlib
  http://code.google.com/p/flexlib http://code.google.com/p/flexlib
 
  Announcement on my blog:
 
 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fle
  x-component-library/
 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fl 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-fl
  ex-component-library/
 
  Darron Schall's announcement:
  http://darronschall.com/weblog/ http://darronschall.com/weblog/
  http://darronschall.com/weblog/ http://darronschall.com/weblog/
 
 
 
 
 

 __
 Bored stiff? Loosen up...
 Download and play hundreds of games for free on Yahoo! Games.
 http://games.yahoo.com/games/front http://games.yahoo.com/games/front

  

-- 
Merci et bonne journée,

Nicolas Boulet-Lavoie, Webmestre/Webmaster

L A P R I S E ®
Tél: 248-8886 poste 288
[EMAIL PROTECTED]

http://www.maisonlaprise.com/
http://www.habitaflex.com/
http://www.lorendo.com/
http://www.tomindustries.com/


AVERTISSEMENT CONCERNANT LA CONFIDENTIALITÉ. Ce message est strictement réservé 
à l'usage de l'individu ou de l'entité à qui il est adressé et contient de 
l'information privilégiée et confidentielle. Si le lecteur de ce message n'est 
pas le destinataire projeté, celui-ci est par la présente avisé que tout 
dissémination, distribution ou copie de cette communication est strictement 
prohibée. Si le destinataire ne peut être joint ou vous est inconnu, veuillez 
informer l’expéditeur par courrier électronique immédiatement et détruire ce 
message et toute copie de celui-ci.

CONFIDENTIALITY WARNING This message is intended solely for the individual or 
entity to whom it is addressed. It contains privileged and confidential 
information which is not to be disclosed without the sender's express consent. 
If you are not the intended recipient of this message or an authorized 
representative thereof, please notify the sender by email and then destroy this 
message as well as all other existing copies.



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:

Re: [flexcoders] Does anyone know of ActionScript for Linux ? Just the basic AS3 will be fine ...

2007-03-01 Thread simon

This any use to you? I used it to get a flex dev environment on ubuntu

http://blog.brokenfunction.com/2007/01/29/how-to-develop-for-flash-on-any-os-for-free/

On 2/28/07, helihobby [EMAIL PROTECTED] wrote:


  Does anyone know of ActionScript for Linux ? Just the basic AS3 will be
fine ...

Don't need the full UI and Libs of Flex.
Just basic AS3 Core Libs would be fine if they can run on Linux.

As always, Thank you for all the help and support.

Regards,

Sean - http://www.HeliHobby.com

P.S.

You can read my solution for Flex Component communication here:

http://www.helihobby.com/html/alon_desingpattern.html

 





--
www.hootandholler.co.uk


Re: [flexcoders] Save a BitmapData as a local file

2007-03-01 Thread jwopitz

I don't quite understand the question here.  Are you asking can you save
some var myPic:BitmapData to your localSharedObject?

That's how I understand it.  I have never tried but I assume that you
could.  We have been able to save some very complex object type to our LSOs
without any issue.

On 2/28/07, ecpmaz [EMAIL PROTECTED] wrote:


  ... and that without passing by the server :S

I don't know if my question is stupid.. but all I've been able to do
till now was to send as a POST var my bytes to my server to assemble
them, and send them back to the user as a JPEG...

It seems not to be an optimal solution, do you have any solution ?

{Maz}

 





--
justin w. opitz
617.771.6639
jwopitz(at)gmail.com


Re: [flexcoders] Flex and Java

2007-03-01 Thread Paul Andrews
The short answer is No.

Your java world link describes using flash as a presentation tier connected 
to a java j2ee server, which is quite different from embedding Flash or 
Flex.

Paul
- Original Message - 
From: thierrybertossa [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 28, 2007 2:55 PM
Subject: [flexcoders] Flex and Java


 Is it possible to embed swf in java application?
 And call method between them?

 http://www.javaworld.com/javaworld/jw-01-2003/jw-0117-flash.html
 if not with flex perhaps with flash 6 7 8 ?




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



 



Re: [flexcoders] Inconsistent Runtime Error

2007-03-01 Thread Angus Johnson

That error indicates that your are referencing something that doesn't exist
yet.

You need to set listeners of the swfloader(s) to ensure that they are loaded
and complete. See the doc's which has an example of setting them.

Wait for the complete event then fire your charting.

Post back if you need more help.

Angus

On 01/03/07, tyriker [EMAIL PROTECTED] wrote:


  I've built an application to display a dataset in a chart. The app
receives XML via an HTTPService on load, and displays the chart just
fine. So far so good.

Step two, I made a second app, and using the SWFLoader object, have
loaded the first app into 4 separate quadrants (so there's 4 instances
of the original app running inside the second app). If it matters, I
didn't embed the apps, but they are loaded at runtime.

When running this second app, about 95% of the time, I get a runtime
error and none of the charts show up. Once, I've had 1 chart show up,
and the other three not. And the other 5% of the time, all four will
load without error. To take out any other variables, I've used the
same dataset for all the charts, and the same dataset for all my
testing. The error that comes up is as follows:

--
TypeError: Error #1034: Type Coercion failed: cannot convert
mx.core::[EMAIL PROTECTED] to mx.core.IFactory.
at mx.charts.series::BarSeries/get legendData()
at mx.charts.chartClasses::ChartBase/get legendData()
at mx.charts::Legend/::populateFromArray()
at mx.charts::Legend/mx.charts:Legend::commitProperties()
at
mx.core::UIComponent/validateProperties
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:5300]
at
mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:517]
at

mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:667]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7909]
at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7852]
--

I've dug through the app with the debugger (Flex Builder 2) and
haven't come up with anything yet. To me, it looks like the problem is
occurring in a piece of code I don't have control over. And why it may
work 5% of the time, and in the next exact run give a runtime error
has me puzzled. It must be a timing thing, but I'm lost as to where to
even look.

Am I missing something here? Does anyone have any advice for me? I can
provide more details if needed.

Thanks everyone.

 



Re: [flexcoders] how do you call the super's super?

2007-03-01 Thread Anthony Lee

Gordon's suggestion while enlightening isn't that useful since the point of
extension is to not have to touch the super.

Is there no known hack? Is it possible to bolt a new method into a top level
class?

tonio

On 2/27/07, Steve Cox [EMAIL PROTECTED] wrote:


   Could be wrong but I'm 99% sure this is not possible.



Steve



-Original Message-
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Anthony Lee
*Sent:* 27 February 2007 04:00
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] how do you call the super's super?



Hi,

Sorry for the lame AS questions, but can anyone tell me how to call
the super method of the class I'm extending? ie. the grandparent and
not the parent.

Thanks,

tonio

 



Re: [flexcoders] Basic inheritance question

2007-03-01 Thread Michael Schmalle

Or...

If you want to get really crazy and say what is the way you should do it in
perfection world, it would be;

if (event.currentTarget is IStyleClient)
  IStyleClient(e.currentTarget).setStyle(color, red);

Peace, Mike

On 2/28/07, Jamal Romero [EMAIL PROTECTED] wrote:


  Hi,
Thanks for your reply. Yes that's what I wanted to
say. The code will compile, I've tried it on
www.flex.org online compiler and it did what expected
without error. I think the compiler is not strict
about type reference. But as has been said, it's
better to type cast to the right ancestor or
descendent an call the appropiate method. As coming
from java land the java compiler won't tolerate this
error if it is an error. When I get the target from
the event it's not even a UIComponent, it's as been
said an Object type. Anyway I'm still learning Flex.
Java Swing id too slow, but I must say it wasn't a
wast of time. It is a very elegant architecture but
the problem is too slow. All the concept reading the
Develp. Guide are familiar to me because they all
implemented in Java Swing.
Thanks
Jairo

--- Gordon Smith [EMAIL PROTECTED] gosmith%40adobe.com wrote:

 The Developer's Guide is wrong... you won't get a
 compilation error if
 you don't cast. However, casting is best practice so
 that the compiler
 can help you catch coding mistakes. For example,

 e.currentTarget.setSytle(...)

 would compile despite the typo, but throw a runtime
 error. However,

 Button(e.currentTarget).setSytle(...)

 would not compile.

 - Gordon

 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of Karl Johnson
 Sent: Tuesday, February 27, 2007 10:27 AM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com;
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: RE: [flexcoders] Basic inheritance question



 In general you always want to cast something like
 this - because
 event.currentTarget is of type object and NOT
 UIComponent or Button. But
 since objects are loosely typed as type Object, then
 you reference any
 property or method you want at compile time. Often
 at runtime though you
 will hit errors unless it is properly casted. Your
 sample application
 was done in Flex 2 right?

 Definitely a best practice to be casting generic
 objects like this to
 the type of object you want to be working with to
 avoid runtime errors

 Karl
 Cynergy

 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on
behalf of
 jairokan
 Sent: Tue 2/27/2007 11:53 AM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: [flexcoders] Basic inheritance question



 Hi,
 I'm reading the Developer's Guide and in the section
 using Events, they
 say on a paragraph that :
 If you try to call another method on the
 currentTarget (for example,
 the setStyle() method), Flex returns an error. The
 setStyle() method is
 defined on UIComponent, a subclass of DisplayObject.
 Therefore, you must
 cast currentTarget to UIComponent before calling the
 setStyle() method
 for example:
 mx:Script
 ![CDATA[
 import mx.core.UIComponent;

 private function myEventHandler(e:Event):void {

 UIComponent(e.currentTarget).setStyle(color,
 red);
 }
 ]]
 /mx:Script

 and e.currentTarget is of type Button. But Button
 extends UIComponent,
 so we don't have to upcast the reference because
 setStyle method is
 public and is available to Button object reference0.
 I tried the code
 without upcasting and it works.
 Is the writer wrong or Am I missing something on the
 concept.

 Thanks

 Jairo






__
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] Re: ArrayCollection length

2007-03-01 Thread Adam Royle
Same theory, different implementation. I do same thing to calculate totals of 
values like so:

public function calculateTotals():void
   {
var data:ArrayCollection = dataProvider;
var i:Number, credit:Number=0, debit:Number=0;
for (i=0;idata.length;i++){
 credit += data[i].credit;
 debit += data[i].debit;
}
totalCredit.text = moneyFormatter.format(credit);
totalDebit.text = moneyFormatter.format(debit);
   }


Cheers,
Adam

  - Original Message - 
  From: Mehul Doshi 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, March 01, 2007 9:09 AM
  Subject: [flexcoders] Re: ArrayCollection length


  Hey,

  This actually doesn't work. Your logic seems to simply count the 
  number of elements in the arraycollection. I'm trynig to figure out 
  the number of items in the first element of the collection.

  Thanks.

  --- In flexcoders@yahoogroups.com, iilsley [EMAIL PROTECTED] wrote:
  
   --- In flexcoders@yahoogroups.com, Mehul Doshi Mehul.Doshi@ 
  wrote:
   

If I have my dataprovider in the following manner:

var dataProvider = [{Date: 02-12-2007, Company1: 20, Company2: 
  30},
{Date: 02-09-2007, Company1: 20, Company2: 30},
{Date: 02-08-2007, Company1: 20, Company2: 30}]

How can I determine programatically:

1. The number of companies.
I dont't seem to be able to figure out how to find the number 
  of 
items in a particular element of the ArrayCollection.
   
   
   Hi , 
   
   I'm a newbie to Flex2 so there is probably a better way todo this 
  but 
   for now this seems to work .. :) .. 
   
   -
   public var con:ArrayCollection = 
   new ArrayCollection([{name: 'Matt', last: 'Matthews'}
   ,{first: 'Matt', last: 'Smith'}
   ,{first: 'Albert', last: 'Jones'}]
   );
   
   public function howManyFirstelements():void
   {
   var fst:int =0;
   for ( x=0 ; x  con.length ; x++ ) 
   {
   if ( con[x].hasOwnProperty(first) == true) 
   {
   fst++;
   }
   }
   Alert.show(There are +fst+ first elements );
   }
   
  



   

[flexcoders] Flex Builder Design mode problem

2007-03-01 Thread ajprimeuk
I'm coding a test app to learn Flex and I'm running into a custom 
component problem.

If I make a custom component and save it in a swc file and then import 
it into the main app, the design mode should show the component. This 
works sometimes, but sometimes I get a 'Design Mode: Error creating 
item LoginPanel in parent Canvas'. It seems that if I add a 
RemoteObject to the custom component then this error appears, but if I 
remove the RemoteObject then it works ok.

I'm assuming that the Flex Builder is having a problem rendering the 
custom component because of the RemoteObject. Does anyone know a way 
around this problem? Or am I doing something wrong?

Thanks
Andrew Prime



Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-03-01 Thread jwopitz

Even though you have a solution to your problem, I would strongly suggest
looking at how the listBase sets its dataProvider.

After it has gone through the process of setting its protected collection
property, it creates a new CollectionEvent with the kind set to
CollectionEventKind.RESET.  It then passes the event to its internal
collectionChange_eventHandler method and also dispatches it as well.

So if all the other suggestions above don't seem to work, then maybe this
can provide some insight.  Hope that helps someone.



On 2/28/07, Webdevotion [EMAIL PROTECTED] wrote:


  Found your question also in another thread.
Can you post the answer to this thread please ?
If you find it eventually that is   : )

 





--
justin w. opitz
617.771.6639
jwopitz(at)gmail.com


RE: [flexcoders] disabling COPY in drag/drop operations

2007-03-01 Thread Brian Holmes
Whoops,
 I meant dragMoveEnabled=true. By default it's false which means it
gets copied. Setting it to true means it will move the items. It's what
I meant in my other email. 
 
brian..



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andrey
Sent: Tuesday, February 27, 2007 12:12 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] disabling COPY in drag/drop operations


what i'm trying to do is exactly the opposite. I'm trying to reorder the
list by drag/drop, so i want to make it so you can ONLY move, and can
not copy. dragCopyEnabled i guess would be the ultimate answer :)  is
there something out there or some technique that could do that? 

i wanted to try the other email's approach, but there is really no
dragStart on datagrid, and canceling the drop didn't help for some
reason either... so we're stumped :(



On 2/27/07, Brian Holmes [EMAIL PROTECTED] wrote: 



set the dragMoveEnabled=false on your datagrid
 
 
 
a+
brian..
 





***
The information in this e-mail is confidential and intended
solely for the individual or entity to whom it is addressed. If you have
received this e-mail in error please notify the sender by return e-mail
delete this e-mail and refrain from any disclosure or action based on
the information. 
*** 








 


***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


Re: [flexcoders] Re: FDS port in biggest disadvantage in Flex?

2007-03-01 Thread Tom Chiverton
On Thursday 01 Mar 2007, marcel.panse wrote:
 Tunneling FDS over port 80 would be nice, any idea where to look?

The archives :-)
My sent mail claims it was a post by Eric D Anderson sometime before the 19th, 
subject '[flexcoders] Call for Beta Participation'·

 What do you mean with reverse web proxy.. if you have 3
 webapplications in 1 webcontainer on 1 server, then those 3 backends
 need 3 different ports to start FDS on, otherwise Flex will fail to
 load. (bindexception port already in use)

Yup, so you start all those up, listening on some IP that isn't available to 
the internet at large (like 127.0.0.1), but ports 1, 2 and 3.
Now you run a program called a proxy on your internet facing IP, port 80. This 
program takes incoming requests (say for fdshostOne.your.domain:80) and 
redirects them to the actual FDS instance based on destination host name 
(127.0.0.1:1).

-- 
Tom Chiverton
Helping to advantageously enable edge-of-your-seat e-business
On: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-03-01 Thread Webdevotion

Interesting question ...
Did you try the method described in this thread ?



On 2/27/07, Douglas Knudsen [EMAIL PROTECTED] wrote:


Nice.  What if in this case user.projects.myArrayCollection contained a
arraycollection of tasks, and each tasks had a array collection of
activities.  how do you watch for a change in a activity and fire
dataGrid.invalidateList (); ??

DK

On 2/24/07, Yiðit Boyar [EMAIL PROTECTED] wrote:

 i had a similar problem; when an array collection in my model is
 changed; my datagrid should be refreshed so here is my code: (here ;
 user.projects is an arrayCollection)
 in the creation complete of the mxml file :
 ModelVT.getInstance
 ().user.projects.addEventListener(collectionChange,dgYenile);
 private function dgYenile(e:Event):void{
 dataGrid.invalidateList();
 }

 - Original Message 
 From: Webdevotion [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Saturday, February 24, 2007 11:20:34 PM
 Subject: [flexcoders] Finding out when an arraycollection in my model is
 set

 Hello,

 How can I now when my arraycollection in my modellocator is filled with
 items ?
 I tried using collectionEvent. collection_ change, but it does not fire
 when
 setting my AC like this in my command, after the remoting result
 handler:

 model.library = new ArrayCollection( data.result) ;

 What is the correct way ? ( I'm using Cairngorm )



 --
 It's here! Your new message!
 Get new email 
alertshttp://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/with
 the free Yahoo!
 Toolbar.




--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?




[flexcoders] Flex application runs very slow on server

2007-03-01 Thread xzhao006
Hello everyone,

I have been search for reasons about this for two days, but still 
haven't got any clue. Can someone help please?

I'm usually developing and testing the Flex application on my local 
windows machine then deploy it on the remote server. It worked fine 
before. But when I deployed a new version on the server recently, the 
running speed is much slower than before. 

For this version, there are some changes on my local developing. 
1. I updated Flex builder from 2 to 2.0.1
2. I adopted caringorm 2.1 framework into the Flex project.
3. I updated tomcat server from 5.5.17 to 5.5.20.

I'm also using MySQL 5.0 database. And when I do development and 
testing, all these are installed in my local machine.

The following is the basic setting for the remote server:
- Ubuntu Linux running on VMWare server.
- Tomcat 5.5.17 (didn't update to 5.5.20)

And also there is a change on the server. MySQL database was on the 
same machine under VMWare server, but now we moved it to another 
windows 2003 server. The reason we did this is try to improve the 
running performance. But we didn't know whether this could be the 
reason for decreasing the running speed.

Does anyone have any idea? Please help.

Sally




Re: [flexcoders] Re: How do I prevent the user from selecting text in a text area component?

2007-03-01 Thread Daniel Freiman

Good form would tell you to extend the TextArea to get access to the
UITextField which i believe has a selectable property.  Bad form would tell
you to use mx_internal::getTextField().selectable.

- Dan

On 2/28/07, Paul DeCoursey [EMAIL PROTECTED] wrote:


  If you don't need any other mouseEvents you could try setting
mouseEnabled to false. Haven't tried it so I don't know. Any reason
you can't use Text verses TextArea?

 



[flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Kalani Bright
Yes you can for each class you can just have to create a method which call's
its super and call that method from the grandchild.
 


RE: [flexcoders] how to create Sessions in Flex with FDS based on Tom Cat Server

2007-03-01 Thread Dimitrios Gianninas
Is your question more of, how do we authenticate a user?
 
And if its not and u really need to create a session, then why?
 
Dimitrios Gianninas
Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sajid 
Hussain
Sent: Thursday, March 01, 2007 2:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to create Sessions in Flex with FDS based on Tom Cat 
Server



Dear Group .,

we are a bit confuse how to create sessions in flex  where our server is Tom 
Cat and we are using FDS

Any Help or suggestion 

Thanks 
Sajid Hussain 








Cheap Talk? Check out 
http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com
  Yahoo! Messenger's low PC-to-Phone call rates. 

 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



[flexcoders] Two ArrayCollections, one source array: should changing one affect the other?

2007-03-01 Thread ben.clinkinbeard
In my tests, changing an element of one AC definitely does affect the
other (which is what I hoped), but looking at the documentation I
can't tell if that should be the case. From the docs: The
ArrayCollection object does not represent any changes that you make
directly to the source array. Always use the ICollectionView or IList
methods to modify the collection. 

I am using the ICollectionView methods, but only on one of the
ArrayCollections, and the only way the second ArrayCollection is being
affected is that its source array is being modified. If you run this
simple example, you'll see that arr, ac1 and ac2 are all updated with
the new value:

arr = new Array({fn: David, ln: Bowie}, {fn: Jimi, ln: Hendrix});
ac1 = new ArrayCollection(arr);
ac2 = new ArrayCollection(arr);

ac2.getItemAt(1).fn = Bozo;

If anyone can provide any clarification it would be greatly appreciated.

TIA,
Ben



[flexcoders] Re: How to get the real X Y of a repeater item

2007-03-01 Thread zipo13
Yay,
Thanks Gordon the b.localToGlobal did it.
Thanks again for the help.

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

 Here is a sample app which does what you describe.
  
 - Gordon
  
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  
 mx:Script![CDATA[
 
 import mx.containers.Canvas;
 import mx.containers.TitleWindow;
 import mx.controls.Button;
 import mx.managers.PopUpManager;
   
 private var popUp:TitleWindow;
   
 private function b_clickHandler(event:MouseEvent):void
 {
 var b:Button = Button(event.target);
 var pt:Point = b.localToGlobal(new Point(0, 0)); // global
 coords of b's top-left corner
 // var pt:Point = vb.localToGlobal(new Point(b.x, b.y)); //
 another way to compute the global coords of b's top-left corner
 createPopUp(pt.x, pt.y + b.height + 2);
 }
   
 private function createPopUp(x:Number, y:Number):void
 {
 popUp = new TitleWindow();

 popUp.x = x;
 popUp.y = y;
 popUp.width = 100;
 popUp.height = 100;
 popUp.title = Panel;
 popUp.setStyle(styleName, opaquePanel);
 popUp.showCloseButton = true;
 popUp.addEventListener(Event.CLOSE, popupCloseHandler);

 PopUpManager.addPopUp(popUp, this);
 }
   
 private function popupCloseHandler(event:Event):void
 {
 PopUpManager.removePopUp(popUp);
 popUp = null;
 }
   
 ]]/mx:Script
  
 mx:VBox
 mx:TabNavigator width=300 height=200
 mx:VBox id=vb label=Tab 1
 mx:Repeater id=r dataProvider={[ 1, 2, 3 ]}
 mx:Button id=b label=Button {r.currentItem}
 click=b_clickHandler(event)/
 /mx:Repeater
 /mx:VBox
 /mx:TabNavigator
 /mx:VBox
  
 /mx:Application
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of zipo13
 Sent: Sunday, February 25, 2007 1:18 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to get the real X  Y of a repeater item
 
 
 
 Hi,
 Thank you for the help but non of these methods seem to help.
 The repeater I use is in a canvas that sits in a tab navigator that
 sits in a vbox in an application.
 All in different components.
 
 I have tried to open the dialog:
 var pt:Point = new Point(event.stageX, event.stageY);
 pt = event.target.contentToGlobal(pt);
 this.renameTagDlg.x = pt.x;//
 this.renameTagDlg.y = pt.y;//
 
 I've changed the contentToLocal to all 6 possibilities but none of
 them work. 
 contentToGlobal,contentToLocal,globalToContent,globalToLocal,localToCont
 ent,localToGlobal
 
 I have even tried to get the X,Y of the mouse globalyy and just open
 the dialog there but that didn't work too.
 
 I think that jer_ela was on the right track but I just can subtract
 all the containers X  Y.
 
 THIS IS SO FRUSTRATING. 
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Robert Chyko rchyko@ wrote:
 
  or if your container uses absolute positioning you would need to use
  contentToGlobal
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 
  [mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com ] On Behalf Of Keun Lee
  Sent: Friday, February 23, 2007 2:09 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: Re: [flexcoders] Re: How to get the real X  Y of a
  repeater item
  
  
  
  Hey you might want to also look into localToGlobal 
  
  I.e
  
  var comp : UIComponent = UIComponent(
  event.target ); var point : Point = comp.localToGlobal(
  new Point( comp.x, comp.y ) ); trace( point.x + : +
  point.y );
  
  -Keun
  
  
  On 2/22/07 9:24 AM, jer_ela gela@ wrote:
  
  
  
  
  
  
  
  The following code gets the x and y positions of an
  image that has
  been clicked on that was generated by a repeater.
  Getting the coords
  for a button should be pretty much the same. 
  
  stageX and Y are the x and y coords of the mouse
  position relative to
  the application stage. mainCanvas is a direct child of
  the application
  and is the container that I want the coords relative to.
  If you have
  additional containers between the stage and the one you
  need coords
  relative to, you have to subtract the x and y at each
  level to get
  from stage coords to that container's coords.
  Subtracting the mouseX
  and Y moves the coords from the point or the click to
  the upper left
  corner of the image.
  
  selectedImage.x = event[stageX] - mainCanvas.x 
  - event.currentTarget.mouseX;
  selectedImage.y = event[stageY] - mainCanvas.y 
  - event.currentTarget.mouseY;
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 

Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread jwopitz

Though this will probably cause some gasps and 'shame on you' responses from
the OOP hardcores, you might try copying the parent class from the SDK, make
it local to your class structure, and then modifying it as your new class,
basically porting over your new features into the parent class.  That way
then you can have access to the grandparent class's methods, you retain the
parents methods, and you can override whatever you wish.

I had a similar issue, and believe it or not, this was recommended to me by
an Adobe support person.  Of course my issue was a very minor.  It dealt
with the fact that alot of their methods were tagged as private rather than
protected, leaving alot of headaches for those wanted to extend their
controls.

On 3/1/07, Kalani Bright [EMAIL PROTECTED] wrote:


   Yes you can for each class you can just have to create a method which
call's its super and call that method from the grandchild.


 





--
justin w. opitz
617.771.6639
jwopitz(at)gmail.com


[flexcoders] Re: Two ArrayCollections, one source array: should changing one affect the other

2007-03-01 Thread ben.clinkinbeard
I guess the behavior is consistent with the docs after all. In my test
I was just tracing out the collections after the update, which makes
sense that it would be shown. Moving back into my application, I
discovered that to see the updated value(s) in a DataGrid bound to the
second collection you need to call itemUpdated() on it, which is
consistent with the docs.

So my apologies, nothing to see here, move along... :)



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

 In my tests, changing an element of one AC definitely does affect the
 other (which is what I hoped), but looking at the documentation I
 can't tell if that should be the case. From the docs: The
 ArrayCollection object does not represent any changes that you make
 directly to the source array. Always use the ICollectionView or IList
 methods to modify the collection. 
 
 I am using the ICollectionView methods, but only on one of the
 ArrayCollections, and the only way the second ArrayCollection is being
 affected is that its source array is being modified. If you run this
 simple example, you'll see that arr, ac1 and ac2 are all updated with
 the new value:
 
 arr = new Array({fn: David, ln: Bowie}, {fn: Jimi, ln:
Hendrix});
 ac1 = new ArrayCollection(arr);
 ac2 = new ArrayCollection(arr);
   
 ac2.getItemAt(1).fn = Bozo;
 
 If anyone can provide any clarification it would be greatly appreciated.
 
 TIA,
 Ben





[flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Paul DeCoursey
Why?  I can't think of a single reason to want to do that. If you
really wanted to do that then you should be extending the grandparent
class.  Also are you sure that the parent class is not calling super?
 generally you do that unless you don't want that functionality.

Paul



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

 Hi,
 
 Sorry for the lame AS questions, but can anyone tell me how to call
 the super method of the class I'm extending? ie. the grandparent and
 not the parent.
 
 Thanks,
 
 tonio





Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-03-01 Thread Bruce Johnson
No .swc. Bunch of .as and a couple bitmaps. The style statements barf on the 
Embed path to the bitmaps.
 
Bruce H. Johnson
Sylmar, California
[EMAIL PROTECTED]
#include std_disclaimer

- Original Message 
From: Michael Schmalle [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 28, 2007 7:55:27 AM
Subject: Re: [flexcoders] Getting a Third-Party Component into Builder 2?









  



Hi,

Is it an SWC file?

If so, you need to go

CurrentProject - right click, Properties - Flex Build Path - Library Path 
Tab;

Then either choose, Add SWC Folder or Add swc.

From there you should be good to go.


Peace, Mike


On 2/28/07, Bruce H. Johnson bhjohnson36@ yahoo.com wrote:













  



I downloaded a neat-looking speedometer chart component in a zip 
file.

I can extract with the directory structure (GaugeComponent\ Gauge... etc.)



Now, how do I get Builder 2 to recognize the sucker is there? I've

tried File  Import..., pointing a Source Path at it, etc. I've spent

a couple hours in Builder Help so I'm obviously asking the wrong question.






  



















-- 
Teoti Graphix
http://www.teotigra phix.com

Blog - Flex2Components
http://www.flex2com ponents.com


You can find more by solving the problem then by 'asking the question'.


  







!--

#ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}

#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}

#ygrp-vital a:hover{
text-decoration:underline;
}

#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
--








 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

[flexcoders] Re: Fisheye component

2007-03-01 Thread fsawitzki
Thanks to Ely and Softwarecat for sending the as file.

@Softwarecat: I tried your CachedLabel cod, and received an url error.
It is the same problem that you got?

@Ely: It is possible to insert the missing file into the zip container
on your website? The online yahoogroups reader shows me only a
Attachment(not stored) and a fixed container would be great for all
those, who try to test your code via the fisheye side.

 Attached.
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of fsawitzki
 Sent: Tuesday, February 27, 2007 5:08 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Fisheye component
 
 
 
 I have also the problem to find the missing CachedLabel file. On Elys
 page is only one FisheyeProject.zip file stored, dated 12-13-06. And
 there is no CachedLabel file inside. Also not in the srcview folder.
 
 Can you or anyone else post a link, where i can find it?
 
 thanks in advance,
 Frank
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Mitch Grasso mitchgrasso@ wrote:
 
  Download the full source code zip file and you'll find it there.
  
  - Original Message 
  From: leo0401flick leonard.wieland@
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Sent: Wednesday, February 21, 2007 12:16:00 PM
  Subject: [flexcoders] Fisheye component
  
   
  I want to use the fisheye component from Ely Greenfield.
  
  But the compiler ask for a missing qs.controls. CachedLabel
  
  Does anybody know's where to get it.
  
  thanx





[flexcoders] Flex Builder

2007-03-01 Thread toddad538
I purchased Flex Builder and installed it on my laptop PC.  Can I
install it on another PC using the license key I got when I purchased
it and use it on both computers.

Thanks,
Todd Adelgren
[EMAIL PROTECTED]



[flexcoders] Re: Just curious, A big development team or individual developers

2007-03-01 Thread shelleybrowning
Careful with the gender specific comment! ;)

Currently 1. But additional members will join in soon.  So far I've 
been very pleased with the Flex product. We'll be utilizing the 
modules (2.0.1) for reporting/analytical application.




Re: [flexcoders] disabling COPY in drag/drop operations

2007-03-01 Thread Andrey

when you set dragMoveEnabled=true, that'll let you move, but also allows
to copy. i wanted to disable the copy.

for all interested, there is a solution in the draft of the programming flex
2 book (i was stunned when i came across it, it was exactly what i needed!).
Here is a solution for anybody interested (all it does is cancels the event
if non-move):

   private function onDragComplete(event:DragEvent):void
   {
   if (event.action != DragManager.MOVE) {
   var grid:DataGrid = DataGrid(event.dragInitiator);
   grid.hideDropFeedback(event);

   event.preventDefault();
   }
   }

On 2/28/07, Brian Holmes [EMAIL PROTECTED] wrote:


   Whoops,
 I meant dragMoveEnabled=true. By default it's false which means it gets
copied. Setting it to true means it will move the items. It's what I meant
in my other email.

brian..

 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Andrey
*Sent:* Tuesday, February 27, 2007 12:12 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] disabling COPY in drag/drop operations

what i'm trying to do is exactly the opposite. I'm trying to reorder the
list by drag/drop, so i want to make it so you can ONLY move, and can not
copy. dragCopyEnabled i guess would be the ultimate answer :)  is there
something out there or some technique that could do that?

i wanted to try the other email's approach, but there is really no
dragStart on datagrid, and canceling the drop didn't help for some reason
either... so we're stumped :(


On 2/27/07, Brian Holmes [EMAIL PROTECTED] wrote:

set the dragMoveEnabled=false on your datagrid



 a+
 brian..


 --
 ***
 The information in this e-mail is confidential and intended solely for
 the individual or entity to whom it is addressed. If you have received this
 e-mail in error please notify the sender by return e-mail delete this e-mail
 and refrain from any disclosure or action based on the information.
 ***


--
***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail delete this e-mail
and refrain from any disclosure or action based on the information.
***

 



[flexcoders] Re: MenuBar Question (Relating to Styles)

2007-03-01 Thread nextadvantage
Bump...

Any help would b appreciated... Thanks Aaron
--- In flexcoders@yahoogroups.com, nextadvantage [EMAIL PROTECTED] wrote:

 I have a couple MenuBar related questions... 
 
 1. I am trying to make a dark colored menubar with white text, and 
have 
 white drop down lists with black or dark text. It seems both text 
 styles are referenced by the color: style. How can I make the text 
 color work the way I would like?
 
 2. How can I set the menu item spacing to be distributed across the 
 lenght of the menubar evenly... I would like the menubar padding to 
be 
 more than 20 or so pixels currently displaying...
 
 Thanks in advance for any help





Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Doug McCune

I've often run into wanting to call grandParent.super() instead of
parent.super(), even when parent.super() will do a call to grandParent.super()
anyway. The reason for this is to override parent.super while preserving the
functionality of grandParent.super. For example, if you're overriding
updateDisplayList or createChildren, you've got to call
super.updateDisplayList or super.createChildren, but maybe I want to
override (and by that I mean NOT run the code in)
parent.updateDisplayList(which seems to make since seeing as I am
using the word 'override'...). But
if I override updateDisplayList, then at some point in my method I've got to
call super.updateDisplayList to get anything to work. But that means I'm
going to run all the code in super.updateDisplayList, when in reality I just
want to run the code in grandParent.updateDisplayList.

So just my two cents, I think there are very good reasons to want to make a
call straight to grandParent.super(). I've wanted to do it a few times
myself and I don't think it should just be chalked up to no, that's bad
OOP.

Doug




On 3/1/07, Paul DeCoursey [EMAIL PROTECTED] wrote:


  Why? I can't think of a single reason to want to do that. If you
really wanted to do that then you should be extending the grandparent
class. Also are you sure that the parent class is not calling super?
generally you do that unless you don't want that functionality.

Paul

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Anthony
Lee [EMAIL PROTECTED]
wrote:

 Hi,

 Sorry for the lame AS questions, but can anyone tell me how to call
 the super method of the class I'm extending? ie. the grandparent and
 not the parent.

 Thanks,

 tonio


 



[flexcoders] Apollo Book: Apollo for Adobe Flex Developers Pocket Guide

2007-03-01 Thread greg h

fyi ...

A sample chapter is available for download:

Chapter 4: Using the File System API (PDF Format)
http://www.oreilly.com/catalog/9780596513917/chapter/

It is from this book:

Apollo for Adobe Flex Developers Pocket Guide
A Developer's Reference for Apollo's Alpha Release
by Mike Chambers, Rob Dixon, Jeff Swartz
http://www.oreilly.com/catalog/9780596513917/

It is a small format book, and only 144 pages.

Amazon is taking Pre-Orders:
http://www.amazon.com/Apollo-Adobe-Developers-Pocket-Guide/dp/0596513917/


Re: [flexcoders] Circular Binding

2007-03-01 Thread slangeberg

What is the effect of this code? Were you able to do simple binding that way
to both items?

-Scott

On 3/1/07, raz_gilad [EMAIL PROTECTED] wrote:


  Hi

Does anyone knows how Circular Binding works? I've used the follwing
action script code and I've expected it to go into endless loop - but it did
not. Any idea why ?

   BindingUtils.bindProperty(item,Threshold,txtin,text);
   BindingUtils.bindProperty(txtin,text,item,Threshold);

Thanks

Raz



 





--

: : ) Scott


[flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Paul DeCoursey
Sounds to me like you are extending the wrong class. But I see your
point, it sounds like an edge case however. Can anyone provide any
real world examples?

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

 I've often run into wanting to call grandParent.super() instead of
 parent.super(), even when parent.super() will do a call to
grandParent.super()
 anyway. The reason for this is to override parent.super while
preserving the
 functionality of grandParent.super. For example, if you're overriding
 updateDisplayList or createChildren, you've got to call
 super.updateDisplayList or super.createChildren, but maybe I want to
 override (and by that I mean NOT run the code in)
 parent.updateDisplayList(which seems to make since seeing as I am
 using the word 'override'...). But
 if I override updateDisplayList, then at some point in my method
I've got to
 call super.updateDisplayList to get anything to work. But that means I'm
 going to run all the code in super.updateDisplayList, when in
reality I just
 want to run the code in grandParent.updateDisplayList.
 
 So just my two cents, I think there are very good reasons to want to
make a
 call straight to grandParent.super(). I've wanted to do it a few times
 myself and I don't think it should just be chalked up to no, that's bad
 OOP.
 
 Doug
 
 
 
 
 On 3/1/07, Paul DeCoursey [EMAIL PROTECTED] wrote:
 
Why? I can't think of a single reason to want to do that. If you
  really wanted to do that then you should be extending the grandparent
  class. Also are you sure that the parent class is not calling super?
  generally you do that unless you don't want that functionality.
 
  Paul
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Anthony
  Lee anthony.f.lee@
  wrote:
  
   Hi,
  
   Sorry for the lame AS questions, but can anyone tell me how to call
   the super method of the class I'm extending? ie. the grandparent and
   not the parent.
  
   Thanks,
  
   tonio
  
 
   
 





[flexcoders] Error# 1065 when accessing web service

2007-03-01 Thread mthankam
I am getting an odd error when accessing the web service. This is 
the error message I am getting.

[RPC Fault faultString=Error #1065: Variable 1 is not defined. 
faultCode=EncodingError faultDetail=null]
at 
mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::in
vokePendingCall()
at mx.rpc.soap::Operation/send()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.rpc.soap.mxml::Operation/send()
at WireStatus/::callWS()
at WireStatus/___Button1_click()


The variable reported as not defined is the value entered in the 
screen and it is not a variable at at. Any value entered in wireId 
text field in the following code is reported as undefined variable. 
This is very odd and I am stuck at this point. I appreciate any help 
on this.

Here is the Flex code for reference.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:WebService  id=WS_WIRE 
wsdl=/WireEJBHttpRouter/services/WireServiceSOAP/wsdl/WireService.ws
dl  
makeObjectsBindable=true  showBusyCursor=true 
result=showResponse()
mx:operation name=GetWireStatus 
resultFormat=xml
mx:request
WireStatusRequest
WireIdentifier{wireId.text}
/WireIdentifier
/WireStatusRequest
/mx:request
/mx:operation
/mx:WebService  

mx:Script
![CDATA[
import mx.rpc.events.FaultEvent;   
import mx.controls.Alert;

private function showResponse():void
{

outputText.text=WS_WIRE.GetWireStatus.lastResult.toString();
}   
private function callWS():void
{
WS_WIRE.GetWireStatus.send();
}
]]
/mx:Script
mx:HBox
mx:VBox

mx:Form xmlns:mx=http://www.adobe.com/2006/mxml; id=form
mx:FormItem label=Wire Identifier
mx:TextInput id=wireId/
/mx:FormItem
/mx:Form
mx:Button label=Get Wire Status click=callWS()/
/mx:VBox
mx:FormItem label=Output
 mx:TextArea  id=outputText editable=false  width=300 
height=100/ 
/mx:FormItem

/mx:HBox

/mx:Application


Thanks, Maha



Re: [flexcoders] Flex Builder

2007-03-01 Thread Nancy Gill
I think all Adobe products work the same way.  Two computers per license key .. 
you just can't use them simultaneously.

Nancy Gill
Adobe Community Expert
Author:  Dreamweaver 8 e-book for the DMX Zone
Co-Author:  Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor:  DMX 2004: The Complete Reference, DMX 2004: A Beginner''s
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

  - Original Message - 
  From: toddad538 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, March 01, 2007 6:58 AM
  Subject: [flexcoders] Flex Builder


  I purchased Flex Builder and installed it on my laptop PC. Can I
  install it on another PC using the license key I got when I purchased
  it and use it on both computers.

  Thanks,
  Todd Adelgren
  [EMAIL PROTECTED]



   


--


  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date: 2/28/2007 
4:09 PM


[flexcoders] How to use otherAxes property in AxisRender

2007-03-01 Thread Xia Zhao

Hello,

When I checked the Flex charting doc, there is otherAxes property for
mx:AxisRenderer. I'm just wondering what it is for and how do I use this
property?

Can anyone used this property give an example?

Thanks,

Sally


RE: [flexcoders] Re: Fisheye component

2007-03-01 Thread Ely Greenfield
 
 
Yeah, I'll fix it. Just being lazy ;)
 
Look for it later today.
 
Ely.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of fsawitzki
Sent: Thursday, March 01, 2007 7:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Fisheye component



Thanks to Ely and Softwarecat for sending the as file.

@Softwarecat: I tried your CachedLabel cod, and received an url error.
It is the same problem that you got?

@Ely: It is possible to insert the missing file into the zip container
on your website? The online yahoogroups reader shows me only a
Attachment(not stored) and a fixed container would be great for all
those, who try to test your code via the fisheye side.

 Attached.
 
 Ely.
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of fsawitzki
 Sent: Tuesday, February 27, 2007 5:08 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: Fisheye component
 
 
 
 I have also the problem to find the missing CachedLabel file. On Elys
 page is only one FisheyeProject.zip file stored, dated 12-13-06. And
 there is no CachedLabel file inside. Also not in the srcview folder.
 
 Can you or anyone else post a link, where i can find it?
 
 thanks in advance,
 Frank
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 , Mitch Grasso mitchgrasso@ wrote:
 
  Download the full source code zip file and you'll find it there.
  
  - Original Message 
  From: leo0401flick leonard.wieland@
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
  Sent: Wednesday, February 21, 2007 12:16:00 PM
  Subject: [flexcoders] Fisheye component
  
   
  I want to use the fisheye component from Ely Greenfield.
  
  But the compiler ask for a missing qs.controls. CachedLabel
  
  Does anybody know's where to get it.
  
  thanx




 


Re: [flexcoders] Flex Builder

2007-03-01 Thread Muzak
http://www.adobe.com/products/eula/tools/flex_builder.html

- Original Message - 
From: toddad538 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, March 01, 2007 3:58 PM
Subject: [flexcoders] Flex Builder


I purchased Flex Builder and installed it on my laptop PC.  Can I
install it on another PC using the license key I got when I purchased
it and use it on both computers.

Thanks,
Todd Adelgren
[EMAIL PROTECTED]





[flexcoders] Re: Storing / retrieving rich text

2007-03-01 Thread michael.ritchie
What I have done in the past is store my HTML text as valid XHTML
(which is really XML) and send that via remoting.  When I retrieve
this from the server, I place the text in an TextArea and set
condenseWhite=true, this takes care of the white spaces.  I then
have buttons to spawn the RTE control and pass along the condensed
text.   Another trick is to have a hidden regular text box, use that
to store the XHTML text with no whites space and have another box to
display the HTML value of the first box:

// display text
mx:TextArea htmlText={hintCode.text} editable=false top=37
left=10 right=10 condenseWhite=true bottom=10/

//hidden text field
mx:TextArea visible=false  x=10 y=210 width=576 id=hintCode
condenseWhite=true height=17/


Pass the hintCode.text value to the RTE.htmlText value.  I am sure
this is already confusing enough, haha... but I hope this helps
somewhat. 

- mr

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

 Actually I want an XML formatted result from the 
 server.
 
 What I don't want is for the rich text to be 
 interpreted as an XML string when applying it to 
 the text control as htmlText.
 
 All the white space in the XML string gets 
 rendered as white space in the text control while 
 it does render the text as HTML.
 
 For now I have used AS to strip out all the white 
 space ( between the ending and beginning tags) and 
 then apply the htmlText to the text control.
 
 Maybe I am still missing the easy solution
 
 
 Brian Holmes wrote:
  You need to escape the xml formatting before sending it to the client.
  In cold fusion you could use the XMLFormat() function so if you're
using
  cf, just wrap that around your return, or find a similar function for
  the back end lang you're using.
  
  
  Brian.. 
  
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of pdflibpilot
  Sent: Monday, February 26, 2007 9:54 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Storing / retrieving rich text
  
  I am trying to develop a method to allow web administrators to be able
  to edit text in their Flex application directly in the UI (without
  Flex). This text gets saved to mySQL when they close the rich text
  editor.  
  
  The data is stored correctly in mySQL however when its retrieved
it gets
  formated as an XML object when extracted from the event.result.
  
  While this makes it easy to populate the various labels and text
objects
  with the rich text data. The problem is that the rich text data gets
  formatted as XML with new lines and indents. Like in this
  dmup
  
  contentLive
TEXTFORMAT LEADING=2
  P ALIGN=CENTER
FONT FACE=Verdana SIZE=14 COLOR=#FF LETTERSPACING=0
  KERNING=0
  BThis is /B
  FONT COLOR=#0033FF
B
  Ulive content/U
/B
  /FONT
/FONT
  /P
/TEXTFORMAT
  /contentLive
  
  How can I force it to treat it as raw text just like its stored in
mySQL
  without the formatting ? 
  
  
  
   Yahoo! Groups Sponsor
~--
  Great things are happening at Yahoo! Groups.  See the new email
design.
  http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM
 
~- 
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
  
  
  
  
  
  ***
  The information in this e-mail is confidential and intended solely
for the individual or entity to whom it is addressed.  If you have
received this e-mail in error please notify the sender by return
e-mail delete this e-mail and refrain from any disclosure or action
based on the information.
  ***
 





RE: [flexcoders] Flex Builder

2007-03-01 Thread Matt Chotin
Actually, use
http://www.adobe.com/products/eulas/pdfs/Adobe_Flex_Builder_Flex_Chartin
g-Combined-20060510_0105.pdf

 

I don't want to talk about why we have a eula and eulas directory on our
website :-)

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Muzak
Sent: Thursday, March 01, 2007 9:01 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex Builder

 

http://www.adobe.com/products/eula/tools/flex_builder.html
http://www.adobe.com/products/eula/tools/flex_builder.html 

- Original Message - 
From: toddad538 [EMAIL PROTECTED] mailto:toddad%40aol.com 
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Sent: Thursday, March 01, 2007 3:58 PM
Subject: [flexcoders] Flex Builder

I purchased Flex Builder and installed it on my laptop PC. Can I
install it on another PC using the license key I got when I purchased
it and use it on both computers.

Thanks,
Todd Adelgren
[EMAIL PROTECTED] mailto:toddad%40aol.com 

 



[flexcoders] DB access in Apollo

2007-03-01 Thread Russell Sprague
I noticed a while back that there wasn't any kind of local database 
access in Apollos feature list.  Is this something that will/has 
changed, or are the devs thinking this will be a community 
contribution?  It seems to me that DB access is a big part of desktop 
apps, I have built a couple using Flash, Zinc, and MySQL.  It would be a 
shame to not be able to use Apollo for some projects because of this 
issue.  Hopefully someone can tell me that I just missed it when Adobe 
added this to the feature list. 

Russ



Re: [flexcoders] Flex Builder

2007-03-01 Thread Muzak
- Original Message - 
From: Matt Chotin [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, March 01, 2007 6:25 PM
Subject: RE: [flexcoders] Flex Builder



 I don't want to talk about why we have a eula and eulas directory on our
 website :-)

Then I won't ask ;-)





Re: [flexcoders] Announcing FlexLib - open source flex component library

2007-03-01 Thread Patrick Mineault
Awesome stuff! Maybe I'll add a WrappingLinkBar component once I get 
that working for the amfphp service browser.

Patrick

Doug McCune a écrit :

 I'm pleased to announce FlexLib: a new open-source project for Flex 2
 components. This project is a Google Code hosted project, released
 under the MIT license. I've been working with Darron Schall, Mike
 Chambers and Ted Patrick to get the project up and running. We're
 hoping to build a concentrated community effort for custom Flex
 component development.

 Have you been looking for a community project to contribute to? Do you
 have custom components you've been releasing on your blog? Want to
 brainstorm about new and improved components?

 The project currently contains a handful of components that have been
 developed by me or Darron (including some new ones I haven't blogged
 about yet). We want to get the Flex developer community involved and
 have a central resource that will help us all build off each other's
 work. To get involved take a look at the project page on google code
 (link below) and read the HowToContribute wiki page.

 For more information read through the project website, join the
 discussion group, and email me if you have more questions. If you want
 to contribute your code, drop us a line and we'll get you involved.

 FlexLib project page: http://code. google.com/ p/flexlib 
 http://code.google.com/p/flexlib

 Announcement on my blog:
 http://dougmccune. com/blog/ 2007/02/28/ announcing- flexlib-open- 
 source-flex- component- library/ 
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-source-flex-component-library/

 Darron Schall's announcement: http://darronschall .com/weblog/ 
 http://darronschall.com/weblog/

  



re: [flexcoders] Circular Binding

2007-03-01 Thread Ben Stucki

Raz,

There's a built in mechanism to prevent this problem in circular bindings. If 
the new value of a property is the same as the existing value when you set it, 
then it's bindings are not updated (the binding event never fires), although 
the setter method for that property itself is still called.

Ben Stucki

We're Hiring! Seeking a passionate developer to join our team building Flex 
based products. Position is in the Washington D.C. metro area. If interested 
contact [EMAIL PROTECTED]



From: raz_gilad [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2007 11:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Circular Binding 


Hi  


Does anyone knows how Circular Binding works? I've used the follwing action 
script code and I've expected it to go into endless loop - but it did not. Any 
idea why ? 


   BindingUtils.bindProperty(item,Threshold,txtin,text);
   BindingUtils.bindProperty(txtin,text,item,Threshold); 


Thanks 


Raz 






RE: [flexcoders] Re: Fisheye component

2007-03-01 Thread Ely Greenfield
 
the source links should be updated now to have everything you need to
run the fisheye.  Please let me know if they still don't work.
 
Ely.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Wednesday, February 28, 2007 8:12 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Fisheye component



 
 
Attached.
 
Ely.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of fsawitzki
Sent: Tuesday, February 27, 2007 5:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Fisheye component



I have also the problem to find the missing CachedLabel file. On Elys
page is only one FisheyeProject.zip file stored, dated 12-13-06. And
there is no CachedLabel file inside. Also not in the srcview folder.

Can you or anyone else post a link, where i can find it?

thanks in advance,
Frank

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Mitch Grasso [EMAIL PROTECTED] wrote:

 Download the full source code zip file and you'll find it there.
 
 - Original Message 
 From: leo0401flick [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Sent: Wednesday, February 21, 2007 12:16:00 PM
 Subject: [flexcoders] Fisheye component
 
  
 I want to use the fisheye component from Ely Greenfield.
 
 But the compiler ask for a missing qs.controls. CachedLabel
 
 Does anybody know's where to get it.
 
 thanx



 


Re: [flexcoders] DB access in Apollo

2007-03-01 Thread Abdul Qabiz
I can imagine of doing that with Apollo. I would post soon .

On 3/1/07, Russell Sprague [EMAIL PROTECTED] wrote:
 I noticed a while back that there wasn't any kind of local database
 access in Apollos feature list.  Is this something that will/has
 changed, or are the devs thinking this will be a community
 contribution?  It seems to me that DB access is a big part of desktop
 apps, I have built a couple using Flash, Zinc, and MySQL.  It would be a
 shame to not be able to use Apollo for some projects because of this
 issue.  Hopefully someone can tell me that I just missed it when Adobe
 added this to the feature list.

 Russ




Re: [flexcoders] Apollo Book: Apollo for Adobe Flex Developers Pocket Guide

2007-03-01 Thread Impudent1
Just taking a quick look and this concerns me:

Apollo provides a file I/O API that lets applications read and
write files and directories on the user’s computer...

The Flex framework for Apollo
includes components for working with files and directories,
but these are graphical components for navigating the file
system and selecting files and directories. They do not pro-
vide direct access to the more fundamental file I/O
operations

Apollo will eventually provide a complete security model for
managing access to local resources, such as the file system...


So am I to take this that Apollo will not let me deal with a remote filesystem?
If I cannot read/write files from a workstation to a server, or deal with a 
remote data connection, Apollo suddenly seems really useless for my app :(


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-01 Thread Engkee Kwang
Doug and Darron,

This is awesome and many thanks for initiating the project.

I have one question... why the emphasis on pure AS3 vs. MXML?

-Engkee



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

 I'm pleased to announce FlexLib: a new open-source project for Flex 
2
 components. This project is a Google Code hosted project, released
 under the MIT license. I've been working with Darron Schall, Mike
 Chambers and Ted Patrick to get the project up and running. We're
 hoping to build a concentrated community effort for custom Flex
 component development.
 
 Have you been looking for a community project to contribute to? Do 
you
 have custom components you've been releasing on your blog? Want to
 brainstorm about new and improved components?
 
 The project currently contains a handful of components that have 
been
 developed by me or Darron (including some new ones I haven't blogged
 about yet). We want to get the Flex developer community involved and
 have a central resource that will help us all build off each other's
 work. To get involved take a look at the project page on google code
 (link below) and read the HowToContribute wiki page.
 
 For more information read through the project website, join the
 discussion group, and email me if you have more questions. If you 
want
 to contribute your code, drop us a line and we'll get you involved.
 
 FlexLib project page: http://code.google.com/p/flexlib
 
 Announcement on my blog:
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-
source-flex-component-library/
 
 Darron Schall's announcement: http://darronschall.com/weblog/





[flexcoders] MouseOut not triggering when the mouse rapidle leaves the element.

2007-03-01 Thread nextadvantage
I have an image that resizes on mouse over and I have a mouseOut to 
switch to a diff state and if I do it rapidly the state does not switch.

How can I ensure the mouseOut command successfully switches states on 
mouseOut.



[flexcoders] Re: crossdomain? image dragging

2007-03-01 Thread Paul Hastings
--- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] 
 image to use for dragging. Since the image was loaded from a 
 different domain (that probably doesn't have a crossdomain.xml 
 policy) you can only have the player display the image, you can't
 read from it or copy it. As a result, it can't create the proxy
 image.

aha. now i get it. that fact that i could otherwise load these images
ok was throwing me. makes some sense now. thanks for the insight.
 
 Now, how you fix that... I'm not sure. I personally think Flash 

would having crossdomain policy files on the other servers help? 





[flexcoders] Re: Fisheye component

2007-03-01 Thread softwarecat
I'll defer to the master on this.  Not in a rush for the fix, so I'll 
update when Ely is done and see if that resolves any issues for me.

Thanks Ely!

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

  
  
 Yeah, I'll fix it. Just being lazy ;)
  
 Look for it later today.
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of fsawitzki
 Sent: Thursday, March 01, 2007 7:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Fisheye component
 
 
 
 Thanks to Ely and Softwarecat for sending the as file.
 
 @Softwarecat: I tried your CachedLabel cod, and received an url 
error.
 It is the same problem that you got?
 
 @Ely: It is possible to insert the missing file into the zip 
container
 on your website? The online yahoogroups reader shows me only a
 Attachment(not stored) and a fixed container would be great for 
all
 those, who try to test your code via the fisheye side.
 
  Attached.
  
  Ely.
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 ] On
  Behalf Of fsawitzki
  Sent: Tuesday, February 27, 2007 5:08 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  Subject: [flexcoders] Re: Fisheye component
  
  
  
  I have also the problem to find the missing CachedLabel file. On 
Elys
  page is only one FisheyeProject.zip file stored, dated 12-13-06. 
And
  there is no CachedLabel file inside. Also not in the srcview 
folder.
  
  Can you or anyone else post a link, where i can find it?
  
  thanks in advance,
  Frank
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  , Mitch Grasso mitchgrasso@ wrote:
  
   Download the full source code zip file and you'll find it there.
   
   - Original Message 
   From: leo0401flick leonard.wieland@
   To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
   Sent: Wednesday, February 21, 2007 12:16:00 PM
   Subject: [flexcoders] Fisheye component
   

   I want to use the fisheye component from Ely Greenfield.
   
   But the compiler ask for a missing qs.controls. CachedLabel
   
   Does anybody know's where to get it.
   
   thanx
 





[flexcoders] FDS for QTP

2007-03-01 Thread Chaitanya Mutyala

Will obtaining one license of the departmental version of FDS be enough if I
am using FDS only for support for the QTP plugin for QA automation?
I assume the Express version does not work for QTP.

Also has anyone had experience with buying FDS just for QA automation with
QTP? Was there a discount involved?

Regards,
Chaitanya


Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-01 Thread Doug McCune

In my mind, the main reason to shoot for pure AS3 is for consistency. You
can accomplish everything in AS3 that you can do in MXML. I know sometimes
it's easier to hack together something quickly by using a combination of
MXML with AS3 script blocks, but the exact same component can be built with
pure AS3 only. One goal of FlexLib is to have some level of consistent
coding standards. The easiest standard that I can think of is to shoot for
the level of quality of the Flex SDK framework classes themselves. That
means solid AS3 classes with well-documented code. One reason the Flex SDK
is so useful for learning from and figuring out is that all the code follows
the same coding guidelines.

Now, that said, we're not going to exclude good components if they use MXML.
The AS3 versus MXML distinction is supposed to be more of a guideline. If
you've got something you want to contribute and it's MXML classes, we can
roll that into FlexLib. We may try to convert MXML stuff to pure AS3,
hopefully project members will step up and help each other out when it comes
to this. But if it makes the most sense for the component to remain in MXML
then it will stay in MXML.

So that's just my personal opinion, I'm sure Darron has his own reasons for
preferring AS3-only classes. But hey, get involved in the project and
everything's up for discussion :)

Doug




On 3/1/07, Engkee Kwang [EMAIL PROTECTED] wrote:


  Doug and Darron,

This is awesome and many thanks for initiating the project.

I have one question... why the emphasis on pure AS3 vs. MXML?

-Engkee


--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Doug
McCune [EMAIL PROTECTED] wrote:

 I'm pleased to announce FlexLib: a new open-source project for Flex
2
 components. This project is a Google Code hosted project, released
 under the MIT license. I've been working with Darron Schall, Mike
 Chambers and Ted Patrick to get the project up and running. We're
 hoping to build a concentrated community effort for custom Flex
 component development.

 Have you been looking for a community project to contribute to? Do
you
 have custom components you've been releasing on your blog? Want to
 brainstorm about new and improved components?

 The project currently contains a handful of components that have
been
 developed by me or Darron (including some new ones I haven't blogged
 about yet). We want to get the Flex developer community involved and
 have a central resource that will help us all build off each other's
 work. To get involved take a look at the project page on google code
 (link below) and read the HowToContribute wiki page.

 For more information read through the project website, join the
 discussion group, and email me if you have more questions. If you
want
 to contribute your code, drop us a line and we'll get you involved.

 FlexLib project page: http://code.google.com/p/flexlib

 Announcement on my blog:
 http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-
source-flex-component-library/

 Darron Schall's announcement: http://darronschall.com/weblog/


 



RE: [flexcoders] FDS for QTP

2007-03-01 Thread Matt Chotin
In a simple view you need one license of FDS departmental for every
person you expect to use QTP.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chaitanya Mutyala
Sent: Thursday, March 01, 2007 11:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS for QTP

 

Will obtaining one license of the departmental version of FDS be enough
if I am using FDS only for support for the QTP plugin for QA automation?
I assume the Express version does not work for QTP. 

Also has anyone had experience with buying FDS just for QA automation
with QTP? Was there a discount involved? 

Regards,
Chaitanya

 



[flexcoders] Starting out - recommendations

2007-03-01 Thread swain_will
Hello group,

I'm just starting out with Flex 2. I'm coming from a coldfusion
background, and will want to focus on integrating Flex and CFMX.

I've got the From the Source training book, which I'm working through,
and I've read various of the articles on the Adobe site, and obviously
I've found this list. Are there any other resources I should be
looking at?

Thanks all in advance.

Will



[flexcoders] Simple question - how to delete an instance of a class

2007-03-01 Thread Patrick Lemiuex
How do I remove an instance of a class, I have an issue with events  
still firing after the class has been removed the display.

Thanks,
Patrick


Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-01 Thread Douglas Knudsen

another advantage is you can use the components in the DesignView of FB.

DK

On 3/1/07, Doug McCune [EMAIL PROTECTED] wrote:


In my mind, the main reason to shoot for pure AS3 is for consistency. You
can accomplish everything in AS3 that you can do in MXML. I know sometimes
it's easier to hack together something quickly by using a combination of
MXML with AS3 script blocks, but the exact same component can be built with
pure AS3 only. One goal of FlexLib is to have some level of consistent
coding standards. The easiest standard that I can think of is to shoot for
the level of quality of the Flex SDK framework classes themselves. That
means solid AS3 classes with well-documented code. One reason the Flex SDK
is so useful for learning from and figuring out is that all the code follows
the same coding guidelines.

Now, that said, we're not going to exclude good components if they use
MXML. The AS3 versus MXML distinction is supposed to be more of a guideline.
If you've got something you want to contribute and it's MXML classes, we can
roll that into FlexLib. We may try to convert MXML stuff to pure AS3,
hopefully project members will step up and help each other out when it comes
to this. But if it makes the most sense for the component to remain in MXML
then it will stay in MXML.

So that's just my personal opinion, I'm sure Darron has his own reasons
for preferring AS3-only classes. But hey, get involved in the project and
everything's up for discussion :)

Doug




On 3/1/07, Engkee Kwang [EMAIL PROTECTED] wrote:

   Doug and Darron,

 This is awesome and many thanks for initiating the project.

 I have one question... why the emphasis on pure AS3 vs. MXML?

 -Engkee


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Doug
 McCune [EMAIL PROTECTED] wrote:
 
  I'm pleased to announce FlexLib: a new open-source project for Flex
 2
  components. This project is a Google Code hosted project, released
  under the MIT license. I've been working with Darron Schall, Mike
  Chambers and Ted Patrick to get the project up and running. We're
  hoping to build a concentrated community effort for custom Flex
  component development.
 
  Have you been looking for a community project to contribute to? Do
 you
  have custom components you've been releasing on your blog? Want to
  brainstorm about new and improved components?
 
  The project currently contains a handful of components that have
 been
  developed by me or Darron (including some new ones I haven't blogged
  about yet). We want to get the Flex developer community involved and
  have a central resource that will help us all build off each other's
  work. To get involved take a look at the project page on google code
  (link below) and read the HowToContribute wiki page.
 
  For more information read through the project website, join the
  discussion group, and email me if you have more questions. If you
 want
  to contribute your code, drop us a line and we'll get you involved.
 
  FlexLib project page: http://code.google.com/p/flexlib
 
  Announcement on my blog:
  http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-
 source-flex-component-library/
 
  Darron Schall's announcement: http://darronschall.com/weblog/
 








--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Save a BitmapData as a local file

2007-03-01 Thread Jim Cheng
ecpmaz wrote:
 ... and that without passing by the server :S
 
 I don't know if my question is stupid.. but all I've been able to do
 till now was to send as a POST var my bytes to my server to assemble
 them, and send them back to the user as a JPEG...
 
 It seems not to be an optimal solution, do you have any solution ?

For a cross-browser solution that you can immediately deploy today, 
you'll need to round-trip them to your server since there isn't a 
out-of-the-box solution for saving arbitrary bytes from within the 
player to their local filesystem.

However, the soon-to-be-released Apollo is slated to support local 
filesystem access, so if you can wait for that and can deploy your 
application as a desktop application, that might suit you.

Alternatively, for those browsers that support the data URI, you could 
use Javascript as a bridge and pass the bytes to your JPEG over to it in 
Base64-encoded format, and then create a data URI link from which the 
user can download the file off of the HTML page.  Before you get 
overly excited about going down this route though, keep in mind that 
data URIs aren't supported by Internet Explorer, among other browsers.

See:

   http://www.ietf.org/rfc/rfc2397
   http://software.hixie.ch/utilities/cgi/data/data


Jim


Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-01 Thread Troy Gilbert

Wait, are you saying that making the components in MXML is the only way to
use the components in the Design View? I haven't confirmd it, but I find
that highly suspect... AS3 == MXML, i.e. MXML becomes AS3 code before its
actually compiled. All of the Flex native components are AS3... Making them
in MXML doesn't add them to the component list.

I believe (and I may be wrong) that FB puts anything that inherits from
UIComponent in the list of Custom Components for the Design View (or at
least, it should if it doesn't already).

Troy.


On 3/1/07, Douglas Knudsen [EMAIL PROTECTED] wrote:


  another advantage is you can use the components in the DesignView of FB.

DK


On 3/1/07, Doug McCune [EMAIL PROTECTED]  wrote:

 In my mind, the main reason to shoot for pure AS3 is for consistency.
 You can accomplish everything in AS3 that you can do in MXML. I know
 sometimes it's easier to hack together something quickly by using a
 combination of MXML with AS3 script blocks, but the exact same component can
 be built with pure AS3 only. One goal of FlexLib is to have some level of
 consistent coding standards. The easiest standard that I can think of is to
 shoot for the level of quality of the Flex SDK framework classes themselves.
 That means solid AS3 classes with well-documented code. One reason the Flex
 SDK is so useful for learning from and figuring out is that all the code
 follows the same coding guidelines.

 Now, that said, we're not going to exclude good components if they use
 MXML. The AS3 versus MXML distinction is supposed to be more of a guideline.
 If you've got something you want to contribute and it's MXML classes, we can
 roll that into FlexLib. We may try to convert MXML stuff to pure AS3,
 hopefully project members will step up and help each other out when it comes
 to this. But if it makes the most sense for the component to remain in MXML
 then it will stay in MXML.

 So that's just my personal opinion, I'm sure Darron has his own reasons
 for preferring AS3-only classes. But hey, get involved in the project and
 everything's up for discussion :)

 Doug




 On 3/1/07, Engkee Kwang  [EMAIL PROTECTED] wrote:

Doug and Darron,
 
  This is awesome and many thanks for initiating the project.
 
  I have one question... why the emphasis on pure AS3 vs. MXML?
 
  -Engkee
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  Doug McCune [EMAIL PROTECTED] wrote:
  
   I'm pleased to announce FlexLib: a new open-source project for Flex
  2
   components. This project is a Google Code hosted project, released
   under the MIT license. I've been working with Darron Schall, Mike
   Chambers and Ted Patrick to get the project up and running. We're
   hoping to build a concentrated community effort for custom Flex
   component development.
  
   Have you been looking for a community project to contribute to? Do
  you
   have custom components you've been releasing on your blog? Want to
   brainstorm about new and improved components?
  
   The project currently contains a handful of components that have
  been
   developed by me or Darron (including some new ones I haven't blogged
   about yet). We want to get the Flex developer community involved and
   have a central resource that will help us all build off each other's
   work. To get involved take a look at the project page on google code
   (link below) and read the HowToContribute wiki page.
  
   For more information read through the project website, join the
   discussion group, and email me if you have more questions. If you
  want
   to contribute your code, drop us a line and we'll get you involved.
  
   FlexLib project page: http://code.google.com/p/flexlib
  
   Announcement on my blog:
   http://dougmccune.com/blog/2007/02/28/announcing-flexlib-open-
  source-flex-component-library/
  
   Darron Schall's announcement: http://darronschall.com/weblog/
  
 
 



--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

 



Re: [flexcoders] Save a BitmapData as a local file

2007-03-01 Thread Jim Cheng
jwopitz wrote:

 I don't quite understand the question here.  Are you asking can you save
 some var myPic:BitmapData to your localSharedObject?
 
 That's how I understand it.  I have never tried but I assume that you
 could.  We have been able to save some very complex object type to our LSOs
 without any issue.

Unfortunately, there's a few non-primitive data types that can't be 
saved to shared objects owing to an apparent lack of serialization 
support in the native code.  Among these are BitmapData and ByteArray.

To persist these data into shared objects, they must first serialized 
into primitives before they can be persisted into shared objects, for 
instance, as Base64-encoded string or a packed array of 8-byte Numbers.

Jim Cheng
effectiveUI



RE: [flexcoders] Save a BitmapData as a local file

2007-03-01 Thread Merrill, Jason
Even if you could, you'd run into SharedObject size restrictions for
most users as per their player default settings.
 

Jason Merrill 
Bank of America  
Global Technology  Operations, Learning  Leadership Development 
eTools  Multimedia Team 


 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Cheng
Sent: Thursday, March 01, 2007 3:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Save a BitmapData as a local file



jwopitz wrote:

 I don't quite understand the question here. Are you asking can
you save
 some var myPic:BitmapData to your localSharedObject?
 
 That's how I understand it. I have never tried but I assume
that you
 could. We have been able to save some very complex object type
to our LSOs
 without any issue.

Unfortunately, there's a few non-primitive data types that can't
be 
saved to shared objects owing to an apparent lack of
serialization 
support in the native code. Among these are BitmapData and
ByteArray.

To persist these data into shared objects, they must first
serialized 
into primitives before they can be persisted into shared
objects, for 
instance, as Base64-encoded string or a packed array of 8-byte
Numbers.

Jim Cheng
effectiveUI



 



[flexcoders] Reloading search results in list control with custom itemrenderer.

2007-03-01 Thread ontourpm
I'm struggling with a list control that uses a custom itemrenderer. It
is used to display search results. The first search works fine, but
subsequent searches don't re-draw the child controls based on the list
control's new dataProvider (an ArrayCollection). For example, search A
has three results and search B has four. Search A's results will
simply be appended with the fourth result from search B, rather than
re-drawing the entire search result. Following is the list control code:

mx:List id=lUserArtists height=0 x=0
visible={userArtists.length0} variableRowHeight=true width=100%
itemRenderer=pa.components.ontour.event.Default
dataProvider={userArtists} /

The custom component is a Canvas control with an HBox, LinkButton,
Button, etc.

I hope this is enough detail. I'm desperate for an answer! I'm new to
Flex, and am used to .Net where I can just set the datasource and bind
it to the control. I've tried removing the controls individually,
emptying the dataProvider ArrayCollection before re-binding... nothing
works as I'm expecting.

Thanks in advance



[flexcoders] Can Flex really compete with AJAX?

2007-03-01 Thread thetexaspsycho2003
I mean, creating something as simple as a dynamic ID is crucial in
creating truly dynamic content.



[flexcoders] Re: Dynamically creating item IDs

2007-03-01 Thread thetexaspsycho2003
--- In flexcoders@yahoogroups.com, thetexaspsycho2003
[EMAIL PROTECTED] wrote:

 Is there a way to dynamically create an item's ID? For example pulling
 it in from a XML file?


I guess from the lack of replies there is no way of doing this. If so,
this is very disappointing. The ability to create IDs on-the-fly is
very helpful in other technologies, such as AJAX.



Re: [flexcoders] Re: Dynamically creating item IDs

2007-03-01 Thread Clint Tredway

what do you mean by 'id'

On 3/1/07, thetexaspsycho2003 [EMAIL PROTECTED] wrote:


  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
thetexaspsycho2003
[EMAIL PROTECTED] wrote:

 Is there a way to dynamically create an item's ID? For example pulling
 it in from a XML file?


I guess from the lack of replies there is no way of doing this. If so,
this is very disappointing. The ability to create IDs on-the-fly is
very helpful in other technologies, such as AJAX.







--
http://indeegrumpee.spaces.live.com/


[flexcoders] Flex 2/AS3 Garbage Collection - Looking for additional information

2007-03-01 Thread John Crosby
We have had issues with garbage collection in the past and have read and
re-read the Grant Skinner articles but was wondering if anyone else had some
additional input and/or examples of GC in Flex 2/AS3?

 

The reason for the query: we are/have been working with applications that
are constrained to machines with limited RAM (=512) and apps that need to
run for a while (6-8 hours).

 

TIA

 

John



[flexcoders] about the search engine issue

2007-03-01 Thread Yiðit Boyar
yesterday; 
Stig Bakken (Software Engineer - Google Norway) was at METU and
he had a tech-talk on search engines. During the talk i asked the problem of
RIA (swf) indexing ; whether google has studies to index swf files or not and 
his answer
was almost negative. (he just said maybe video search team has studies).
but he said that they left such things to developers, and suggested the usage 
of tricks like 
noscript tagging.
after the talk i had a chance to talk personal and he said that they pay great 
attention on site maps.
info about site maps can be found in google web developer tools page.
i made a quick research and it seems so easy to add a sitemap.
(also they provde a phyton script to automatically create sitemap if
you have access to run phyton scripts on server)

so; i thought this info may be useful for those who wants to create RIA using 
flex which can be understood
by search engines...

yigit




 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

RE: [flexcoders] Re: Dynamically creating item IDs

2007-03-01 Thread Andrew Trice
What do you mean?  That statement very vague.  Can you create variables
dynamically... yes.  Can you use reflection and introspection into
classes... yes.  Can you create UI components at runtime... yes.  

 

Can flex compete with ajax... absolutely.

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Clint Tredway
Sent: Thursday, March 01, 2007 4:19 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Dynamically creating item IDs

 

what do you mean by 'id'

On 3/1/07, thetexaspsycho2003 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

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

 Is there a way to dynamically create an item's ID? For example pulling
 it in from a XML file?


I guess from the lack of replies there is no way of doing this. If so,
this is very disappointing. The ability to create IDs on-the-fly is 
very helpful in other technologies, such as AJAX.




-- 
http://indeegrumpee.spaces.live.com/
http://indeegrumpee.spaces.live.com/  

 



  1   2   >