Re: [flexcoders] Flex 2 Books

2006-06-27 Thread Chris Velevitch
And then there's EAS3 (http://www.moock.org/blog/archives/000177.html)



Chris
-- 
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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




Re: [flexcoders] Flex2B3 Sample Technique Question

2006-06-27 Thread Jeremy Lu




hey, so you are the one visiting today ... :-)

Susan and I (and two other engineers) work together on this project,
she's the graphic designer doing all front/back end user interface
design.

The red errorMessage shown on startup is indeed just a toolTip
property on new doc button, but I manually dispatch a roll-over event
for that button and forced ToolTipManager to show the tip immidately.

After the message was shown, I changed the toolTip for new doc
button back to normal message (click here to create a new document),
so next time when user rollover the button it won't display a red
errorMessage again.

As to the notion of Self-guided application, yes, I believe it's very
do-able, one can even implement a GuideManager to sequence the time
and places
where tips should be displayed, there are infinite possibilities with Flex 2 :-)


Jeremy.
On 6/27/06, Tim Hoff 
[EMAIL PROTECTED] wrote:









  



Susan Song or Jeremy Lu,
I liked the 
RiaNotes entry in the 
Developer Derby Showcase.The MDI approach has generated new ideas. For the min/max/close buttons, it looks like you extended Panel.
 Or maybe you went further up. I was wondering how you went about displaying the errorMessage at startup.
 Showing and hiding a message like that would be a good technique for a self-guided application. Care to share?
Sincerely,Tim Hoff

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-27 Thread Jason Hawryluk





b has an instance of c, 
a way to get to c's events could be done easy enough. I suppose the question is 
do I need to do that. If b is the only object holding a reference to c, and b is 
removed, would c be removed as well without further intervention on my part? c 
in this case not being held by another object.

After looking a bit in 
the Flex source, I don't see much if any removal/cleanup code.

So 
if I remove b, and b references objects that are held nowhere else, are those 
references, references cleaned up?

I'm not at this time 
noticing anythingoverly strange, I’m just looking for confirmation that 
this is the correct assumption.

Thanks 
for helping on this.

Jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Gordon SmithEnvoyé: lundi 26 juin 2006 
  23:10À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Garbage collection and removeChild [Flex 2 beta 
  3]?
  
  
  
  If you 
  have
  
  a
  |
  b
  |
  c
  
  and you do 
  a.removeChild(b), do you have some way to remove listeners to c's events? c 
  won't get a 'remove' event.
  
  - 
  Gordon
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason HawrylukSent: Saturday, June 24, 2006 12:07 
  AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Garbage 
  collection and removeChild [Flex 2 beta 3]?
  
  
  
  
  
  Opps sorry, the 
  remove event. No they are not swfs.
  
  
  
  Jason
  
  
  
  
  
-Message 
d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Gordon SmithEnvoyé: samedi 24 juin 2006 
01:13À: 
flexcoders@yahoogroups.comObjet: RE: [flexcoders] Garbage 
collection and removeChild [Flex 2 beta 3]?

 in 
the removed view I get ride of the listeners in the unload eventThe 
only 'unload' event I know of in Flex 2 is in SWFLoader. Are your views SWFs 
that you're loading into a SWFLoader?- 
GordonFrom: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Jason HawrylukSent: Friday, June 23, 2006 12:21 AMTo: 
[EMAIL PROTECTED]ups.comSubject: 
RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 
3]?Thank you, this clears some things up. :)I was actually 
allocating memory up to 100mb and then seeing if it'scollected by 
letting it sit there with no activity, and watching the processmemory 
usage (couldn't think of another way)."You can later remove a 
component from a container using the removeChild()method. If there 
are no references to the component, it is eventuallydeleted from memory 
by the garbage collection mechanism of Flash Player."The above taken 
from the doc's, lead me to believe that there was a garbagecollection 
process every (x)min's. If the player only does this when itneeds to get 
back memory, then that would explain why I did not see 
itcollected.What lead me to the question was the following 
scenario:I have a single component based on the viewstack for the 
views, thiscomponent listens for event state changes in the program to 
load new views,the events it gets come from another class (think 
observer pattern). So withthis I can load multiple copies of a view with 
different data(this is whereI seen a problem). Even though a view was 
removed from the viewstack itstill received data change events (which it 
listens to in order to see if itneeds to load new data (think chain of 
responsibility here) where each viewgets the event and decides if the 
data is destined for it (the data it selfis just a guid that I use to 
reference the xml data needed to be loaded).The scenario may seem 
weird, but no object knows what data is being accessedexcept the view 
that is responsible for displaying it.If the view was really 
unloaded then the event should not get through. Sonow I remove a view, 
and in the removed view I get ride of the listeners inthe unload event, 
clean up any child objects/classes/data providers etc..So the 
view  dataprovider  modelloader  etc.. 
controller  etc..From what I understand from your answer is 
that if the view is removed, andI clean up the listeners and "local" 
references i.e. (set dataprovider andcontroller to null)view 
 dataprovider controllerThen I should be 
alright. Is this correct?My original thinking was that if it's 
removed to the garbage collection howis it that it's still getting the 
events? I was thinking that this was aprotected space. I can't get the 
instance back from the garbage collection,however the instance is still 
very much alive and kicking.Is this making sense? Are these correct 
assumptions?Thank you for your 
help.Jason-Message d'origine-De : [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL 

[flexcoders] Re: Flex2B3 Sample Technique Question

2006-06-27 Thread Tim Hoff
All of that makes sense.

Thank you for the explanation,
-TH

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

 hey, so you are the one visiting today ... :-)
 
 Susan and I (and two other engineers) work together on this 
project, she's
 the graphic designer doing all front/back end user interface 
design.
 
 The red errorMessage shown on startup is indeed just a toolTip 
property on
 new doc button, but I manually dispatch a roll-over event for 
that button
 and forced ToolTipManager to show the tip immidately.
 
 After the message was shown, I changed the toolTip for new doc 
button
 back to normal message (click here to create a new document), so 
next time
 when user rollover the button it won't display a red errorMessage 
again.
 
 As to the notion of Self-guided application, yes, I believe it's 
very
 do-able, one can even implement a GuideManager to sequence the 
time and
 places
 where tips should be displayed, there are infinite possibilities 
with Flex 2
 :-)
 
 
 Jeremy.
 
 
 On 6/27/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
Susan Song or Jeremy Lu,
 
  I liked the RiaNotes 
http://ria.richtechmedia.com/rianotes/App.swf entry
  in the Developer Derby 
Showcasehttp://labs.adobe.com/wiki/index.php/Showcase:Flex_Developer
_Derby
  .  The MDI approach has generated new ideas.  For the 
min/max/close
  buttons, it looks like you extended Panel.  Or maybe you went 
further up.
  I was wondering how you went about displaying the errorMessage 
at startup.
Showing and hiding a message like that would be a good 
technique for a
  self-guided application.  Care to share?
 
  Sincerely,
  Tim Hoff
 
   
 








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

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

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




RE: [flexcoders] Re: About dates sent to a webservice. Is this correct?

2006-06-27 Thread Daniel Tuppeny

Yep, it seems if you do DateTime.Now, it includes timezone info. If you
do new Date(x, y, z), it doesn't (but you can probably add it). This is
how Flex should work - if no timezone is specified, it should ignore
timezones!! :-( 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kelly Birr
Sent: 26 June 2006 18:18
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: About dates sent to a webservice. Is this
correct?

We're also using .NET 2.0 but our web services do not return time zone
information.  They just send 2006-06-26T10:38:54.

- Kelly

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Tuppeny
Sent: Monday, June 26, 2006 2:41 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: About dates sent to a webservice. Is this
correct?


I just tested this out (to see how bad it was!), and my web service
returned:

dateTime
xmlns=http://tempuri.org/;2006-06-26T10:38:54.6541786+01:00/dateTime

Which includes timezone info. When I call ToString() on the flash date,
it returns exactly the same (10:38+1:00). Is this just an issue with
.NET 1.1?
We're using 2.0.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Tuppeny
Sent: 26 June 2006 10:26
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: About dates sent to a webservice. Is this
correct?


I've read through that thread, and this hardly seems like acceptable
behaviour to me.

We're sending dates from a .NET web service too, and we don't care about
the time. We're plotting them on a calendar. We can't afford to have
dates sent as one thing, and then rolled back to the previous day
because the client machine is in a different timezone. There *needs* to
be a way to turn this off. If my web service says an event occurs on the
1st June, I want Flex to give me the 1st June.

What's the point in Flex translating it, and then me having to translate
it back (and remember to do this *everywhere*)?


 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kellyb723
Sent: 23 June 2006 17:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: About dates sent to a webservice. Is this
correct?

Yes this is correct.  I recently had a long thread about this.  What I
was told by Adobe is that If a web service defined the element-type in
WSDL as `dateTime' and sends a value that does not include a time zone
component Flex has to assume that this is UTC time and will
automatically adjust the Date value to your local time zone.

You can read my previous thread, including a post by Peter Farland
(Adobe) that this behavior is by design, and my workaround at:

http://groups.yahoo.com/group/flexcoders/message/39832

- Kelly

--- In flexcoders@yahoogroups.com, Bas J. Brey [EMAIL PROTECTED] wrote:

 You set a date e.g. 25th of January 2005 00:00 GMT +2
 
 Flex sends it to the service as 24th of January 2005 22:00 ?
 
  
 
 If so than you can never use a date type in your webservice cause
then you
 miss timezone information.








 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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



 




[Inbound Mail Scanned by MessageLabs]

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



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



 




[Inbound Mail Scanned by MessageLabs]

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



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



 







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



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been 

RE: [flexcoders] Difference between two dates

2006-06-27 Thread Daniel Tuppeny





I tried that, and it just didn't work. Returned completely 
wrong numbers! I tried stepping through it, but didn't really understand all the 
magic numbers (like subtracing 1 from the month if one date is lower than the 
other).

I got it working with the code I posted, it's just annoying 
that we have to implement something so trivial (so there'll be tons of different 
buggy implementations doing the rounds soon!)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
KnudsenSent: 26 June 2006 19:56To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between two dates
http://jeff.mxdj.com/datediff_for_actionscript.htmperhaps 
this would be helpful.DK
On 6/26/06, Kelly 
Birr [EMAIL PROTECTED] 
wrote:

  
  
  If you do not wish to 
  change the Date class so it will conform to a (terrible) standard, I can sort 
  of understand that.
  
  Would you please 
  consider the possibility of adding a DateTime or Date2 class in Flex 2.1 that 
  works like a primitive type. Or better yet, make the new class 
  beDate and the standards-compliant one called EcmaDate or EDate or CDate 
  or something like that. :)
  
  - 
  Kelly
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel 
  Tuppeny
  Sent: Monday, June 26, 2006 1:03 
  AMTo: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Difference between two 
  dates
  
  
  
   Since the Date class 
  is specified by the EcmaScript-262 standard, we're not going to change 
  it
  
  That's fair enough, 
  but as things are (without a utility class to do this stuff), I can see there 
  being a whole bunch of "buggy" implementations of date stuff in Flex over the 
  coming months, which will be spread amongst developers viasites like 
  CodeProject!! :-(
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon 
  SmithSent: 24 June 2006 00:01To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Difference between two dates
  
  
  Since the Date class 
  is specified by the EcmaScript-262 standard, we're not going to change it. But 
  it sounds like we should consider adding a flex.utils.DateUtils class in the 
  future to make date manipulation easier.
  
  - 
  Gordon
  
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf 
  Of Pan TroglodytesSent: Friday, June 23, 2006 8:53 
  AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
  between two dates
  
  
  
  
  Well, it helped when I figured out I could do things 
  like date.date += 12 and it would automatically correct for rolling over 
  months/years. But at the very least, there needs to be a built-in 
  daysBetween function. Yes, yes, I know you can do the getTime() 
  arithmetic. But every time you have to fall back to that, it feels 
  kludgy. If I were redesigning it, it wold at least ook like 
  this:dayOfWeek - what used to be called dayday - day in month 
  (used to be called date)month - 1 based like day (what used to be called 
  date) ishour/minute/second/millisecond - singular (if hour is plural, why 
  not "months"?)year - why fullYear? I mean, c'mon, do people really 
  expect something called "year" to be two digits or 
  what?daysBetween(laterDate:date) - laterDate minus this in days 
  But, alas, it's too late. There's no way they'll make the change 
  at this late day.I mean "date".Haha.
  
  On 
  6/23/06, Daniel Tuppeny  
  [EMAIL PROTECTED] wrote:
  
  
  
  
  
  I wouldn't 
  disagree!
  
  There seems to be no 
  useful functions for manipulating dates. They should copy all the methods and 
  properties from the .NET DateTime class :o)
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan TroglodytesSent: 23 June 2006 16:02To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
  between two dates
  
  I swear, I really 
  think the date class was designed by a crazy man. You hear that Adobe? - 
  CRAZY! :D
  
  On 6/23/06, 
  Daniel Tuppeny  
  [EMAIL PROTECTED] wrote: 
  
  
  
  
  
  I was using .day 
  instead of .date
  
  TFI Friday! 
  =)
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf 
  Of Daniel TuppenySent: 23 June 2006 15:33To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Difference 
  between two dates
  
  I think I need more 
  coffee
  
  The following code 
  (which I'm sure is correct!), returns around 2.8 when I'm expecting around 
  3.2. Anyone spot my error?
  
  
  
  public static 
  function getMonths(startDate:Date, 
  endDate:Date):Number{if (startDate  
  endDate){var tmp:Date = 
  endDate;endDate = 
  startDate;startDate = 
  tmp;}var 
  numMonths:Number = 0;// Get number 
  of months in yearsnumMonths += (endDate.fullYear - 
  startDate.fullYear) * 12numMonths += endDate.month - 
  startDate.month;numMonths += (endDate.day - 
  

[flexcoders] Integrated JRun Axis Deployment..

2006-06-27 Thread Tolulope Olonade










Has anybody deployed the Apache axis 2 into the Flex 2 Beta 3
Integrated Jrun server?



Deploys well but when I call up the happyaxis.jsp test page it
throws exception.



Thanks for any help.



Regards




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Re: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
Ok,

I think I have narrowed the issue down to the components within the
TitleWindow. I have a TabNavigator within the popup and when there is
more than one tab this issue is seen. If I remove all but one tabs
from the tabnavigator the popup deletes without issue.

However, I can't work out why!

Is this something to do with the creationpolicy? Being that the
underlying tabs contents have not been drawn yet?

I tried clicking on all the tabs before I closed the tabnavigator to
ensure they were all initialized but this didn't cure the problem.

Any thoughts would be greatly appreciated.

Regards,

Iain

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

 Hi,
 
 I have a standard popup using:
 
 mx.managers.PopUpManager.createPopUp
 (this,myTitlewindow,isModal,init);
 
 where myTitlewindow is a custom TitleWindow component.
 
 This all works fine and within the TitleWindow I have a number of 
 RemoteObjects which gather data from the server, all of this works 
 fine.
 
 When I click the close button for the TitleWindow using 
 click=handleClick();
 
 function handleClick(event){
  doLater(this, deletePopUp);
 }
 The popup deletes as expected, however the showBusy cursor appears 
 and suddenly everything starts to slow down and eventually it looks 
 like someone has stolen at least 512Mb Ram out my PC! I have checked 
 the RemoteObject calls and none of them are being called on deletion 
 of the popup.
 
 Please help, this is really doing my head in!
 
 Cheers,
 
 Iain







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

* 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] Setting row focus when user clicks in a column using ItemRenderers

2006-06-27 Thread Tom Chiverton
On Tuesday 27 June 2006 00:36, csherwood999 wrote:
 I have noticed that I can click into any of my item Renderers without
 actually selecting the entire row.  How can I force the row to be
 highlighted when the user clicks into an itemRenderer?

I guess you'll need to do something in the click event handler.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

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

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




RE: [flexcoders] Re: Repost of bug issue over weekend

2006-06-27 Thread Daniel Tuppeny
This is crazy! I'd say this is *definitely* a bug.

 so it has no way to differentiate between them

Yes it does - with the index. Change the list to this:

mx:List id=myList dataProvider={selectedChannels} width=100
click=mx.controls.Alert.show(String(myList.selectedIndex)); / 

And then click on the items. It CORRECTLY identifies the selected item,
even though all 4 are the same. It can EASILY be done if it used the
index of the current item, rather than the value (which IMO - is
madness).

It might not be very friendly to have multiple items the same (but there
are places this is very useful), I don't see any reason this shouldn't
be fixed.



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: 26 June 2006 19:22
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Repost of bug issue over weekend

I don't think this is a bug as I am not sure how it could work any
differently. You are repeatedly adding the same item (the string
hello) to the list so it has no way to differentiate between them and
uses the newest instance for the rollOver and rollOut actions. If you
want to display the same string multiple times I think you will need to
fill your ArrayCollection with objects and access a property via a
labelFunction.

HTH,
Ben


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

 I posted this over the weekend, but I am sure most people, including
adobe,
 did not see it.
 
 I saw that someone else had exactly the same problem in another
thread and
 initially responded to that thread. The discussion about that bug
quickly
 devolved into a critique of the persons programming style, and unless 
 I missed something didnt resolve the issue of there being a bug.
 
 I may be doing something wrong but I dont think so. My immediate
issue is to
 find a work around. Since this is a really basic thing I would
imagine that,
 if it is not a known issue (which is hard to imagine) that it will
get some
 attention.
 
 Below describes the problem, along with an mxml code example.
 
 If you take the below text, drop it into an app, You should see four
hello
 items in the list. If you move your mouse over the items, you should 
 see that only the last item in the list of 4 hellos highlights, no 
 matter where the mouse is. (at least hopefully you will see it... if 
 not
that would
 be*really* wierd)
 
 
 ?xml version=1.0 encoding=utf-8? mx:Canvas 
 xmlns:mx=http://www.adobe.com/2006/mxml;
 initialize=initList()
 
 
  mx:Script
 ![CDATA[
 import mx.collections.ArrayCollection;
 
 [Bindable]
 private var selectedChannels:ArrayCollection = new 
 ArrayCollection();
 
 private function initList():void{
 selectedChannels.addItem(hello);
 selectedChannels.addItem(hello);
 selectedChannels.addItem(hello);
 selectedChannels.addItem(hello);
 }
 ]]
 /mx:Script
 
 mx:List  dataProvider={selectedChannels} width=100/ 
 /mx:Canvas







 Yahoo! Groups Sponsor ~--
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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



 



[Inbound Mail Scanned by MessageLabs]

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


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

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

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





[flexcoders] Flex2: setFocus() + javascript injection

2006-06-27 Thread Tim Hoff



Undoubtably, The setFocus()question willbe asked here again. ThesetBrowserFocusSample, shows a new (to me)approachfor setting focus (IE only) using Abdul Qabiz's _javascript_ MXML component.Best Wishes,Tim Hoff

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Popup deletion and memory issue in 1.5

2006-06-27 Thread Ralf Bokelberg
Hi Iain
What if you remove items from the tabnavigator just before closing?
Cheers,
Ralf.

On 6/27/06, digital_eyezed [EMAIL PROTECTED] wrote:
 Ok,

 I think I have narrowed the issue down to the components within the
 TitleWindow. I have a TabNavigator within the popup and when there is
 more than one tab this issue is seen. If I remove all but one tabs
 from the tabnavigator the popup deletes without issue.

 However, I can't work out why!

 Is this something to do with the creationpolicy? Being that the
 underlying tabs contents have not been drawn yet?

 I tried clicking on all the tabs before I closed the tabnavigator to
 ensure they were all initialized but this didn't cure the problem.

 Any thoughts would be greatly appreciated.

 Regards,

 Iain

 --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED]
 wrote:
 
  Hi,
 
  I have a standard popup using:
 
  mx.managers.PopUpManager.createPopUp
  (this,myTitlewindow,isModal,init);
 
  where myTitlewindow is a custom TitleWindow component.
 
  This all works fine and within the TitleWindow I have a number of
  RemoteObjects which gather data from the server, all of this works
  fine.
 
  When I click the close button for the TitleWindow using
  click=handleClick();
 
  function handleClick(event){
   doLater(this, deletePopUp);
  }
  The popup deletes as expected, however the showBusy cursor appears
  and suddenly everything starts to slow down and eventually it looks
  like someone has stolen at least 512Mb Ram out my PC! I have checked
  the RemoteObject calls and none of them are being called on deletion
  of the popup.
 
  Please help, this is really doing my head in!
 
  Cheers,
 
  Iain
 







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










 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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





[flexcoders] dynamic method attachment to SharedObject

2006-06-27 Thread Mick Robin



Hi,I am working on a one to one chat application. I am using flex builder 2.0Beta 3 Flash Media Server 2.0. While working with sharedObject, I have comeacross a problem. I just wanted to attach a dynamic method to SharedObject the wayI used to do in AS2.0, AS1.0. The main issue is SharedObject class is no more dynamic.Here is the code what I want to achieve in AS2.0public var usersSO:SharedObject;usersSO.msgFromSrvr= function(event:Object){msgFromSrvrHandler(event);  }How can I achieve the same thing using AS3.0?Thanks in advance..:)  Mick 
		Yahoo! Groups gets better. Check out the new email design. Plus there’s much more to come. 
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
Hi Ralf,

Thanks for the help, I tried to call destroyAllChildren() on the
TabNavigator, but this did not help. Is that what you mean?

Cheers,

Iain

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

 Hi Iain
 What if you remove items from the tabnavigator just before closing?
 Cheers,
 Ralf.
 
 On 6/27/06, digital_eyezed [EMAIL PROTECTED] wrote:
  Ok,
 
  I think I have narrowed the issue down to the components within the
  TitleWindow. I have a TabNavigator within the popup and when there is
  more than one tab this issue is seen. If I remove all but one tabs
  from the tabnavigator the popup deletes without issue.
 
  However, I can't work out why!
 
  Is this something to do with the creationpolicy? Being that the
  underlying tabs contents have not been drawn yet?
 
  I tried clicking on all the tabs before I closed the tabnavigator to
  ensure they were all initialized but this didn't cure the problem.
 
  Any thoughts would be greatly appreciated.
 
  Regards,
 
  Iain
 
  --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@
  wrote:
  
   Hi,
  
   I have a standard popup using:
  
   mx.managers.PopUpManager.createPopUp
   (this,myTitlewindow,isModal,init);
  
   where myTitlewindow is a custom TitleWindow component.
  
   This all works fine and within the TitleWindow I have a number of
   RemoteObjects which gather data from the server, all of this works
   fine.
  
   When I click the close button for the TitleWindow using
   click=handleClick();
  
   function handleClick(event){
doLater(this, deletePopUp);
   }
   The popup deletes as expected, however the showBusy cursor appears
   and suddenly everything starts to slow down and eventually it looks
   like someone has stolen at least 512Mb Ram out my PC! I have checked
   the RemoteObject calls and none of them are being called on deletion
   of the popup.
  
   Please help, this is really doing my head in!
  
   Cheers,
  
   Iain
  
 
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] Flex2B3 - flex and url variables

2006-06-27 Thread bhaq1972
i was looking in the archives. the issue was raised a few months ago.

however i wasn't able to make Matt Horn or Abdul's code work.

my problem - i want to pass request data using query string to the 
html wrapper.

eg http://myserver/myflexapp.html?foo=bar

it would be nice if it was easy like doing

http://myserver/myflexapp.swf?foo=bar 

(then i can use the parameters property)

...which brings me to my next question. 
are there any issues requesting the swf (as opposed to the html 
page) directly in a deployed environment.

thanks







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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] Integrated JRun Axis Deployment..

2006-06-27 Thread Carson Hager





What exception are you getting?


Carson


Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tolulope 
OlonadeSent: Tuesday, June 27, 2006 3:50 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Integrated JRun Axis 
Deployment..




Has 
anybody deployed the Apache axis 2 into the Flex 2 Beta 3 Integrated Jrun 
server?

Deploys well 
but when I call up the happyaxis.jsp test page it throws 
exception.

Thanks for any 
help.

Regards

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Release Pricing

2006-06-27 Thread Antoine Malpel






ok but where is exactly the limitation ? can I run freeely any coporate
business services etc ... as soon as I use only one cpu per Application
(what about Bi-Core ?) ?

Nick Collins a crit:

  
  No, it means you can run it free on a one CPU server with one
application using it. For clustering you'll have to pay.
  
  
  On 6/26/06, Antoine Malpel 
[EMAIL PROTECTED] wrote:
  





Free when using just One app per cpu ??? taht means I'm free to
do any
corpotare stuff for free using clustering for example ?

Pan Troglodytes a crit:




  
  Here's the last they posted about it:
  
  
  Scott Langeberg
  Thu, 15 Jun 2006 09:25:11 -0700
  According to Sydney Sloan (Marketing - Adobe) in a Breeze
webinar @ 11AM (c):
  
  Official release date: 
  
  June 28, 2006
  
  Pricing as follows:
  
  Flex 2 SDK - FREE
  Flex Builder 2 - $499, $749 w/charting
  FDS - $6,000 (100 concurrent users), $20,000 (enterprise)
  
  Interestingly: 
  FDS Express - FREE (one app per cpu).
  
  Charting components - $299
  
  
Oh, joyous day!
  
: : ) Scott 
  
  
  On 6/26/06, jwc_wensan [EMAIL PROTECTED]
   wrote:
  





To Adobe or anyone who knows.

Did I miss the announcement?

We are expecting the Flex 2 release by the end of June? Right?

If so, then why is there no definitive information regarding the 
pricing for all of the Flex 2 products?

I went to www.adobe.com
and found nothing regarding Flex 2 pricing.

Now, I want the Flex 2 release just as much as the rest of you, but 
I would rather it be a solid release than just releasing this week. 
So, if it is going to be delayed, I can live with that, but I would 
appreciate being told.

We all realize that release dates can slide, but it would be nice to 
know.

I am still confused that final pricing has not been determined and 
announced.

Is there going to be such a great announcement on pricing that Adobe 
is wanting to get a massive "bang for their buck"? That's OK too.

However, it just seems a little confusing to me.

If anyone can shed some light to the uninformed, it would be greatly 
appreciated.

Thanks,

Jack







  
  
  
  
  
-- 
Jason 



 




  
  
  
  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




Re: [flexcoders] Re: Repost of bug issue over weekend

2006-06-27 Thread hank williams



Thanks Daniel.I was thinking something similar after I wrote my last email, but didnt have the energy to write it up. Basically, if it can draw and scroll separate items (even if they are the same) then it can identify them for the purpose of highlighting and selection. If it couldnt tell the difference between the items it should only show one item. In any case, that would be a strong clue as to what is wrong. But it *can* tell the difference between the items.
I agree, and repeat again. This is a bug.HankOn 6/27/06, Daniel Tuppeny [EMAIL PROTECTED]
 wrote:This is crazy! I'd say this is *definitely* a bug. so it has no way to differentiate between them
Yes it does - with the index. Change the list to this:mx:List id=myList dataProvider={selectedChannels} width=100click=mx.controls.Alert.show(String(myList.selectedIndex
)); /And then click on the items. It CORRECTLY identifies the selected item,even though all 4 are the same. It can EASILY be done if it used theindex of the current item, rather than the value (which IMO - is
madness).It might not be very friendly to have multiple items the same (but thereare places this is very useful), I don't see any reason this shouldn'tbe fixed.-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of ben.clinkinbeardSent: 26 June 2006 19:22
To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Repost of bug issue over weekendI don't think this is a bug as I am not sure how it could work any
differently. You are repeatedly adding the same item (the stringhello) to the list so it has no way to differentiate between them anduses the newest instance for the rollOver and rollOut actions. If you
want to display the same string multiple times I think you will need tofill your ArrayCollection with objects and access a property via alabelFunction.HTH,Ben--- In 
flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: I posted this over the weekend, but I am sure most people, includingadobe, did not see it. I saw that someone else had exactly the same problem in another
thread and initially responded to that thread. The discussion about that bugquickly devolved into a critique of the persons programming style, and unless I missed something didnt resolve the issue of there being a bug.
 I may be doing something wrong but I dont think so. My immediateissue is to find a work around. Since this is a really basic thing I wouldimagine that, if it is not a known issue (which is hard to imagine) that it will
get some attention. Below describes the problem, along with an mxml code example. If you take the below text, drop it into an app, You should see fourhello items in the list. If you move your mouse over the items, you should
 see that only the last item in the list of 4 hellos highlights, no matter where the mouse is. (at least hopefully you will see it... if notthat would be*really* wierd)
 ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml initialize=initList()
mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var selectedChannels:ArrayCollection = new
 ArrayCollection(); private function initList():void{ selectedChannels.addItem(hello); selectedChannels.addItem(hello);
 selectedChannels.addItem(hello); selectedChannels.addItem(hello); } ]] /mx:Script
 mx:ListdataProvider={selectedChannels} width=100/ /mx:Canvas Yahoo! Groups Sponsor ~--
See what's inside the new Yahoo! Groups email.http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links[Inbound Mail Scanned by MessageLabs]__
This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email__
 Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/


__._,_.___





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

Re: [flexcoders] Re: Popup deletion and memory issue in 1.5

2006-06-27 Thread Ralf Bokelberg
Yep, but it was just a shot in the dark.
I'm not sure what really happens in your app.
Maybe you can create a minmal version of your source to reproduce your problem.

Cheers,
Ralf.

On 6/27/06, digital_eyezed [EMAIL PROTECTED] wrote:
 Hi Ralf,

 Thanks for the help, I tried to call destroyAllChildren() on the
 TabNavigator, but this did not help. Is that what you mean?

 Cheers,

 Iain

 --- In flexcoders@yahoogroups.com, Ralf Bokelberg
 [EMAIL PROTECTED] wrote:
 
  Hi Iain
  What if you remove items from the tabnavigator just before closing?
  Cheers,
  Ralf.
 
  On 6/27/06, digital_eyezed [EMAIL PROTECTED] wrote:
   Ok,
  
   I think I have narrowed the issue down to the components within the
   TitleWindow. I have a TabNavigator within the popup and when there is
   more than one tab this issue is seen. If I remove all but one tabs
   from the tabnavigator the popup deletes without issue.
  
   However, I can't work out why!
  
   Is this something to do with the creationpolicy? Being that the
   underlying tabs contents have not been drawn yet?
  
   I tried clicking on all the tabs before I closed the tabnavigator to
   ensure they were all initialized but this didn't cure the problem.
  
   Any thoughts would be greatly appreciated.
  
   Regards,
  
   Iain
  
   --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@
   wrote:
   
Hi,
   
I have a standard popup using:
   
mx.managers.PopUpManager.createPopUp
(this,myTitlewindow,isModal,init);
   
where myTitlewindow is a custom TitleWindow component.
   
This all works fine and within the TitleWindow I have a number of
RemoteObjects which gather data from the server, all of this works
fine.
   
When I click the close button for the TitleWindow using
click=handleClick();
   
function handleClick(event){
 doLater(this, deletePopUp);
}
The popup deletes as expected, however the showBusy cursor appears
and suddenly everything starts to slow down and eventually it looks
like someone has stolen at least 512Mb Ram out my PC! I have checked
the RemoteObject calls and none of them are being called on deletion
of the popup.
   
Please help, this is really doing my head in!
   
Cheers,
   
Iain
   
  
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
  
 







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









 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] Embed(source,symbol) results in internal build error

2006-06-27 Thread martin schioeth










Hi,



Im trying to embed an exported symbol from a
swf

I get An internal build error has occurred. Please
check the Error Log.

I have absolutely no idea how to fix this, and im
going slighty mad. I should think my syntax is exactly the same as the
documentation specifies.



// ERROR LOG ///

Error 2006-06-27 13:32:57.817 Uncaught exception in
compiler

java.lang.IllegalArgumentException: symbol 32006 not
defined

  at
flash.swf.Dictionary.getTag(Dictionary.java:172)

  at
flash.swf.TagDecoder.decodeButtonRecord(TagDecoder.java:2068)

  at
flash.swf.TagDecoder.decodeDefineButton2(TagDecoder.java:1211)

  at
flash.swf.TagDecoder.decodeTag(TagDecoder.java:285)

  at
flash.swf.TagDecoder.decodeTags(TagDecoder.java:169)

  at flash.swf.TagDecoder.parse(TagDecoder.java:119)

  at
flex2.compiler.media.MovieTranscoder.getDictionary(MovieTranscoder.java:162)

  at
flex2.compiler.media.MovieTranscoder.extractDefineTag(MovieTranscoder.java:188)

  at
flex2.compiler.media.MovieTranscoder.doTranscode(MovieTranscoder.java:84)

  at
flex2.compiler.media.AbstractTranscoder.transcode(AbstractTranscoder.java:128)

  at
flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:161)

  at
flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:71)

  at flex2.compiler.as3.EmbedEvaluator.generateSource(EmbedEvaluator.java:259)

  at
flex2.compiler.as3.EmbedEvaluator.generateSources(EmbedEvaluator.java:324)

  at
flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:80)

  at
macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)

  at
flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330)

  at
macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)

  at
flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910)

  at
flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:244)

  at
macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)

  at
flex2.compiler.as3.EmbedExtension.parse(EmbedExtension.java:39)

  at
flex2.compiler.as3.Compiler.parse(Compiler.java:313)

  at
flex2.compiler.mxml.ImplementationCompiler.parse(ImplementationCompiler.java:148)

  at
flex2.compiler.mxml.Compiler.parse(Compiler.java:89)

  at
flex2.compiler.API.parse(API.java:1631)

  at
flex2.compiler.API.parse(API.java:1592)

  at
flex2.compiler.API.batch2(API.java:285)

  at
flex2.compiler.API.batch(API.java:764)

  at
flex2.compiler.API.compile(API.java:889)

  at
com.adobe.flexbuilder.project.compiler.Compiler.compile(Unknown Source)

  at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(Unknown
Source)

  at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown
Source)

  at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)

  at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)

  at
org.eclipse.core.runtime.Platform.run(Platform.java:783)

  at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)

  at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)

  at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)

  at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)

  at
org.eclipse.core.runtime.Platform.run(Platform.java:783)

  at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)

  at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)

  at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)

  at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)

  at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)

  at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)



 ERROR LOG /

 CODE /

?xml version=1.0
encoding=utf-8?

SCOEngineGraphics 

  xmlns=dk.delc.sco.*

Re: [flexcoders] Unsubscribe

2006-06-27 Thread Krishna


Ah, Thank you !- Original Message From: Steven Webster [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Monday, June 26, 2006 7:24:09 PMSubject: RE: [flexcoders] Unsubscribe








Click on the unsubscibe link that appears at the foot of 
every email ;)



  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0)7917 428 947[EMAIL PROTECTED] 
  


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  KrishnaSent: 26 June 2006 07:09To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  Unsubscribe
  
  
  Hi All,Can anyone tell me how do I unsubscribe from this list? I no 
  longer work on flex and hence would not like these manu emails..Thanks 
  in advance.-Krish
  
  
  Do you Yahoo!?Everyone is raving about the all-new 
  Yahoo! Mail Beta.
  

  


 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___


[flexcoders] Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-27 Thread Jordan Snyder



Hello All,


I am working on an app in which I poll the server quite frequently to
get new information. The information comes to me in an XML format
that I simply assign as the dataProvider for a DataGrid component. 

I have to keep in consideration the fact that the user may have
selected a certain row, and may want to delete that row even after an
update to the dataProvider is made, so I keep track of the
selectedIndex property and reselect upon an update.

But if the user has not selected a row, the DataGrid will automatically
scroll to the top upon an update, even if the user has scrolled to the
bottom of the grid. 

Is there a way around this? I found a way to scrollToIndex(), but
no way of getting the currently viewed items. It may have
something to do with the various renderer properties available on the
DataGrid, but I have a very limited understanding of this, so it's over
my head.

Surely this problem has been run into before, but I can't seem to find
the right combination of search terms to figure out a method of solving
it.

Does anyone have any ideas or proven methods for the problem? Any help would be greatly appreciated.

Thank you,

Jordan Snyder
[EMAIL PROTECTED]
www.jordansnyder.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Need Urgent Help

2006-06-27 Thread Andriy Panas
Hello Meenakshi,

You can port MeasureMap's Data slider from AS2 to AS3, for example:
http://www.measuremap.com/developer/slider/


-- 
Best regards,
 Andriymailto:[EMAIL PROTECTED]



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

* 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: Remote object invocation failure

2006-06-27 Thread Mike_Robinson_98
Mistake found. I inadvertently removed the servlet mapping for the
MessageBrokerServlet in the web.xml file.

Sorry, but I'm just getting used to all the configuration files.

Thanks,
Mike

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

 I'm trying to call a method on a Java object and keep getting
 Connection failed when I try the method call. I know it must be a
 configuration issue but have been plugging away at this all morning
 with out making any headway. Maybe some of you can see the problem
 easily. I'm using Tomcat. Thanks in advance.
 
 Here are the relevant details (I think):
 // ** The error messages *
 [SWF] /metalsmith/metalsmith-flex/metalsmith-debug.swf - 1,196,373
 bytes after decompression
 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer set destination to
 'loginService'.
 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer sending message
 'E164544F-F6BF-7F4E-D9C7-11B613446EE4'
 'my-amf' channel endpoint set to
 http://localhost:8080/metalsmith/messagebroker/amf
 'my-amf' channel settings are:
 channel id=my-amf type=mx.messaging.channels.AMFChannel
   endpoint
 uri=http://{server.name}:{server.port}/metalsmith/messagebroker/amf/
   properties
 polling-enabledfalse/polling-enabled
   /properties
 /channel
 'my-amf' pinging endpoint.
 'my-amf' channel got status. (Object)#0
   code = NetConnection.Call.Failed
   description = HTTP: Failed
   details = http://localhost:8080/metalsmith/messagebroker/amf;
   level = error
 'my-amf' channel polling stopped.
 'my-amf' channel connect failed.
 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer channel faulted with
 Channel.Connect.Failed NetConnection.Call.Failed: HTTP: Failed
 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer fault for
 'E164544F-F6BF-7F4E-D9C7-11B613446EE4'.
 
 // *** The mxml file defining and calling the remote object
 mx:Script
   ![CDATA[
 import com.othenos.metalsmith.user.User;
 import com.othenos.metalsmith.model.ModelLocator;
 import mx.events.ValidationResultEvent;
 import mx.rpc.events.ResultEvent;
 import mx.rpc.events.FaultEvent;
 
 private function clickHandler():void{
   if(userNameV.validate().type == ValidationResultEvent.VALID 
 passwordV.validate().type == ValidationResultEvent.VALID){
 loginObject.validateUser();
 // loginObject.validateUser(userName.text, password.text);
 //  var eventObj:Event=new Event(loginEvent);
 //  dispatchEvent(eventObj);
   }
   else{
 resultLabel.text=There are errors.;
   }
 }
 private function loginHandler(event:ResultEvent):void{
   ModelLocator.currentUser = event.result as User;
 }
 private function failureHandler(event:FaultEvent):void{
   resultLabel.text=event.fault.faultString;
 }
   ]]
 /mx:Script
 mx:RemoteObject id=loginObject destination=loginService 
  showBusyCursor=true 
  result=loginHandler(event)
  fault=failureHandler(event) /
 
 // *** The flex-remoting-service.xml 
 ?xml version=1.0 encoding=UTF-8?
 service id=remoting-service
 class=flex.messaging.services.RemotingService
 messageTypes=flex.messaging.messages.RemotingMessage
 
 adapters
 adapter-definition id=java-object 
   class=flex.messaging.services.remoting.adapters.JavaAdapter 
   default=true/
 /adapters
 
 default-channels
 channel ref=my-amf/
 /default-channels
 
 destination id=loginService
 properties

 sourcecom.othenos.metalsmith.assembler.UserAssembler/source
 scopeapplication/scope   
 /properties
 /destination
 
 /service
 
 // flex-enterprise-services (partial)
 services
  service-include file-path=flex-data-service.xml /
  service-include file-path=flex-remoting-service.xml /
 /services
 
 channels
 channel-definition id=my-amf
 class=mx.messaging.channels.AMFChannel
 endpoint

uri=http://{server.name}:{server.port}/{context.root}/messagebroker/amf;
 class=flex.messaging.endpoints.AMFEndpoint/
  properties
  polling-enabledfalse/polling-enabled
  /properties
  /channel-definition
 
 //  finally, startup messages
 [Flex] [INFO] Starting Adobe Flex Data Services 2.0 Express (beta
 period ends Jul 31, 2006)
 [Flex] [INFO] Adobe Flex Data Services Build: 138139
 [Flex] [INFO] Endpoint my-amf created with security: None
 at URI:
 http://{server.name}:{server.port}/{context.root}/messagebroker/amf
 [Flex] [INFO] Endpoint ms-rtmp created with security: None
 at URI: rtmp://{server.name}:2035
 [Flex] [INFO] RTMP-Server listening on port:2035







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

--

Re: [flexcoders] dynamic method attachment to SharedObject

2006-06-27 Thread Dominick Accattato



I think it has a client property which can point to a customclass with those methods. 
On 6/27/06, Mick Robin [EMAIL PROTECTED] wrote:







Hi,

I am working on a one to one chat application. I am using flex builder 2.0Beta 3 Flash Media Server 2.0. While working with sharedObject, I have comeacross a problem. I just wanted to attach a dynamic method to SharedObject the wayI used to do in 
AS2.0, AS1.0. The main issue is SharedObject class is no more dynamic.

Here is the code what I want to achieve in AS2.0

public var usersSO:SharedObject;

usersSO.msgFromSrvr= function(event:Object){msgFromSrvrHandler(event);
}

How can I achieve the same thing using AS3.0?

Thanks in advance..:)
Mick


Yahoo! Groups gets better. Check out the new email design.
 Plus there's much more to come. 

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
I tried to make a simple version but can't recreate the issue.

I put all the contents of the tabs into the first tab and removed the
others tabs but the issue was not fixed so it has nothing to do with
the other tabs.

The TitleWindow has 7(seven) remote object calls, all of which return
without an issue. Each tab contains a datagrid and graph for each
return from their corrosponding remote calls.

It is soo difficult to debug this.

I cannot understand why when you delete a popup suddenly the Busy
Cursor is shown and the the whole app comes to a grinding halt!

I guess I could just peay that it goes away!

Any other suggestions would be greatfully received.

Regards,

Iain

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

 Yep, but it was just a shot in the dark.
 I'm not sure what really happens in your app.
 Maybe you can create a minmal version of your source to reproduce
your problem.
 
 Cheers,
 Ralf.
 
 On 6/27/06, digital_eyezed [EMAIL PROTECTED] wrote:
  Hi Ralf,
 
  Thanks for the help, I tried to call destroyAllChildren() on the
  TabNavigator, but this did not help. Is that what you mean?
 
  Cheers,
 
  Iain
 
  --- In flexcoders@yahoogroups.com, Ralf Bokelberg
  ralf.bokelberg@ wrote:
  
   Hi Iain
   What if you remove items from the tabnavigator just before closing?
   Cheers,
   Ralf.
  
   On 6/27/06, digital_eyezed iain.mclean@ wrote:
Ok,
   
I think I have narrowed the issue down to the components
within the
TitleWindow. I have a TabNavigator within the popup and when
there is
more than one tab this issue is seen. If I remove all but one tabs
from the tabnavigator the popup deletes without issue.
   
However, I can't work out why!
   
Is this something to do with the creationpolicy? Being that the
underlying tabs contents have not been drawn yet?
   
I tried clicking on all the tabs before I closed the
tabnavigator to
ensure they were all initialized but this didn't cure the problem.
   
Any thoughts would be greatly appreciated.
   
Regards,
   
Iain
   
--- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@
wrote:

 Hi,

 I have a standard popup using:

 mx.managers.PopUpManager.createPopUp
 (this,myTitlewindow,isModal,init);

 where myTitlewindow is a custom TitleWindow component.

 This all works fine and within the TitleWindow I have a
number of
 RemoteObjects which gather data from the server, all of this
works
 fine.

 When I click the close button for the TitleWindow using
 click=handleClick();

 function handleClick(event){
  doLater(this, deletePopUp);
 }
 The popup deletes as expected, however the showBusy cursor
appears
 and suddenly everything starts to slow down and eventually
it looks
 like someone has stolen at least 512Mb Ram out my PC! I have
checked
 the RemoteObject calls and none of them are being called on
deletion
 of the popup.

 Please help, this is really doing my head in!

 Cheers,

 Iain

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







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

* 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] FB2 :: Switchig Workspaces

2006-06-27 Thread Michael Schmalle



Hello,

Could anyone shed some light on this for me?

When you start Flex builder and have you default workspace located in
MyDocuments, what is the difference between just creating a new project
and setting the folder location in the Project Contents field and
actually using File - Switch Workspace?

I have not used eclipse enough to understand the actual difference of
switching workspaces verses just not using the default file location.

When you switch workspaces, FB2 restarts back to a fresh layout and the help comes up again. What is it doing?

This would be a nice one to figure out.

Peace, Mike-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Developing RIA book

2006-06-27 Thread klumikaze
http://www.amazon.co.uk/exec/obidos/ASIN/059652689X/qid=1151415448/sr=1-2/ref=sr_1_1_2/203-7642234-7931963

I'm actually talking about that one.

Thanks,

Brian

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

 Hello klumikaze,
 
 
  There's a new Flex 2 book coming out shortly... saw it online as being
   available soon from Amazon, Chapters, etc.
 
 May be you are talking about this book due to 31/08/2006:
 Adobe Flex 2: Training from the Source written by Jeff Tapper

http://www.amazon.co.uk/gp/product/032142316X/203-2712252-9732758?v=glancen=266239
 -- 
 Best regards,
  Andriymailto:[EMAIL PROTECTED]








 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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: FB2 :: Switchig Workspaces

2006-06-27 Thread Michael Schmalle



Well,

Maybe I will answer my own question now that I have got it out of my head.

Switching workspaces allows you to create specific folder roots for
independent projects. This way there is no 'noise' from other unrelated
'project areas'.

For example, If I have a set of components that go together I would
create a dir, ComponentSet1, and 'switch' to this workspace. If I have
a ComponentSet2, I would also have another directory and switch to that
workspace when working on ComponentSet2.

The idea then of selected different directories when creating a new Project just then aggregates finner control of locations.

Does that sound right?

Peace, MikeOn 6/27/06, Michael Schmalle [EMAIL PROTECTED] wrote:
Hello,

Could anyone shed some light on this for me?

When you start Flex builder and have you default workspace located in
MyDocuments, what is the difference between just creating a new project
and setting the folder location in the Project Contents field and
actually using File - Switch Workspace?

I have not used eclipse enough to understand the actual difference of
switching workspaces verses just not using the default file location.

When you switch workspaces, FB2 restarts back to a fresh layout and the help comes up again. What is it doing?

This would be a nice one to figure out.

Peace, Mike-- What goes up, does come down.

-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FB2 :: Switchig Workspaces

2006-06-27 Thread Douglas Knudsen



a workspace is more of a saved setup, a collection of project metadata, has nothing to do with where your project files are actually stored. You may for instance have a workspace dedicated to Client 1 and one dedicated to Client 2, etc. Now for each workspace, your project files can be stored anywhere. 
points to note about the FB plugin: Don't set your workspace anywhere inside your webroot, causes problems. A neat thing about the FB plugin, if you set up your project as using remote services, when FB builds your project, it automagically copies all needed files to your webroot. (note that based on the above discussion your project will NOT be located in your webroot) ah the magik of Ant! 
DKOn 6/27/06, Michael Schmalle [EMAIL PROTECTED] wrote:



Hello,

Could anyone shed some light on this for me?

When you start Flex builder and have you default workspace located in
MyDocuments, what is the difference between just creating a new project
and setting the folder location in the Project Contents field and
actually using File - Switch Workspace?

I have not used eclipse enough to understand the actual difference of
switching workspaces verses just not using the default file location.

When you switch workspaces, FB2 restarts back to a fresh layout and the help comes up again. What is it doing?

This would be a nice one to figure out.

Peace, Mike-- What goes up, does come down.




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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Popup deletion and memory issue in 1.5

2006-06-27 Thread Tom Chiverton
On Tuesday 27 June 2006 14:24, digital_eyezed wrote:
 I cannot understand why when you delete a popup suddenly the Busy
 Cursor is shown and the the whole app comes to a grinding halt!

Maybe you are firing some event during the hide/close event in a handler 
somewhere, and this is causing a blow up ?

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

* 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: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
I tried to make a simple version but can't recreate the issue.

I put all the contents of the tabs into the first tab and removed the
others tabs but the issue was not fixed so it has nothing to do with
the other tabs.

The TitleWindow has 7(seven) remote object calls, all of which return
without an issue. Each tab contains a datagrid and graph for each
return from their corrosponding remote calls.

It is soo difficult to debug this.

I cannot understand why when you delete a popup suddenly the Busy
Cursor is shown and the the whole app comes to a grinding halt!

I guess I could just pray that it goes away!

Any other suggestions would be greatfully received.

Regards,

Iain

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

 Yep, but it was just a shot in the dark.
 I'm not sure what really happens in your app.
 Maybe you can create a minmal version of your source to reproduce
your problem.
 
 Cheers,
 Ralf.
 
 On 6/27/06, digital_eyezed [EMAIL PROTECTED] wrote:
  Hi Ralf,
 
  Thanks for the help, I tried to call destroyAllChildren() on the
  TabNavigator, but this did not help. Is that what you mean?
 
  Cheers,
 
  Iain
 
  --- In flexcoders@yahoogroups.com, Ralf Bokelberg
  ralf.bokelberg@ wrote:
  
   Hi Iain
   What if you remove items from the tabnavigator just before closing?
   Cheers,
   Ralf.
  
   On 6/27/06, digital_eyezed iain.mclean@ wrote:
Ok,
   
I think I have narrowed the issue down to the components
within the
TitleWindow. I have a TabNavigator within the popup and when
there is
more than one tab this issue is seen. If I remove all but one tabs
from the tabnavigator the popup deletes without issue.
   
However, I can't work out why!
   
Is this something to do with the creationpolicy? Being that the
underlying tabs contents have not been drawn yet?
   
I tried clicking on all the tabs before I closed the
tabnavigator to
ensure they were all initialized but this didn't cure the problem.
   
Any thoughts would be greatly appreciated.
   
Regards,
   
Iain
   
--- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@
wrote:

 Hi,

 I have a standard popup using:

 mx.managers.PopUpManager.createPopUp
 (this,myTitlewindow,isModal,init);

 where myTitlewindow is a custom TitleWindow component.

 This all works fine and within the TitleWindow I have a
number of
 RemoteObjects which gather data from the server, all of this
works
 fine.

 When I click the close button for the TitleWindow using
 click=handleClick();

 function handleClick(event){
  doLater(this, deletePopUp);
 }
 The popup deletes as expected, however the showBusy cursor
appears
 and suddenly everything starts to slow down and eventually
it looks
 like someone has stolen at least 512Mb Ram out my PC! I have
checked
 the RemoteObject calls and none of them are being called on
deletion
 of the popup.

 Please help, this is really doing my head in!

 Cheers,

 Iain

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








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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: Setting row focus when user clicks in a column using ItemRenderers

2006-06-27 Thread csherwood999
Well, that's what I'm currently doing, the problem is I haven't 
found an attribute/property that tells me what row the current cell 
is in...if you have any ideas, that would be welcome :)

Chad

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

 On Tuesday 27 June 2006 00:36, csherwood999 wrote:
  I have noticed that I can click into any of my item Renderers 
without
  actually selecting the entire row.  How can I force the row to 
be
  highlighted when the user clicks into an itemRenderer?
 
 I guess you'll need to do something in the click event handler.
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 We are pleased to announce that Halliwells LLP has been voted AIM 
Lawyer of the Year at the 2005 Growth Company Awards







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

* 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] Flex2B3 - flex and url variables

2006-06-27 Thread Luís Gustavo Sanabio



Hi...

 I'm using php file instead html wrapper. So, I get the querystrings.. look:


AC_FL_RunContent(src, legume,width, 100%,height, 100%,align, middle,id, legume,
quality, high,bgcolor, #869ca7,name, legume,flashvars,'myID=?=$_GET['myID']?date=?=$_GET['date']?',
allowScriptAccess,sameDomain,type, application/x-shockwave-flash,pluginspage, http://www.macromedia.com/go/getflashplayer

So... I can use now:
http://www..com.br/myapplication.php?myID=100date=10/10/2006
Gustavo
2006/6/27, bhaq1972 [EMAIL PROTECTED]:
i was looking in the archives. the issue was raised a few months ago.however i wasn't able to make Matt Horn or Abdul's code work.
my problem - i want to pass request data using query string to thehtml wrapper.eg http://myserver/myflexapp.html?foo=barit would be nice if it was easy like doing
http://myserver/myflexapp.swf?foo=bar(then i can use the parameters property)...which brings me to my next question.are there any issues requesting the swf (as opposed to the html
page) directly in a deployed environment.thanks Yahoo! Groups Sponsor ~--Something is new at Yahoo! Groups.Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~---
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FB2 :: Switchig Workspaces

2006-06-27 Thread Michael Schmalle



See this is the thing;

I'm not using the plugin, never used Eclipse for Java and haven't used
Ant. Just swallowing to many things at once. I have Eclipse installed
and used the plugin for beta2 but, since I mainly use FB2 for component
development I didn't see a need for the full meal deal.

Am I wrong here? I asked this question awhile ago and remember someone
saying that if you need certain things from Eclipse, use the plugin. I
really am not an Application dev, so I didn't see the need.

As far as I see it now with the standalone, using different workpsaces
limits all the different projects that I don't want to look at given my
current component development set.

Peace, MikeOn 6/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote:









  



a
workspace is more of a saved setup, a collection of project metadata,
has nothing to do with where your project files are actually
stored. You may for instance have a workspace dedicated to Client
1 and one dedicated to Client 2, etc. Now for each workspace,
your project files can be stored anywhere. points to note about the FB plugin: Don't set your
workspace anywhere inside your webroot, causes problems. A neat
thing about the FB plugin, if you set up your project as using remote
services, when FB builds your project, it automagically copies all
needed files to your webroot. (note that based on the above
discussion your project will NOT be located in your
webroot) ah the magik of Ant! DKOn 6/27/06, Michael Schmalle 
[EMAIL PROTECTED] wrote:



Hello,

Could anyone shed some light on this for me?

When you start Flex builder and have you default workspace located in
MyDocuments, what is the difference between just creating a new project
and setting the folder location in the Project Contents field and
actually using File - Switch Workspace?

I have not used eclipse enough to understand the actual difference of
switching workspaces verses just not using the default file location.

When you switch workspaces, FB2 restarts back to a fresh layout and the help comes up again. What is it doing?

This would be a nice one to figure out.

Peace, Mike-- What goes up, does come down.




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

  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] XML with namespaces HTTPService

2006-06-27 Thread iloirdnam
Hello,

I'm trying to navigate the following XML source ins AS3:
?xml version=1.0 encoding=UTF-8?
config
book xmlns=http://anamespace.com;
  titleHello/title
/book

with the following code :
{
...
hs = new HTTPService();
hs.concurrency = last;
hs.resultFormat = e4x;
hs.addEventListener(result,dataReceived);
hs.send();
}

private function dataReceived(e:ResultEvent):void
{
  xmlContent = XML(e.result);
  trace(xmlContent) // Ok dump all xml content
  trace(xmlContent.book) // dump nothing
}

With no namespace, this code works.

How can I do?







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

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

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





RE: [flexcoders] Can Flex record audio locally?

2006-06-27 Thread Andrew Trice










You can definitely show the sound wave in
flex without any 3rd party tools. Take a look at this:



http://blog.benstucki.net/?id=18




Getting access to the raw sound data is a
different story.





_

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 John C. Bland II
Sent: Tuesday, June 27, 2006 12:47
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex
record audio locally?











So you can't receive callbacks from .Net when the
waves change, etc? Maybe even have Flex use NetStream to connect with .Net to
play the live stream back. 

I don't know. I haven't used Rebus so I'm not sure. Either way, I don't think
there is an option available at this present time using Flex locally with no
streaming server. 



On 6/26/06, Jeremy
Lu [EMAIL PROTECTED]
wrote:












Yap, I'm playing with Rebus lately and surely it provide sound recording
capability (via .NET) but that's really not quite enough, what if I need to
show the sound wave in Flex 2 or do some simple sound editing, this is where
flex 2 (as a UI front-end) come short of. 

Btw, letting flash player do some low level mic/sound stream processing doesn't
really means it will rule out FMS, they are for very different kind of use
cases in my opinion.

Jeremy.



On 6/26/06, John C. Bland II [EMAIL PROTECTED]
wrote: 

















I don't recall anything. What they can do is look into
Rebus by MDM. It is in beta/testing right now. This is if they are bent on
using Flex for the UI. They could do it all with .Net but Flex would most
likely provide the front-end and Flash Player the install base they'd like. 

http://www.mdmforum.com/forum/index.php?showtopic=16153hl=rebus


We built a sound recording app using Flash 8 and Zinc 2.5 so they aren't bound
to Rebus if they don't want to be Windows specific.









On 6/26/06, Mike Potter  [EMAIL PROTECTED] 
wrote:











Hi all:
Drupal is looking to create a project that will allow users to record
audio locally and then upload that audio to the server. Does Flex allow
developers to record audio to shared object and store it locally?

I think the answer to this is no and that developers need Flash Media
Server to record video and audio, but I just want to make sure.

Thanks,

Mike

























-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org
- Home of FMUG.az 


































-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org - Home of
FMUG.az 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: FB2 :: Switchig Workspaces

2006-06-27 Thread ben.clinkinbeard
Michael, you can also use the Go into link on the context menu when
you right click on a project name. That will effectively hide
everything outside that project from view.

While we're on the subject though, can anyone point me to a decent
Eclipse basics reference? Book, web site, whatever, I would just
like to feel a little more comfortable in the app. I plan on using it
for Flex, non-Flex Flash dev and have even begun using it for HTML/CSS
work, but I still feel like I am kinda fumbling around in it.

Thanks,
Ben





 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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] Flash Player 9 and old scripts

2006-06-27 Thread Derek Vadneau
Is ExternalInterface the only way to communicate with the SWF from/to
JavaScript?

Does SetVariable/GetVariable and other commands work with Flash Player 9?

Will old scripts bail with updated content?

-- 

Derek Vadneau


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] ClassUtil.Find Class and _global - Flex 2

2006-06-27 Thread karthikeyanik
Hi,

1)   In Flex 1.5,
 ClassUtil.findClass(className) returns the constructor 
Function of the given className. What is the equivalent function in 
Flex2.0.

2) _global has been removed in Flex2.0. What is the alternative?

Thanks in Advance,
Karthi





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

* 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] Integrated JRun Axis Deployment..

2006-06-27 Thread Cathy Reilly





Before adding Flex to the mix, recommend that you get 
Apache Axis 2 running in a web app on the JRun server. Once that's 
running successfully, add Flex 2 to the mix.

Some settings in /WEB-INF/jrun-web.xml, which you may find 
useful -

load-system-classes-firstfalse/load-system-classes-firstenable-jrun-web-servicesfalse/enable-jrun-web-services

- Cathy


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tolulope 
OlonadeSent: Tuesday, June 27, 2006 3:50 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Integrated JRun Axis 
Deployment..


Has 
anybody deployed the Apache axis 2 into the Flex 2 Beta 3 Integrated Jrun 
server?

Deploys 
well but when I call up the happyaxis.jsp test page it throws 
exception.

Thanks 
for any help.

Regards 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex2 B3 - Scroll Bar problems

2006-06-27 Thread thunderstumpgesatwork
I still think something is going on here... the static size on the
text area is irrelevant (and in my real property sheets, doesn't even
exist). The actual property sheet is a canvas full of quite a few
controls.

You say that minHeight and minWidth are used with percentage sizes.
That's exactly what I'm trying to do. See the example below where the
minHeight and minWidth have been set along with percentages (and I
took out the static sizes on the text area for clarity). When the size
of the property sheet reaches the minimum height and width, the
container should show it's scrollbars. It doesn't (or rather they're
clipped). What I want is the mins to kick in when the canvas becomes
too small, and that cause the container to show it's scrollbar. As the
application window is made smaller, the containers should resize
dynamically (they do for a little bit), and never clip the scrollbars.
The only minHeight/minWidth I set is inside the container that should
scroll the property sheet. Make sense? 

Thunder

?xml version=1.0 encoding=utf-8?
mx:Application 
xmlns:mx=http://www.adobe.com/2006/mxml; 
xmlns=* 
layout=horizontal 
height=100% width=100%
verticalScrollPolicy=off
horizontalScrollPolicy=off
clipContent=false

mx:HDividedBox 
height=100% width=100%
creationPolicy=all
verticalScrollPolicy=off
horizontalScrollPolicy=off
clipContent=false

mx:Canvas id=LeftPanel width=30% height=100% /

mx:VBox id=propertySheetContainer 
width=70% height=100% 
horizontalScrollPolicy=auto 
verticalScrollPolicy=auto 
clipContent=true

mx:Canvas id=PropertySheet 
height=100% width=100%
minHeight=450
minWidth=550

mx:TextArea height=100% width=100% /
/mx:Canvas
/mx:VBox
/mx:HDividedBox
/mx:Application




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

 minHeight and minWidth are usually used in conjunction with 
 percentage-based height and width.  When the content becomes too 
 small to view, the min values kick in.  This isn't a bug.  It just 
 depends on how you set-up your view.  If you set the minHeight/Width 
 of the canvas to an explicit value and the canvas' container 
 (HDividedBox) has scroll polices = false, the parent container 
 acts like a mask; the scrollBars will not be visible or accessible 
 because the underlying canvas extends beyon the parent's 
 dimensions.  Does this make sense?  Since you explicitly defined the 
 size of the text area, it will never get smaller than the set height 
 and width dimensions.  Your choice here is whether to show 
 scrollBars up the displayList or not.  It's actually quite logical.  
 It just takes some forethought to apply correctly.  I learned a 
 couple of things from answering your question.  Especially the 
 clipContent=false behavior.  Thanks.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, thunderstumpgesatwork 
 thunder.stumpges@ wrote:
 
  Thanks for that info. This sounds like a bug then.
  
  Why would setting the minHeight/Width on a child of a container 
 cause
  the scrollbars for that container not to show properly?
  
  The minHeight and minWidth is necessary to prevent the canvas (or
  actually I have a whole component) from sizing too small. This 
 setting
  of the minHeight and minWidth should cause the scrollbars to show 
 on
  it's parent container right?
  
  This definitely seems like a bug to me.
  
  Thunder
  
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
   It was actualy working.  But, you couldn't see the scroll bars 
   because the canvas had a minHeight and minWidth that placed the 
   scrollbars out of view.  The sample code below is one way the 
 you 
   can get the desired results.  clipContent and scroll policies 
 work 
   together.  If the clipContent property is false, a container 
 lets 
   its child extend past its boundaries. Therefore, no scroll bars 
 are 
   necessary, and Flex never displays them, even if you set 
   horizontalScrollPolicy and verticalScrollPolicy to on.
   
   Hope that this helps,
   -TH
   
   ?xml version=1.0 encoding=utf-8?
   mx:Application
   xmlns:mx=http://www.adobe.com/2006/mxml;
   xmlns=*
   layout=horizontal
   height=300 width=400
   verticalScrollPolicy=off
   horizontalScrollPolicy=off
   
   mx:HDividedBox
   height=100% width=100%
   creationPolicy=all
   verticalScrollPolicy=off
   horizontalScrollPolicy=off
   
   mx:Canvas id=LeftPanel width=30% height=100% /
   
   mx:VBox 

[flexcoders] Re: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
Hi, the only events are fired on creation (go get the remote objects
etc). I do have a change on the tab navigator which refreshes the data
for the corresponding tab though, I will look into that.

It seems to be linked to the firing of multiple different remote objects.

i.e. if I go to remoteobect1 and get a return from method 1 thats
fine, however as soon as i add remoteObject2 it causes this issue
although all the remote objects fire and provide results as expected,
its just when I close the Popup I see the busy cursor etc.

Really weird!

Iain

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

 On Tuesday 27 June 2006 14:24, digital_eyezed wrote:
  I cannot understand why when you delete a popup suddenly the Busy
  Cursor is shown and the the whole app comes to a grinding halt!
 
 Maybe you are firing some event during the hide/close event in a
handler 
 somewhere, and this is causing a blow up ?
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 We are pleased to announce that Halliwells LLP has been voted AIM
Lawyer of the Year at the 2005 Growth Company Awards







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] Skinning Flex2 Tree Controls to an Expandable Menu

2006-06-27 Thread Michael van Leest
Cool... Thanks. That might come in handy sometime...

Michael


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: XML with namespaces HTTPService

2006-06-27 Thread ben.clinkinbeard
This link may be helpful
http://groups.yahoo.com/group/flexcoders/message/39090?threaded=1var=1p=24

I have gone through fits using default namespaces in AS3. If you can
avoid them I would. If not, hopefully that thread will help; I found
QName objects to be the most convenient in most instances.





 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

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

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




Re: [flexcoders] Re: FB2 :: Switchig Workspaces

2006-06-27 Thread Michael Schmalle



 Go into

I didn't even realize that. Until I prove myself wrong, a new workspace for a component set seems to work pretty good for me.

I need someone form Adobe to tell me this is wrong and the reasons.
Specifically component sets seem to fit good in this ... repeat, I have
no idea.

I'm sure there are choices and consequences to everything I do.

I see what using a new workspace does, it creates the .metadata folder in the root folder that you use.

Peace, MikeOn 6/27/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:









  



Michael, you can also use the Go into link on the context menu when
you right click on a project name. That will effectively hide
everything outside that project from view.

While we're on the subject though, can anyone point me to a decent
Eclipse basics reference? Book, web site, whatever, I would just
like to feel a little more comfortable in the app. I plan on using it
for Flex, non-Flex Flash dev and have even begun using it for HTML/CSS
work, but I still feel like I am kinda fumbling around in it.

Thanks,
Ben


  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Using JMS Adapter: 'javax.naming.NamingException unknown protocol : joram.

2006-06-27 Thread Cathy Reilly
 I testes my JMS destination by coding MessageDrivenBean that subscribe to the 
 topic and it works fine.

Could you include the 'message-driven' definition in ejb-jar.xml as well as any 
application specific configuration file that may map resource-ref or 
resource-env-refs to actual jndi names?

The ClassCastException that you're seeing is due to a failure in the jndi 
lookup on the destination.

 Could you give me more explanations of these properties 
 (Context.INITIAL_CONTEXT_FACTORY,Context.PROVIDER_URL)?

The properties used by Flex are the ones defined by the naming api - 
http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/Context.html

And, be sure that the troubleshooting JSP page is working first.

- Cathy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of HOUMANI 
Nawal RD-BIZZ-ISS
Sent: Monday, June 26, 2006 11:46 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Using JMS Adapter: 'javax.naming.NamingException 
unknown protocol : joram.

Thanks for your reply.

I testes my JMS destination by coding MessageDrivenBean that subscribe to the 
topic and it works fine.

What I have done since  I posted my subject is to change the properties : 
 
Context.INITIAL_CONTEXT_FACTORY=com.sun.jndi.rmi.registry.RegistryContextFactory
And Context.PROVIDER_URL=rmi://localhost:1099

And i Have another error :

java.lang.ClassCastException
at flex.messaging.services.messaging.adapters.JMSProxy.getDestination(JM
SProxy.java:186)
at flex.messaging.services.messaging.adapters.JMSTopicConsumer.start(JMS
TopicConsumer.java:59)
at flex.messaging.services.messaging.adapters.JMSAdapter.manage(JMSAdapt
er.java:343)
at flex.messaging.services.MessageService.manageSubscriptions(MessageSer
vice.java:510)
at flex.messaging.services.MessageService.serviceCommand(MessageService.
java:151)
at flex.messaging.MessageBroker.routeCommandToService(MessageBroker.java
:640)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp
oint.java:294)
at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(Abst
ractRTMPServer.java:653)
at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTM
PConnection.java:650)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:643)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:668)
at java.lang.Thread.run(Thread.java:534)
Exception in RtmpReader thread: java.lang.ClassCastException
java.lang.ClassCastException
at flex.messaging.services.messaging.adapters.JMSProxy.getConnectionFact
ory(JMSProxy.java:173)
at flex.messaging.services.messaging.adapters.JMSTopicConsumer.start(JMS
TopicConsumer.java:72)
at flex.messaging.services.messaging.adapters.JMSAdapter.manage(JMSAdapt
er.java:343)
at flex.messaging.services.MessageService.manageSubscriptions(MessageSer
vice.java:510)
at flex.messaging.services.MessageService.serviceCommand(MessageService.
java:151)
at flex.messaging.MessageBroker.routeCommandToService(MessageBroker.java
:640)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp
oint.java:294)
at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(Abst
ractRTMPServer.java:653)
at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTM
PConnection.java:650)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:643)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:668)
at java.lang.Thread.run(Thread.java:534)


Could you give me more explanations of these properties 
(Context.INITIAL_CONTEXT_FACTORY,Context.PROVIDER_URL)?

I will try to test my jms topic using the jsp code you give me.

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Cathy 
Reilly
Envoyé : lundi 26 juin 2006 17:08
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Using JMS Adapter: 'javax.naming.NamingException 
unknown protocol : joram.

Here's my advice on troubleshooting the issue.

In flex-enterprise-services.xml (may be called services-config.xml depending on 
which prerelease you're using), enable logging and the debug level and check 
your server console for errors.

Another thing that might be helpful is ensure that you can reach the 
destinations via jndi.  You can do this by using a jsp page. If the page runs 
without stack traces, then you know that your jndi and jms factory and 
destination are configured correctly. Be sure to update 
flex-message-service.xml with those jndi names.  If you have troubles running 
the jsp page, the destinations are not configured correctly and you should 
check your 

Re: [flexcoders] Re: Setting row focus when user clicks in a column using ItemRenderers

2006-06-27 Thread Tom Chiverton
On Tuesday 27 June 2006 13:14, csherwood999 wrote:
 Well, that's what I'm currently doing, the problem is I haven't
 found an attribute/property that tells me what row the current cell

It's something like
event.currentTarget.selectedRow

Check the docs.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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: div like behaviour?

2006-06-27 Thread klumikaze
Finally got it to work, thought I would offer the code to anybody who
wants this in Flex 2.

I changed it a little bit, I made a custom component that extends Box
(called FBox... F for Flow). Anyway, not sure how flexible it is, but
it should be a good start for somebody looking to do something like this.

package com.myComponents.ui
{
import mx.containers.Box;
import mx.core.EdgeMetrics;
import mx.core.UIComponent;

public class FBox extends Box
{
public function FBox()
{
super();
}

override protected function 
updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth, unscaledHeight);
var vm:EdgeMetrics = viewMetricsAndPadding;

var lastX:Number = vm.left;
var lastY:Number = vm.top;

var rowHeight:Number = 0;

for (var i:Number = 0; i  numChildren; i++)
{
var child:Object = getChildAt(i);

if (lastX + child.width  unscaledWidth - 
vm.right)
{
lastX = vm.left;
lastY += rowHeight;
}

child.move(lastX, lastY);

lastX += child.width;
rowHeight = Math.max(rowHeight, child.height);
}   
}
}
}
--- In flexcoders@yahoogroups.com, klumikaze [EMAIL PROTECTED] wrote:

 I've been trying to get the Flow.as code working in Flex 2...
 
 I've discovered that layoutChildren() is now updateDisplayList() and
 that the Container class is now under mx.core.
 
 Can anybody point me in the right direction for something else that
 might have changed? Or even if there is a new way to do this with the
 new Flex 2 containers.
 
 Thanks for your time,
 
 Brian
 
 
 --- In flexcoders@yahoogroups.com, Manish Jethani manish.jethani@
 wrote:
 
  On 9/30/05, flexhansen borendex@ wrote:
  
   Is there an easy way to achieve mx:Tile behaviour but without the
   tiles being of equal size?
  
   In other words I'm looking for something like the div-tag of
plain old
   html that wraps content to fit the width prop. instead of putting up
   scrollbars.
  
  You mean flow layout?
  
  // Flow.as
  
  /**
   *  Implements flow layout for Flex.
   */
  class Flow extends mx.containers.Container
  {
public function layoutChildren():Void
{
  var vm:Object = getViewMetricsAndMargins();
  
  var lastX:Number = vm.left;
  var lastY:Number = vm.top;
  
  var rowHeight:Number = 0;
  
  for (var i:Number = 0; i  numChildren; i++)
  {
var child:Object = getChildAt(i);
  
if (lastX + child.preferredWidth  layoutWidth - vm.right)
{
  lastX = vm.left;
  lastY += rowHeight;
}
  
child.move(lastX, lastY);
  
lastX += child.preferredWidth;
rowHeight = Math.max(rowHeight, child.preferredHeight);
  }
  
  super.layoutChildren();
}
  }
  
  You should also override the 'measure' method to enable the container
  to correctly measure itself.  The above code only does the job of
  laying out (which is okay if you're always specifying a width and
  height explicitly).
 








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

* 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] Set up FlexUnit with Flex Builder Eclipse plugin

2006-06-27 Thread ssundke
Hi, I just downloaded FlexUnit (from 
http://www.iterationtwo.com/open_source_flexunit.html) to see if i 
could get started with it. 

Im using Flex 2.0 Flex Builder plugin for Eclipse. How do I get it to 
work in this Eclipse? I tried to add the FlexUnit.swc to the Project -
 Properties - Flex Build Path - Library Path. But it gives me a 
build log saying 
Unable to load SWC FlexUnit.swc: unknown element swc found in 
componentPackage section in catalog.xml

Which catalog xml is it referring to?






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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] Event mask issue for charts

2006-06-27 Thread dave_bonnell_bmc
We have an application in which we create multiple pods within a 
VDividedBox container.  Each pod is essentially a HBox with two 
charts (mx:BarChart and mx:PieChart) for arguments sake.

When a pod is deleted from the container the vertical area of charts 
in the remaining child pods that responds to mouse over and clicks 
is diminished by around the height that the child gained.

For example, if there were three pods and one was removed then each 
child gains roughly 1/2 of the height of the removed pod and it is 
roughly this area from the bottom of the chart (above the axis) that 
no longer responds to mouse over and mouse click events.

The problem goes away when adding a new pod.

Using a VBox instead of VDividedBox makes no difference.  Decreasing 
the size of the last pod very small using the grips of the 
VDividedBox causes the same symptoms.

Calling invalidateLayout, invalidateSize, layoutChildren, measure on 
the container and all of the pods has no effect, resetting their 
height to 100% has no affect.  All of the same on the two charts 
within the pod has no effect.

It appears to be a problem in the way the chart components are 
calculating the area of the chart that should respond to mouseOver 
and click events.

Any ideas, suggestions on possible workarounds, etc. very much 
appreciated.





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Re: Setting row focus when user clicks in a column using ItemRenderers

2006-06-27 Thread Doug Lowder
Your item renderer should have a listData property, which is an 
instance of the BaseListData class.  There are rowIndex and owner 
properties of BaseListData that you can use to manipulate the 
selectedIndex or selectedIndices property of your dataGrid to select 
a row.

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

 I've got a datagrid with 4 columns, each with a different 
itemRenderer.
 
 I have noticed that I can click into any of my item Renderers 
without 
 actually selecting the entire row.  How can I force the row to 
be 
 highlighted when the user clicks into an itemRenderer?
 
 An example with an explanation would be great!
 
 Thanks,
 
 Chad








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] Properly binding an object to a custom component.

2006-06-27 Thread Ian Skinner
I am apparently not doing this.  What am I missing to properly bind an object 
from a repeater looping over an array of object to the custom component called 
in the repeater?

mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  mx:GridItem 
  width=14% 
  borderColor=black 
  borderThickness=1 
  borderStyle=solid
mx:Label 
text={dayCells.currentItem.formatedDate} /
ian:dayFormat2 
 drawData={dayCells.currentItem as drawDay}
 test={dayCells.currentItem.formatedDate} /
  /mx:GridItem
/mx:Repeater 

{days} is an array of drawDate.as objects returned with a remoteObject.   I can 
correctly bind properties of these drawDate objects in the lable and the test 
property of the dayFormat2 customComponent.  But I can NOT correctly bind the 
entire object over to dayFormat2.  What am I missing?

My current version of dayFormat2.mxml, I have tried several alternatives for 
this file.

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
  mx:Script
  ![CDATA[
import drawDay;

//Define public variables
[Bindable]
public var drawData:drawDay;

[Bindable]
public var test:String;
  ]]
  /mx:Script

  mx:DateFormatter id=dayNum formatString=DD /

  mx:HBox 
  backgroundColor=0x002649 
  width=100% 
  horizontalAlign=right
mx:Label 
text={test} 
color=white /
mx:HBox 
backgroundColor=0xAF1E2D 
horizontalAlign=center
  mx:Label 
  text={dayNum.format(drawData.date)}
  color=white  / 
/mx:HBox
  /mx:HBox

  mx:Label text=foobar /
/mx:VBox

The first label bound to the test String works correctly.  The second label 
bound to the drawData drawDay object date property does not work correctly.

What is the proper way to bind this object?


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

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

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] Flash Player 9 and old scripts

2006-06-27 Thread Matt Horn
I think fscommand() still works (googling for it will yield plenty of
info). setVariable() and getVariable() only worked with one of the major
browsers, IIRC. There's also the Flex-AJAX bridge
(http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge).

hth,

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau
 Sent: Tuesday, June 27, 2006 10:57 AM
 To: flexcoders
 Subject: [flexcoders] Flash Player 9 and old scripts
 
 Is ExternalInterface the only way to communicate with the SWF 
 from/to JavaScript?
 
 Does SetVariable/GetVariable and other commands work with 
 Flash Player 9?
 
 Will old scripts bail with updated content?
 
 -- 
 
 Derek Vadneau
 
 
  
 


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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: Customized Loading File

2006-06-27 Thread parksch2
Perfect, thanks Tracy!

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

 Search the livedocs for preloader.
 
 
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/js/ht
ml
 /wwhelp.htm
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of parksch2
 Sent: Wednesday, June 21, 2006 4:03 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Customized Loading File
 
  
 
 Is there a way to use a customized file in place of the built 
 in initializing... that comes up when you load a Flex application?
 
 TIA.








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

* 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] Embed(source,symbol) results in internal build error

2006-06-27 Thread Roger Gonzalez





Flex is unhappy about the SWF you're trying to embed. Your Embed 
syntax looks fine, but it appears that your SWF contains a button (built in 
Flash?) that is either corrupted, or else our decoder is getting out of sync for 
some other reason.

Since Flex doesn't really support Flash buttons very well anyway, can you 
strip this asset out of the SWF before embedding?

Even if you get it working, please submit a bug with your SWF, there 
aren't any cases where we consider uncaught exceptions to be 
acceptable.

-rg


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of martin 
  schioethSent: Tuesday, June 27, 2006 4:53 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  Embed(source,symbol) results in internal build error
  
  
  
  
  Hi,
  
  Im trying to embed an exported 
  symbol from a swf
  I get An internal build error has 
  occurred. Please check the Error Log.
  I have absolutely no idea how to 
  fix this, and im going slighty mad. I should think my syntax is exactly the 
  same as the documentation specifies.
  
  // ERROR LOG 
  ///
  Error 2006-06-27 13:32:57.817 
  Uncaught exception in compiler
  java.lang.IllegalArgumentException: 
  symbol 32006 not defined
   
  at flash.swf.Dictionary.getTag(Dictionary.java:172)
   
  at 
  flash.swf.TagDecoder.decodeButtonRecord(TagDecoder.java:2068)
   
  at 
  flash.swf.TagDecoder.decodeDefineButton2(TagDecoder.java:1211)
   
  at 
  flash.swf.TagDecoder.decodeTag(TagDecoder.java:285)
   
  at 
  flash.swf.TagDecoder.decodeTags(TagDecoder.java:169)
   
  at flash.swf.TagDecoder.parse(TagDecoder.java:119)
   
  at 
  flex2.compiler.media.MovieTranscoder.getDictionary(MovieTranscoder.java:162)
   
  at 
  flex2.compiler.media.MovieTranscoder.extractDefineTag(MovieTranscoder.java:188)
   
  at 
  flex2.compiler.media.MovieTranscoder.doTranscode(MovieTranscoder.java:84)
   
  at 
  flex2.compiler.media.AbstractTranscoder.transcode(AbstractTranscoder.java:128)
   
  at 
  flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:161)
   
  at 
  flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:71)
   
  at 
  flex2.compiler.as3.EmbedEvaluator.generateSource(EmbedEvaluator.java:259)
   
  at 
  flex2.compiler.as3.EmbedEvaluator.generateSources(EmbedEvaluator.java:324)
   
  at 
  flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:80)
   
  at 
  macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
   
  at 
  flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330)
   
  at 
  macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
   
  at 
  flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910)
   
  at 
  flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:244)
   
  at 
  macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
   
  at 
  flex2.compiler.as3.EmbedExtension.parse(EmbedExtension.java:39)
   
  at 
  flex2.compiler.as3.Compiler.parse(Compiler.java:313)
   
  at 
  flex2.compiler.mxml.ImplementationCompiler.parse(ImplementationCompiler.java:148)
   
  at 
  flex2.compiler.mxml.Compiler.parse(Compiler.java:89)
   
  at flex2.compiler.API.parse(API.java:1631)
   
  at flex2.compiler.API.parse(API.java:1592)
   
  at flex2.compiler.API.batch2(API.java:285)
   
  at flex2.compiler.API.batch(API.java:764)
   
  at flex2.compiler.API.compile(API.java:889)
   
  at com.adobe.flexbuilder.project.compiler.Compiler.compile(Unknown 
  Source)
   
  at 
  com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(Unknown 
  Source)
   
  at 
  com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown 
  Source)
   
  at 
  org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
   
  at 
  org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
   
  at 
  org.eclipse.core.runtime.Platform.run(Platform.java:783)
   
  at 
  org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
   
  at 
  org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
   
  at 
  org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
   
  at 
  org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
   
  at 
  org.eclipse.core.runtime.Platform.run(Platform.java:783)
   
  at 
  org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
   
  at 
  org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
   
  at 
  org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
   
  at 
  org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
   
  at 
  org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
   
  at 
  org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
  
   ERROR LOG 
  /
  

[flexcoders] Re: company branding in flex??

2006-06-27 Thread dandiodati
Has any one had to do company branding? Is there not a way to change the
external style sheet dynamically?

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

 I need to dynamically change the loaded external css script in within a
 flex application. It appears that the mx:Style tag imports the css and
 it gets compiled into the swf.
 There appears to be ways to change specific styles of classes or types
 using the StyleManager, but not to change the loaded external style
 sheet.
  
 Does anyway know of a way to do this?
  
 Dan








 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] Binding to Dynamic Object

2006-06-27 Thread Brendan Meutzner



Hi All,Wondering if anyone can clear up the issue surrounding binding to dynamic objects for me. I've got a data structure which I'm refactoring on the client side before using as a dataProvider instance. Because of the nature of the data, I dont' know exactly what properties the structure will contain. Thus, I've created an untyped Object and simply added the properties on as I need them. However, I get compiler warnings (yes only warnings) indicating that it's unable to bind to property... yada yada...
Now, I understand why I'm getting the warning, but I'm at a loss on how to create a solution that works, while avoiding these warnings. While the untyped Object solution does work (except for the annoying warnings), I'd really like to figure out the proper solution for this.
Any help is appreciated.Brendan

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Binding to Dynamic Object

2006-06-27 Thread Tom Bray



You can use an ObjectProxy to wrap your objects and make them bindable.-TomOn 6/27/06, Brendan Meutzner 
[EMAIL PROTECTED] wrote:








  



Hi All,Wondering if anyone can clear up the issue surrounding binding to dynamic objects for me. I've got a data structure which I'm refactoring on the client side before using as a dataProvider instance. Because of the nature of the data, I dont' know exactly what properties the structure will contain. Thus, I've created an untyped Object and simply added the properties on as I need them. However, I get compiler warnings (yes only warnings) indicating that it's unable to bind to property... yada yada...
Now, I understand why I'm getting the warning, but I'm at a loss on how to create a solution that works, while avoiding these warnings. While the untyped Object solution does work (except for the annoying warnings), I'd really like to figure out the proper solution for this.
Any help is appreciated.Brendan

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Custom Validator woes....

2006-06-27 Thread Suzy Lawson
I'm building an e-mail client where the To: field can have a comma
delimited array of e-mail addresses: [EMAIL PROTECTED], [EMAIL PROTECTED]

I have the validation occuring in the focusOut event, where I split
the To: field so I get an Array of e-mail addresses. 
var emails : Array = value.split(,);

I then want to loop through and validate each value. However, there is
no easy way to do this using the Flex SDK EmailValidator.as.

Ideally, I would think I could call a static method which would return
me a ValidationResultEvent, which I could then add to my component.
However, everything with the SDK EmailValidator class requires a
listener/source/trigger to be bound to it and no matter what I try to
doit looks at that To: field as one big String...I can't give it
just the iterated split value. 

Any ideas on this?? Is there a way to statically call a method without
having to pass in a reference to the EmailValidator object?







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

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

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




Re: [flexcoders] Re: company branding in flex??

2006-06-27 Thread Clint Modien



Ya there isn't a runtime styling framework. Would be very worth it to write one though...http://groups.yahoo.com/group/flexcoders/msearch?query=runtime+stylingsubmit=Searchcharset=ISO-8859-1
On 6/27/06, dandiodati [EMAIL PROTECTED] wrote:









  



Has any one had to do company branding? Is there not a way to change the
external style sheet dynamically?

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

 I need to dynamically change the loaded external css script in within a
 flex application. It appears that the mx:Style tag imports the css and
 it gets compiled into the swf.
 There appears to be ways to change specific styles of classes or types
 using the StyleManager, but not to change the loaded external style
 sheet.
  
 Does anyway know of a way to do this?
  
 Dan



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] PAIN - Debugging ColdFusion CFC Flex service call

2006-06-27 Thread Erich Cervantez










Yesterday I was debugging a situation where a Flex service
call to a ColdFusion CFC wasnt returning any records. Using netConnection
Debugger and ServiceCapture yielded the same information. The particular
query in question (within the CFC) being returned was undefined.
In actuality, there was a bug several lines before the query that was faulting,
thereby causing the query to never get executed and thus causing the variable
(recordset) from said query to never get defined.



Basically my problem was Flex never returned the proper
error. I had to hunt through the CFC, dropping in random CFDUMPS or
CFFILE statement (to dump variables to a log file) to try to find out what the
problem was. I actually had to use a CF application written to invoke the
CFC to see what the ColdFusion debugging output looked like.



I am using Flex 1.5 at the moment. Has anyone found
better ways to debug using Flex 1.5, and ColdFusion 7.0.1 CFCs?



Erich Cervantez

Las
  Vegas, NV






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-27 Thread Deepa Subramaniam










Hi Jordan 



You can keep track of the
verticalScrollPosition property in your DataGrid and upon receving UPDATES,
re-set the verticalScrollPosition to the previous value and the DataGrid will
jump to the last scroll position and show the correct content. 



-deepa











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jordan Snyder
Sent: Monday, June 26, 2006 7:34
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Keeping
DataGrid from scrolling to top on update to dataProvider











Hello All,

I am working on an app in which I poll the server quite frequently to get new
information. The information comes to me in an XML format that I simply
assign as the dataProvider for a DataGrid component. 

I have to keep in consideration the fact that the user may have selected a
certain row, and may want to delete that row even after an update to the
dataProvider is made, so I keep track of the selectedIndex property and
reselect upon an update.

But if the user has not selected a row, the DataGrid will automatically scroll
to the top upon an update, even if the user has scrolled to the bottom of the
grid. 

Is there a way around this? I found a way to scrollToIndex(), but no way
of getting the currently viewed items. It may have something to do with
the various renderer properties available on the DataGrid, but I have a very
limited understanding of this, so it's over my head.

Surely this problem has been run into before, but I can't seem to find the
right combination of search terms to figure out a method of solving it.

Does anyone have any ideas or proven methods for the problem? Any help
would be greatly appreciated.

Thank you,

Jordan Snyder
[EMAIL PROTECTED]
www.jordansnyder.com






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Flex 1.5. / DataGrid / change color of sortArrow

2006-06-27 Thread websectorde



How can I change the color of DataGrids sortArrow? I tried it over the headerRelease event, but I can't hold the new color value... Has anybody a solution??xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script ![CDATA[  private function fakeData() : Array  {   var myData: Array = new Array();   for(var i:Number = 0; i  100; i++)   {var data: Object = { colum1:'A' + i, colum2:'B' + i };myData.push(data);   }   return myData;  }private function styleSortArrow(event) : Void  {var arrow: MovieClip = event.target.sortArrow;   var my_color:Color = new Color(arrow);   my_color.setRGB(0xFF);  }   ]] /mx:Script  mx:DataGrid id="dg" headerColors="[#7C96A1, #43616E]" headerRelease="styleSortArrow(event)"   mx:dataProvider{ fakeData() }   /mx:dataProvider  /mx:DataGrid/mx:ApplicationThanks,sectore

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Can Flex record audio locally?

2006-06-27 Thread Jeremy Lu



Well, what I want  exactly is getting the raw sound data for processing and displaying inside Flash/Flex...Red 5 might not help here neither.On 6/27/06, 
Andrew Trice [EMAIL PROTECTED] wrote:









  











You can definitely show the sound wave in
flex without any 3rd party tools. Take a look at this:




http://blog.benstucki.net/?id=18




Getting access to the raw sound data is a
different story.





_


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:flexcoders@yahoogroups.com] On Behalf
Of John C. Bland II
Sent: Tuesday, June 27, 2006 12:47
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex
record audio locally?











So you can't receive callbacks from .Net when the
waves change, etc? Maybe even have Flex use NetStream to connect with .Net to
play the live stream back. 

I don't know. I haven't used Rebus so I'm not sure. Either way, I don't think
there is an option available at this present time using Flex locally with no
streaming server. 



On 6/26/06, Jeremy
Lu [EMAIL PROTECTED]
wrote:













Yap, I'm playing with Rebus lately and surely it provide sound recording
capability (via .NET) but that's really not quite enough, what if I need to
show the sound wave in Flex 2 or do some simple sound editing, this is where
flex 2 (as a UI front-end) come short of. 

Btw, letting flash player do some low level mic/sound stream processing doesn't
really means it will rule out FMS, they are for very different kind of use
cases in my opinion.

Jeremy.




On 6/26/06, John C. Bland II [EMAIL PROTECTED]
wrote: 


















I don't recall anything. What they can do is look into
Rebus by MDM. It is in beta/testing right now. This is if they are bent on
using Flex for the UI. They could do it all with .Net but Flex would most
likely provide the front-end and Flash Player the install base they'd like. 

http://www.mdmforum.com/forum/index.php?showtopic=16153hl=rebus


We built a sound recording app using Flash 8 and Zinc 2.5 so they aren't bound
to Rebus if they don't want to be Windows specific.











On 6/26/06, Mike Potter  [EMAIL PROTECTED] 
wrote:












Hi all:
Drupal is looking to create a project that will allow users to record
audio locally and then upload that audio to the server. Does Flex allow
developers to record audio to shared object and store it locally?

I think the answer to this is no and that developers need Flash Media
Server to record video and audio, but I just want to make sure.

Thanks,

Mike



























-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org
- Home of FMUG.az 



































-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org - Home of
FMUG.az 










  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: XML with namespaces HTTPService

2006-06-27 Thread klumikaze
http://www.darronschall.com/weblog/archives/000223.cfm

That will solve all of your issues. I just had the same problem. :)

Hope it helps...

Brian

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

 Hello,
 
 I'm trying to navigate the following XML source ins AS3:
 ?xml version=1.0 encoding=UTF-8?
 config
 book xmlns=http://anamespace.com;
   titleHello/title
 /book
 
 with the following code :
 {
 ...
 hs = new HTTPService();
 hs.concurrency = last;
 hs.resultFormat = e4x;
 hs.addEventListener(result,dataReceived);
 hs.send();
 }
 
 private function dataReceived(e:ResultEvent):void
 {
   xmlContent = XML(e.result);
   trace(xmlContent) // Ok dump all xml content
   trace(xmlContent.book) // dump nothing
 }
 
 With no namespace, this code works.
 
 How can I do?








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

* 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] Variable number of columns in ColumnChart

2006-06-27 Thread ben.clinkinbeard
Hello, I have a ColumnChart whose columns are based on selections in
another part of the app. So there can be anywhere between 1 and 4
column sets. Unfortunately, I can't figure out how to add the
ColumnSeries items dynamically, so my legend always has 4 items,
regardless of the actual data. Here are my ColumnChart and Legend objects:

mx:ColumnChart dataProvider={chartObj} id=column
mx:horizontalAxis
mx:CategoryAxis dataProvider={chartObj} 
categoryField=PAAge/
/mx:horizontalAxis
mx:series
mx:Array
mx:ColumnSeries displayName={arr_legend.getItemAt(0)}
yField={arr_legend.getItemAt(0)}/
mx:ColumnSeries displayName={arr_legend.getItemAt(1)}
yField={arr_legend.getItemAt(1)}/
mx:ColumnSeries displayName={arr_legend.getItemAt(2)}
yField={arr_legend.getItemAt(2)}/
mx:ColumnSeries displayName={arr_legend.getItemAt(3)}
yField={arr_legend.getItemAt(3)}/
/mx:Array
/mx:series
/mx:ColumnChart
mx:Legend dataProvider={column}/







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

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

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




Re: [flexcoders] Binding to Dynamic Object

2006-06-27 Thread Brendan Meutzner



Tom,Excellent... thank you.BrendanOn 6/27/06, Tom Bray [EMAIL PROTECTED] wrote:









  



You can use an ObjectProxy to wrap your objects and make them bindable.-TomOn 6/27/06, 
Brendan Meutzner 
[EMAIL PROTECTED] wrote:








  



Hi All,Wondering if anyone can clear up the issue surrounding binding to dynamic objects for me. I've got a data structure which I'm refactoring on the client side before using as a dataProvider instance. Because of the nature of the data, I dont' know exactly what properties the structure will contain. Thus, I've created an untyped Object and simply added the properties on as I need them. However, I get compiler warnings (yes only warnings) indicating that it's unable to bind to property... yada yada...
Now, I understand why I'm getting the warning, but I'm at a loss on how to create a solution that works, while avoiding these warnings. While the untyped Object solution does work (except for the annoying warnings), I'd really like to figure out the proper solution for this.
Any help is appreciated.Brendan

  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: company branding in flex??

2006-06-27 Thread Jim Cheng
dandiodati wrote:

 Has any one had to do company branding? Is there not a way to change the
 external style sheet dynamically?

As you've already noted, the CSS styles are compiled into the SWF at 
compile-time, so there isn't a quick way to together a SWF that'll be 
can load and apply external CSS files on the client-side.  However, you 
do have a few options.

Probably the simplest solution is to generate your MXML referencing your 
desired CSS file(s) on demand and compile the SWFs via Flex 1.5 or Flex 
Data Services for Flex 2.0 on your server upon request.

A trickier option would be write your own ActionScript classes to load 
in your CSS file, parse it, and apply the styles to the specified 
components at run-time.  Note that you don't necessarily have to define 
your styles in CSS though--in some of the projects that I've worked on, 
for instance, we went with a simpler JSON-style object tree containing 
name-value pairs for styles to be applied as CSS parsing, especially 
when done in ActionScript 1 or 2, isn't particularly all that fast. 
Unfortunately such functionality isn't built into the Flex Frameworks, 
so you will need to code it yourself.

If you do end up electing to write your own support for loading full-on 
CSS at run-time, Claus Wahlers had previously written open-source CSS 
parsers for Actionscript 1 and 2 that you might be able to reuse and 
extend for your purposes.  Though if you really do want do this, you 
really should seriously consider using ActionScript 3.0 as the heavy 
lifting involved takes quite a few seconds with the old AVM.  If you're 
interested, you can get these here:

   http://claus.packts.net/
   http://sourceforge.net/projects/ugo/

Jim



 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] Flash Player 9 and old scripts

2006-06-27 Thread Derek Vadneau



Thanks Matt.

I probably should have been more specific - my needs are IE-only so
that's why I asked about SetVariable/GetVariable. I thought they worked
in Netscape/Mozilla as well, but I could be wrong.

The FABridge looks really good. I'm thinking that's the way to go.
Seems like a lot of code implemented to replace SetVariable and
GetVariable, though.

One more: am I responsible to encode/escape the data or will
FABridge/ExternalInterface handle that? The ExternalInterface call
bundles everything up as XML, correct? Does the data need to be escaped
if I were to use invalid XML characters?

-- 

Derek Vadneau
On 6/27/06, Matt Horn [EMAIL PROTECTED] wrote:









  



I think fscommand() still works (googling for it will yield plenty of
info). setVariable() and getVariable() only worked with one of the major
browsers, IIRC. There's also the Flex-AJAX bridge
(http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge).

hth,

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Derek Vadneau
 Sent: Tuesday, June 27, 2006 10:57 AM
 To: flexcoders
 Subject: [flexcoders] Flash Player 9 and old scripts
 
 Is ExternalInterface the only way to communicate with the SWF 
 from/to _javascript_?
 
 Does SetVariable/GetVariable and other commands work with 
 Flash Player 9?
 
 Will old scripts bail with updated content?
 
 -- 
 
 Derek Vadneau
 
 
  
 

  
















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-27 Thread djbrown_rotonews
Is the beginFill/drawRect/endFill the only way to do it inside of 
set data() as well, or is there an alternate way?

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

 Got it, thanks :-)
 
 
 
 On 6/27/06, Joan Tan [EMAIL PROTECTED] wrote:
 
 I believe that this was suggested to me by Alex. I think your 
way
  should work too though.
 
 
   --
 
  *From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Jeremy Lu
  *Sent:* Monday, June 26, 2006 4:22 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] Re: coloring an entire cell in a 
DataGrid?
 
 
 
 
  hi Joan,
 
  Just wondering is there any particular reason that you don't 
change the
  background color in the data() setter like this:
 
  public function set data(value:Object 
http://../../../Object.html):voidhttp://../../../specialTypes.html
#void
  {
 
  if( value.myColumnName  50){
  //change bg to red
}else{
  //change to other color
}
 
  }
 
 
  Jeremy.
 
  On 6/27/06, *Joan Tan* [EMAIL PROTECTED] wrote:
 
  The color style of Text only affects the text and the not the
  background. Text doesn't actually have a background color so you 
must create
  an itemRenderer with a backgroundColor and then set it. This 
example was
  posted on another flexcoders thread entitled datagrid. This 
itemRenderer
  will turn the background of a row to red if the value of the 
column
   myColumnName in that row is over 50.
 
 
 
  package {
 
 
 
  import mx.controls.Label;
 
  import mx.controls.dataGridClasses.*;
 
  import mx.controls.DataGrid;
 
  import flash.display.Graphics;
 
  import mx.styles.StyleManager;
 
 
 
  [Style(name=backgroundColor, type=uint, format=Color,
  inherit=no)]
 
 
 
public class BackgroundComp extends Label {
 
 
 
 override protected function updateDisplayList
(unscaledWidth:Number,
 
 
 
  unscaledHeight:Number):void
 
 {
 
super.updateDisplayList(unscaledWidth, 
unscaledHeight);
 
 
 
var g:Graphics = graphics;
 
g.clear();
 
var grid1:DataGrid =
  DataGrid(DataGridListData(listData).owner);
 
if (grid1.isItemSelected(data) ||
  grid1.isItemHighlighted(data))
 
  return;
 
if (data.myColumnName  50)
 
{
 
  g.beginFill(0xFF);
 
  g.drawRect(0, 0, unscaledWidth, 
unscaledHeight);
 
  g.endFill();
 
  }
 
}
 
}
 
 
 
  }
 
 
 
 
   --
 
  *From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *djbrown_rotonews
  *Sent:* Monday, June 26, 2006 10:13 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: coloring an entire cell in a 
DataGrid?
 
 
 
 
  I'm using an itemRenderer to set the text color via the setStyle
  (color,color) construct, but it doesn't appear to be that 
simple
  for backgroundColor. Is the data() method part of the renderer 
API?
 
  --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com, Jeremy
  Lu wade.lu@ wrote:
  
   Using item renderer, yes.
  
   Check it in the manual and pay attention to data() method.
  
  
  
   On 6/26/06, djbrown_rotonews djbrown_rotonews@ wrote:
   
Is there a way to color the entire cell, and not sure the 
cell
  text
itself, inside a DataGrid?
   
   
   
  
 
 
 
   
 








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

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

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





Re: [flexcoders] Flex 2 released tomorrow

2006-06-27 Thread Pan Troglodytes



Not only have we seen rumors, we've seen posts by Adobe people. :Dhttp://www.mail-archive.com/flexcoders@yahoogroups.com/msg30570.html
On 6/27/06, Jeremy Rottman [EMAIL PROTECTED] wrote:









  



I was carousing the interweb and I found a post on g-unix. Has anyone
else heard these rumors about flex 2 being released tomorrow?

I for one would be extremely delighted to see the hard work of
adobe/mm come to fruition.


  













-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Question about putting a flex page up as a yahoo page

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

 I have a friend who recently brought a domain name. He has yahoo web
space  
 and ask asked me to make him a page using Flex. I was wondering is
it possible  
 to put a Flex page up on a yahoo server? I mean if you have the code
and  
 everything how do you do it? Do you just cute and paste it when you
edit the  
 site?


If you mean cut and paste the acctual mxml code. Then no you cant do
this. If you mean upload a compiled swf and load the swf then yes. 






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

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

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




RE: [flexcoders] Flex 2 released tomorrow

2006-06-27 Thread João Fernandes
Jeremy,

As you say, rumors. Adobe hasn't denied or confirm it but the end of the first 
half of 2006 is just around the corner so it might be true.


João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Jeremy Rottman
Sent: Tue 27-Jun-06 8:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 released tomorrow
 
I was carousing the interweb and I found a post on g-unix. Has anyone
else heard these rumors about flex 2 being released tomorrow?

I for one would be extremely delighted to see the hard work of
adobe/mm come to fruition.






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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

Re: [flexcoders] Question about putting a flex page up as a yahoo page

2006-06-27 Thread Nick Collins



with flex2 you can because it compiles to standalone SWFs, but they require player 9. With Flex 1-1.5 I don't believe you can because yahoo does not provide FES to their usersOn 6/27/06, 
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:









  






I have a friend who recently brought a domain name. He has yahoo web space 
and ask asked me to make him a page using Flex. I was wondering is it possible 
to put a Flex page up on a yahoo server? I mean if you have the code and 
everything how do you do it? Do you just cute and paste it when you edit the 
site?


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: company branding in flex??

2006-06-27 Thread mail




		There is an open source runtime styling framework in development and word that Adobe may be working toward runtime CSS for a future release (perhaps version 2.5 or 3). Please feel free to use the components that I have so far and provide feedback on your specific requirements for run-time CSS. Again, if anyone would like to contribute to this project, feel free to contact me personally.http://blog.benstucki.net/?id=22http://osflash.org/admin/new_project#as3_style
		

From: "Clint Modien" [EMAIL PROTECTED]Sent: Tuesday, June 27, 2006 11:21 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: company branding in flex??
		
		
		
		
Ya there isn't a runtime styling framework.  Would be very worth it to write one though...http://groups.yahoo.com/group/flexcoders/msearch?query=runtime+stylingsubmit=Searchcharset=ISO-8859-1 

		On 6/27/06, dandiodati [EMAIL PROTECTED] wrote:
		

		

		

		Has any one had to do company branding? Is there not a way to change theexternal style sheet dynamically?


		

--- In flexcoders@yahoogroups.com, "Dan Diodati" [EMAIL PROTECTED] wrote: I need to dynamically change the loaded external css script in within a flex application. It appears that the mx:Style tag imports the css and it gets compiled into the swf. There appears to be ways to change specific styles of classes or types using the StyleManager, but not to change the loaded external style sheet.  Does anyway know of a way to do this?  Dan


		
		



		

		

		




		
		
		
		
		


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] IFrame, wmode, Firefox, and tabbing....

2006-06-27 Thread Scott Romer
So, recently, we were exploring options of including an IFrame on our
application to display some external content.  In doing so, one
solution that we found was to include the wmode=opaque on the
Object/Embed tag, and display an absolutely positioned IFrame that is
updated during the moving of a TitleWindow in Flex.  Everything has
worked great so far... Yeah!

But then... a problem arose.  It appears that in FireFox (at least on
XP) stops listening to the Shift key when tabbing?  (Normally, holding
down shift and clicking Tab will tab through the elements backwards. 
In this specific case, it always tabs forwards regardless of the shift
key.)

Can this be labeled as a bug?  (Even though I bet it will NEVER get
fixed, it would be nice to track it so that it gets some visibility.)

NOTE: The shift tabbing works fine in IE.
Side note:  Is there a better place to post bugs like this, rather
than sending to a message board where most people may not care about
such a specific issue?

-Scott






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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




Re: [flexcoders] Release Pricing

2006-06-27 Thread Nick Collins



as it was explained to me... CPUs refers to physical CPUs, so a dual core processor is one CPU. regarding the rest, I think someone from Adobe would better address it accuratelyOn 6/27/06, 
Antoine Malpel [EMAIL PROTECTED] wrote:









  







ok but where is exactly the limitation ? can I run freeely any coporate
business services etc ... as soon as I use only one cpu per Application
(what about Bi-Core ?) ?

Nick Collins a écrit:

  
  No, it means you can run it free on a one CPU server with one
application using it. For clustering you'll have to pay.
  
  
  On 6/26/06, Antoine Malpel 
[EMAIL PROTECTED] wrote:
  





Free when using just One app per cpu ??? taht means I'm free to
do any
corpotare stuff for free using clustering for example ?

Pan Troglodytes a écrit:




  
  Here's the last they posted about it:
  
  
  Scott Langeberg
  Thu, 15 Jun 2006 09:25:11 -0700
  According to Sydney Sloan (Marketing - Adobe) in a Breeze
webinar @ 11AM (c):
  
  Official release date: 
  
  June 28, 2006
  
  Pricing as follows:
  
  Flex 2 SDK - FREE
  Flex Builder 2 - $499, $749 w/charting
  FDS - $6,000 (100 concurrent users), $20,000 (enterprise)
  
  Interestingly: 
  FDS Express - FREE (one app per cpu).
  
  Charting components - $299
  
  
Oh, joyous day!
  
: : ) Scott 
  
  
  On 6/26/06, jwc_wensan [EMAIL PROTECTED]
   wrote:
  





To Adobe or anyone who knows.

Did I miss the announcement?

We are expecting the Flex 2 release by the end of June? Right?

If so, then why is there no definitive information regarding the 
pricing for all of the Flex 2 products?

I went to www.adobe.com
and found nothing regarding Flex 2 pricing.

Now, I want the Flex 2 release just as much as the rest of you, but 
I would rather it be a solid release than just releasing this week. 
So, if it is going to be delayed, I can live with that, but I would 
appreciate being told.

We all realize that release dates can slide, but it would be nice to 
know.

I am still confused that final pricing has not been determined and 
announced.

Is there going to be such a great announcement on pricing that Adobe 
is wanting to get a massive bang for their buck? That's OK too.

However, it just seems a little confusing to me.

If anyone can shed some light to the uninformed, it would be greatly 
appreciated.

Thanks,

Jack







  
  
  
  
  
-- 
Jason 



 




  
  
  
  






  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-27 Thread djbrown_rotonews
I actually tried this (my dataProvider for the grid is an 
XMLListCollection being populated by a jsp. The grid has custom item 
renderers if that's relevant).

anyhow, I have an update button which will call the jsp and get 
new results when clicked. I've set it up so the click() method 
correctly captures the scroll position, calls the jsp, and then sets 
the scrollToIndex to the previous value of the scroll position. It 
works great while the busy cursor is displayed, but it reverts 
back to scrolled all the way at the top once the actual data comes 
in from the jsp (it takes about 3 seconds to update the grid with 
the new data).

any ideas on where the scroll position is being reset?

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

 Hi Jordan -
 
  
 
 You can keep track of the verticalScrollPosition property in your
 DataGrid and upon receving UPDATES, re-set the 
verticalScrollPosition to
 the previous value and the DataGrid will jump to the last scroll
 position and show the correct content. 
 
  
 
 -deepa
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Jordan Snyder
 Sent: Monday, June 26, 2006 7:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Keeping DataGrid from scrolling to top on 
update
 to dataProvider
 
  
 
 Hello All,
 
 I am working on an app in which I poll the server quite frequently 
to
 get new information.  The information comes to me in an XML format 
that
 I simply assign as the dataProvider for a DataGrid component. 
 
 I have to keep in consideration the fact that the user may have 
selected
 a certain row, and may want to delete that row even after an 
update to
 the dataProvider is made, so I keep track of the selectedIndex 
property
 and reselect upon an update.
 
 But if the user has not selected a row, the DataGrid will 
automatically
 scroll to the top upon an update, even if the user has scrolled to 
the
 bottom of the grid.  
 
 Is there a way around this?  I found a way to scrollToIndex(), but 
no
 way of getting the currently viewed items.  It may have something 
to do
 with the various renderer properties available on the DataGrid, 
but I
 have a very limited understanding of this, so it's over my head.
 
 Surely this problem has been run into before, but I can't seem to 
find
 the right combination of search terms to figure out a method of 
solving
 it.
 
 Does anyone have any ideas or proven methods for the problem?  Any 
help
 would be greatly appreciated.
 
 Thank you,
 
 Jordan Snyder
 [EMAIL PROTECTED]
 www.jordansnyder.com








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] ClassUtil.Find Class and _global - Flex 2

2006-06-27 Thread Ralf Bokelberg
Hi Karthi,

take a look at the flash.utils package. There you can find
replacements for findClass.
Regarding _global - i have not tried it, since _global isn't good
practice anyway, but in principle you should be able to place
arbitrary declarations in the empty package.

Cheers,
Ralf.


On 6/27/06, karthikeyanik [EMAIL PROTECTED] wrote:
 Hi,

 1)   In Flex 1.5,
  ClassUtil.findClass(className) returns the constructor
 Function of the given className. What is the equivalent function in
 Flex2.0.

 2) _global has been removed in Flex2.0. What is the alternative?

 Thanks in Advance,
 Karthi






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









 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

* 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] noob question on webservices and del.icio.us

2006-06-27 Thread bhati001
hi,

i am trying to get the bookmarks at del.icio.us as
https://api.del.icio.us/v1/posts/get?tag=red

and i get a security error as [RPC Fault faultString=Security error
accessing url faultCode=Channel.Security.Error
faultDetail=Destination: DefaultHTTP]

i do not know whether this is because of security or whether the
absence of a crossdomain.xml file.

has anyone been able to connect to del.icio.us using flex?

thanks.






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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 Validator woes....

2006-06-27 Thread Ralf Bokelberg
Hello Suzy,
Did you try the static validateEmail method of the EmailValidator?
Cheers,
Ralf.


On 6/27/06, Suzy Lawson [EMAIL PROTECTED] wrote:
 I'm building an e-mail client where the To: field can have a comma
 delimited array of e-mail addresses: [EMAIL PROTECTED], [EMAIL PROTECTED]

 I have the validation occuring in the focusOut event, where I split
 the To: field so I get an Array of e-mail addresses.
 var emails : Array = value.split(,);

 I then want to loop through and validate each value. However, there is
 no easy way to do this using the Flex SDK EmailValidator.as.

 Ideally, I would think I could call a static method which would return
 me a ValidationResultEvent, which I could then add to my component.
 However, everything with the SDK EmailValidator class requires a
 listener/source/trigger to be bound to it and no matter what I try to
 doit looks at that To: field as one big String...I can't give it
 just the iterated split value.

 Any ideas on this?? Is there a way to statically call a method without
 having to pass in a reference to the EmailValidator object?








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









 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/

* 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] ClassUtil.Find Class and _global - Flex 2

2006-06-27 Thread Gordon Smith










1. If you know the fully-qualified name
of a class that is linked into your SWF, you can create an instance of it as
follows:



import flash.utils.getDefinitionByName;

...

var buttonClass:Class =
Class(getDefinitionByName(mx.controls.Button));

var b:Button = new buttonClass();



2. Instead of using _global, declare and
use static constants, properties, and functions on any class, similar to
Math.PI. For example, declare a MyData class, with vars like employees, then do



import MyData;

...

dg.dataProvider = MyData.employees;



- Gordon











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of karthikeyanik
Sent: Tuesday, June 27, 2006 6:38
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
ClassUtil.Find Class and _global - Flex 2











Hi,

1) In Flex 1.5,
ClassUtil.findClass(className) returns the constructor 
Function of the given className. What is the equivalent function in 
Flex2.0.

2) _global has been removed in Flex2.0. What is the alternative?

Thanks in Advance,
Karthi






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] expanding Tree Nodes

2006-06-27 Thread Mike Wertheim



According to
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0611.html
,
the following code used to work in Flex Beta 2 but stopped working in
Beta 3. :

![CDATA[function initTree(){tree1.setIsOpen(tree1.getNodeDisplayedAt(0), true);}]]/mx:Scriptmx:Tree id=tree1 ... creationComplete=initTree(); 
.../mx:Tree

What is the correct way to do this in the latest version?


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] How to change the Datagrid column header length

2006-06-27 Thread Subba Chalamalasetty












Hi,



I want to change the height of the header in
the column i.e I want it to be double the size of row size and add a label
below the header text

 So the column header will be in 2 lines and double the
size of the present size. Can somebody help me how to increase the height in 

myHeaderRenderer.Id appreciate your help.



Thank,

Subba










__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Re: How to change the Datagrid column header length

2006-06-27 Thread Tim Hoff



You can change the height like this:
-THpackage {

import mx.controls.*;
import mx.core.*;

public class HeaderRenderer extends Text
{
public function HeaderRenderer() {
height = 34:
}

override public function set data(value:Object):void {
super.data = value;
super.invalidateDisplayList();
}
}
}--- In flexcoders@yahoogroups.com, "Subba Chalamalasetty" [EMAIL PROTECTED] wrote:   Hi,I want to change the 'height' of the header in the column i.e I want it to be double the size of row size and add a label below the header text  So the column header will be in 2 lines and double the size of the present size. Can somebody help me how to increase the height in   myHeaderRenderer.I'd appreciate your help.Thank,  Subba

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] RE: [flex2dev] Properly binding an object to a custom component.

2006-06-27 Thread Ian Skinner
I have struggled with this all day and made no headway.  The only strange thing 
I get is with this line:

mx:Label text={dayCells.currentItem.toString()} /

outputs [object Object] 

Not the expected string from this drawDay.as function.

// toString()
public function toString():String
{
  return Date:  + formatedDate;
}   



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

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

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

* 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/
 
---BeginMessage---
I am apparently not doing this.  What am I missing to properly bind an object 
from a repeater looping over an array of object to the custom component called 
in the repeater?

mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  mx:GridItem 
  width=14% 
  borderColor=black 
  borderThickness=1 
  borderStyle=solid
mx:Label 
text={dayCells.currentItem.formatedDate} /
ian:dayFormat2 
 drawData={dayCells.currentItem as drawDay}
 test={dayCells.currentItem.formatedDate} /
  /mx:GridItem
/mx:Repeater 

{days} is an array of drawDate.as objects returned with a remoteObject.   I can 
correctly bind properties of these drawDate objects in the lable and the test 
property of the dayFormat2 customComponent.  But I can NOT correctly bind the 
entire object over to dayFormat2.  What am I missing?

My current version of dayFormat2.mxml, I have tried several alternatives for 
this file.

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
  mx:Script
  ![CDATA[
import drawDay;

//Define public variables
[Bindable]
public var drawData:drawDay;

[Bindable]
public var test:String;
  ]]
  /mx:Script

  mx:DateFormatter id=dayNum formatString=DD /

  mx:HBox 
  backgroundColor=0x002649 
  width=100% 
  horizontalAlign=right
mx:Label 
text={test} 
color=white /
mx:HBox 
backgroundColor=0xAF1E2D 
horizontalAlign=center
  mx:Label 
  text={dayNum.format(drawData.date)}
  color=white  / 
/mx:HBox
  /mx:HBox

  mx:Label text=foobar /
/mx:VBox

The first label bound to the test String works correctly.  The second label 
bound to the drawData drawDay object date property does not work correctly.

What is the proper way to bind this object?


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

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

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
You are subscribed to flex2dev. To unsubscribe, send an email to [EMAIL 
PROTECTED] with the words 'unsubscribe flex2dev' as the subject of the email.

Flex2Dev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).


---End Message---


RE: [flexcoders] Re: Flex 2 released tomorrow

2006-06-27 Thread Matt Chotin










What is your timezone, 4pm is probably
wrong J



We are on track for releasing very very very
soon. 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bobchyko
Sent: Tuesday, June 27, 2006 12:40
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2
released tomorrow











--- In [EMAIL PROTECTED]ups.com,
Jeremy Rottman rottmanList@... 
wrote:

 I was carousing the interweb and I found a post on g-unix. Has anyone
 else heard these rumors about flex 2 being released tomorrow?
 
 I for one would be extremely delighted to see the hard work of
 adobe/mm come to fruition.


I'm pretty sure it is going to be released today at 4pm (at least that 
is what my sources tell me). Just tried to post this a few minutes 
ago but it didn't go through.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Flex 2 released tomorrow

2006-06-27 Thread Weyert de Boer
Hopefully the mac version too!


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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] expanding Tree Nodes

2006-06-27 Thread Deepa Subramaniam










You now want to use Tree.expandItem() to
open or close a branch node. 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Wertheim
Sent: Tuesday, June 27, 2006 1:02
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] expanding
Tree Nodes





According to http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0611.html
, the following code used to work in Flex Beta 2 but stopped working in
Beta 3. :

![CDATA[
 function initTree(){
 tree1.setIsOpen(tree1.getNodeDisplayedAt(0), true);
 }
 ]]
/mx:Script

mx:Tree id=tree1 ... creationComplete=initTree(); 
 ...
/mx:Tree


What is the correct way to do this in the latest version?







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Re: help getting xml attribute names

2006-06-27 Thread Gordon Smith










x.attributes()[i].name()) will give you
the name of the ith attribute.



Another syntax for this is [EMAIL PROTECTED]()



- Gordon











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael
Sent: Monday, June 26, 2006 3:02
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: help
getting xml attribute names













Thanks Chas, but I am trying to get the names of the
attributes. I am getting dynamic data out of a database in XML form and I
need to know the attribute names from the XML. I just want the attribute
names at the parent level. In the sample I have written I would get
id and task.



Thanks for your help, I will definitely look at the resource you
mentioned.



Michael











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of exporta_lite
Sent: Monday, June 26, 2006 4:23
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: help
getting xml attribute names











--- In [EMAIL PROTECTED]ups.com,
Michael [EMAIL PROTECTED]. wrote:
snip

 I am trying to get the attribute names from mygroup...

snip

 
 mygroup id=1 task=do this
 mychild id=1.1 task=do this tools=hammer/
 mychild id=1.2 task=do this tools=wrench/
 /mygroup
 

Suppose x:XML is the XML you show above. The myChild tags are
already accessible as if they were an array; for example, you can
say

trace(x.myChild[0].toXMLString());

which will output

mychild id=1.1 task=do this tools=hammer/

Also, to access an attribute, you can use any of the following:

trace(x.myChild[0].attribute(id));
trace(x.myChild[[EMAIL PROTECTED]id]);
trace(x.myChild[[EMAIL PROTECTED]);

all of which will output the string 1.1.

To use the XML as an array (sort of), you can use code such as:

for (i=0; ix.myChild.length(); i++) {
trace(i+ id +x.myChild[[EMAIL PROTECTED]);
}

x.myChild.length() returns the number of elements which are tags of
the type myChild (note the parens; it's .length(), not
.length).

All this and more (e.g., the ability to only refer to myChild tags
which have the attribute tool==hammer) can be found in the
help docs
under:

Programming ActionScript 3.0  Core ActionScript Data Types and
Classes  Working with XML 

Cheers - Chas














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Custom Validator woes....

2006-06-27 Thread Jason Szeto










Suzy,



 The listener, source and
trigger are all optional properties of Validators. You can just call the
validate() function. Pass in the string you want to validate and it will return
the ValidationResult. The validate() function is on the base class, Validator. 



Jason











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Suzy Lawson
Sent: Tuesday, June 27, 2006 10:54
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
Validator woes











I'm building an e-mail client where the
To: field can have a comma
delimited array of e-mail addresses: [EMAIL PROTECTED],
[EMAIL PROTECTED]com

I have the validation occuring in the focusOut event, where I split
the To: field so I get an Array of e-mail addresses. 
var emails : Array = value.split(,);

I then want to loop through and validate each value. However, there is
no easy way to do this using the Flex SDK EmailValidator.as.

Ideally, I would think I could call a static method which would return
me a ValidationResultEvent, which I could then add to my component.
However, everything with the SDK EmailValidator class requires a
listener/source/trigger to be bound to it and no matter what I try to
doit looks at that To: field as one big String...I can't give
it
just the iterated split value. 

Any ideas on this?? Is there a way to statically call a method without
having to pass in a reference to the EmailValidator object?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Error on Creating a New Flex Data Service Project

2006-06-27 Thread nag.flex
Hi 
am trying to create a Flex Data Service Project. When i tried to
validate the server root location it poped up with an error 

 Invalid server root Flex-config.xml, flex-enterprise-status.xml must
exist in the WEB-INF/flex folder within the server root

But am able to locate these files under the same folder. I am bit
confused here.

I am using Weblogic 8.1 as my J2EE server.

I couldn't find the procedure to create an Flex Data Service Project
using weblogic as the server in any of the documents. 
I would appriciate if anyone can point me into the right direction.

thank you
Sunil






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/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:
http://groups.yahoo.com/group/flexcoders/

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

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




[flexcoders] cell renderers

2006-06-27 Thread Clint Tredway



Is there an example of doing cell renderers in 2.0 or is it the same as doing them in 1.5?Thanks-- diabetic? http://www.diabetesforums.comBill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] F2B3: Array within a complex object from a WebService result

2006-06-27 Thread ilia_papas
Has anyone been able to successfully parse an array of complex objects
within a complex object returned from a web service?

Basically, I have a collection of items, and I'd like to include some
information about the items in a complex object, which also contains
the collection.  ie:
---
PersonObj:
   -Name: Bob
   -Gender: M
   -AddressArray:
  -Address[0]: 
  -Addr1: 25 Main St
  -Addr2: Anytown, MA 02555
  -Active: true
  -Address[1]: 
  -Addr1: 725 Evergreen Ter
  -Addr2: Springfield, ?? 02555
  -Active: false
  -Address[2]: 
  -Addr1: 123 Church St
  -Addr2: Anytown, MA 02555
  -Active: true


Using an EJB3 web service via JBoss 4.0.4, the object is generated
correctly, but when it gets to flex, the array is disfigured,
exploding the first object, like so:

PersonObj:
   -Name: Bob
   -Gender: M
   -AddressArray:
  -Address[0]: 25 Main St
  -Address[1]: Anytown, MA 02555
  -Address[2]: true
  -Address[3]: 
  -Addr1: 725 Evergreen Ter
  -Addr2: Springfield, ?? 02555
  -Active: false
  -Address[4]: 
  -Addr1: 123 Church St
  -Addr2: Anytown, MA 02555
  -Active: true


I know it's a weird problem, but has anyone else been successful in
attempting this?

Thanks,
Ilia





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/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/

* 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] F2B3: Internal build error

2006-06-27 Thread Joshua Garnett



I'm running the Flex 2 plugin inside of Eclipse. I made a few changes to the code and ended up hitting an Internal build error. I'm not sure what the actual cause is since I've tried to back out of the code changes I had recently made.
Here is the message from the .log file:!ENTRY 
com.adobe.flexbuilder.project 4 43 2006-06-27 16:05:48.972!MESSAGE Uncaught exception in compiler!STACK 0flex.messaging.config.ConfigurationException: Configuration error encountered on line 32, column 41: 'The element type url must be terminated by the matching end-tag /url.'
 at flex.messaging.config.AbstractConfigurationParser.loadDocument(AbstractConfigurationParser.java:143) at flex.messaging.config.AbstractConfigurationParser.loadDocument(AbstractConfigurationParser.java:99)
 at flex.messaging.config.ClientConfigurationParser.serviceInclude(ClientConfigurationParser.java:157) at flex.messaging.config.ClientConfigurationParser.services(ClientConfigurationParser.java:133) at 
flex.messaging.config.ClientConfigurationParser.parseTopLevelConfig(ClientConfigurationParser.java:53) at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java:71) at flex.messaging.config.AbstractConfigurationParser.parse
(AbstractConfigurationParser.java:62) at flex.messaging.config.ServicesDependencies.getClientConfiguration(ServicesDependencies.java:96) at flex.messaging.config.ServicesDependencies.init(ServicesDependencies.java
:35) at flex2.compiler.common.CompilerConfiguration.getServicesDependencies(CompilerConfiguration.java:351) at flex2.compiler.API.getMessagingClasses(API.java:988) at flex2.compiler.API.compile(API.java
:892) at com.adobe.flexbuilder.project.compiler.Compiler.compile(Unknown Source) at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(Unknown Source) at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build
(Unknown Source) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run
(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202) at org.eclipse.core.internal.events.BuildManager$1.run
(BuildManager.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:234) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282) at org.eclipse.core.internal.resources.Workspace.build
(Workspace.java:211) at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:182) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)Any help with this would be greatly appreciated.
Thanks,--Josh

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Object type Coercion error.

2006-06-27 Thread Ian Skinner
I am receiving this error:
TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to drawDay.

When I run this code:
mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  ian:dayFormat2 
   drawData={drawDay(dayCells.currentItem)} 
test={dayCells.currentItem.formatedDate}
  /ian:dayFormat2
/mx:Repeater

How can I figure out what kind of object dayCells.currentItem is being returned 
by the Repeater control?  {days} is an arrayCollection of drawDay objects, how 
can I get the Repeater currentItem to be an object of the drawDay type?

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

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

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/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/

* 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: [flex2dev] Object type Coercion error.

2006-06-27 Thread Ian Skinner
//Define public variables
[Bindable]
public var drawData:Object;

Ok, changing the data type of the drawData variable to Object which is what a 
repeater currentItem returns worked!  But is this the way I want this to work?  
Just use a generic Object type not my nice custom Object I create with the 
drawDay.as file and is returned from my drawDay.cfc with the remoteObject call?


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

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

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

* 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/
 
---BeginMessage---
I am receiving this error:
TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to drawDay.

When I run this code:
mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  ian:dayFormat2 
   drawData={drawDay(dayCells.currentItem)} 
test={dayCells.currentItem.formatedDate}
  /ian:dayFormat2
/mx:Repeater

How can I figure out what kind of object dayCells.currentItem is being returned 
by the Repeater control?  {days} is an arrayCollection of drawDay objects, how 
can I get the Repeater currentItem to be an object of the drawDay type?

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

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

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
You are subscribed to flex2dev. To unsubscribe, send an email to [EMAIL 
PROTECTED] with the words 'unsubscribe flex2dev' as the subject of the email.

Flex2Dev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).


---End Message---


RE: [flexcoders] cell renderers

2006-06-27 Thread Joan Tan










CellRenderers in 2.0 are totally different
from 1.5. There is an entire chapter in the docs about cellRenderers and you
should find enough examples to get you started.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Tredway
Sent: Tuesday, June 27, 2006 1:28
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cell
renderers











Is there
an example of doing cell renderers in 2.0 or is it the same as doing them in
1.5?

Thanks

-- 
diabetic? http://www.diabetesforums.com
Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that
need the advice. 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: expanding Tree Nodes

2006-06-27 Thread mikewertheim
I've been struggling trying to figure out how to get Tree.expandItem()
to work.

For example, I have this mxml:
mx:Tree id=tree1 showRoot=true width=180 height=100%
verticalScrollPolicy=off

mx:dataProvider
mx:XML format=e4x
node label=Configuration id=conf
creationComplete=tree1.expandItem(conf, true);
node label=Main Config/
node label=Helper Apps/
/node
/mx:XML
/mx:dataProvider
/mx:Tree

The intention is to have the Configuration node opened when the tree
is displayed.  But the tree displays with that node closed.



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

 You now want to use Tree.expandItem() to open or close a branch node. 
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Mike Wertheim
 Sent: Tuesday, June 27, 2006 1:02 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] expanding Tree Nodes
 
  
 
 According to
 http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/
 html/wwhelp.htm?context=LiveDocs_Partsfile=0611.html , the
 following code used to work in Flex Beta 2 but stopped working in Beta
 3.  :
 
 ![CDATA[
 
 function initTree(){
 
 tree1.setIsOpen(tree1.getNodeDisplayedAt(0), true);
 
 }
 
 ]]
 
 /mx:Script
 
 
 
 mx:Tree id=tree1 ... creationComplete=initTree(); 
 
 
 ...
 
 /mx:Tree
 
 
 What is the correct way to do this in the latest version?







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/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/

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

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





  1   2   >