RE: [flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Francis Cheng










Its a doc bug that its
missing from the Statements, Keywords and Directives page. Ill
add it soon.



Francis













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle
Sent: Friday, March 10, 2006 11:36
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: FB2
:: Error subclass :: What is 'native' attribute FB2 inserts





Hey,

Thanks, that is what I thought, just wondered why FB2 inserts it on a
constructor. :)

PS, You found it in the docs? Where would that be so I can check it out. If
it's in the Statements, Keywords and Directives I must be blind! 

Peace, Mike



On 3/10/06, Peter
Blazejewicz [EMAIL PROTECTED]
wrote:



Hello Mike,

native from what I've learned from
docs is replacement for
intrinsic in AS2 language,

see Global.as flex framework class, that is real
native usage
sample, all impementation is within plugin, and
class is for compile
time check only,

regards,
Peter Blazejewicz





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

















-- 
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] Flex2: watch/unwatch AS3 solution to track component enabled property

2006-03-10 Thread Gordon Smith
You should file a bug for us to make the 'enabled' property bindable.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Blazejewicz
Sent: Thursday, March 09, 2006 4:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2: watch/unwatch AS3 solution to track
component enabled property

Hello everyone,

I'm looking for solution to watch changes in enabled property in
component's parent container,

Scenario:
mx:Panel id=parent2
  mx:VBox id=parent1
view:MyComp /
  /mx:VBox
/mx:Panel

now I want to change state within MyComp custom component when
enabled property of any container changes (e.g. to stop sounds in
MyComp),
MyComp is added at runtime so I cannot use states or bindings (which
do not work with enabled),
I've tried with ObjectProxy ObjectEvent.CHANGE but can't do much with
that to achieve something that I can do with watch/unwatch in AS1/AS2,
does someone know solution?
for a moment I'm adding listeners that watch for drawing events in
component parents to reflect changes, not nice but works,

thanx in advance,

regards,
Peter Blazejewicz
 





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



 




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

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

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

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




RE: [flexcoders] Component that has event listeners and handles it's own event

2006-03-10 Thread Gordon Smith
In Flex 1.X, the order in which event handlers on an object execute
isn't well-defined.

In Flex 2, the order in which event handlers on an object execute is
deterministic:

1. Higher priority handlers execute before lower priority ones.

2. For handlers with the same priority, those added earlier with
addEventListener() execute before those added later.

When you write an event handler attribute in MXML, addEventListener() is
called to add that handler immediately after the component is first
created.

So in Flex 2, cbChanged() should execute first, then fooViewHelper(). If
this isn't happening, please file a bug.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of george_lui
Sent: Thursday, March 09, 2006 5:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component that has event listeners and handles
it's own event

Hi,

I have an interesting situation here.

I have something like below.

mx:ComboBox id=employeeCB
 labelFunction=formatName
 change=empFolderViewHelper.cbChanged(event);
  mx:dataProvider { ModelLocator.employees } /mx:dataProvider
/mx:ComboBox

There's a handler for its change event.

I also have event listeners of this comboBox that listens to the
change event as well.


view.employeeCB.addEventListener('change', fooViewHelper);

I've noticed that the order of event execution seems to be that the
event listeners get the event first and processes it and then the
employeeCB handles its change event later.

This seems to be consistent, but I'm not really sure if this is the
case behind the scenes.

Anyone know the exact behavior of this?  And if there's a way that I
can programmatically change the ordering of this execution?

TIA,
George







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



 




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

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

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

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




RE: [flexcoders] Re: Weird Gradient Fill error

2006-03-10 Thread Gordon Smith










Soon.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Fanetti
Sent: Thursday, March 09, 2006
5:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Weird Gradient Fill error





Roger,

Do you have any timeline on when Beta 2 is going live?

Thanks
Scott Fanetti
RosettaStone.com








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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Component that has event listeners and handles it's own event

2006-03-10 Thread Gordon Smith
 generally listeners execute in the order they were added,
 though that order is not guaranteed.

Yes, it is now, if they have the same priority. I've sent a reply to the
list.

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Thursday, March 09, 2006 10:53 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Component that has event listeners and handles
it's own event

generally listeners execute in the order they were added, though that
order is not guaranteed.  We make sure that bindings and effects have
their own priorities as far as listening to events, and an event
declared on the root tag of an MXML document will fire before the
listener that is  using that document as a component.

In Flex 2 there is a documented priority parameter to addEventListener
that you can use to help control what executes when.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of george_lui
Sent: Thursday, March 09, 2006 5:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component that has event listeners and handles
it's own event

Hi,

I have an interesting situation here.

I have something like below.

mx:ComboBox id=employeeCB
 labelFunction=formatName
 change=empFolderViewHelper.cbChanged(event);
  mx:dataProvider { ModelLocator.employees } /mx:dataProvider
/mx:ComboBox

There's a handler for its change event.

I also have event listeners of this comboBox that listens to the
change event as well.


view.employeeCB.addEventListener('change', fooViewHelper);

I've noticed that the order of event execution seems to be that the
event listeners get the event first and processes it and then the
employeeCB handles its change event later.

This seems to be consistent, but I'm not really sure if this is the
case behind the scenes.

Anyone know the exact behavior of this?  And if there's a way that I
can programmatically change the ordering of this execution?

TIA,
George







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



 




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



 





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

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

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

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





RE: [flexcoders] Can we change upIcon of Button class dynamically without Embed?

2006-03-10 Thread Gordon Smith
You could write a subclass of Button that displayed a dynamic icon.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Friday, March 10, 2006 2:38 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can we change upIcon of Button class
dynamically without Embed?

On 3/10/06, sn197412 [EMAIL PROTECTED] wrote:

 Can we change upIcon of Button class dynamically without Embed?
 I mean I want to change Button face at runtime via downloading image
file.

Nopes, the icon must be embedded.

Manish


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



 




--
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: Weird Gradient Fill error

2006-03-10 Thread Jonathan Miranda










What the hell am I looking at? When
does this happen in the movie?
Now. Youre looking at now sir. Everything happens now, is
happening now
What happened to then?
We passed then
Go back to then
We missed it.
When?
Just now?
When will then be now?

Soon J (sorry, Im actually looking at the movie while I code and
had to)



_

Jonathan Miranda

Flexible Master of the Web

Try not
to become a man of success, but a man of value. - Albert Einstein

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

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











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith
Sent: Friday, March 10, 2006 2:26
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Weird Gradient Fill error





Soon.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Fanetti
Sent: Thursday, March 09, 2006
5:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Weird Gradient Fill error





Roger,

Do you have any timeline on when Beta 2 is going live?

Thanks
Scott Fanetti
RosettaStone.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] Flex2 : MP3 Audio player, play problem...

2006-03-10 Thread Manish Jethani
On 3/11/06, Benoit Hediard [EMAIL PROTECTED] wrote:

 I'm currently trying to build a very basic MP3 audio player with Flex2,
 based on the SoundChannel code example.
 The MP3 file is successfully loaded, ID3 tags are available, length is  0.
 But when I press play I've got immediatly the soundComplete event.
 What's wrong here?
[snip]

I tried your sample on my local build and it works fine (no premature
soundComplete event).

:-/

Manish


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

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

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

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




Re: [flexcoders] How to implement custom drawing for selected list items?

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

[snip]

 When the user changes the selection in the list, updateDisplayList()
 is called for the newly deselected and selected items. My first
 thought was to inspect the selectedItems attribute of the parent
 list and adjust the drawing accordingly. However, it seems that the
 item renderer's updateDisplayList() method is invoked prior to the
 list's selectedItems attribute being updated.
[snip]

In your item renderer's updateDisplayList() you can do the following:

  if (ListBase(listData.owner).isItemSelected(this)) // selected
drawSelectedStuff();
  else
drawUnselectedStuff();

Manish


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

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

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

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





Re: [flexcoders] Deselected list row uses roll-over color.

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

 I have a list that uses the standard item renderer and has multiple-
 select set to true. If I select a range of rows, and then ctrl-
 click to deselect one of the rows, the de-selected row is drawn with
 its background color set to the roll-over color of this list.
 Shouldn't the background color of the row be the background color of
 the list?

Is the mouse still over the item?  If not, it's a bug.

Manish


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

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

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

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




RE: [flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Gordon Smith










If FlexBuilder is inserting 'native',
that's a bug.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Friday, March 10, 2006 11:36
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: FB2
:: Error subclass :: What is 'native' attribute FB2 inserts





Hey,

Thanks, that is what I thought, just wondered why FB2 inserts it on a
constructor. :)

PS, You found it in the docs? Where would that be so I can check it out. If
it's in the Statements, Keywords and Directives I must be blind! 

Peace, Mike



On 3/10/06, Peter
Blazejewicz [EMAIL PROTECTED]
wrote:



Hello Mike,

native from what I've learned from
docs is replacement for
intrinsic in AS2 language,

see Global.as flex framework class, that is real
native usage
sample, all impementation is within plugin, and
class is for compile
time check only,

regards,
Peter Blazejewicz





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

















-- 
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: Effects - Newbie help

2006-03-10 Thread Brent Johnson

 OK, I got it.  First of all, I AM using embeded fonts, so alpha does
work.  Second, I don't want a dissolve. I want a fade because I have a
graphical background. The answer (thanks to Kevin Hoyt) is as follows:

 1) Create the fadeOut effect with an event handler for effectEnd.
 2) In the event handler (text now faded out) change the text and
start the fadeIn.

 Thanks for the help...

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

 Instead of using the Fade Effect on your Label, use the Dissolve Effect.
 
  
 
 Joan
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of pk_wasp
 Sent: Wednesday, March 08, 2006 10:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Effects - Newbie help
 
  
 
 the text on the label won't fade coz Flex uses device fonts by default
 
 if you use embedded fonts u should see the effect
 
 does anyone know if Flex 2.0 is going to support Flash Type e.g. 
 that new font engine in Flash Player 8 which should sort this problem 
 out?
 
 --- In flexcoders@yahoogroups.com, Brent Johnson xone47@ wrote:
 
   I'm having a litle trouble understanding how effects work. 
  Apparently when you play() an effect, it is asynchronous, but I 
 can't
  seem to wrap my head around a solution.
  
   I have a Timer set up.  Each time it fires, I want to do the 
 following:
  
  1) Fade the Label to alpha=0.0
  2) Change the Label text
  3) Fade to alpha=1.0
  
  
  So I define one mx:Fade to fade in and one to fade out.  Then in my
  timer handler I try:
  
  fadeOut.play([salesTxt], true);
  
  salesTxt.text = cf.format(tickerData[current].value);
  
  fadeIn.play([salesTxt], true);
  
  ...but the text just pops to alpha 0.0 and then fades in.
  
  Could someone explain why this happens and what would be a good way 
 to
  accomplish this?
  
   Thanks,
 Brent
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw  
 
 Software development best practice
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  
 
  
 
  
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 







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

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

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

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





Re: [flexcoders] Forced to use MoveEvent?

2006-03-10 Thread Manish Jethani
On 3/11/06, Jason Y. Kwong [EMAIL PROTECTED] wrote:

My custom component broadcasts an event called move.  So I declare it in 
 the MXML:

mx:Metadata
   [Event(name=move, type=flash.events.Event)]
/mx:Metadata

 And then later dispatch it:

dispatchEvent(new Event(move));

 But I get a runtime error when dispatching:

Type Coercion failed: cannot convert flash.events::[EMAIL PROTECTED] to 
 mx.events.MoveEvent

If you're extending UIComponent, you already have a move event
declared to be of type mx.events.MoveEvent.  The MXML compiler
generates an event handler that accepts an argument of type
mx.events.MoveEvent.  So now when you pass it an object that is not a
MoveEvent (i.e. flash.events.Event), you get a runtime error.

I think the MXML compiler should give an error if the same event is
repeated in a subclass with an incompatible type.

Manish


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

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

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

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




Re: [flexcoders] SEO strategies for RIA?

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

 can you show an example of how to do that?

Go here:
http://tasmania.globat.com/~mannu.info/flex/fTube/index.html

You can see a Flex 2.0 Beta 1 app if you have Flash Player 8.5.  Now
do a View Source from your browser's *main menu* (not the context menu
in Flash).

div id=playerHolder
p
This application requires a
href=http://labs.macromedia.com/technologies/flashplayer8_5/;
title=Download Flash Player 8.5 prerelease from Adobe LabsFlash
Player 8.5/a.
/p
script type=text/javascript
var flash = new FlashObject(fTube.swf, player, 100%, 95%, 8.5);
flash.addParam(allowScriptAccess, sameDomain);
flash.addParam(wMode, transparent);
flash.write(playerHolder);
/script
/div

The text This application requires... is what gets replaced by the
SWF.  It's a most common technique.  What I was proposing is that you
actually have a bunch of links into your website instead of (or rather
in addition to) that piece of text.

Manish


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

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

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

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




Re: [flexcoders] rowIndex columnIndex while rendering in Flex 2.0

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

 In Flex 2.0, we can get rowIndex and columnIndex for a datagrid cell,
 when it is being edited, by using event.rowIndex and event.columnIndex
 (where event is a DataGridEvent like cellBeginEdit, cellEndEdit etc.)
 Similarly, how can we retrieve the rowIndex and columnIndex, when a
 cell is being rendered for the first time?

 ListBase(listData.owner).getItemIndices()

I'm not sure it's a public, documented method in Beta 1 (or even Beta
2), but it's the one to use basically.

Manish


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

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

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

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





RE: [flexcoders] rowIndex columnIndex while rendering in Flex 2.0

2006-03-10 Thread Dustin Mercer
Another way is to cast the list data to DataGridListData I.E.

DataGridListData(listData).rowIndex 
or
DataGridListData(listData).coulmnIndex

Dustin Mercer

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Friday, March 10, 2006 1:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] rowIndex  columnIndex while rendering in Flex 2.0

On 3/10/06, stchavan [EMAIL PROTECTED] wrote:

 In Flex 2.0, we can get rowIndex and columnIndex for a datagrid cell,
 when it is being edited, by using event.rowIndex and event.columnIndex
 (where event is a DataGridEvent like cellBeginEdit, cellEndEdit etc.)
 Similarly, how can we retrieve the rowIndex and columnIndex, when a
 cell is being rendered for the first time?

 ListBase(listData.owner).getItemIndices()

I'm not sure it's a public, documented method in Beta 1 (or even Beta
2), but it's the one to use basically.

Manish


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



 





--
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: Forced to use MoveEvent?

2006-03-10 Thread Gordon Smith










That's right, your move event
was conflicting with the one inherited from UIComponent.



When you write an event handler attribute
in MXML such as



 mx:Label id=label move=label.text=event.x/



the MXML compiler autogenerates an event
handler that looks something like this:



 function _label_moveHandler_(event:MouseEvent):void

 {

 label.text = event.x;

 }



which the runtime then registers with
addEventListener().



The compiler gets the event class
(MouseEvent) from the metadata and uses it to strongly type the 'event'
parameter as the correct event subclass. If it simply declared 'event' as an Event,
you'd have to cast in order to be able to access subclass-specific event properties
such as x:



 mx:Label id=label move=label.text=MouseEvent(event).x/



So on any particular components, the move
event needs to be associated with a single event subclass, such as MouseEvent
rather than YourEvent.



- Gordon 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Y. Kwong
Sent: Friday, March 10, 2006 10:33
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Forced
to use MoveEvent?





Actually, never
mind. I think I figured it out. An event named move was
already declared previously by the framework. I guess I should just call
it something else. An interesting scenario, anyway...



On 3/10/06, Jason Y.
Kwong [EMAIL PROTECTED]
wrote:



My custom component broadcasts an event called move.
So I declare it in the MXML:

 mx:Metadata
   [Event(name=move,
type=flash.events.Event )]
 /mx:Metadata 

And then later dispatch it:

 dispatchEvent(new Event(move));

But I get a runtime error when dispatching:

 Type Coercion failed: cannot convert flash.events::[EMAIL PROTECTED]
to mx.events.MoveEvent 

If I change my dispatch to this:

 dispatchEvent(new MoveEvent(move));

It works fine. It also works fine if I rename the event to something
else. It looks like Flex expects any event named move to be
of type mx.Events.MoveEvent, no matter what you put in the Metadata tag.
Surely it wasn't meant to be this way?














--
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] WSDLResponse not resolvable

2006-03-10 Thread Jonathan Miranda










Need help with an error message - Working with BlueDragon
(aka .Net), Im attempting a WebService in Flex. Doing a cfinvoke
works fine and looking at the wsdl produced from the CFC it looks finebut
I get this when I try a WebService call.





Element http://www.newatlanta.com/bluedragon/cfc/:GetCitiesResponse not
resolvable

 at
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/internal::parseMessage()

 at mx.rpc.soap::WSDLOperation/parseMessages()

 at
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/internal::invokePendingCall()

 at
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/internal::invokeAllPending()

 at mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls()

 at
mx.rpc.soap::WebService/http://www.macromedia.com/2005/flex/mx/internal::wsdlHandler()

 at flash.events::EventDispatcher/dispatchEvent()

 at mx.rpc.soap::WSDLParser/dispatchEvent()

 at mx.rpc.soap::WSDLParser/mx.rpc.soap:WSDLParser::parseCompleted()

 at
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/internal::httpResultHandler()

 at flash.events::EventDispatcher/dispatchEvent()

 at
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::dispatchRpcEvent()

 at
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::resultHandler()

 at flash.events::EventDispatcher/dispatchEvent()

 at mx.rpc::Producer/acknowledge()

 at
C:\dev\enterprise_beta1\frameworks\libs\framework.swc(mx/validators/Validator)$132::DirectHTTPMessageResponder/completeHandler()

 at flash.events::EventDispatcher/dispatchEvent()

 at
flash.net::URLLoader/flash.net:URLLoader::onComplete()

Heres the code:

mx:WebService id=myRemote wsdl=http://SomeSecretGateway/qrsInterface.cfc?wsdl
useProxy=false

 mx:operation
name=GetCities
fault=Alert.show('Error:'+event.fault.faultstring,'Error',Alert.OK)

 mx:request

 stateCA/state

 cityTypeH/cityType

 /mx:request

 /mx:operation

 /mx:WebService





_

Jonathan Miranda

Flexible Master of
the Web

Try not to become a
man of success, but a man of value. - Albert Einstein

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

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











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








  
  
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: WSDLResponse not resolvable

2006-03-10 Thread Doug Lowder
Looks like some kind of mismatch between GetCities and 
GetCitiesResponse in your code (although I didn't see a definition 
for GetCitiesResponse).

Maybe try: 

mx:operation name=GetCities fault=Alert.show
('Error:'+event.fault.faultstring,'Error',Alert.OK) 
result=getCitiesHandler(event)

...

function getCitiesHandler(event: mx.rpc.events.ResultEvent) {
   myData = event.result;
}

...

myRemote.GetCities(myState, myCityType);


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

 Need help with an error message - Working with BlueDragon 
(aka .Net),
 I'm attempting a WebService in Flex. Doing a cfinvoke works fine 
and
 looking at the wsdl produced from the CFC it looks fine...but I 
get this
 when I try a WebService call.
 
  
 
 
 
 Element 
http://www.newatlanta.com/bluedragon/cfc/:GetCitiesResponse not
 resolvable
 
 at
 
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/intern
al:
 :parseMessage()
 
 at mx.rpc.soap::WSDLOperation/parseMessages()
 
 at
 
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/interna
l::
 invokePendingCall()
 
 at
 
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/interna
l::
 invokeAllPending()
 
 at
 mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls()
 
 at
 
mx.rpc.soap::WebService/http://www.macromedia.com/2005/flex/mx/intern
al:
 :wsdlHandler()
 
 at flash.events::EventDispatcher/dispatchEvent()
 
 at mx.rpc.soap::WSDLParser/dispatchEvent()
 
 at
 mx.rpc.soap::WSDLParser/mx.rpc.soap:WSDLParser::parseCompleted()
 
 at
 
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/intern
al:
 :httpResultHandler()
 
 at flash.events::EventDispatcher/dispatchEvent()
 
 at
 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al:
 :dispatchRpcEvent()
 
 at
 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al:
 :resultHandler()
 
 at flash.events::EventDispatcher/dispatchEvent()
 
 at mx.rpc::Producer/acknowledge()
 
 at
 C:\dev\enterprise_beta1\frameworks\libs\framework.swc
(mx/validators/Vali
 dator)$132::DirectHTTPMessageResponder/completeHandler()
 
 at flash.events::EventDispatcher/dispatchEvent()
 
 at flash.net::URLLoader/flash.net:URLLoader::onComplete
()
 
 Here's the code:
 
 mx:WebService id=myRemote
 wsdl=http://SomeSecretGateway/qrsInterface.cfc?wsdl; 
useProxy=false
 
 mx:operation name=GetCities
 fault=Alert.show
('Error:'+event.fault.faultstring,'Error',Alert.OK)
 
 mx:request
 
 stateCA/state
 
 cityTypeH/cityType
 
 /mx:request
 
 /mx:operation
 
 /mx:WebService
 
  
 
  
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 Try not to become a man of success, but a man of value. - Albert
 Einstein
 
 HealthGrades http://www.healthgrades.com/ : Guiding America to 
Better
 Healthcare(tm)
 
 NASDAQ: HGRD
 
 w  (720) 963-3832
 
 c  (707) 761-0868
 
 [EMAIL PROTECTED] 
 
 _
 
 The message contains confidential and/or legally privileged 
information
 and is intended for use only by the indicated addressee.  If you 
are not
 the named addressee you should not disseminate, distribute, or 
copy this
 e-mail. Please notify the sender immediately by e-mail if you have
 received this e-mail by mistake and delete this e-mail from your 
system.
 E-mail transmissions cannot be guaranteed to be secure or error-
free as
 information could be intercepted, corrupted, lost, 
destroyed,arrive late
 or incomplete, or contain viruses. The sender therefore does not 
accept
 liability for any errors or omissions in the contents of this 
message
 which arise as a result of e-mail transmission. If verification is
 required please request a hard-copy version.








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

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

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

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





RE: [flexcoders] Re: WSDLResponse not resolvable

2006-03-10 Thread Jonathan Miranda












Nah, its not the response not being
there.oddly enough passing a string works fine  its a
return type of Any (object) or Struct that blows up.

_

Jonathan Miranda

Flexible Master of the Web

Try not
to become a man of success, but a man of value. - Albert Einstein

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

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











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Lowder
Sent: Friday, March 10, 2006 4:08
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WSDLResponse not resolvable





Looks like some kind of
mismatch between GetCities and 
GetCitiesResponse in your code (although I didn't
see a definition 
for GetCitiesResponse).

Maybe try: 

mx:operation name=GetCities
fault=Alert.show
('Error:'+event.fault.faultstring,'Error',Alert.OK)

result=getCitiesHandler(event)

...

function getCitiesHandler(event:
mx.rpc.events.ResultEvent) {
 myData = event.result;
}

...

myRemote.GetCities(myState, myCityType);


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

 Need help with an error message - Working
with BlueDragon 
(aka .Net),
 I'm attempting a WebService in Flex. Doing a
cfinvoke works fine 
and
 looking at the wsdl produced from the CFC it
looks fine...but I 
get this
 when I try a WebService call.
 
 
 
 
 
 Element 
http://www.newatlanta.com/bluedragon/cfc/:GetCitiesResponse
not
 resolvable
 

at
 
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/intern
al:
 :parseMessage()
 

at mx.rpc.soap::WSDLOperation/parseMessages()
 

at
 
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/interna
l::
 invokePendingCall()
 

at
 
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/interna
l::
 invokeAllPending()
 

at

mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls()
 

at
 
mx.rpc.soap::WebService/http://www.macromedia.com/2005/flex/mx/intern
al:
 :wsdlHandler()
 

at flash.events::EventDispatcher/dispatchEvent()
 

at mx.rpc.soap::WSDLParser/dispatchEvent()
 

at
 mx.rpc.soap::WSDLParser/mx.rpc.soap:WSDLParser::parseCompleted()
 

at
 
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/intern
al:
 :httpResultHandler()
 

at flash.events::EventDispatcher/dispatchEvent()
 

at
 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al:
 :dispatchRpcEvent()
 

at
 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al:
 :resultHandler()
 

at flash.events::EventDispatcher/dispatchEvent()
 

at mx.rpc::Producer/acknowledge()
 

at

C:\dev\enterprise_beta1\frameworks\libs\framework.swc
(mx/validators/Vali

dator)$132::DirectHTTPMessageResponder/completeHandler()
 

at flash.events::EventDispatcher/dispatchEvent()
 

at flash.net::URLLoader/flash.net:URLLoader::onComplete
()
 
 Here's the code:
 
 mx:WebService id=myRemote
 wsdl=http://SomeSecretGateway/qrsInterface.cfc?wsdl

useProxy=false
 

mx:operation name=GetCities
 fault=Alert.show
('Error:'+event.fault.faultstring,'Error',Alert.OK)
 

mx:request
 

stateCA/state
 

cityTypeH/cityType
 

/mx:request
 

/mx:operation
 

/mx:WebService
 
 
 
 
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 Try not to become a man of success, but
a man of value. - Albert
 Einstein
 
 HealthGrades http://www.healthgrades.com/ :
Guiding America to 
Better
 Healthcare(tm)
 
 NASDAQ: HGRD
 
 w (720) 963-3832
 
 c (707) 761-0868
 
 [EMAIL PROTECTED] 
 
 _
 
 The message contains confidential and/or
legally privileged 
information
 and is intended for use only by the indicated
addressee. If you 
are not
 the named addressee you should not
disseminate, distribute, or 
copy this
 e-mail. Please notify the sender immediately
by e-mail if you have
 received this e-mail by mistake and delete
this e-mail from your 
system.
 E-mail transmissions cannot be guaranteed to
be secure or error-
free as
 information could be intercepted, corrupted,
lost, 
destroyed,arrive late
 or incomplete, or contain viruses. The 

[flexcoders] Re: DateTimeAxis for use in a scheduler.

2006-03-10 Thread nulloperator
Its hard to believe no one has figured this out yet. 


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

 Hello all. I am currently testing the Flex 2.0 platform and am using
 it for a smester project at my college. I am currently developing a
 scheduling application in which an individuals schedule will be
 visualized via a stacked BarChart which will contain the hour on the
 xaxis and the individuals name on the y-axis. The bars must then
 represent a meeting and the width will represent the length of that
 meeting. I have written flash actionscript classes to draw a gantt
 chart similar to what I am doing here but I would really like to be
 able to accomplish this via the charting components provided by Flex. 
 
 Any ideas? 
 
 Thanks. 
 
 Nick Selvaggio 
 [EMAIL PROTECTED] 
 www.nickgs.com








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

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

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

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




Re: [flexcoders] rowIndex columnIndex while rendering in Flex 2.0

2006-03-10 Thread Manish Jethani
On 3/11/06, Dustin Mercer [EMAIL PROTECTED] wrote:
 Another way is to cast the list data to DataGridListData I.E.

 DataGridListData(listData).rowIndex
 or
 DataGridListData(listData).coulmnIndex

Aw, yes, this is the correct way (forget what I posted earlier).

Manish


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

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

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

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




[flexcoders] WebService - Returning a complex object

2006-03-10 Thread phatboychatter
Where is the documentation on handling a complex object returned from
a web service?







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

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

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

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




[flexcoders] Re: Flex2: watch/unwatch AS3 solution to track component enabled property

2006-03-10 Thread Peter Blazejewicz
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:

 You should file a bug for us to make the 'enabled' property bindable.
 
 - Gordon

Hi Gordon,

done,

regards,
Peter Blazejewicz





--
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: WSDLResponse not resolvable

2006-03-10 Thread Doug Lowder
So your webservice can be made to work/fail based on what the cfc is 
returning?  String good... Object/Struct bad...


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

 Nah, it's not the response not being thereoddly enough passing 
a
 string works fine - it's a return type of Any (object) or Struct 
that
 blows up.
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 Try not to become a man of success, but a man of value. - Albert
 Einstein
 
 HealthGrades http://www.healthgrades.com/ : Guiding America to 
Better
 Healthcare(tm)
 
 NASDAQ: HGRD
 
 w  (720) 963-3832
 
 c  (707) 761-0868
 
 [EMAIL PROTECTED] 
 
 _
 
 The message contains confidential and/or legally privileged 
information
 and is intended for use only by the indicated addressee.  If you 
are not
 the named addressee you should not disseminate, distribute, or 
copy this
 e-mail. Please notify the sender immediately by e-mail if you have
 received this e-mail by mistake and delete this e-mail from your 
system.
 E-mail transmissions cannot be guaranteed to be secure or error-
free as
 information could be intercepted, corrupted, lost, 
destroyed,arrive late
 or incomplete, or contain viruses. The sender therefore does not 
accept
 liability for any errors or omissions in the contents of this 
message
 which arise as a result of e-mail transmission. If verification is
 required please request a hard-copy version.
 






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

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

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

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




[flexcoders] Re: Component that has event listeners and handles it's own event

2006-03-10 Thread george_lui
Thanx for the info Gordon. Unfortunately we're using 1.5 still.   And
yes, it's undeterministic what executes first.

George

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

 In Flex 1.X, the order in which event handlers on an object execute
 isn't well-defined.
 
 In Flex 2, the order in which event handlers on an object execute is
 deterministic:
 
 1. Higher priority handlers execute before lower priority ones.
 
 2. For handlers with the same priority, those added earlier with
 addEventListener() execute before those added later.
 
 When you write an event handler attribute in MXML, addEventListener() is
 called to add that handler immediately after the component is first
 created.
 
 So in Flex 2, cbChanged() should execute first, then fooViewHelper(). If
 this isn't happening, please file a bug.
 
 - Gordon
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of george_lui
 Sent: Thursday, March 09, 2006 5:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Component that has event listeners and handles
 it's own event
 
 Hi,
 
 I have an interesting situation here.
 
 I have something like below.
 
 mx:ComboBox id=employeeCB
  labelFunction=formatName
  change=empFolderViewHelper.cbChanged(event);
   mx:dataProvider { ModelLocator.employees } /mx:dataProvider
 /mx:ComboBox
 
 There's a handler for its change event.
 
 I also have event listeners of this comboBox that listens to the
 change event as well.
 
 
 view.employeeCB.addEventListener('change', fooViewHelper);
 
 I've noticed that the order of event execution seems to be that the
 event listeners get the event first and processes it and then the
 employeeCB handles its change event later.
 
 This seems to be consistent, but I'm not really sure if this is the
 case behind the scenes.
 
 Anyone know the exact behavior of this?  And if there's a way that I
 can programmatically change the ordering of this execution?
 
 TIA,
 George
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







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

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

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

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




[flexcoders] Re: Deselected list row uses roll-over color.

2006-03-10 Thread tobiaspatton
The color stays when the mouse is moved.

Actually, for my test the list had the style use-roll-over set 
to false.

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

 On 3/11/06, tobiaspatton [EMAIL PROTECTED] wrote:
 
  I have a list that uses the standard item renderer and 
has multiple-
  select set to true. If I select a range of rows, and then 
ctrl-
  click to deselect one of the rows, the de-selected row is drawn 
with
  its background color set to the roll-over color of this list.
  Shouldn't the background color of the row be the background 
color of
  the list?
 
 Is the mouse still over the item?  If not, it's a bug.
 
 Manish







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

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

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

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




[flexcoders] Re: How to implement custom drawing for selected list items?

2006-03-10 Thread tobiaspatton
Hi Manish

My listItemRenderer is an MXML component that dervies from VBox. It 
doesn't have a listData attribute.

I looked up listData renderer and found that components that wish to 
be a drop-in renderer should implement the IDropInListItemRenderer 
interface. 

I take this to mean that my VBox-based list item renderer should 
implement this interface,  but I don't know how to accomplish this. 
If my component were an AS file, it would be simple. But how can an 
MXML component implement an interface?

I tried adding get listData and set listData functions, hoping 
that they would be discovered at runtime. It would seem that they 
are, since get listData is being called frequently, but set 
listData is never called.

Any advice?

Thanks.
Tobias.

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

 On 3/11/06, tobiaspatton [EMAIL PROTECTED] wrote:
 
 [snip]
 
  When the user changes the selection in the list, 
updateDisplayList()
  is called for the newly deselected and selected items. My first
  thought was to inspect the selectedItems attribute of the parent
  list and adjust the drawing accordingly. However, it seems that 
the
  item renderer's updateDisplayList() method is invoked prior to 
the
  list's selectedItems attribute being updated.
 [snip]
 
 In your item renderer's updateDisplayList() you can do the 
following:
 
   if (ListBase(listData.owner).isItemSelected(this)) // selected
 drawSelectedStuff();
   else
 drawUnselectedStuff();
 
 Manish







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

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

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

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




Re: [flexcoders] Re: How to implement custom drawing for selected list items?

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

 I take this to mean that my VBox-based list item renderer should
 implement this interface,  but I don't know how to accomplish this.
 If my component were an AS file, it would be simple. But how can an
 MXML component implement an interface?

Simply use the implements attribute:

VBox implements=mx.controls.listClasses.IDropInListItemRenderer
 ...
/VBox

Or you can just reference the DataGrid directly from your item
renderer's code (there's no need to implement this interface).

Manish


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

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

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

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




[flexcoders] Problem Calling an ActionScript function from JavaScript

2006-03-10 Thread Malakhova, Ksenia S.
Title: Problem Calling an ActionScript function from JavaScript







(Flex 1.5, AS 2)
In my application I need to a call ActionScript function from _javascript_ and pass a couple of parameters back to Actionscript. I am using Flash-_javascript_ integration kit for it. I got it to call the _javascript_ function from ActionScript and back. But it does not pass my parameters back to ActionScript. The result parameter in sayHelloReturn function is undefined.

Here is the script I am using.



===
// ActionScript Document
import fast.echo.Echo;
import com.macromedia._javascript_._javascript_Proxy;


public var jsProxy:_javascript_Proxy;


private function appInit(event:Object):Void {
 Echo.debug(_root.lcId);
 jsProxy = new _javascript_Proxy(_root.lcId, this);
 sayHello();


}
 //Calls _javascript_ sayHello function
function sayHello():Void
 {
 jsProxy.call(sayHello, Homer);
 Echo.debug('Homer');
 }
 
 //This gets called when a value is returned from the sayHello function in
 //_javascript_
 function sayHelloReturn(result:Number):Void
 {
  Echo.debug('sayHelloReturn');
  Echo.debug(result); 
 }


===
//_javascript_ Document
!--- required _javascript_ files to call an ActionScript function from _javascript_ ---
script type=text/_javascript_ src="">
script type=text/_javascript_ src="">
script type=text/_javascript_ src="">
script type=text/_javascript_ src="">
script type=text/_vbscript_ src="">

script language=_javascript_

 //create unique id
 var uid = new Date().getTime();
 
 //create proxy to flash
 var flashProxy = new FlashProxy(uid, '/common/_javascript_/_javascript_FlashGateway.swf');
 
 //this function is called from Flash
 function sayHello(n)
 {
  //alert ('got here');
 var returnString = Hello  + n + !;
  alert (returnString);
 flashProxy.call(sayHelloReturn,5, null);
 }
 
/script

script type=text/_javascript_
 var tag = new FlashTag('/flex/internet/monitor/monitor/monitor.mxml.swf', '100%', '100%'); 
 tag.setFlashvars('lcId='+uid);
 tag.write(document);
/script


===


Any help you can provide will be greatly appreciated.








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



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com




Re: [flexcoders] Tree+ datas from mySQL

2006-03-10 Thread Jignesh Dodiya



Matt,

Thanks for your descriptive reply.

Actually I am fetching RecordSource from database for categories and products. (categories have sub categories too). What I need to do is show all these products as tree. where all firstchild will be categories, they also have many childs as many sub categories they may have and finally they will have leaf as all products of that particular sub category.


I can get 3 recordset for categories, subcategories for particular category and finally items in that sub category. Now I dont want to process XML nodes as it may take more time as I have lots of data. Can't I make some object of tree herarchy and directly attach it to tree as dataProvider like we do in list, combo box etc?


I hope that my this description will able to visualize my problem to you.

Thanks again for your kind help.

Regards,

Jignesh
On 3/10/06, Matt Chotin [EMAIL PROTECTED] wrote:



Sorry Jignesh, a simple TreeDataDescriptor example will be coming in the B2 docs but I don't know if it will help. How will your 2 or 3 ArrayCollections work. What is the relationship between them? Should you be considering building a structure of value objects on your server as opposed to assembling on the client? 


If you do keep the 3 collections the main thing you need to do is define your getChildren function for the descriptor. Given a node, find the children and return an ICollectionView with that data. So how is that going to work, will you start out reading from one collection, then the children will be in the 2
nd collection, then the grandchildren will be in the 3rd? If so, define your function to read that stuff appropriately.

If you provide some examples of what the data tables will look like and what the tree needs to look like maybe someone can help you further.


Matt





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jignesh DodiyaSent: Thursday, March 09, 2006 10:14 PM
To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Tree+ datas from mySQL





Still i am not getting the sollution



there is no any example for TreeDataDescriptorin the docs...anybodyhas an ideahow canI put data in tree control asfrom the mySQL database andfrom 2 different tables
 

On 2/27/06, Jignesh Dodiya 
[EMAIL PROTECTED] wrote: 


Its great, thanx Matt, 



Is there any working sample available regarding ths...



Jignesh


On 2/27/06, Matt Chotin 
[EMAIL PROTECTED] wrote: 

Flex 2 allows you to specify a TreeDataDescriptor for this exact purpose, specify the top-level data to the Tree and then use the descriptor to read into those other arrays as necessary for the children (or other parts of the data). 


MAtt





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jignesh DodiyaSent: Sunday, February 26, 2006 3:33 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Tree+ datas from mySQL


I think , it seems really very difficult or just it may be wrong wayor bad stuffs 





On 2/26/06, Jignesh M. Dodiya 
 [EMAIL PROTECTED] wrote:


hi,
Is there any idea how to provide data provider to tree component in mySQL based datas...how can i use 2-3 COllection Array in to single 
tree COntrol;regards,jignesh
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED LINKS
 





Web site design development 


Computer software development 


Software design and development 



Macromedia flex 


Software development best practice 







YAHOO! GROUPS LINKS
 


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





-- jignesh dodiya 
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED LINKS
 





Web site design development 


Computer software development 


Software design and development 



Macromedia flex 


Software development best practice 






YAHOO! GROUPS LINKS
 


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






-- 

jignesh dodiya 
-- jignesh dodiya --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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

[flexcoders] Can we change upIcon of Button class dynamically without Embed?

2006-03-10 Thread sn197412
Hi.

Can we change upIcon of Button class dynamically without Embed?
I mean I want to change Button face at runtime via downloading image file.





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

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

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

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





Re: [flexcoders] Runtime error #1034

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

 * Note: This error is thrown while the compiler is checking the
 bytecode; that is, before executing the code. Under normal circumstances,
 you should never see this error. If you are using the Macromedia
 compiler and see this error, please file a compiler bug at [page tbd].
 If you are using a third-party compiler and see one of these errors,
 please notify the compiler developer.

 Does that mean it's a beta bug when I see #1034 at runtime?

If it's Type coercion failed, it's a runtime error and it's
perfectly normal to see such errors at runtime.  It's not a bug in
Flex.

Manish


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

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

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

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




Re: [flexcoders] Can we change upIcon of Button class dynamically without Embed?

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

 Can we change upIcon of Button class dynamically without Embed?
 I mean I want to change Button face at runtime via downloading image file.

Nopes, the icon must be embedded.

Manish


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

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

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

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




[flexcoders] Re: Flex2: watch/unwatch AS3 solution to track component enabled property

2006-03-10 Thread Peter Blazejewicz
Hello Matt,

yes, all other required properties are dispatched by framework (move,
show, hide, changes in states, etc) and thats very easy in flex to
register for that events from component for every container down to
application root and unregister when component is destroyed :D
thanx for taking that into consideration as ehnancement,

regards,
Peter

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

 So most other properties that you cared about were working otherwise?
 I'll file an enhancement for having the enabled property dispatch an
 event when it is changed.
 
 Matt





--
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: Runtime error #1034

2006-03-10 Thread nahruka
Thank you very much! It worked perfectly!



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

 On 3/9/06, nahruka [EMAIL PROTECTED] wrote:
 
   mx:TileList dataProvider={arr}
listItemRenderer={Grup}/mx:TileList
 
 I think changing that to the following should do the trick.
 
  mx:TileList dataProvider={arr}
 listItemRenderer=Components.Grup/mx:TileList
 
 Manish







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

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

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

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




[flexcoders] FlexUnit test case not returning result from service call

2006-03-10 Thread posttoumesh
I am using FlexUnit framework to write a test case to make a call to a
remote service(java function) the test case runs fine,talks to server
and returns but I am not getting result back in the client.






--
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] SEO strategies for RIA?

2006-03-10 Thread dos dedos



I believe the same problem exists with dynamically generated HTML pages. Some very complex database-driven sites are made of only one physical page, with content for all the different views (and the view templates) being pulled from the database. This way the only content that get indexed by Google is content associated the default view.  Color Blind Bots?How about inserting HTML text contents in your index.htm in white font (on white background)? The index.htm would load the Flash SWF object but it would also contain text that is only visible to the search engine crawler. I think Google would index such page normally as it would any other HTML page, and when people click on the link in the Google search results they will be sent to index.htm and the SWF will load normally. They won't see the text content because it's white on white. I'm sure you can disable the vertical scroll bar.Would this work? =)MarcMatt
 Chotin [EMAIL PROTECTED] wrote:   This may need to be clarified. I think it’s one thing if you have a Flash site and HTML site and allow users to visit both but only let Google search the HTML site. What it means is that when a user finds a page in Google they will click on the link and go to the HTML site. Google has been very clear that presenting HTML to the crawler but then having a search link take you to a Flash site is not allowed (it’s called cloaking). Unfortunately cloaking is exactly the kind of thing that would solve our problem J So we need
 to work with the vendors directly to come up with acceptable solutions.Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, March 09, 2006 2:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] SEO strategies for RIA?Jim Kremens asked Google how to index Flash sites. Here is quoted response from the Google Team:"The practice of creating HTML copies of these Flash pages for our crawler is actually our recommended solutions to this kind of issue. If you do this, please be sure to include a robots.txt file that disallows the Flash pages in order to ensure that these pages are not seen as duplicate content."  - Original Message - From: Mykola Paliyenko   To: flexcoders@yahoogroups.com   Sent: Thursday, March 09, 2006 4:35 PM  Subject: Re: [flexcoders] SEO strategies for RIA?Hi JohnMake sure that your hosting HTML page has good title, metadata,
  filename, and especially good inbound links with anchor text of your  desired search terms. Ok but what if we want the news on our RIA site to be indexed by Google, sure we can show another content to Google spiders but AFAIK it will be treated as a fraud, BMW site pagerank was set to zero by Google recently for the similar things. Does Adobe planing some mechanisms to deal with it in partnership with search engines? I think the best idea is just show them HTML to index, but that HTML shoud replicate the Flex site content, all we need is just not be treated as a fraud if we really
 just replicate text content availiable on the same link for the common user.  --  WBR, Mykola
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.





--
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] resize panel component for flex 2 (revisited) !

2006-03-10 Thread jeremy lu




demo:
http://ria.richtechmedia.com/go.php?http://ria.richtechmedia.com/upload/resizePanel2/

blog entry:
http://ria.richtechmedia.com/?p=334

features:
feature sets:
(you need flash player 8.5 to see it, which can be downloaded from adobe labs

	
1.drag-move the panel
2.drag-resize the panel
3.auto swap when multiple panels on stage
4.double click to collpase the panel
5.no need to use DragManager or what so ever.

	
coming soon…

	
-min/max/close button at top left (mac-style) or right(win-style)
-toolbar
-status/message bar at the bottom

	
any ideas or suggestions will be highly appreciated.









--
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] Themes are gone when using rsl...??

2006-03-10 Thread moyosaned
Anybody got a solution? .. I can't use RSL.. Theme is gone when i do






--
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 :: ObjectProxy subclass :: Interfacing concrete accessors

2006-03-10 Thread Michael Schmalle



Hello,

Lets see here, the question is kinda odd...

I have the following;

  private function _getProjectAt(id:uint):Project
  {
   var cursor:IViewCursor = projectsQueue.getCursor(); 
   
   while (!cursor.afterLast) {
var curProject:Project = cursor.current as Project;
var curID:uint = curProject.id;
if (curID == id) {
 return curProject;
  
 } 
  
cursor.moveNext(); 
   }
   return null;  
  }


1) the Project class extends ObjectProxy
2) The Project class wraps a record from mySQL (so we really don't have a set interface for the mySQL record from a record set)
3) When I loop through these Project of type ObjectProxy, is there anyway I can attach an interface to this, IE IProject
4) I know most of the time typing an interface is the best way but,
uisng ObjectProxy as a super class, I am wondering if the rules are
changing here.

Theoretically, we don't know what properties are there because is is a
proxy for the ture object. Now, should I type the returned Project
class AS Project and programm to the concrete implemenation of
Project?? I see know way of creating an interface other that concrete
typing. 

Do you get it ? :)

What is the elogent way of nailing down an ObjectProxy class from it's accessors in a concrete implementation?

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] Get Parent on the Tree

2006-03-10 Thread digital_eyezed
Hi All,

If I click on a node in a tree, how can I get the parent of that 
node?

The tree dataProvider is filled from a result object of which the 
attributes are label and data (it only goes down one level in a 
hierarchy):

node label= data=
   node label= data=
   node label= data=
   node label= data=
/node
node label= data=
   node label= data=
   node label= data=
   node label= data=
   node label= data=
   node label= data=
/node


If I click on one of the child nodes, I want to know the data or 
label of its parent, that's all, sounds easy but I'm pulling what 
hair I have left out!

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

* 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] SEO strategies for RIA?

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

 Color Blind Bots?
 How about inserting HTML text contents in your index.htm in white font (on 
 white background)? The index.htm would load the Flash SWF object but it would 
 also contain text that is only visible to the search engine crawler.

So instead of white-on-white text, the better way to do it is to have
normal text and have it replaced by the Flex SWF using JavaScript. 
That's what FlashObject does.  (FlashObject or something similar is
required now after the new IE update anyway.)

Manish


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

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

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

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





RE: [flexcoders] Themes are gone when using rsl...??

2006-03-10 Thread Roger Gonzalez
I assume you're talking about 1.5 here.

Themes in 1.5 are a linker trick that says use this replacement
definition instead of the one you were going to use.  Because the use
of RSLs says don't include any of these definitions, they'll be pulled
in at runtime, the theme definitions are also omitted. 

You'll need to relink your RSL to include the theme, so that when they
are eventually provided, the correct version will be used.

I think you may also be able to actually specify the theme as a RSL as
well, although its been ages since I looked at 1.5.

(In 2.0, themes are done entirely differently, based more on CSS.)

-rg

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of moyosaned
 Sent: Friday, March 10, 2006 6:43 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Themes are gone when using rsl...??
 
 Anybody got a solution? .. I can't use RSL.. Theme is gone when i do
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


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

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

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

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




[flexcoders] RemoteObject - ColdFustion

2006-03-10 Thread webfungi
New to Flex and have been working with the phone application. But I 
am now 
uncertain about how to send data from Flex to the CFC in ColdFusion. 
The Live Docs
have the information below. Is the mx:arguments where I would put 
the data to send
to the CFC. Is this a child of the mx:method. Need help.

Thanks, Dave

mx:RemoteObject
  concurrency=multiple|single|last
  destination=No default.
  fault=No default.
  id=No default.
  result=No default.
  showBusyCursor=false|true
  makeObjectsBindable=false|true
/

mx:RemoteObject can have multiple mx:method tags, which have the 
following properties: 

mx:method
  concurrency=multiple|single|last
  fault=No default.
  name=No default, required.
  result=No default.
  makeObjectsBindable=false|true
/
It then may have a single mx:arguments child tag which is an array 
of objects that will be passed in order. 






--
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] SEO strategies for RIA?

2006-03-10 Thread dos dedos



there you go!can you show an example of how to do that?Manish Jethani [EMAIL PROTECTED] wrote: On 3/10/06, dos dedos [EMAIL PROTECTED] wrote:   Color Blind Bots?  How about inserting HTML text contents in your index.htm in white font (on white background)? The index.htm would load the Flash SWF object but it would also contain text that is only visible to the search engine crawler.  So instead of white-on-white text, the better way to do it is to have normal text and have it replaced by the Flex SWF using _javascript_.  That's what FlashObject does. (FlashObject or something similar is required now after the new IE update anyway.)  Manish   
	
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.





--
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] Flex2 :: ObjectProxy subclass :: Compiler error on getProperty() override

2006-03-10 Thread Michael Schmalle



Hello,

Anybody had any luck with the Proxy/ObjectProxy class!!

I have this class;

package com.teotigraphix.teodoc.core 
{
 import com.teotigraphix.teodoc.core.TEODocObject;
 import mx.utils.ObjectProxy;
 import mx.utils.events.ObjectEvent;
 
 import com.teotigraphix.teodoc.core.IProject;

 dynamic public class Project extends ObjectProxy implements IProject
 {
  public var isOpened:Boolean = false;
  
  
  public function Project(item:Object = null, uid:String = null, proxyDepth:int = -1)
  {
   super(item, uid, proxyDepth); 
  }
  
  public function open():void
  {
   isOpened = true;
  }
  
  public function close():void
  {
   isOpened = false;
  }
  
  public function save():void
  {
   //projectService.saveProject(id, __source);
  }
  
  public function remove():void
  {
   //serviceManager.projectService.deleteProject(id);
  } 
  
  override flash_proxy function getProperty(name:Object):Object
  {
   return parseInt(object[name]);
  }

 }
}

I want to custom validate/format the string from a mySQL record, that IS the proxied object.

This class is giving me a compiler error.

Method marked override must override another method

Well, I am subclassing ObjectProxy, so there IS a method override flash_proxy getProperty(name)!

This really dosn't make any sense other than a bug, but if it's not, my brain is already at Saturday.

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.



  









RE: [flexcoders] Flex2 :: ObjectProxy subclass :: Compiler error on getProperty() override

2006-03-10 Thread Peter Farland





You don't seem to be importing the namespace and declaring 
that it will be used in the class... try this:

package 
com.teotigraphix.teodoc.core { import 
com.teotigraphix.teodoc.core.TEODocObject; import 
mx.utils.ObjectProxy; import 
mx.utils.events.ObjectEvent; import 
com.teotigraphix.teodoc.core.IProject;
 import 
flash.util.flash_proxy;

 use namespace 
flash_proxy;

...




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Michael 
SchmalleSent: Friday, March 10, 2006 11:19 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex2 :: ObjectProxy 
subclass :: Compiler error on getProperty() override
Hello,Anybody had any luck with the Proxy/ObjectProxy 
class!!I have this class;package com.teotigraphix.teodoc.core 
{ import 
com.teotigraphix.teodoc.core.TEODocObject; import 
mx.utils.ObjectProxy; import 
mx.utils.events.ObjectEvent;  import 
com.teotigraphix.teodoc.core.IProject; dynamic public 
class Project extends ObjectProxy implements IProject 
{  public var isOpened:Boolean = 
false;   
   public function 
Project(item:Object = null, uid:String = null, proxyDepth:int = 
-1)  { 
  super(item, uid, 
proxyDepth);   
}   
 public function open():void 
 {   
isOpened = true;  
}   
 public function close():void 
 {   
isOpened = false;  
}   
 public function save():void 
 {   
//projectService.saveProject(id, __source); 
 }  
  public function 
remove():void  { 
  
//serviceManager.projectService.deleteProject(id); 
 }   
  override flash_proxy function 
getProperty(name:Object):Object  
{   return 
parseInt(object[name]);  
} }}I want to custom validate/format the 
string from a mySQL record, that IS the proxied object.This class is 
giving me a compiler error."Method marked override must override another 
method"Well, I am subclassing ObjectProxy, so there IS a method override 
flash_proxy getProperty(name)!This really dosn't make any sense other 
than a bug, but if it's not, my brain is already at Saturday.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.



  









RE: [flexcoders] SEO strategies for RIA?

2006-03-10 Thread Matt Chotin











Actually Google (and probably other
engines) checks for stuff like that and throws it out.  Too many unsavory sites
do those kinds of tricks to get unsuspecting people.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dos dedos
Sent: Friday, March 10, 2006 3:26
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] SEO
strategies for RIA?






I believe the same problem exists with dynamically generated HTML pages. Some
very complex database-driven sites are made of only one physical page, with
content for all the different views (and the view templates) being pulled from
the database. This way the only content that get indexed by Google is content
associated the default view. 

Color Blind Bots?
How about inserting HTML text contents in your index.htm in white font (on
white background)? The index.htm would load the Flash SWF object but it would
also contain text that is only visible to the search engine crawler. 

I think Google would index such page normally as it would any other HTML page,
and when people click on the link in the Google search results they will be
sent to index.htm and the SWF will load normally. They won't see the text
content because it's white on white. I'm sure you can disable the vertical
scroll bar.

Would this work? 

=)

Marc

! Matt
Chotin [EMAIL PROTECTED] wrote:





This may need to be clarified. I
think it’s one thing if you have a Flash site and HTML site and
allow users to visit both but only let Google search the HTML site. What
it means is that when a user finds a page in Google they will click on the link
and go to the HTML site. Google has been very clear that presenting HTML
to the crawler but then having a search link take you to a Flash site is not
allowed (it’s called cloaking). Unfortunately cloaking is
exactly the kind of thing that would solve our problem J So! we need to
work with the vendors directly to come up with acceptable solutions.











Matt 



















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Thursday, March 09, 2006
2:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] SEO
strategies for RIA?















Jim Kremens asked Google how to index Flash sites.
Here is quoted response from the Google Team:



















The practice of creating HTML copies of
these Flash pages for our
crawler is actually our recommended solutions to this kind of issue.
If you do this, please be sure to include a robots.txt file that
disallows the Flash pages in order to ensure that these pages are not
seen as duplicate content.









- Original Message - 







From: Mykola
Paliyenko 









To: flexcoders@yahoogroups.com










Sent: Thursday, March
09, 2006 4:35 PM









Subject: Re: [flexcoders]
SEO strategies for RIA?



















Hi John











Make sure that your hosting HTML page has good title, metadata, 
filename, and especially good inbound links with
anchor text of your 
desired search terms.












Ok but what if we want the news on our RIA site to be indexed by Google, sure
we can show another content to Google spiders but AFAIK it will be treated as a
fraud, BMW site pagerank was set to zero by Google recently for the similar
things.
Does Adobe planing some mechanisms to deal with it in partnership with search
engines? I think the best idea is just show them HTML to index, but that HTML
shoud replicate the Flex site content, all we need is just not be treated as a
fraud if we r! eally just replicate text content availiable on the same link
for the common user.

-- 
WBR, Mykola 













Yahoo! Mail
Use
Photomail to share photos without annoying attachments. 







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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] [Flex 1.5] Flash 8 Advanced Anti-aliasing

2006-03-10 Thread Carlos Rovira



Hi,I'm trying to figure if it's possible to load an SWF with an embeded font with embeded antialiaing.Other times to bring flash 8 capabilities like File Upload or Filters, people use mx:Loader to load a SWF
used like a wrapper to the requested functionality. Is this possible with fonts?. (I assume that I can't reach this feature of the Flash Player 8 from a Flex 1.5 application since flex 1.5 doesn't support flash 8)
If this is possible could anyone tell me how can I accomplish this task?.Thanks.-- ::| Carlos Rovira::| http://www.carlosrovira.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] rowIndex columnIndex while rendering in Flex 2.0

2006-03-10 Thread stchavan
Hi,

In Flex 2.0, we can get rowIndex and columnIndex for a datagrid cell, 
when it is being edited, by using event.rowIndex and event.columnIndex 
(where event is a DataGridEvent like cellBeginEdit, cellEndEdit etc.)
Similarly, how can we retrieve the rowIndex and columnIndex, when a 
cell is being rendered for the first time?

In Flex 1.5, we had the CellRenderer API: CellRenderer.getCellIndex() 
which could be used in the setValue() method before rendering a cell.

Is there a parallel to this in Flex 2.0?

Regards!

Santosh





--
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] SEO strategies for RIA?

2006-03-10 Thread dos dedos



Does that apply to Manish's proposed solution, too?Manish,If your solution is kosher by Google then it would be nice to have an example...ThanksMatt Chotin [EMAIL PROTECTED] wrote:Actually Google (and probably other engines) checks for stuff like that and throws it out. Too many unsavory sites do those kinds of tricks to get unsuspecting people.From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dos dedos Sent: Friday, March 10, 2006 3:26 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] SEO strategies for RIA?   I believe the same problem exists with dynamically generated HTML pages. Some very complex database-driven sites are made of only one physical page, with
 content for all the different views (and the view templates) being pulled from the database. This way the only content that get indexed by Google is content associated the default view.   Color Blind Bots? How about inserting HTML text contents in your index.htm in white font (on white background)? The index.htm would load the Flash SWF object but it would also contain text that is only visible to the search engine crawler.   I think Google would index such page normally as it would any other HTML page, and when people click on the link in the Google search results they will be sent to index.htm and the SWF will load normally. They won't see the text content because it's white on white. I'm sure you can disable the vertical scroll bar.  Would this work?   =)  Marc  ! Matt Chotin [EMAIL PROTECTED]
 wrote:  This may need to be clarified. I think it’s one thing if you have a Flash site and HTML site and allow users to visit both but only let Google search the HTML site. What it means is that when a user finds a page in Google they will click on the link and go to the HTML site. Google has been very clear that presenting HTML to the crawler but then having a search link take you to a Flash site is not allowed (it’s called cloaking). Unfortunately cloaking is exactly the kind of thing that would solve our problem J So! we need
 to work with the vendors directly to come up with acceptable solutions.Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, March 09, 2006 2:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] SEO strategies for RIA?Jim Kremens asked Google how to index Flash sites. Here is quoted
 response from the Google Team:"The practice of creating HTML copies of these Flash pages for our crawler is actually our recommended solutions to this kind of issue. If you do this, please be sure to include a robots.txt file that disallows the Flash pages in order to ensure that these pages are not seen as duplicate content."  - Original Message - From: Mykola Paliyenko   To: flexcoders@yahoogroups.com   Sent: Thursday, March 09, 2006 4:35 PM  Subject: Re: [flexcoders] SEO strategies for RIA?   
 Hi JohnMake sure that your hosting HTML page has good title, metadata,  filename, and especially good inbound links with anchor text of your  desired search terms. Ok but what if we want the news on our RIA site to be indexed by Google, sure we can show another content to Google spiders but AFAIK it will be treated as a fraud, BMW site pagerank was set to zero by Google recently for the similar things. Does Adobe planing some mechanisms to deal with it in partnership with search engines? I think the best idea is just show them HTML to index, but that HTML shoud replicate the Flex site content, all we need is just not be treated as a fraud if we r! eally just replicate text content availiable on the same link for the common user.  --  WBR, Mykola   Yahoo! Mail Use Photomail to share photos without annoying attachments.   
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Prob]lem with wordwrap - flex 1.5

2006-03-10 Thread pasflex
Thanks for the response.

Same behavior when setting the width of the column, as long as the 
column is narrow enough to cause the contents of the cell to take up 
more vertical space than the height of a grid row.  Basically as 
soon as you click the scroll arrow the column keeps resizing itself 
(with no additional user input) until it disappears.

Also, if there are multiple rows like this as you scroll down the 
grid it jumps to the top of each row so some content in the cell is 
never displayed.

This is partly fixed in 2.0 in that the column no longer resizes 
itself, but there is still content in the cell that is never 
displayed.

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

 What happens if you hard-code the column width for the word-
wrapping
 column?
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of pasflex
 Sent: Tuesday, March 07, 2006 1:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Prob]lem with wordwrap - flex 1.5
 
 I have a datagrid that has wordwrap turned on for one of it's 
 columns.  If the contents of a cell in that column are long enough 
 to cause a scrollbar to appear when the scrollbar is moved or the 
 scroll down arrow clicked the column gets narrower until it 
 disappears.
 Also if there are multiple rows with values like this scrolling 
does 
 not reveal the entire contents of the cell, it only goes to the 
top 
 of the next row.
 
 Here is some sample code that recreates the problem.  Any ideas?
 Thanks.
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
 xmlns=* width=250 height=250 backgroundColor=#FF
   mx:DataGrid width=100% height=100% 
 variableRowHeight=true
   mx:columns
   mx:Array
   mx:DataGridColumn 
 columnName=name/
   mx:DataGridColumn 
 columnName=title/
   mx:DataGridColumn 
 columnName=longString wordWrap=true/
   /mx:Array
   /mx:columns
   mx:dataProvider
   mx:Array
   mx:Object
   namename/name
   titletitle/title
   longStringClick on the 
 scroll down arrow or on the scroll bar below the scroll control.  
 This is a long string that is long enough to cause a vertical 
scroll 
 bar to be displayed./longString
   /mx:Object
   /mx:Array
   /mx:dataProvider
   /mx:DataGrid
 /mx:Application
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links








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

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

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

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




RE: [flexcoders] dataService with pk

2006-03-10 Thread Matt Chotin










Make sure that you have the mapping AS
classes on the client-side? The dotted properties in identity arent
supported.



And yes, FES
will require you to return a List instead of an Array if you want it supported
for management. I believe RemoteObject will still support the object array,
but we dont recommend it.



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Devis
Sent: Thursday, March 09, 2006
11:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
dataService with pk







i have made some test :











1)this don't throws runtime
error but the data retriveis
wrong (i think because fesdon't resolve pk)





metadata
 identity
property=pk/
/metadata













2)this throws runtime error





metadata
 identity
property=pk.cod_art/
/metadata




Sorry i have don't understand one thing with fes:





with flex 1.5 (RemoteObject + amf) my j2ee
businessdelegate work but with fes don't work





 public CClientiVO[] getList(){





 





 return ClientiVO





 





}











in order to make it to work with Fes,
I have modified in this way 







 





public List getList(){





 





 return List





 





}













But fes will not support java object
array? 





If you have some example.





Thank's





Devis







- Original Message - 





From: Matt Chotin 





To: flexcoders@yahoogroups.com






Sent: Friday, March 10,
2006 7:34 AM





Subject: RE: [flexcoders]
dataService with pk









That list is actually locked down.
If youre really testing FES you can
mail us and we can look into getting you on it.



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Simeon Bateman
Sent: Thursday, March 09, 2006
12:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
dataService with pk





Where is the Flex
Enterprise Beta list? Just curious on that.

simeon



On 3/9/06, Peter
Farland [EMAIL PROTECTED] 
wrote:



I'd suggest posting these sorts of questions to Adobe's Flex Enterprise
Beta list.

There's not enough information here to explain
what you're trying to
achieve with DataService. 







-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Devis
Sent: Thursday, March 09, 2006 12:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] dataService with pk

Hi,
this my pojo class

public class ItemPK()
{
 private int code;
 private int seria;
..
}


public class Item{
private ItemPK pk
private String cdc;
private String dsc;
..
}

what i'm writing into my flex-data-service

metadata

identity property=pk.code/ ???

identity property=pk.seria/ ???

/metadata

Thank's for your help





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





Yahoo! Groups Links












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





SPONSORED
LINKS 




 
  
  Web site design development 
  
  
  Computer software development 
  
  
  Software design and development 
  
 
 
  
  Macromedia flex 
  
  
  Software development best practice 
  
  
  
  
 














YAHOO!
GROUPS LINKS





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



































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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Compiler error on getProperty() override

2006-03-10 Thread Michael Schmalle



Thanks Peter!

I had an intution that I needed use namespace but, HA that is what I
get for looking at BETA docs! That example is completly out in
left field.

Thanks, that was the problem.

PS, no offense intended but, when Adobe documenters create examples,
are they even testing them or is this becasue of different builds. Say,
at one time that example DID work? Just curious ;-)

In the example I do see the import and I had realized that right after
I posted the question but, the 'use' is still not in that example.

And one more thing, for those of you reading this out of humor, I made
a mistake on the override, you cannot access object with [] accessors.
So far I am just calling super.getProperty(name) and THEN validating
the value.

Peace, Mike
Just for Ref ::: The offending example

package {import flash.display.Sprite;import flash.util.trace;public class ProxyExample extends Sprite {public function ProxyExample() {var customArr:CustomArray = new CustomArray(one);
customArr.push(two);customArr.push(three);customArr.push(four);trace(customArr.length);// 4trace(customArr[0]);// one
trace(customArr[1]);// twotrace(customArr[2]);// threevar lengthOfThree:CustomArray;lengthOfThree = customArr.select(3, function(item:String, value:int){ return 
item.length == value });trace(lengthOfThree);// one,two}}}import flash.errors.IllegalOperationError;import flash.util.Proxy;import flash.util.flash_proxy;
dynamic class CustomArray extends Proxy {protected var arr:Array;protected var props:XML;public function CustomArray(... args) {arr = (args.length == 1  !isNaN(args[0])) ? new Array(args[0]) : args;
props = describeType(arr);}public function select(val:int, fn:Function):CustomArray {var selArr:CustomArray = new CustomArray();for(var i:uint = 0; i  arr.length
; i++) {if(fn.call(this, arr[i], val)) {selArr.push(arr[i]);}}return selArr;}flash_proxy override function callProperty(methodName:*, ...args):* {
if(props.method.(@name == methodName.toString()).toXMLString() != ) {return arr[methodName.toString()].apply(null, args);}throw new IllegalOperationError(Error: Call to a possibly undefined method  + 
methodName.toString() +  through a reference with static type CustomArray);}flash_proxy override function getProperty(variableName:*):* {if((props.accessor.(@name == variableName.toString
()).toXMLString() != ) || parseInt(String(variableName))  arr.length) {return arr[variableName.toString()];}throw new IllegalOperationError(Error: Access of undefined property  + 
variableName.toString() +  through a reference with static type CustomArray);}}


On 3/10/06, Peter Farland [EMAIL PROTECTED] wrote:







You don't seem to be importing the namespace and declaring 
that it will be used in the class... try this:

package 
com.teotigraphix.teodoc.core { import 
com.teotigraphix.teodoc.core.TEODocObject; import 
mx.utils.ObjectProxy; import 
mx.utils.events.ObjectEvent; import 
com.teotigraphix.teodoc.core.IProject;
 import 
flash.util.flash_proxy;

 use namespace 
flash_proxy;

...




From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michael 
SchmalleSent: Friday, March 10, 2006 11:19 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex2 :: ObjectProxy 
subclass :: Compiler error on getProperty() override
Hello,Anybody had any luck with the Proxy/ObjectProxy 
class!!I have this class;package com.teotigraphix.teodoc.core 
{ import 
com.teotigraphix.teodoc.core.TEODocObject; import 
mx.utils.ObjectProxy; import 
mx.utils.events.ObjectEvent;  import 
com.teotigraphix.teodoc.core.IProject; dynamic public 
class Project extends ObjectProxy implements IProject 
{  public var isOpened:Boolean = 
false;   
   public function 
Project(item:Object = null, uid:String = null, proxyDepth:int = 
-1)  { 
  super(item, uid, 
proxyDepth);   
}   
 public function open():void 
 {   
isOpened = true;  
}   
 public function close():void 
 {   
isOpened = false;  
}   
 public function save():void 
 {   
//projectService.saveProject(id, __source); 
 }  
  public function 
remove():void  { 
  
//serviceManager.projectService.deleteProject(id); 
 }   
  override flash_proxy function 
getProperty(name:Object):Object  
{   return 
parseInt(object[name]);  
} }}I want to custom validate/format the 
string from a mySQL record, that IS the proxied object.This class is 
giving me a compiler error.Method marked override must override another 
methodWell, I am subclassing ObjectProxy, so there IS a method override 
flash_proxy getProperty(name)!This really dosn't make 

RE: [flexcoders] Remote calls and Security

2006-03-10 Thread Jonathan Miranda












Got any material on this stuff? (web.xml?
I thought it was crossdomain.xml)  Ill have to try the
RemoteObject over SSL, havent tangoed with that yet.

_

Jonathan Miranda

Flexible Master of the Web

Try not
to become a man of success, but a man of value. - Albert Einstein

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

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











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, March 09, 2006
11:32 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote
calls and Security





RemoteObject can be secured a few
ways. You can protect the channel itself which allows access to that
object (basically equivalent to locking down the gateway in web.xml). You
can also restrict by role the users who are allowed to access the service, that
is integrated into your J2EE server or via a custom login adapter. You
can make RemoteObject calls over SSL just fine.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Thursday, March 09, 2006
11:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote calls
and Security





With a background in Flash Remoting, I understand quite a
bit about Flash Remoting but wanted to ask what the different approaches to
securing a RemoteObject call are? Crossdomain.xml still have any effect on the
SWFs allowed domain pool  what about going over SSL with Flex
Enterprise calls? I guess Im looking or a mini article on security with
these calls  just double checking my approach before I find out later I
was mistaken J

_

Jonathan Miranda

Flexible Master of
the Web

Try not to become a
man of success, but a man of value. - Albert Einstein

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

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












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








  
  
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] Forced to use MoveEvent?

2006-03-10 Thread Jason Y. Kwong



My custom component broadcasts an event called move. So I declare it in the MXML: mx:Metadata   [Event(name=move, type=flash.events.Event)] /mx:Metadata

And then later dispatch it: dispatchEvent(new Event(move));But I get a runtime error when dispatching: Type Coercion failed: cannot convert flash.events::[EMAIL PROTECTED] to mx.events.MoveEvent
If I change my dispatch to this: dispatchEvent(new MoveEvent(move));It works fine. It also works fine if I rename the event to something else. It looks like Flex expects any event named move to be of type 
mx.Events.MoveEvent, no matter what you put in the Metadata tag. Surely it wasn't meant to be this way?






--
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: Forced to use MoveEvent?

2006-03-10 Thread Jason Y. Kwong



Actually, never mind. I think I figured it out. An event named move was already declared previously by the framework. I guess I should just call it something else. An interesting scenario, anyway...
On 3/10/06, Jason Y. Kwong [EMAIL PROTECTED] wrote:
My custom component broadcasts an event called move. So I declare it in the MXML: mx:Metadata   [Event(name=move, type=flash.events.Event
)] /mx:Metadata

And then later dispatch it: dispatchEvent(new Event(move));But I get a runtime error when dispatching: Type Coercion failed: cannot convert flash.events::[EMAIL PROTECTED] to mx.events.MoveEvent

If I change my dispatch to this: dispatchEvent(new MoveEvent(move));It works fine. It also works fine if I rename the event to something else. It looks like Flex expects any event named move to be of type 
mx.Events.MoveEvent, no matter what you put in the Metadata tag. Surely it wasn't meant to be this way?








--
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] Deselected list row uses roll-over color.

2006-03-10 Thread tobiaspatton
I think this is a bug.

I have a list that uses the standard item renderer and has multiple-
select set to true. If I select a range of rows, and then ctrl-
click to deselect one of the rows, the de-selected row is drawn with 
its background color set to the roll-over color of this list. 
Shouldn't the background color of the row be the background color of 
the list?

Thanks.
Tobias.





--
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: datagrid column assistance needed

2006-03-10 Thread gault17
Matt,
I'm trying to change the individual cell. The following cell renderer 
works except that the color applies to all rows in the cell instead 
of just the ones that meet the condition. Any ideas or comments for 
improvement on the code? Speaking as a former PowerBuilder developer, 
cell renders are a difficult concept to get used to.

Thanks

Gary

?xml version=1.0 encoding=utf-8?
mx:Text xmlns:mx=http://www.macromedia.com/2003/mxml; width=400 
height=400 selectable=false
mx:Script
![CDATA[

  import mx.controls.*;
  import control.*;
  
  
  var listOwner : Object; // the reference we receive to the list
  var getCellIndex : Function; // the function we receive from the 
list
  var getDataLabel : Function; // the function we receive from the 
list
  
function setValue( str:String, item:Object, sel:Boolean ) {
this.visible = item != undefined;
if (item.nodeId == 335121) {
listOwner.getColumnAt(getCellIndex
().columnIndex).backgroundColor = 0xFF;
listOwner.getColumnAt(getCellIndex
().columnIndex).editable = true;
}
else {
listOwner.getColumnAt(getCellIndex
().columnIndex).backgroundColor = 0xCC;
listOwner.getColumnAt(getCellIndex
().columnIndex).editable = false;

}

}
]]
/mx:Script
/mx:Text


 

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

 Are you trying to adjust the editable state of the whole column or 
the
 individual cell within the column?  Any reason you can't just use a 
cell
 renderer in the column where you want editability to flip and just 
have
 it read the other columns values?
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of gault17
 Sent: Wednesday, March 08, 2006 5:57 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] datagrid column assistance needed
 
 I'd like to set the protection and color of a datagrid column based 
on 
 the content of another column in the datagrid. I've tried using a 
 cellrenderer with the following code in setValue:
  if (item.nodeId != xyz) {
listOwner.getCellIndex().columnIndex.editable = false;
  }
 else {
   listOwner.getCellIndex().columnIndex.editable = true;
 }
 However, the column always is non-editable. Can anyone give me some 
 tips or another approach? 
 
 Thanks
 
 Gary Ault
 Bureau of Labor Statistics
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







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

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

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

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





[flexcoders] Re: RemoteObject and Enterprise Services

2006-03-10 Thread mvbaffa
Thanks Matt,

will I be able to use, for example, amfphp to connect Flex 2 
applications ?

Baffa

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

 I believe we announced that there will be a connection-limited 
license
 for Flex Enterprise Services that is free.  So depending on how 
much you
 expect your server to be hit you may not have to pay much of 
anything!
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mvbaffa
 Sent: Thursday, March 09, 2006 6:05 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] RemoteObject and Enterprise Services
 
 Hi All,
 
 I am working with Flex 2.0 and considering the use of 
RemoteObject. 
 
 But i am concerned about the entreprise services and its price. I 
am 
 using .NET at the server and thinking about some new .NET AMF open 
 source packages.
 
 The main problem with Entreprise Services, as I have heard, is the 
 price. Will I be able to use at the client RemoteObjects and a 
free 
 AMF at the server without having to pay form Enterprise Services.
 
 Excuse me if this an obvious question but I am new to Flex.
 
 Thanks in Advance
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links








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

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

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

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




[flexcoders] FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Michael Schmalle



Hello,

When creating a subclass that extends Error, I encountered something I have not seen before.

Code... created by Flex Builder 2 beta1

package com.teotigraphix.teodoc.errors.projects
{

 public class NullProjectError extends Error 
 {
  
  native public function NullProjectError(message:String) 
  {
   super(message);
  }

 }
}


Now, I have looked evrywhere for this What is 'native', I know I
can easily guess what this is(Error is a native Class) but, it's
undocumented as far as I know.

Is it required ?

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] How to implement custom drawing for selected list items?

2006-03-10 Thread tobiaspatton
I have a custom list item renderer and would like to change the 
behavior of its updateDisplayList() method depending on whether the 
item is currently selected.

When the user changes the selection in the list, updateDisplayList() 
is called for the newly deselected and selected items. My first 
thought was to inspect the selectedItems attribute of the parent 
list and adjust the drawing accordingly. However, it seems that the 
item renderer's updateDisplayList() method is invoked prior to the 
list's selectedItems attribute being updated.

What I've ended up doing seems really clunky to me. The parent list 
component listens for change events. The event handler gets the 
list item renderer for each selected row and invokes 
invalidateDisplayList(). In response, the list item renderers' 
updateDisplayList() methods are invoked. At this point, the parent 
list's selectedItems attribute correctly reflects the current 
selection, so the list item renderer can draw correctly. Of course, 
the list component must also keep track of the array of most-
recently selected items so they can be redrawn in the unselected 
state when the selection changes.

What a mess. Does anyone have a better technique?

Thanks.
Tobias.






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

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

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

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





[flexcoders] Flex job posting ...

2006-03-10 Thread dos dedos



Someone asked me today where they should post flex jobs ... For future reference, is this list the right place? how about the forum? Or is there another more suited place for job posts?
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Peter Blazejewicz
Hello Mike,

native from what I've learned from docs is replacement for
intrinsic in AS2 language,

see Global.as flex framework class, that is real native usage
sample, all impementation is within plugin, and class is for compile
time check only,

regards,
Peter Blazejewicz





--
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: SPAM-LOW: [flexcoders] Flex job posting ...

2006-03-10 Thread Ryan Stewart


The best resource I've seen is probably CFlex - http://www.cflex.net/They tend to have a pretty good listing and I would assume their traffic is high with flexers.-RyanFrom: dos dedos[mailto:[EMAIL PROTECTED]Sent: Friday, March 10, 2006 7:05 PM -08:00To: flexcoders@yahoogroups.comSubject: SPAM-LOW:  [flexcoders] Flex job posting ...


Someone asked me today where they should post flex jobs ... For future reference, is this list the right place? how about the forum? Or is there another more suited place for job posts?
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 


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




  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

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


Organize. Communicate. Share. @ www.goowy.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] DragManager issues when running in swf inside a swf

2006-03-10 Thread Karl Johnson





No luck with this. I have tried about a million different 
solutions. Is there a documented work around for this in Macromedia support? Any 
other possible ways of gettings this to work?

Thanks for your help.

Karl


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Saturday, March 04, 2006 5:09 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager 
issues when running in swf inside a swf


Yes, the one that has 
the loader control in it. The point is you need to make sure that the 
first application you load has the DragManager linked into it. Maybe do a 
static var in the Application?

private static var 
dm:DragManager;

I dont think _lockroot 
will do anything for you.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Karl 
JohnsonSent: Friday, March 03, 
2006 6:33 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager 
issues when running in swf inside a swf

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

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

Thanks for your 
help.

Karl




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matt ChotinSent: Friday, March 03, 2006 9:13 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager 
issues when running in swf inside a swf
This is a known issue 
because the drag and drop stuff is static and therefore doesnt often play nice 
across loaded swfs. 

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

I think that should 
pull it in and help out.

Matt





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



(Flex 1.5, AS 
2)



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



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



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



Any thoughts? ANY help very much 
appreciated.



Thanks,

Karl







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Michael Schmalle



Hey,

Thanks, that is what I thought, just wondered why FB2 inserts it on a constructor. :)

PS, You found it in the docs? Where would that be so I can check it
out. If it's in the Statements, Keywords and Directives I must be
blind! 

Peace, MikeOn 3/10/06, Peter Blazejewicz [EMAIL PROTECTED] wrote:




Hello Mike,

native from what I've learned from docs is replacement for
intrinsic in AS2 language,

see Global.as flex framework class, that is real native usage
sample, all impementation is within plugin, and class is for compile
time check only,

regards,
Peter Blazejewicz










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




  










-- 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: datagrid column assistance needed

2006-03-10 Thread Doug Lowder
I usually use something like an mx:Box container to make it easier 
to set the background color, then add children to that.  Something 
like the example below.

BTW, don't get fooled into believing the 3rd parameter of setValue 
is a Boolean.  It's actually a String representing one of the three 
states: selected, normal, or highlighted.

Doug


Cell renderer code using a Label within a Box
--
?xml version=1.0 encoding=utf-8?
mx:Box xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:Script
![CDATA[

import mx.controls.*;
import control.*;


var listOwner : Object; // the reference we receive to the list
var getCellIndex : Function; // the function we receive from the 
list
var getDataLabel : Function; // the function we receive from the 
list

function setValue( str:String, item:Object, sel:String ) {
if (item != undefined) {
cellLabel.text = str;
if (item.nodeId == 335121) {
setStyle(backgroundColor, 0xFF);
listOwner.getColumnAt(getCellIndex
().columnIndex).editable = true;
}
else {
setStyle(backgroundColor, 0xCC);
listOwner.getColumnAt(getCellIndex
().columnIndex).editable = false;
}
}
}

]]
/mx:Script

mx:Label id=cellLabel/

/mx:Box


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

 Matt,
 I'm trying to change the individual cell. The following cell 
renderer 
 works except that the color applies to all rows in the cell 
instead 
 of just the ones that meet the condition. Any ideas or comments 
for 
 improvement on the code? Speaking as a former PowerBuilder 
developer, 
 cell renders are a difficult concept to get used to.
 
 Thanks
 
 Gary
 
 ?xml version=1.0 encoding=utf-8?
 mx:Text xmlns:mx=http://www.macromedia.com/2003/mxml; 
width=400 
 height=400 selectable=false
 mx:Script
 ![CDATA[
 
   import mx.controls.*;
   import control.*;
   
   
   var listOwner : Object; // the reference we receive to the list
   var getCellIndex : Function; // the function we receive from the 
 list
   var getDataLabel : Function; // the function we receive from the 
 list
   
   function setValue( str:String, item:Object, sel:Boolean ) {
   this.visible = item != undefined;
   if (item.nodeId == 335121) {
   listOwner.getColumnAt(getCellIndex
 ().columnIndex).backgroundColor = 0xFF;
   listOwner.getColumnAt(getCellIndex
 ().columnIndex).editable = true;
   }
   else {
   listOwner.getColumnAt(getCellIndex
 ().columnIndex).backgroundColor = 0xCC;
   listOwner.getColumnAt(getCellIndex
 ().columnIndex).editable = false;
 
   }
   
   }
   ]]
   /mx:Script
 /mx:Text
 
 
  
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  Are you trying to adjust the editable state of the whole column 
or 
 the
  individual cell within the column?  Any reason you can't just 
use a 
 cell
  renderer in the column where you want editability to flip and 
just 
 have
  it read the other columns values?
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of gault17
  Sent: Wednesday, March 08, 2006 5:57 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] datagrid column assistance needed
  
  I'd like to set the protection and color of a datagrid column 
based 
 on 
  the content of another column in the datagrid. I've tried using 
a 
  cellrenderer with the following code in setValue:
   if (item.nodeId != xyz) {
 listOwner.getCellIndex().columnIndex.editable = false;
   }
  else {
listOwner.getCellIndex().columnIndex.editable = true;
  }
  However, the column always is non-editable. Can anyone give me 
some 
  tips or another approach? 
  
  Thanks
  
  Gary Ault
  Bureau of Labor Statistics
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 







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

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

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

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





Re: [flexcoders] Flex job posting ...

2006-03-10 Thread dos dedos



Thanks, RyanRyan Stewart [EMAIL PROTECTED] wrote:   The best resource I've seen is probably CFlex - http://www.cflex.net/They tend to have a pretty good listing and I would assume their traffic is high with flexers.-RyanFrom: dos dedos[mailto:[EMAIL PROTECTED]Sent: Friday, March 10, 2006 7:05 PM -08:00To: flexcoders@yahoogroups.comSubject: SPAM-LOW:  [flexcoders] Flex job posting ...   Someone asked me today where they should post flex jobs ... For future reference,
 is this list the right place? how about the forum? Or is there another more suited place for job posts?   Yahoo! Mail Bring photos to life! New PhotoMail  makes sharing a breeze.-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com   SPONSORED LINKS   Web site design development   Computer software development   Software design and development Macromedia flex   Software development best practice   YAHOO! GROUPS LINKS  Visit your group "flexcoders" on the web.   To unsubscribe from this group, send an email to:[EMAIL PROTECTED]   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Organize. Communicate. Share. @ www.goowy.com 
		Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Matt Chotin










I dont think FB2 should have
inserted the native keyword in the constructor, if its your class it isnt
native J



Ill check if we have a bug on that.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle
Sent: Friday, March 10, 2006 11:36
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: FB2
:: Error subclass :: What is 'native' attribute FB2 inserts





Hey,

Thanks, that is what I thought, just wondered why FB2 inserts it on a
constructor. :)

PS, You found it in the docs? Where would that be so I can check it out. If
it's in the Statements, Keywords and Directives I must be blind! 

Peace, Mike



On 3/10/06, Peter
Blazejewicz [EMAIL PROTECTED]
wrote:



Hello Mike,

native from what I've learned from
docs is replacement for
intrinsic in AS2 language,

see Global.as flex framework class, that is real
native usage
sample, all impementation is within plugin, and
class is for compile
time check only,

regards,
Peter Blazejewicz





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

















-- 
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: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Peter Blazejewicz
Hi Mike,

--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
 PS, You found it in the docs? Where would that be so I can check it
out. If

in specifications:
http://livedocs.macromedia.com/specs/actionscript/3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=as3_specification176.html
http://livedocs.macromedia.com/specs/actionscript/3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=as3_specification66.html

regards,
Peter

Peter Blazejewicz





--
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 : MP3 Audio player, play problem...

2006-03-10 Thread Benoit Hediard
I'm currently trying to build a very basic MP3 audio player with Flex2,
based on the SoundChannel code example.
The MP3 file is successfully loaded, ID3 tags are available, length is  0.
But when I press play I've got immediatly the soundComplete event.
What's wrong here?

I've tried with several MP3, same problem...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
creationComplete=onCreationComplete()

mx:Script
![CDATA[
import flash.util.trace;
import flash.util.Timer;
 import flash.net.URLRequest;
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.events.*;

private var soundUrl:String =
http://localhost/test.mp3;;
private var soundFactory:Sound;
private var channel:SoundChannel;
private var positionTimer:Timer;

private function onCreationComplete():void {
var request:URLRequest = new URLRequest(soundUrl);
soundFactory = new Sound();
soundFactory.addEventListener(Event.COMPLETE,
completeHandler);
soundFactory.addEventListener(Event.ID3, id3Handler);
soundFactory.addEventListener(IOErrorEvent.IO_ERROR,
ioErrorHandler);
soundFactory.addEventListener(ProgressEvent.PROGRESS,
progressHandler);
soundFactory.load(request);
}

private function positionTimerHandler(event:TimerEvent):void
{
//trace(positionTimerHandler:  + channel.position);
}

private function completeHandler(event:Event):void {
trace(completeHandler:  + event);
playButton.enabled = true;
}

private function id3Handler(event:Event):void {
trace(id3Handler:  + event);
}

private function ioErrorHandler(event:Event):void {
trace(ioErrorHandler:  + event);
}

private function progressHandler(event:ProgressEvent):void {
trace(progressHandler:  + event);
}

private function soundCompleteHandler(event:Event):void {
trace(soundCompleteHandler:  + event);
positionTimer.stop();
}

private function onPlayClick():void {
channel = soundFactory.play();
channel.addEventListener(Event.SOUND_COMPLETE,
soundCompleteHandler);

positionTimer = new Timer(50);
positionTimer.addEventListener(TimerEvent.TIMER,
positionTimerHandler);
positionTimer.start();
}
]]
/mx:Script

mx:Button id=playButton
click=onPlayClick()
enabled=false
label=Play /

/mx:Application

Benoit Hediard




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