Re: [flexcoders] how to implement the copy&paste of chart in flex

2006-04-28 Thread Tariq Ahmed



Not possible as far as I know. Snag-It is your next best bet.


anjicn wrote:
> I want to add the copy&paste support for charts in order to let user 
> select any chart, copy it and then paste it to some other editors 
> like "Office Word" or "MS Paint" for further use. 
>
> Is it possible to do so, or can I just generate a .jpg or .bmp file for 
> each chart, that will also be acceptable.
>
> Anyone who has such experience, please help me. Thanks.
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>
>
>
>  
>
>
>
>   









--
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 the copy&paste of chart in flex

2006-04-28 Thread anjicn



I want to add the copy&paste support for charts in order to let user 
select any chart, copy it and then paste it to some other editors 
like "Office Word" or "MS Paint" for further use. 

Is it possible to do so, or can I just generate a .jpg or .bmp file for 
each chart, that will also be acceptable.

Anyone who has such experience, please help me. Thanks.









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












Re: [flexcoders] Flex2: getters, setters and function literals

2006-04-28 Thread Dion Mendel



On Fri, Apr 28, 2006 at 01:09:59PM -0700, Gordon Smith wrote:

> I suppose this is perhaps a religious issue, but I think dynamic objects
> also hurt programmer efficiency.

To give an example, the project I am currently working on is using a
Ruby on Rails backend and a Flex frontend.  The backend code is by far
the easier of the two to work on, refactoring is straight forward and
the code is simpler to read.  This is due mainly to Ruby's dynamic
nature.

> It may seem like you have to do less work to get something up and
> running, but it costs you too much in inefficiency over the life of the
> project, because the compiler doesn't catch the errors that it would
> catch if your objects were non-dynamic.

This is an argument that I've heard before but it doesn't match my
experience.  In my five years of programming with dynamic languages, 
type mismatch errors rarely occur.  Perhaps they do occur frequently
with novice programmers, and for them a hand holding language may be
more appropriate.

> The basic problem is that you can reference any property on a dynamic
> object without getting an error, either at compile time or a run time,
> so something as basic as a spelling error produces a less obvious error
> later when your code does something with the resulting 'undefined'
> value.

AS3 seems to be in an awkward position of having _javascript_ (dynamic)
roots, while adding compile time checking to function calls and property
accesses.  The result is satisfactory for neither the dynamic or static
typing camps.

Dynamic programmers have to add type qualifiers everywhere, while static
programmers don't always have the compile time type checking safety net.
Using Objects as hashtables and e4x are both dynamic without any static
type checking, and have the "fail silently" error you mentioned above.

The way dynamic languages generally handle the typo problem is to log a
warning in debug mode when an undefined property is read.  Flash 8.5
doesn't do this, and it might be a nice feature to have.

We've drifted a little from the original question - which was how to
dynamically define getters and setters.  I notice that Mozilla's
implementation of _javascript_ allows this.  Would a feature request for
this be worthwhile for me to make?  The reasoning for this request is
for fuller support for dynamic programming in an already dynamic
language.  It's a wishlist, not required.

Dion.






--
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 :: Subclassing Button :: How to change hitarea placement

2006-04-28 Thread Michael Schmalle



Gordon,

I just made a composite tab button, re implemented a tab bar out of a NavBar, made it toggle and I am good for now.

;-)

... Hacking through the bushes ...

Peace, MikeOn 4/28/06, Gordon Smith <[EMAIL PROTECTED]> wrote:

















Sorry... I see that you've already
described what you're doing in a subsequent email.

 

- Gordon

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Gordon Smith
Sent: Friday, April 28, 2006 3:51
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex2 ::
Subclassing Button :: How to change hitarea placement



 

Just wondering... what's the use case for
making a Button ignore some clicks inside the border that it draws? Are you
also reskinning the button to have a non-rectangular shape?

 

- Gordon

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Michael Schmalle
Sent: Friday, April 28, 2006 6:30
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
Subclassing Button :: How to change hitarea placement



 

Dude, !

Thanks, I knew it was as simple as that!

Thanks again.

Peace, Mike



On 4/28/06, Dirk
Eismann <[EMAIL PROTECTED]>
wrote:



Here's a quick example of a Button subclass which is only clickable on
its left side:

package {
  
  import mx.controls.Button;
  import flash.display.*;
  
  public class ButtonTest extends Button {
  
    override
protected function createChildren():void
    {
   
  super.createChildren();
   
  
   
  var s:Sprite = new Sprite();
   
  s.visible = false;
   
  s.mouseEnabled = false;

   
  addChild(s);
   
  hitArea = s;
    }
    
    override
protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
   
  super.updateDisplayList(unscaledWidth,
unscaledHeight);
   
  var g:Graphics = hitArea.graphics;
   
  g.clear();
   
  g.beginFill(1, 1);
   
  g.drawRect(0, 0, unscaledWidth/2,
unscaledHeight);
    }
  }
}

Usage:


http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute">
  



Dirk.



  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Michael Schmalle
  Sent: Friday, April 28, 2006 3:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex2 :: Subclassing
Button :: How to
change hitarea placement






  
  
  Hi,
  
  I was wondering if anybody from
Adobe could shed some light on
how to go about adding like two little buttons to a Button?
  
  I have tried with all my heart and
cannot find a way to chnge
the hitArea of a button to something smaller than it's bounds.
  
  Are you just adding a click
listener to the whole component? If
so, this makes it really hard to subclass. 
  
  Can you give me any advice?
  
  Peace, Mike
  
  PS won't be asking these questions
when I can see the source !
:)
  
  -- 
  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
 
 

Re: [flexcoders] Implementing pull-out window

2006-04-28 Thread Mark Wales







I think the best guide to get you started is the work done here:

   
http://weblogs.macromedia.com/sho/archives/2006/04/flex_sliding_dr.cfm

I easily placed a datagrid in one of the slide in windows and was then
able to "detach" it and move it around my display. While not actually a
"pop-up" I think Sho's implementation is worth emulating. And, if this
is not explicitly what you are looking for, it should be a really good
starting point!

-Mark

RAMOS CARDONA JESUS SALVADOR wrote:

  
  
  
  
  

  
  
  Hi, all.
   
  I’ve
seen every kind of wizardry achieved with Flex, but most of it is based
on
skinning components. However, I’ve seen an app in which some pop-ups
have
some sort of ‘pull-out window’ (namely, a little panel with a datagrid that seems to be ‘pulled out of
underneath
the pop-up’). Any guides as to how to implement this? I’ve looked
everywhere for guides, how-to’s, and flex
extensions (components).
   
  Thank
you in advance.
   
  J.
   
   
  








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

2006-04-28 Thread Aldo Bucchi



Hi all,

I have three flex2 projects in the oven.. when can I take them out?
Any official dates?


A related q:
I know the player now has an auto upgrade process... how fast is this?
I'm a little worried on that one.

Thanks,
Aldo

--
: Aldo Bucchi :
mobile (56) 8 429 8300






--
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] Implementing pull-out window

2006-04-28 Thread RAMOS CARDONA JESUS SALVADOR










Hi, all.

 

I’ve
seen every kind of wizardry achieved with Flex, but most of it is based on
skinning components. However, I’ve seen an app in which some pop-ups have
some sort of ‘pull-out window’ (namely, a little panel with a datagrid that seems to be ‘pulled out of underneath
the pop-up’). Any guides as to how to implement this? I’ve looked
everywhere for guides, how-to’s, and flex
extensions (components).

 

Thank
you in advance.

 

J.

 

 









--
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] [India] Demo development

2006-04-28 Thread dos dedos



Looking for an India based resource to do Flex 2 demo development work.Reply in private to discuss!Marc
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] AS3 - Support for Overloading Method Signatures?

2006-04-28 Thread Peter Farland





As far as I know this won't happen (it's largely guided by 
the ECMA 4 standard) so for AS3 you'll need to use the varargs ... syntax 
to take a variable number of arguments:
 
public function calculateSomething (required:int, 
...others:Array):int
{
}
 
Note that you can place functions in multiple namespaces 
too.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of John C. Bland 
IISent: Friday, April 28, 2006 6:34 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] AS3 - Support for 
Overloading Method Signatures?
Ahh...this would be a beautiful addition and welcome with open arms 
on my end! :-)(sorry...just wanted to back this request; no real info 
here)
On 4/28/06, Aaron 
King <[EMAIL PROTECTED]> 
wrote:

  Hey, does anyone know if there are plans to 
  make AS3 support overloadedmethod signatures anytime before it comes out 
  of beta?Thanks!Aaron--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 . 
  
  
  -- John C. Bland 
II"I do what I can do when I can do it." - Chris Tucker, Money 
Talkshttp://www.gotoandstop.org 
- Home of FMUG.az 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex2 :: Subclassing Button :: How to change hitarea placement

2006-04-28 Thread Gordon Smith










Sorry... I see that you've already
described what you're doing in a subsequent email.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith
Sent: Friday, April 28, 2006 3:51
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex2 ::
Subclassing Button :: How to change hitarea placement



 

Just wondering... what's the use case for
making a Button ignore some clicks inside the border that it draws? Are you
also reskinning the button to have a non-rectangular shape?

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Friday, April 28, 2006 6:30
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
Subclassing Button :: How to change hitarea placement



 

Dude, !

Thanks, I knew it was as simple as that!

Thanks again.

Peace, Mike



On 4/28/06, Dirk
Eismann <[EMAIL PROTECTED]>
wrote:



Here's a quick example of a Button subclass which is only clickable on
its left side:

package {
  
  import mx.controls.Button;
  import flash.display.*;
  
  public class ButtonTest extends Button {
  
    override
protected function createChildren():void
    {
   
  super.createChildren();
   
  
   
  var s:Sprite = new Sprite();
   
  s.visible = false;
   
  s.mouseEnabled = false;

   
  addChild(s);
   
  hitArea = s;
    }
    
    override
protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
   
  super.updateDisplayList(unscaledWidth,
unscaledHeight);
   
  var g:Graphics = hitArea.graphics;
   
  g.clear();
   
  g.beginFill(1, 1);
   
  g.drawRect(0, 0, unscaledWidth/2,
unscaledHeight);
    }
  }
}

Usage:


http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute">
  



Dirk.



  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Michael Schmalle
  Sent: Friday, April 28, 2006 3:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex2 :: Subclassing
Button :: How to
change hitarea placement






  
  
  Hi,
  
  I was wondering if anybody from
Adobe could shed some light on
how to go about adding like two little buttons to a Button?
  
  I have tried with all my heart and
cannot find a way to chnge
the hitArea of a button to something smaller than it's bounds.
  
  Are you just adding a click
listener to the whole component? If
so, this makes it really hard to subclass. 
  
  Can you give me any advice?
  
  Peace, Mike
  
  PS won't be asking these questions
when I can see the source !
:)
  
  -- 
  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

RE: [flexcoders] Flex2 :: Subclassing Button :: How to change hitarea placement

2006-04-28 Thread Gordon Smith










Just wondering... what's the use case for making
a Button ignore some clicks inside the border that it draws? Are you also
reskinning the button to have a non-rectangular shape?

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Friday, April 28, 2006 6:30
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
Subclassing Button :: How to change hitarea placement



 

Dude, !

Thanks, I knew it was as simple as that!

Thanks again.

Peace, Mike



On 4/28/06, Dirk
Eismann <[EMAIL PROTECTED]>
wrote:



Here's a quick example of a Button subclass which is only clickable on
its left side:

package {
  
  import mx.controls.Button;
  import flash.display.*;
  
  public class ButtonTest extends Button {
  
    override
protected function createChildren():void
    {
   
  super.createChildren();
   
  
   
  var s:Sprite = new Sprite();
   
  s.visible = false;
   
  s.mouseEnabled = false;

   
  addChild(s);
   
  hitArea = s;
    }
    
    override
protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
   
  super.updateDisplayList(unscaledWidth,
unscaledHeight);
   
  var g:Graphics = hitArea.graphics;
   
  g.clear();
   
  g.beginFill(1, 1);
   
  g.drawRect(0, 0, unscaledWidth/2,
unscaledHeight);
    }
  }
}

Usage:


http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute">
  



Dirk.



  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Michael Schmalle
  Sent: Friday, April 28, 2006 3:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex2 :: Subclassing
Button :: How to
change hitarea placement






  
  
  Hi,
  
  I was wondering if anybody from
Adobe could shed some light on
how to go about adding like two little buttons to a Button?
  
  I have tried with all my heart and
cannot find a way to chnge
the hitArea of a button to something smaller than it's bounds.
  
  Are you just adding a click
listener to the whole component? If
so, this makes it really hard to subclass. 
  
  Can you give me any advice?
  
  Peace, Mike
  
  PS won't be asking these questions
when I can see the source !
:)
  
  -- 
  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]
[EMAIL PROTECTED]?subject=Unsubscribe>

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

Re: [flexcoders] Flex 2.0 : mx:Image - How do I smooth it during/after scaling?

2006-04-28 Thread JesterXL



This is actually a setting at compile time in Flash, and not sure what it's 
set to in mxmlc, but you could try:

http://www.kaourantin.net/2005/08/fixing-one-bug-at-time-in-flash-player.html

- Original Message - 
From: "willchapm" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 5:10 PM
Subject: [flexcoders] Flex 2.0 : mx:Image - How do I smooth it during/after 
scaling?


Is there a simple way to set the smoothing on an mx:Image in Flex2?

I have an mx:Image on my canvas with the width set to 100%.  The
source is a png file.  When the canvas is scaled, the image is scaled
up or down, but it looks "jaggy".  I am only looking for a smooth
interpolatation here.

I looked for an attribute on the mx:Image to set the smoothing, but I
can only find it on the Bitmap class.

If it is only available on the Bitmap class, can I access my Image's
bitmap (data?) and set it there?

Thanks,
---Will






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



  











Re: [flexcoders] AS3 - Support for Overloading Method Signatures?

2006-04-28 Thread John C. Bland II



Ahh...this would be a beautiful addition and welcome with open arms on my end! :-)(sorry...just wanted to back this request; no real info here)On 4/28/06, 
Aaron King <[EMAIL PROTECTED]> wrote:




Hey, does anyone know if there are plans to make AS3 support overloaded
method signatures anytime before it comes out of beta?

Thanks!
Aaron








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



  









-- John C. Bland II"I do what I can do when I can do it." - Chris Tucker, Money Talkshttp://www.gotoandstop.org
 - Home of FMUG.az






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: iteration::two namespace

2006-04-28 Thread Darren Houle
The link to the Cg2 beta is here:

http://www.richinternetapps.com/archives/000143.html

Oh, and by the way... just in case anyone cares...

I just found some information on porting Cg.99 apps to Cg2... basically they 
changed F2B2 (AS3) so that custom AS must be in packages, not just in 
classes.  See:

http://labs.macromedia.com/wiki/index.php/Talk:Flex_Framework:overview

The Cg.99 superclasses are all just AS classes, not packages.  The 
subclasses are using those namespace paths to find packages.  I think that 
wrapping the superclasses with package statements might help Cg.99 apps to 
run in F2B2.  I'll mess with it this weekend and see if I can get them to 
work.

Darren




>From: "William Lambé" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: Re: [flexcoders] Re: iteration::two namespace
>Date: Thu, 27 Apr 2006 21:26:54 +0200
>
>Euh, which link ?... there... where ?
>
>On 4/27/06, Renaun Erickson <[EMAIL PROTECTED]> wrote:
> >
> > There is a Cairngorm 2 beta version for the Flex 2 Beta 2+ out there.
> > Look over the list for the link.
> >
> > Renaun
> >
> >
> > --- In flexcoders@yahoogroups.com, "Darren Houle" <[EMAIL PROTECTED]> wrote:
> > >
> > > I'm gathering all the public Caringorm examples I can for study, so I
> > > downloaded the BlogReader.zip from EverythingFlex.com and created a 
>new
> > > project in F2B2.  It's Cg.99 so the first thing it did was barf over
> > the
> > > "http://www.macromedia.com/2003/mxml"; mx namespace which I corrected
> > with
> > > "http://www.adobe.com/2006/mxml";  Then it fretted over not being
> > able to
> > > resolve Link to a component implementation, so I changed it to
> > LinkButton.
> > > Now that error is gone, but now it's complaining that it can't resolve
> > >  to a component implementation, apparently
> > because
> > > of the "http://www.iterationtwo.com/cairngorm"; namespace path in the
> > > Services.mxml file.  Does this path need to be updated with
> > something newer
> > > like the mx namespace path did, or are there darker things afoot here?
> > >
> > > Thanks,
> > > Darren
> > >
> >
> >
> >
> >
> >
> >
> >
> >  --
> > 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]<[EMAIL PROTECTED]>
> >
> >-  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >Service .
> >
> >
> >  --
> >




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

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

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

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





[flexcoders] Re: Problems installing Data Services Beta 2 on non-Jrun servers?

2006-04-28 Thread christophers1228



I've been playing around with fds2 with jboss 4.03 also, I've been
able to get most of the sample apps to work, but I had to replace the
xalan.jar in jboss with an updated version.  I found this post that
may help.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904353

I still can't get the jms messaging to work but that probably is due
to lack of experience on my part.

--- In flexcoders@yahoogroups.com, "yomahz" <[EMAIL PROTECTED]> wrote:
>
> The documentation here:
> 
> http://labs.macromedia.com/wiki/index.php/Flex:Install_Instructions
> 
> Indicates that the wars should run in other J2EE app servers. I cannot
> get them to deploy in JBoss (4.0.3). I get a ClassNotFoundException:
> jrun.servlet.file.FileServlet. I searched through all of the jars I
> could find and none of them contain this class.
> 
> Has anyone else had luck with deploying to other servers?
>










--
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: Using captivate within flex

2006-04-28 Thread christophers1228



Thanks for all the feedback, it seems like the easiest way to
accomplish this is to just link to an external captivate flash movie
that updates the database with the quiz results.


--- In flexcoders@yahoogroups.com, "Manuel Saint-Victor"
<[EMAIL PROTECTED]> wrote:
>
> During my time with Captivate I was unable to find a way to
dynamically pull
> questions from a database.  That might have been due to my personal
skill
> limitations but I found that I had to put the questions in manually.
 I hope
> someone can call me wrong on that one but that's something would
definitely
> check into.
> 
> From what I was told when I called Macromedia a year or so ago- the
Flash
> quiz component is more robust.  I'd venture to say that you might be
better
> off creating a custom Flex component for a particular quiz question
type.
> I'd think that it's matter of time before all kinds of components
like this
> start coming around.
> 
> Mani
> 
> 
> On 4/28/06, JesterXL <[EMAIL PROTECTED]> wrote:
> >
> > Possible, but a few challenges.
> >
> > First, Captivate demo's are usually meant to be played standalone.
 This
> > is
> > ecspecially true with the quizes.  I built a CaptivatePlayer because
> > people
> > generally create many demo's without a consolidated way to play them
> > together linearly.  The downside is, the quiz & emailing code that
> > Captivate
> > creates fails to work with the SWF is loaded into another via
loadMovie.
> > I
> > have yet to find a solution (nor really investigate the problem
fully).
> > This is because Captivate writes the ActionScript API for quizes at
> > compile
> > time and does not document this API, nor provide the source code
for it.
> > Therefore, I'm left to using decompilers to find my answers.
> >
> > Secondly, Captivate DOES provide an API for Captivate 1 SWF's to be
> > controlled; this is how I built my player.
> >
> > Third, Captivate 1 exports to Flash MX 2004 & Flash 8, allowing you to
> > customize it to your needs.  Thus you can extend it with
additional design
> >
> > and code if need to be to help faciliate getting information to Flex.
> >
> > Fourth, you cannot talk to non-Flash 9 SWF's in the Flash 9
player, and
> > currently Captivate 1 only supports Flash Player 6 (or 7, can't
remember
> > exactly), so you'll have to utilize other communication messages
such as
> > proxy SWF's, sockets, _javascript_, etc.
> >
> > The first one, however, can be a deal killer, so invest some
investigative
> >
> > time.
> >
> > The Captivate Development Center should have more information. 
There is
> > an
> > ActionScript API posted in the documentation somewhere, but I
can't find
> > it
> > at the moment.
> >
> > http://www.macromedia.com/devnet/captivate/
> >
> >
http://www.macromedia.com/devnet/captivate/articles/captivateplayer.html
> >
> >
> >
> >
> >
> > - Original Message -
> > From: "Christopher Sharon" <[EMAIL PROTECTED]>
> > To: "Flex Coders" 
> > Sent: Friday, April 28, 2006 1:09 PM
> > Subject: [flexcoders] Using captivate within flex
> >
> >
> > I'm just about to start a project for a training site.  The goal
of the
> > site is to track trainees progress through  several modules.  Each
> > module will contain  either :
> > 1)  links to external sites, a powerpoint presentation (probably
> > converted to captivate) or a video.
> > 2) A quiz that covers the previous content.
> > The trainee should be able to look at the content to find the answers.
> > Each module quiz will be graded and stored in a PostgreSQL database
> > designed to track user progress through the modules.
> >
> > The idea is to have a flex app (probably flex 2) using flex data
> > services and the hibernate adaptor.
> > Possibly using a tab navigator to display the module content i.e.  one
> > tab for learning content , one for resources, and one for the quiz.
> >
> > Does this sound like something that is good use of captivate (I've
only
> > used it for a couple of demos).
> > And I'm not sure what it's capabilities are or how to integrate it
with
> > flex.  It seems like it should be a good fit but I can't find any
> > articles on using the two technologies together?
> >
> >
> >
> >
> > --
> > 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

[flexcoders] Flex 2.0 : mx:Image - How do I smooth it during/after scaling?

2006-04-28 Thread willchapm



Is there a simple way to set the smoothing on an mx:Image in Flex2?

I have an mx:Image on my canvas with the width set to 100%.  The 
source is a png file.  When the canvas is scaled, the image is scaled 
up or down, but it looks "jaggy".  I am only looking for a smooth 
interpolatation here.

I looked for an attribute on the mx:Image to set the smoothing, but I 
can only find it on the Bitmap class.  

If it is only available on the Bitmap class, can I access my Image's 
bitmap (data?) and set it there?

Thanks,
---Will










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] AS3 - Support for Overloading Method Signatures?

2006-04-28 Thread Aaron King




Hey, does anyone know if there are plans to make AS3 support overloaded
method signatures anytime before it comes out of beta?

Thanks!
Aaron








--
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: iteration::two namespace

2006-04-28 Thread Darren Houle



Thanks, but that doesn't help getting the Cg.99 examples to run in F2B2 
(there are more Cg.99 examples available than Cg2.)

I've tried all of the following...

- Added a new namespace tag to the flex-config.xml in the F2B2 Framework 
directory that points to the cairngorm-mainifest.xml file

- Changed
http://www.adobe.com/2006/mxml" 
xmlns:cairngorm="http://www.iterationtwo.com/cairngorm" >
to
http://www.adobe.com/2006/mxml" 
xmlns:cairngorm="org.nevis.cairngorm.business.*" >

- Moved the Cairngorm packages into several different directories under the 
application's cairngorm directories.

Sheesh... I'm sure glad that they changed things around in Cg2 and got rid 
of that iterationtwo.com namespace... I'm amazed anyone got Cg.99 examples 
to run.

Darren





>From: "Renaun Erickson" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Re: iteration::two namespace
>Date: Thu, 27 Apr 2006 17:20:53 -
>
>There is a Cairngorm 2 beta version for the Flex 2 Beta 2+ out there.
>  Look over the list for the link.
>
>Renaun
>
>--- In flexcoders@yahoogroups.com, "Darren Houle" <[EMAIL PROTECTED]> wrote:
> >
> > I'm gathering all the public Caringorm examples I can for study, so I
> > downloaded the BlogReader.zip from EverythingFlex.com and created a new
> > project in F2B2.  It's Cg.99 so the first thing it did was barf over
>the
> > "http://www.macromedia.com/2003/mxml" mx namespace which I corrected
>with
> > "http://www.adobe.com/2006/mxml"  Then it fretted over not being
>able to
> > resolve Link to a component implementation, so I changed it to
>LinkButton.
> > Now that error is gone, but now it's complaining that it can't resolve
> >  to a component implementation, apparently
>because
> > of the "http://www.iterationtwo.com/cairngorm" namespace path in the
> > Services.mxml file.  Does this path need to be updated with
>something newer
> > like the mx namespace path did, or are there darker things afoot here?
> >
> > Thanks,
> > Darren
> >
>
>
>
>
>
>
>
>--
>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] Re: Adding a child to a vbox

2006-04-28 Thread Jeremy Rottman



I changed the way how  I am calling hte  information, and now I can create the compopents correctly.  The issue I stil lhave is, that when I create a the grid, the output should like this.correct display current display Here is my code.        for (var i:Number=0;i                            // COMPONENTS                var myGrid:Grid = new Grid();                var myGridRow: GridRow = new GridRow();                var myGridItem: GridItem = new GridItem();                var myCanvas: Canvas = new Canvas();                var transFee: Label = new Label();                var eno: Label = new Label();                var agentComm: Label = new Label();                var addTransFee: Label = new Label();                var nameLabel: Label = new Label();                var gacLabel: Label = new Label();                var tfLabel: Label = new Label();                var enoLabel: Label = new Label();                var atfLabel: Label = new Label();                var thfLabel: Label = new Label();                var acbLabel: Label = new Label();                var ncLabel: Label = new Label();                        // GRID SETTINGS                myGrid.id = "grid" + i;                myGrid.percentWidth = 100;                            // GRID ROW SETTINGS                myGridRow.id = "gridRow" + i;                        // GRID LIST ITEM SETTINGS                myGridItem.id = "gridItem" + i;                myGridItem.width = 445;                                            //  CANVAS SETTINGS                myCanvas.id = "canvas" + i;                myCanvas.percentWidth = 100;                                // LABEL SETTINGS                                // NAME LABEL SETTINGS                    nameLabel.x = 10;                    nameLabel.y = 10;                    nameLabel.text = result[i].AGENTNAME                                                    //  GROSS AGENT COMMISION LABEL SETTINGS                    gacLabel.x = 53;                    gacLabel.y = 36;                    gacLabel.text = "Gross Agent Commission";                                    // TRANSFEE LABEL SETTINGS                    tfLabel.x = 96;                    tfLabel.y = 62;                    tfLabel.text = "Transaction Fee";                                // E & O FEE LABEL SETTINGS                    enoLabel.x = 96;                    enoLabel.y = 88;                    enoLabel.text = "E & 0";                                // ADDITIONAL TRANS FEE LABEL SETTINGS                    atfLabel.x = 96;                    atfLabel.y = 114;                    atfLabel.text = "Additional Transaction Fee";                                // TOTAL HOMESMART FEE LABEL SETTINGS                    thfLabel.x = 53;                    thfLabel.y = 140;                    thfLabel.text = "Total HomeSmart Fees";                                                    // NET COMMISSION LABEL SETTINGS                    ncLabel.x = 53;                    ncLabel.y = 192;                    ncLabel.text = "Net Commission";                                                    // AGENT COMMISSION OUTPUT SETTINGS                    agentComm.x = 271;                    agentComm.y = 36;                    agentComm.text = result[i].AGENTCOMM;                                    // TRANSACTION FEE OUTPUT SETTINGS                    transFee.x = 271;                    transFee.y = 62;                    transFee.text = result[i].TRANSFEE;                                // E & O FEE OUTPUT SETTING                    eno.x = 271;                    eno.y = 88;                    eno.text = result[i].ENO;                                // ADDITIONAL TRANSACTION FEE OUTPUT SETTINGS                    addTransFee.x = 271;                    addTransFee.y = 114;                    addTransFee.text = result[i].ADDTRANSFEE;                                                                            // ADDING CHILDRENS                mainBox.addChild(myGrid);                myGrid.addChild(myGridRow);                myGridRow.addChild(myGridItem);                myGridItem.addChild(myCanvas);                myCanvas.addChild(nameLabel);                myCanvas.addChild(gacLabel);                myCanvas.addChild(tfLabel);                myCanvas.addChild(enoLabel);                myCanvas.addChild(atfLabel);                myCanvas.addChild(thfLabel);                myCanvas.addChild(ncLabel);                myCanvas.addChild(agentComm);                myCanvas.addChild(transFee);                myCanvas.addChild(eno);                myCanvas.addChild(addTransFee);        }--- In flexcoders@yahoogroups.com, "Andrew Trice" <[EMAIL PROTECTED]> wrote:>> I would try something like this...  > >  > > for ( var i:Number=0;i> > var initProps:Object={percentWidth:90};> > var myCanvas:Canvas = createChild(mx.containers.Canvas, '',> initProps);> > > > initProps={text:myCanvas.id};> > myCanvas.createCh

[flexcoders] Re: namespaces and sub-classes

2006-04-28 Thread nz_mehere



Hi Matt,

I was suspecting that may be the case.
Where can I find some info on creating a "namespace manifest file" 
you talked about?

Cheers,
David

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Sorry, you'll need to create another namespace for again,
> xmlns:again="com.here.it.is.again.*"
> 
> Alternatively you could create a namespace manifest file, but I 
don't
> know if it's worth it.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of nz_mehere
> Sent: Thursday, April 27, 2006 5:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] namespaces and sub-classes
> 
> Hi Guys,
> 
> I am learngin about namespaces.
> It's great you can have multiple name spaces in a .MXML file, but my
> question is this...
> 
> if I have:
> 
> 
> and in my classes I have the folder 
structure "/com/here/it/is/again/"
> is there any way I can use .AS classes in the "/again/" folder using
> the "myNameSpace" namespace?
> 
> I guess I am thinking of something like 

> or 
> 
> Hope that question makes sense.
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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.



  












RE: [flexcoders] Re: Adding a child to a vbox

2006-04-28 Thread Andrew Trice










I would try something like this… 


 

for ( var i:Number=0;i

    var
initProps:Object={percentWidth:90};

    var
myCanvas:Canvas = createChild(mx.containers.Canvas, '', initProps);

    

    initProps={text:myCanvas.id};

    myCanvas.createChild(mx.controls.Label,
'', initProps);

}

 

I have had better luck using createChild
rather than addChild.  I have also encountered problems when trying to set
an id when using createChild, and have had better luck letting flex assign an
id automatically.  I have been using Flex 1.5, so I don’t know for
certain whether this would work for you in F2B2, but its worth a try.

 

 

-Andy

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Friday, April 28, 2006 1:18
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adding a
child to a vbox



 

I think the issue, is
when I try to add a child to a previously
created child. Here is the test code that I have.


   
  for ( var i:Number=0;i
   
   
    // CREATE CANVAS
//
   
   
    var
newCanvas:Canvas = new Canvas();
   
   
   
  newCanvas.percentWidth = 100;
   
   
   
  newCanvas.id = "canvas" + i;
   
   
    var canvasId =
newCanvas.id;
   
   
   
  parentApplication.closing.mainBox.addChild(newCanvas);
   
   
    var
newLabel:Label = new Label();
   
   
   
  newLabel.text = canvasId;
   
   
   
 
parentApplication.closing.mainBox.canvasId.addChild(newLabel);
   
   
    

   
    
   
   
    }





--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]>
wrote:
>
> I have to use parentApplication because I am trying to create this
> grid from another state. So I have to work on the parent level. 
> 
> I have never used getChildByName, would I use it like this.
> 
>
parentApplication.closing.mainBox.getChildByName(newGird:string).addChild(newGridRow);
> 
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin"
 wrote:
> >
> > For one thing I would only do the
> > parentApplication.closing.mainBox.addChild(newGrid) and then for
every
> > other addChild just use the local variable.
> > 
> > newGrid.addChild(newGridRow);
> > newGridRow.addChild(newGridItem);
> > 
> > It will make things easier to follow, plus I'm not sure
mainBox.newGrid
> > will work unless it has an explicit property called newGrid,
otherwise
> > you have to do getChildByName or something like that.
> > 
> > Matt
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Jeremy Rottman
> > Sent: Wednesday, April 26, 2006 8:50 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Adding a child to a vbox
> > 
> > I am still working on this. I need to dynamically create a grid with
a
> > single row, and two items. Then I need to create labels, and text
input
> > inside the grid.  However, I cant get to that point yet, I am
still
> > unable to the complete grid w/ a test label in side the grid. I am
> > working with in F2B2.
> > 
> > Here is my code.
> > 
>
> 
for ( var i:Number=0;i
>
> 
// CREATE GRID //
>
> 
var newGrid:Grid = new Grid();
>
> 
newGrid.id = 'grid' + i;
>
> 
newGrid.percentWidth = 90;
> >

> > parentApplication.closing.mainBox.addChild(newGrid);
>
> 
// CREATE GRID ROW //
>
> 
var newGridRow:GridRow = new GridRow();
>
> 
newGridRow.id = 'gridRow' + i;
>
>

> > parentApplication.closing.mainBox.newGrid.addChild(newGridRow);
> > 
>
> 
if (result[i].TRANSSIDE is 'buyer'){
>
> 
// CREATE GRID ITEM //
>
> 
var newGridItem:GridItem = new
GridItem();
>
> 
newGridItem.id = 'listGridItem' + i;
>
> 
newGridItem.width = 445;
>
>

> >
parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte
> > \
> > m);
>
> 
// CREATE CANVAS //
>
> 
var newCanvas:Canvas = new Canvas();
>
> 
newCanvas.id = 'canvas' + i;
>
>

> >
parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil
> > \
> > d(newCanvas);
>
>

[flexcoders] Re: lazy associations in FDS

2006-04-28 Thread busitech



Hi Matt, thank you for the response, it was much appreciated.  It
sounds like the framework for this feature is still being fleshed out.

As I think more about it, a lazy association is a lot like paging,
except that the first page needs to be retrieved when a control
becomes visible - just like with paging when the second page needs to
be retrieved as the first page "runs dry".  The lazy association array
is delivered "dry" before we've scrolled down at all.  Maybe much of
the paging code could be utilized.  

The child record count is an important way to detect an empty
relationship vs a not-yet-loaded one.  The count would be the first
thing to retrieve with a lazy association, and should be stored to
indicate empty vs uninitialized.

Instead of passing a null array, could we return some sort of an
"paging array object" which has array status, total record count,
current page number and the array itself as properties?  This way the
client will know what it's dealing with.  

It would be a terrific feature to be able to subscribe to the
association (lazy or not, paged or not, or lazy and paged) which is
specific to the parent in the relationship, like Order-->Detail or
Customer-->Invoices.

Take for example two people are editing the same sales order.  Line
items being added by one operator could be sent to the other, totals
kept in sync, etc..  An awesome way to exploit the messaging protocol...









--
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] Help!

2006-04-28 Thread Darren Houle



Pretty sure you have to place a crossdomain file on the http server you're 
trying to hit if you're going to run the swf off your desktop.  Normally the 
swf has rights to hit the server it's served from, but when you run a swf 
file sitting on your desktop it's not "served" from any server, so any web 
server you specify would be "foreign" and would need to have a crossdomain 
file that allowed that swf to access it.

Darren



>From: "compengguy" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Help!
>Date: Thu, 27 Apr 2006 13:28:15 -
>
>Hi all,
>I am making a page for my teamsite where i am sending the sql query in
>the URL. which returns an xml file. When i compile and run this code
>in Flex Builder 2.0 , It runs fine but when i take that swf file and
>run it seperately It gives the following errors.
>
>   *
>Error: faultCode:Channel.Security.Error faultString:'Security error
>accessing url' faultDetail:'Destination: DefaultHTTP'
>  at
>mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
>  at flash.events::EventDispatcher/dispatchEvent()
>  at mx.messaging::MessageAgent/fault()
>  at mx.messaging::Producer/fault()
>  at ::DirectHTTPMessageResponder/securityErrorHandler()
>  at flash.events::EventDispatcher/dispatchEvent()
>  at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
>   
>what i need to do,to not to have this warning because after the
>warning it not fetches the data.
>
>The code snippet is
>
>
>so can anybody suggest what i need to do ?
>
>Thanks
>Sachin Gaur
>
>
>
>
>
>
>--
>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.



  











RE: [flexcoders] Flex2: getters, setters and function literals

2006-04-28 Thread Gordon Smith



I suppose this is perhaps a religious issue, but I think dynamic objects
also hurt programmer efficiency.

It may seem like you have to do less work to get something up and
running, but it costs you too much in inefficiency over the life of the
project, because the compiler doesn't catch the errors that it would
catch if your objects were non-dynamic.

The basic problem is that you can reference any property on a dynamic
object without getting an error, either at compile time or a run time,
so something as basic as a spelling error produces a less obvious error
later when your code does something with the resulting 'undefined'
value.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dion Mendel
Sent: Friday, April 28, 2006 3:14 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2: getters, setters and function literals

On Thu, Apr 27, 2006 at 03:08:20PM -0700, Gordon Smith wrote:
> Sorry, you can't dynamically add a getter/setter in AS3.
> 
> In general, we recommend using non-dynamic classes when possible
because
> they have better performance. What's your use case for wanting dynamic
> addition of getter/setters?

I'm just trying to find what is and what isn't possible with the dynamic
language aspects of AS3.  Programmer efficiency is more important to me
than execution speed.

Thanks for confirming the getter/setter question.

Dion.


--
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] Re: Adding a "close button" to a tab? (Flex 1.5)

2006-04-28 Thread ptrisnadi



Had a problem, browsed the archived, and found the answer I needed --
thank you! (Yes, I am still using Flex 1.5.)

HOWEVER, it is not totally solved, as tabbar still freaks out if I
createChild dynamically. The hidden tab will show as empty gap between
other visible tabs.

My question is: how can I keep the hidden tab hidden and width=0? I
have used
  view.appView['tabBar'].setSize(view.appView.width,'22');
but it still shows the gap...

Thank you,
ptrisnadi

--- In flexcoders@yahoogroups.com, dave buhler <[EMAIL PROTECTED]> wrote:
>
> I think you're going to run into a few more complications.
> 
> When you 'close' the tab, as I learned from Ali, you'll really have
to do 
> the following:
> 
> Set the tab's visibility to false.
> Set the tab's width to 0.
> 
> However, when you resize the stage, you're going to run into another
issue. 
> Flex is going to recalculate the tabbar and then rebuild the tabs. So 
> invisible tabs will suddenly have a new width. You'll need to add a
resize 
> handler that determines which tabs are 'closed' or by this point,
for your 
> user, since the tabs will have a visibility of false, set their size
to 0 
> again.
> 
> Then, you'll see the tabbar freaks out and spaces the tabs in a
staggered 
> format. To get around this, your resize handler needs to get a width
to set 
> the size of the tabbar. I'd use the width of the parent tabnavigator
and do 
> the following:
>
---
> view.appView['tabBar'].setSize(view.appView.width,'22');
> 
> And to remove the tabs, you'll need something like:
>

> public function setNavigation() : Void {
> 
> var tab0 = view.appView["tabBar"].getChildAt(0);
> var tab1 = view.appView["tabBar"].getChildAt(1);
> 
> tab0.visible = false;
> tab0.width = 0;
> tab1.visible = false;
> tab1.width = 0;
> 
> view.appView['tabBar'].setSize(view.appView.width,'22');
> }
> 
> On click, you can get the 
> 
> selectedIndex
> 
> of the tab that was clicked, and pass it over to the setNavigator
function 
> as a parameter and set the visiblity to false and size to 0.
> 
> Dave
> 
> 
> On 6/8/05, Eric Raymond <[EMAIL PROTECTED]> wrote:
> > 
> > Each tab correponds to a view (in a viewstack).
> > 
> > 
> > --- In flexcoders@yahoogroups.com, dave buhler <[EMAIL PROTECTED]>
wrote:
> > > Hi Eric,
> > >
> > > Are the tabs specific to an underlying view or are the tabs
meant to be
> > > closeButtons, similar to what you might find for a TitleWindow?
> > >
> > > Dave
> > >
> > > On 6/7/05, Eric Raymond <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Is there a way to add a close button to a tab in a tabbar?
> > > >
> > > > That is, we'd like to put a graphic image of an "x" in some
tabs in
> > > > our application that are "closeable".
> > > >
> > > > I think there are two issues here:
> > > >
> > > > 1) Adding an extra icon to the tab
> > > >
> > > > As a hack, we could get away with "prepending" the close image the
> > > > existing tab icon.
> > > >
> > > >
> > > > 2) Detecting a click in the close icon
> > > >
> > > > As far as I know, the tabbar grabs all mouse/click events.
> > > >
> > > >
> > > > Any ideas?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 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.



  











Re: [flexcoders] Re: Dynamic GIFs

2006-04-28 Thread JesterXL



Yep!  You just described what they do for fileuploading here:
http://www.macromedia.com/devnet/flex/articles/fp8_features.html

Same thing, only you are calling "loadThisImage" or whatever you call the 
method.

- Original Message - 
From: "Dmitry Miller" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 3:16 PM
Subject: [flexcoders] Re: Dynamic GIFs


So, if I create my own Image control using Flash 8, have it stored as
 a separate SWF and link it to Flex via mx:Loader, that should work,
right?

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> If the SWF runs in the Flash Player 8, yes.  Loading GIF's
dynamically is
> only supported in Flash Player 8 and above.
>
> - Original Message - 
> From: "Dmitry Miller" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, April 28, 2006 2:07 PM
> Subject: [flexcoders] Dynamic GIFs
>
>
> Hello,
>
> I am working with dynamic images. The problem is that these images are
> in GIF format. Right now I am converting them into JPEGs but since the
> images I work with are rather big in size (300-400k) I am loosing a
> lot of time on conversion. Is there a way to load GIFs dynamically in
> Flex 1.5? Thanks a lot
>
> --- Dmitry
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>







--
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] [job] Come play with Flex2 in NYC!

2006-04-28 Thread Avi Flax



Have you been playing with the Flex2 Beta? Are you excited about the
new capabilities of AS3? Do your dreams include E4X, the Flex-Ajax
Bridge, or Flex Data Services?

Come work for Arc90! We’re a small independent web experience
consultancy; we develop cutting-edge web software experiences for
businesses that have the courage to push envelopes. You can check out
our website at arc90.com, but trust us: the cool stuff is on the inside.

We need somebody to come on board and design and code a Flex2 app from
scratch; something that’s a great fit for the capabilities of Flex,
and a good challenge. You get to master Flex2 while working on an
interesting project in a creative, loose, and informal environment!

We’re looking for creative software designersâ€"people who can engineer
code and think OOP, but always consider the user experience as the
bottom line. You should have experience with Flex, ActionScript,
XHTML, _javascript_, XML, and CSS. Familiarity with REST and/or AJAX
would be excellent.

If you enjoy being challenged and you think you fit the bill, please
email: [EMAIL PROTECTED]










--
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: Dynamic GIFs

2006-04-28 Thread Dmitry Miller



So, if I create my own Image control using Flash 8, have it stored as
 a separate SWF and link it to Flex via mx:Loader, that should work,
right?

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> If the SWF runs in the Flash Player 8, yes.  Loading GIF's
dynamically is 
> only supported in Flash Player 8 and above.
> 
> - Original Message - 
> From: "Dmitry Miller" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, April 28, 2006 2:07 PM
> Subject: [flexcoders] Dynamic GIFs
> 
> 
> Hello,
> 
> I am working with dynamic images. The problem is that these images are
> in GIF format. Right now I am converting them into JPEGs but since the
> images I work with are rather big in size (300-400k) I am loosing a
> lot of time on conversion. Is there a way to load GIFs dynamically in
> Flex 1.5? Thanks a lot
> 
> --- Dmitry
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Using captivate within flex

2006-04-28 Thread Manuel Saint-Victor



During my time with Captivate I was unable to find a way to dynamically pull questions from a database.  That might have been due to my personal skill limitations but I found that I had to put the questions in manually.  I hope someone can call me wrong on that one but that's something would definitely check into.  
From what I was told when I called Macromedia a year or so ago- the Flash quiz component is more robust.  I'd venture to say that you might be better off creating a custom Flex component for a particular quiz question type.  I'd think that it's matter of time before all kinds of components like this start coming around.
ManiOn 4/28/06, JesterXL <[EMAIL PROTECTED]> wrote:



Possible, but a few challenges.

First, Captivate demo's are usually meant to be played standalone.  This is 
ecspecially true with the quizes.  I built a CaptivatePlayer because people 
generally create many demo's without a consolidated way to play them 
together linearly.  The downside is, the quiz & emailing code that Captivate 
creates fails to work with the SWF is loaded into another via loadMovie.  I 
have yet to find a solution (nor really investigate the problem fully). 
This is because Captivate writes the ActionScript API for quizes at compile 
time and does not document this API, nor provide the source code for it. 
Therefore, I'm left to using decompilers to find my answers.

Secondly, Captivate DOES provide an API for Captivate 1 SWF's to be 
controlled; this is how I built my player.

Third, Captivate 1 exports to Flash MX 2004 & Flash 8, allowing you to 
customize it to your needs.  Thus you can extend it with additional design 
and code if need to be to help faciliate getting information to Flex.

Fourth, you cannot talk to non-Flash 9 SWF's in the Flash 9 player, and 
currently Captivate 1 only supports Flash Player 6 (or 7, can't remember 
exactly), so you'll have to utilize other communication messages such as 
proxy SWF's, sockets, _javascript_, etc.

The first one, however, can be a deal killer, so invest some investigative 
time.

The Captivate Development Center should have more information.  There is an 
ActionScript API posted in the documentation somewhere, but I can't find it 
at the moment.

http://www.macromedia.com/devnet/captivate/

http://www.macromedia.com/devnet/captivate/articles/captivateplayer.html





- Original Message - 
From: "Christopher Sharon" <[EMAIL PROTECTED]>
To: "Flex Coders" 
Sent: Friday, April 28, 2006 1:09 PM
Subject: [flexcoders] Using captivate within flex


I'm just about to start a project for a training site.  The goal of the
site is to track trainees progress through  several modules.  Each
module will contain  either :
 1)  links to external sites, a powerpoint presentation (probably
converted to captivate) or a video.
 2) A quiz that covers the previous content.
The trainee should be able to look at the content to find the answers.
Each module quiz will be graded and stored in a PostgreSQL database
designed to track user progress through the modules.

The idea is to have a flex app (probably flex 2) using flex data
services and the hibernate adaptor.
Possibly using a tab navigator to display the module content i.e.  one
tab for learning content , one for resources, and one for the quiz.

Does this sound like something that is good use of captivate (I've only
used it for a couple of demos).
And I'm not sure what it's capabilities are or how to integrate it with
flex.  It seems like it should be a good fit but I can't find any
articles on using the two technologies together?




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

Re: [flexcoders] Re: mx:ComboBox selectedItem ="{blah}" (flex 2)

2006-04-28 Thread John C. Bland II



I've already tried that. Well, not getItemAt because I used items.selectedItem (same thing).On 4/28/06, Suzy Lawson <
[EMAIL PROTECTED]> wrote:


selectedItem="{items.getItemAt(3).fieldName}"

--- In flexcoders@yahoogroups.com, "John C. Bland II" 

<[EMAIL PROTECTED]> wrote:
>
> I am working with some a combo and the custom component listing the 
states
> works perfectly fine for simply saying: selectedItem="{
> items.selectedItem.state}". It will change and work as expected 
(when the
> grid is clicked).
> 
> Well, that component is nothing but a mx:dataProvider with 

> values inside. So the selectedItem is a string (when calling
> mycombo.selectedItem) as opposed to an object.
> 
> My question is, when you have an object as the dp to a combo (or 
any other
> component with selectedItem) how do you set the selected item 
without doing
> a loop + if to find the proper selectedIndex?
> 
> Thanks,
> 
> --
> John C. Bland II
> "I do what I can do when I can do it." - Chris Tucker, Money Talks
> 
> http://www.gotoandstop.org - Home of FMUG.az
>










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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  










-- John C. Bland II"I do what I can do when I can do it." - Chris Tucker, Money Talkshttp://www.gotoandstop.org
 - Home of FMUG.az






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Using captivate within flex

2006-04-28 Thread JesterXL



Possible, but a few challenges.

First, Captivate demo's are usually meant to be played standalone.  This is 
ecspecially true with the quizes.  I built a CaptivatePlayer because people 
generally create many demo's without a consolidated way to play them 
together linearly.  The downside is, the quiz & emailing code that Captivate 
creates fails to work with the SWF is loaded into another via loadMovie.  I 
have yet to find a solution (nor really investigate the problem fully). 
This is because Captivate writes the ActionScript API for quizes at compile 
time and does not document this API, nor provide the source code for it. 
Therefore, I'm left to using decompilers to find my answers.

Secondly, Captivate DOES provide an API for Captivate 1 SWF's to be 
controlled; this is how I built my player.

Third, Captivate 1 exports to Flash MX 2004 & Flash 8, allowing you to 
customize it to your needs.  Thus you can extend it with additional design 
and code if need to be to help faciliate getting information to Flex.

Fourth, you cannot talk to non-Flash 9 SWF's in the Flash 9 player, and 
currently Captivate 1 only supports Flash Player 6 (or 7, can't remember 
exactly), so you'll have to utilize other communication messages such as 
proxy SWF's, sockets, _javascript_, etc.

The first one, however, can be a deal killer, so invest some investigative 
time.

The Captivate Development Center should have more information.  There is an 
ActionScript API posted in the documentation somewhere, but I can't find it 
at the moment.

http://www.macromedia.com/devnet/captivate/

http://www.macromedia.com/devnet/captivate/articles/captivateplayer.html




- Original Message - 
From: "Christopher Sharon" <[EMAIL PROTECTED]>
To: "Flex Coders" 
Sent: Friday, April 28, 2006 1:09 PM
Subject: [flexcoders] Using captivate within flex


I'm just about to start a project for a training site.  The goal of the
site is to track trainees progress through  several modules.  Each
module will contain  either :
 1)  links to external sites, a powerpoint presentation (probably
converted to captivate) or a video.
 2) A quiz that covers the previous content.
The trainee should be able to look at the content to find the answers.
Each module quiz will be graded and stored in a PostgreSQL database
designed to track user progress through the modules.

The idea is to have a flex app (probably flex 2) using flex data
services and the hibernate adaptor.
Possibly using a tab navigator to display the module content i.e.  one
tab for learning content , one for resources, and one for the quiz.

Does this sound like something that is good use of captivate (I've only
used it for a couple of demos).
And I'm not sure what it's capabilities are or how to integrate it with
flex.  It seems like it should be a good fit but I can't find any
articles on using the two technologies together?




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



  












Re: [flexcoders] Dynamic GIFs

2006-04-28 Thread JesterXL



If the SWF runs in the Flash Player 8, yes.  Loading GIF's dynamically is 
only supported in Flash Player 8 and above.

- Original Message - 
From: "Dmitry Miller" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 2:07 PM
Subject: [flexcoders] Dynamic GIFs


Hello,

I am working with dynamic images. The problem is that these images are
in GIF format. Right now I am converting them into JPEGs but since the
images I work with are rather big in size (300-400k) I am loosing a
lot of time on conversion. Is there a way to load GIFs dynamically in
Flex 1.5? Thanks a lot

--- Dmitry






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











--
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] Dynamic GIFs

2006-04-28 Thread Dmitry Miller



Hello, 

I am working with dynamic images. The problem is that these images are
in GIF format. Right now I am converting them into JPEGs but since the
images I work with are rather big in size (300-400k) I am loosing a
lot of time on conversion. Is there a way to load GIFs dynamically in
Flex 1.5? Thanks a lot 

--- Dmitry 










--
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: Adding a child to a vbox

2006-04-28 Thread Jeremy Rottman



I think the issue, is when I try to add a child to a previously
created child. Here is the test code that I have.


      for ( var i:Number=0;i
            // CREATE CANVAS //
            var newCanvas:Canvas = new Canvas();
              newCanvas.percentWidth = 100;
              newCanvas.id = "canvas" + i;
            var canvasId = newCanvas.id;
              parentApplication.closing.mainBox.addChild(newCanvas);
            var newLabel:Label = new Label();
              newLabel.text = canvasId;
              parentApplication.closing.mainBox.canvasId.addChild(newLabel);
            

        
            }





--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> wrote:
>
> I have to use parentApplication because I am trying to create this
> grid from another state. So I have to work on the parent level. 
> 
> I have never used getChildByName, would I use it like this.
> 
>
parentApplication.closing.mainBox.getChildByName(newGird:string).addChild(newGridRow);
> 
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin"  wrote:
> >
> > For one thing I would only do the
> > parentApplication.closing.mainBox.addChild(newGrid) and then for every
> > other addChild just use the local variable.
> > 
> > newGrid.addChild(newGridRow);
> > newGridRow.addChild(newGridItem);
> > 
> > It will make things easier to follow, plus I'm not sure
mainBox.newGrid
> > will work unless it has an explicit property called newGrid, otherwise
> > you have to do getChildByName or something like that.
> > 
> > Matt
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Jeremy Rottman
> > Sent: Wednesday, April 26, 2006 8:50 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Adding a child to a vbox
> > 
> > I am still working on this. I need to dynamically create a grid with a
> > single row, and two items. Then I need to create labels, and text
input
> > inside the grid.  However, I cant get to that point yet, I am still
> > unable to the complete grid w/ a test label in side the grid. I am
> > working with in F2B2.
> > 
> > Here is my code.
> > 
> >  for ( var i:Number=0;i
> >  // CREATE GRID //
> >  var newGrid:Grid = new Grid();
> >  newGrid.id = 'grid' + i;
> >  newGrid.percentWidth = 90;
> > 
> > parentApplication.closing.mainBox.addChild(newGrid);
> >  // CREATE GRID ROW //
> >  var newGridRow:GridRow = new GridRow();
> >  newGridRow.id = 'gridRow' + i;
> > 
> > parentApplication.closing.mainBox.newGrid.addChild(newGridRow);
> > 
> >  if (result[i].TRANSSIDE is 'buyer'){
> >  // CREATE GRID ITEM //
> >  var newGridItem:GridItem = new
GridItem();
> >  newGridItem.id = 'listGridItem' + i;
> >  newGridItem.width = 445;
> > 
> >
parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte
> > \
> > m);
> >  // CREATE CANVAS //
> >  var newCanvas:Canvas = new Canvas();
> >  newCanvas.id = 'canvas' + i;
> > 
> >
parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil
> > \
> > d(newCanvas);
> >  // CREATE LABEL //
> >  var newLabel:Label = new Label();
> >  newLabel.text = "TEST";
> > 
> >
parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv
> > \
> > as.addChild(newLabel);
> > 
> >  }
> >  else if (result[i].TRANSSIDE is 'seller'){
> >  // CREATE GRID ITEM //
> >  var newGridItem:GridItem = new
GridItem();
> >  newGridItem.id = 'saleGridItem' + i;
> >  newGridItem.width = 529;
> > 
> >
parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte
> > \
> > m);
> >  // CREATE CANVAS //
> >  var newCanvas:Canvas = new Canvas();
> >  newCanvas.id = 'canvas' + i;
> > 

[flexcoders] Using captivate within flex

2006-04-28 Thread Christopher Sharon



I'm just about to start a project for a training site.  The goal of the 
site is to track trainees progress through  several modules.  Each 
module will contain  either :
 1)  links to external sites, a powerpoint presentation (probably 
converted to captivate) or a video. 
 2) A quiz that covers the previous content.
The trainee should be able to look at the content to find the answers.
Each module quiz will be graded and stored in a PostgreSQL database 
designed to track user progress through the modules.

The idea is to have a flex app (probably flex 2) using flex data 
services and the hibernate adaptor.
Possibly using a tab navigator to display the module content i.e.  one 
tab for learning content , one for resources, and one for the quiz.

Does this sound like something that is good use of captivate (I've only 
used it for a couple of demos).
And I'm not sure what it's capabilities are or how to integrate it with 
flex.  It seems like it should be a good fit but I can't find any 
articles on using the two technologies together?








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: Flex2 B2: TabNavigator: Graphical Skinning

2006-04-28 Thread brian_m_riley



I've decided too much coding and too little slp makes for a bad
programmer...

I was looking to skin the individual tabs. After 5 more minutes of
research, I found the tabStyleName for the TabNavigator and created
skins for the different states of the tab (and skinned it just like a
Button since Tab extends Button).

myTabNav {
upSkin: Embed("myTabUpSkin.png");
overSkin: Embed("myTabUpSkin.png");
...
}

-riley

--- In flexcoders@yahoogroups.com, "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> What part do you want to skin. With that info, you can pick your
trail :)
> 
> Peace, Mike
> 
> On 4/28/06, brian_m_riley <[EMAIL PROTECTED]> wrote:
> >
> > Flex2 B2: TabNavigator: Graphical Skinning
> >
> > I haven't found any documentation on this...is it possible? I'm hoping
> > it's similar to the impl of a HeaderClass for the Accordion.
> >
> > tx
> > -riley
> >
> >
> >
> >
> >
> >
> >  --
> > 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]<[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] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread John Dowdell



As Jesse noted, the Shockwave Player's 3D engine can take advantage of 
hardware acceleration (if available) for its realtime rendering, and 
over half of all consumers tested already have this ability on their 
machines. SWF files also integrate nicely into Shockwave work.

(The new Acrobat 3D also has a realtime 3D rendering engine, and I 
believe it can take advantage of any available hardware acceleration, 
but I'd have to doublecheck that last detail. SWF integration is 
possible now, but I expect will improve further in the future.)


> yes, but if you can run flash in director, you should be able to run
> director in flash.

No, Shockwave Player has a extensibility mechanism and can accommodate 
additional renderers, but this is part of why the download size is 
larger, adoption rate slower. (Oh, I see, reading more of the thread, 
Jesse covered that too, I need more coffee ;-)


jd









--
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 and FMS2 : recording a stream?

2006-04-28 Thread jeremy lu



wait for beta 3 in the very very near future and try again.On 4/28/06, Benoit Hediard <[EMAIL PROTECTED]
> wrote:






Hi,
 
I'm currently 
working on Flex2/FMS2 app.
I've successfully 
managed to publish a video stream, but I cannot record 
it.
 
It looks like the 
flash.net.NetStream API documentation is incomplete.
The only documented 
methods are close(), pause(), play() and seek().
The undocumented 
methods attachCamera() and attachAudio() works great but the publish() method 
don't for recording? 
 
When using 
someNetStream.publish("someStreamName", "record"), the "record" parameter is 
ignored, no 
flv is created on the server side.
 
Any 
idea?
 
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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: Flex 2.0 Beta 2

2006-04-28 Thread jeremy lu



but, I do think part of the advantage of Flex 2 is the *framework* behind the secne, without it, you should just use Flash 9 :-)On 4/29/06, ben.clinkinbeard
 <[EMAIL PROTECTED]> wrote:
Here are a couple of good articles concerning ActionScript projects inFlex:http://www.asserttrue.com/articles/2006/04/09/actionscript-projects-in-flex-builder-2-0
http://www.asserttrue.com/articles/2006/04/18/library-type-assets-in-actionscript-3-0-using-the-embed-metatdata-tag
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread Weyert de Boer



WinFX for the Mac, you have seen it in real life? I haven't.






--
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: Flex 2.0 Beta 2

2006-04-28 Thread ben.clinkinbeard



Here are a couple of good articles concerning ActionScript projects in
Flex:

http://www.asserttrue.com/articles/2006/04/09/actionscript-projects-in-flex-builder-2-0
http://www.asserttrue.com/articles/2006/04/18/library-type-assets-in-actionscript-3-0-using-the-embed-metatdata-tag










--
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] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread Robert Thompson



That's the whole point -- I know you guys can do it...as the headlines say Adobe and Mickeysoft are on a head-on collision and I hope MS gets their butt kicked (I have my reasons).JesterXL <[EMAIL PROTECTED]> wrote: Director's engine supports embedding ActiveX  controls whereas Flash does not.  Director is a more heavyweight plugin as  consequence whereas Flash Player is significantly lighter and more ubiquitious  as a result.  There is a tradeoff to filesize, and embedding is not  necessarely mutually exclusive.   - Original Message -  From: Dominick  Accattato  To: flexcoders@yahoogroups.com  Sent: Friday, April 28, 2006 10:00 AM Subject: Re: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player  9 MS comments about Flash re Vista yes, but if you can run flash in director, you should be able to  run director in flash.  Of course, the developer could just use the iframe 
 trick. On 4/28/06, JesterXL  <[EMAIL PROTECTED]>  wrote:They did that in another product, Director, andit runs hardware accelerated 3D on the web.      - Original Message -From: Robert Thompson   To: flexcoders@yahoogroups.comSent: Friday, April 28, 2006 6:54 AM   Subject: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9MS comments about Flash re Vista    PRE-TEXT:Just some encouragement.  You guys at Adobe are smart and I know you canput in a DirectX like API that is perhaps a triggered add-on to the normalFlash Player, something that says "This site includes high-end real timegraphics; do you
 want to download the OpenGL Flash Player support extension?"I just saw a Video this morning after reading Dvorak's articlethat IE is now an albatross due to their loss to Eolas in December and the11th of this month requiring a huge change to ActiveX control interaction.The video was a cross link and discussed the lack of real 3D withtexturing etc. (DirectX) in Flash and a hint that "our technology you can't doon a browser".Well, you can in an ActiveX control but now that'sScrewed :-) So Vista WinFX and the Macintosh "Viewer" (i.e. notdesigner app) will be this coming "Headon Collision between Adobe andMicrosoft".I just want to encourage the FLEX and Flash 9 developers totry and bust Mickeysoft's bubble when it comes to the fact that they are anold man who is slowly dying -- they will be kept alive for a long time bytheir Cash Reserve which, some say has a lot of money in it
 through dirtytricks -- but in the end, I believe Adobe will come out ahead. Again,the FLEX group and FLASH group are full of very smart guys enough so to put ina DirectX like API that is perhaps a triggered add-on to the normal FlashPlayer, something that says "This site includes high-end real time graphics;do you want to download the OpenGL Flash Player support extension?"-r-r Yahoo! Messenger with Voice. PC-to-Phone calls forridiculously low rates. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearchArchives: http://www.mail-archive.com/flexcoders%40yahoogroups.com   SPONSOREDLINKS Web site
 design developmentComputer software developmentSoftware design and development Macromedia flexSoftware 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. 
		Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.





--
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: Adding a child to a vbox

2006-04-28 Thread Jeremy Rottman



I have to use parentApplication because I am trying to create this
grid from another state. So I have to work on the parent level. 

I have never used getChildByName, would I use it like this.

parentApplication.closing.mainBox.getChildByName(newGird:string).addChild(newGridRow);


--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> For one thing I would only do the
> parentApplication.closing.mainBox.addChild(newGrid) and then for every
> other addChild just use the local variable.
> 
> newGrid.addChild(newGridRow);
> newGridRow.addChild(newGridItem);
> 
> It will make things easier to follow, plus I'm not sure mainBox.newGrid
> will work unless it has an explicit property called newGrid, otherwise
> you have to do getChildByName or something like that.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jeremy Rottman
> Sent: Wednesday, April 26, 2006 8:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Adding a child to a vbox
> 
> I am still working on this. I need to dynamically create a grid with a
> single row, and two items. Then I need to create labels, and text input
> inside the grid.  However, I cant get to that point yet, I am still
> unable to the complete grid w/ a test label in side the grid. I am
> working with in F2B2.
> 
> Here is my code.
> 
>  for ( var i:Number=0;i
>  // CREATE GRID //
>  var newGrid:Grid = new Grid();
>  newGrid.id = 'grid' + i;
>  newGrid.percentWidth = 90;
> 
> parentApplication.closing.mainBox.addChild(newGrid);
>  // CREATE GRID ROW //
>  var newGridRow:GridRow = new GridRow();
>  newGridRow.id = 'gridRow' + i;
> 
> parentApplication.closing.mainBox.newGrid.addChild(newGridRow);
> 
>  if (result[i].TRANSSIDE is 'buyer'){
>  // CREATE GRID ITEM //
>  var newGridItem:GridItem = new GridItem();
>  newGridItem.id = 'listGridItem' + i;
>  newGridItem.width = 445;
> 
> parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte
> \
> m);
>  // CREATE CANVAS //
>  var newCanvas:Canvas = new Canvas();
>  newCanvas.id = 'canvas' + i;
> 
> parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil
> \
> d(newCanvas);
>  // CREATE LABEL //
>  var newLabel:Label = new Label();
>  newLabel.text = "TEST";
> 
> parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv
> \
> as.addChild(newLabel);
> 
>  }
>  else if (result[i].TRANSSIDE is 'seller'){
>  // CREATE GRID ITEM //
>  var newGridItem:GridItem = new GridItem();
>  newGridItem.id = 'saleGridItem' + i;
>  newGridItem.width = 529;
> 
> parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte
> \
> m);
>  // CREATE CANVAS //
>  var newCanvas:Canvas = new Canvas();
>  newCanvas.id = 'canvas' + i;
> 
> parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil
> \
> d(newCanvas);
>  // CREATE LABEL //
>  var newLabel:Label = new Label();
>  newLabel.text = "TEST";
> 
> parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv
> \
> as.addChild(newLabel);
> 
>  }
> 
> 
> 
> 
> 
> 
> 
> --
> 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
  
  


 

Re: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread Robert Thompson



Yeah, but can you make it integrated in Flash.I hate Director development.What sucks is that the new Sparkle Designer is awesome; and it's a damn shame to have to use anything Microsoft.  They've just done too many low-down things...I need to stop myself there.JesterXL <[EMAIL PROTECTED]> wrote: They did that in another product, Director, and it  runs hardware accelerated 3D on the web.   - Original Message -  From: Robert Thompson  To: flexcoders@yahoogroups.com  Sent: Friday, April 28, 2006 6:54 AM Subject: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9  MS comments about Flash re Vista PRE-TEXT: Just  some encouragement.  You guys at Adobe are smart and I know you can put in  a DirectX like API that is perhaps a triggered add-on to the normal Flash  Player, something that says "This site includes high-end real time graphics; do  you want
 to download the OpenGL Flash Player support extension?"I  just saw a Video this morning after reading Dvorak's article that IE is now an  albatross due to their loss to Eolas in December and the 11th of this month  requiring a huge change to ActiveX control interaction.The video was a  cross link and discussed the lack of real 3D with texturing etc. (DirectX) in  Flash and a hint that "our technology you can't do on a browser".Well,  you can in an ActiveX control but now that's Screwed :-)So Vista WinFX  and the Macintosh "Viewer" (i.e. not designer app) will be this coming "Headon  Collision between Adobe and Microsoft".I just want to encourage the FLEX  and Flash 9 developers to try and bust Mickeysoft's bubble when it comes to the  fact that they are an old man who is slowly dying -- they will be kept alive for  a long time by their Cash Reserve which, some say has a lot of money in it  through dirty tricks -- but in the
 end, I believe Adobe will come out  ahead.Again, the FLEX group and FLASH group are full of very smart guys  enough so to put in a DirectX like API that is perhaps a triggered add-on to the  normal Flash Player, something that says "This site includes high-end real time  graphics; do you want to download the OpenGL Flash Player support  extension?"-r-r   Yahoo!  Messenger with Voice. PC-to-Phone calls for ridiculously low rates.  
		Get amazing travel prices for air and hotel in one click on Yahoo! FareChase 






--
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 :: Subclassing Button :: How to change hitarea placement

2006-04-28 Thread Michael Schmalle



Well,

Do you have another answer ;-)

This did what I was looking for but, the event effect still is not right. 

I am making a drag and drop tab button. I need the button to have the
normal hitarea that the skins use to detect the ACTUAL button click. I
need a 10x10 dragger sprite, button whatever to be on top of the button
skins, this component needs to listen for mouseMove etc.

Then I need a close button on the other side. Now this would be really
easy from my end. I wouldn't even extend button, I would make my own
tab using composition. To me that is more tight thatn what I am doing
to the Button.

The problem with the approach is, Adobe did not program to an interface
but to a concrete implementation of Button in the TabBar. So now, I
cannot override createNavItem() and use my Tab becasue down the chain
in the Bar, it is testing somewhere for mx.controls.Button, then I get
the nice cannot coeirce Tab to Button.

If there was an IButton interface or ITabButton interface that they
tested for, that would solve problems like this where I do not want to
subclass but to type an instance AS ITabButton interface that does what
the ITabButton interface requires..

Any thoughts? Am I doing something wrong when subclassing the Button?

Peace, MikeOn 4/28/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
Dude, !

Thanks, I knew it was as simple as that!

Thanks again.

Peace, MikeOn 4/28/06, Dirk Eismann <
[EMAIL PROTECTED]> wrote:



Here's a quick example of a Button subclass which is only clickable on
its left side:

package {
  
  import mx.controls.Button;
  import flash.display.*;
  
  public class ButtonTest extends Button {
  
    override protected function createChildren():void
    {
      super.createChildren();
      
      var s:Sprite = new Sprite();
      s.visible = false;
      s.mouseEnabled = false;

      addChild(s);
      hitArea = s;
    }
    
    override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
   
  super.updateDisplayList(unscaledWidth,
unscaledHeight);
      var g:Graphics = hitArea.graphics;
      g.clear();
      g.beginFill(1, 1);
      g.drawRect(0, 0, unscaledWidth/2,
unscaledHeight);
    }
  }
}

Usage:


http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute">
  



Dirk.



  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
  Sent: Friday, April 28, 2006 3:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex2 :: Subclassing Button :: How to
change hitarea placement
  
  
  Hi,
  
  I was wondering if anybody from Adobe could shed some light on
how to go about adding like two little buttons to a Button?
  
  I have tried with all my heart and cannot find a way to chnge
the hitArea of a button to something smaller than it's bounds.
  
   Are you just adding a click listener to the whole component? If
so, this makes it really hard to subclass. 
  
  Can you give me any advice?
  
  Peace, Mike
  
  PS won't be asking these questions when I can see the source !
:)
  
  -- 
  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


RE: [flexcoders] Re: Possible to invoke Flex2b2 compiler as a Java class?

2006-04-28 Thread Peter Farland



Sorry, this method of invocation is not supported by Flex.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Avi Flax
Sent: Friday, April 28, 2006 10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Possible to invoke Flex2b2 compiler as a Java
class?

Anyone? Please?

--- In flexcoders@yahoogroups.com, "Avi Flax" <[EMAIL PROTECTED]> wrote:
>
> Dave, thanks for your help! What you said makes sense, but 
> unfortunately I'm still having trouble with it.
> 
> Here's my ColdFusion code:
> 
> 
>   MXMLc = URLClassLoader.LoadJarClass("C:\Program Files\Adobe\Flex

> Framework 2\lib\mxmlc.jar", "flex2.tools.Compiler");
> 
>   Args = '-flexlib "C:\Program Files\Adobe\Flex Framework 
> 2\frameworks\" "C:\inetpub\builder\mxml\test1.mxml";
> 
>   MXMLc.main(JavaCast("String", Args)); 
> 
> I *think* this follows what you suggested. When I try to run this, I 
> get the following error message:
> 
> "The selected method main was not found."
> 
> "Either there are no methods with the specified method name and 
> argument types, or the method main is overloaded with arguments types 
> that ColdFusion can't decipher reliably. If this is a Java object and 
> you verified that the method exists, you may need to use the javacast 
> function to reduce ambiguity."
> 
> So... any more tips?
> 
> BTW I do know that I'm initializing the class properly; if I pass 
> MXMLc to the CFDUMP tag, I see the following:
> 
> object of flex2.tools.Compiler
> Methods:
>   main (returns void)
>   hashCode (returns int)
>   getClass (returns java.lang.Class)
>   wait (returns void)
>   wait (returns void)
>   wait (returns void)
>   equals (returns boolean)
>   notify (returns void)
>   notifyAll (returns void)
>   toString (returns java.lang.String)
> FILE_SPECS:
>   file-specs
> 
> Thanks!
> Avi
> 
> --- In flexcoders@yahoogroups.com, "Dave Wolf"  wrote:
> >
> > In any Java JAR there can be a main-class which is the class called 
> > when no classname is specified.  That main-class will also have a
> > main() method which si the default entry point of the class.  That 
> > method has the following signature
> > 
> > public static void main(String[] args);
> > 
> > Where the String[] are the command line arguments.
> > 
> > Call the main() method passing in whatever command line arguments 
> > there would be as the String[].
> > 
> > --
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> > 
> > Email:  dave.wolf@
> > Office: 866-CYNERGY
> > 
> > --- In flexcoders@yahoogroups.com, "Avi Flax"  wrote:
> > >
> > > I'd like to invoke the Flex2b2 compiler from ColdFusion using
the Java
> > > class, if possible.
> > > 
> > > I looked at the file MANIFEST.MF in mxmlc.jar, and saw: 
> > > 
> > > Main-Class: flex2.tools.Compiler
> > > 
> > > So, I tried this in CF:
> > > 
> > > Application.com.MXMLc =
> > > Application.com.URLClassLoader.LoadJarClass(CompilerPath,
> > > "flex2.tools.Compiler");
> > > 
> > > That works, and I can CFDUMP the object to see a list of its 
> > > methods and properties, but:
> > > 
> > > - I can't set the property FILE_SPECS: I get an 
> > > java.lang.IllegalAccessException with the message: "field is
final"
> > > 
> > > - I can't invoke the "compile" method. My code is:
> > > Application.com.MXMLc.compile(JavaCast("String", MxmlPath)); I get

> > > the CF message "The selected method compile was not found."
> > > 
> > > Can anyone shed some light on this? Is it documented anywhere?
> > > 
> > > I apologize if this is silly; I'm expert with CFML but not
experienced
> > > with Java interaction.
> > > 
> > > I did try to just use CFEXECUTE at first, with mxmlc.exe, but had 
> > > trouble with it. I've always found CFEXECUTE frustrating, so I
thought
> > > I'd give this approach a try.
> > > 
> > > Thanks!
> > > Avi Flax
> > > Flex Newbie
> > > Arc90, New York
> > > http://www.arc90.com/
> > >
> >
>






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



 









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








  
  
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 a

[flexcoders] Problems with Flex2 serializing ActionScript objects to SOAP elements

2006-04-28 Thread yomahz



When serializing ActionScript objects to XML, it does not appear that
Flex is properly ordering the elements according the order defined in
the WSDL. For instance, I have a WSDL with a complext type defined as
such:


 
   
   
   
   
nillable='true' type='ns2:SoapInventoryLocation'/>
   
   
 


I also have a ActionScript object defined as:

package com.mycompany.myapp.inventory.model {
  public class SoapInventory {
    public var id:int;
    public var inventoryDate:Date;
    public var label:String;
    public var locations:Array;
    public var storeId:int;
    public var type:String;
  }
}

Flex serializes this object as:


1012

Test
123
2006-04-27T20:52:12.129Z


Which is not the order defined in the WSDL's sequence. Am I doing
something incorrectly or have I missed something? Here's how I'm
calling the webservice:


ws = new mx.rpc.soap.WebService();
ws.wsdl = "http://localhost:8080/test/InventoryWebService?wsdl";
ws.save.addEventListener("result", handleSave);
ws.addEventListener("fault", handleFault);
ws.loadWSDL();
ws.save(soapInventory);











--
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] Problems installing Data Services Beta 2 on non-Jrun servers?

2006-04-28 Thread yomahz



The documentation here:

http://labs.macromedia.com/wiki/index.php/Flex:Install_Instructions

Indicates that the wars should run in other J2EE app servers. I cannot
get them to deploy in JBoss (4.0.3). I get a ClassNotFoundException:
jrun.servlet.file.FileServlet. I searched through all of the jars I
could find and none of them contain this class.

Has anyone else had luck with deploying to other servers?









--
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 B2: TabNavigator: Graphical Skinning

2006-04-28 Thread Michael Schmalle



What part do you want to skin. With that info, you can pick your trail :)

Peace, MikeOn 4/28/06, brian_m_riley <[EMAIL PROTECTED]> wrote:



Flex2 B2: TabNavigator: Graphical Skinning

I haven't found any documentation on this...is it possible? I'm hoping
it's similar to the impl of a HeaderClass for the Accordion.

tx
-riley










--
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] Flex 2.0 Beta 2

2006-04-28 Thread JesterXL



Correct.  Howerver, there is a lot of things that mxmlc does under the hood 
to setup your application that would be ridicolously long and uncomfortable 
to do in ActionScript.

Here's a good description of how close you can get:
http://www.helpqlodhelp.com/blog/archives/000140.html

- Original Message - 
From: "sergio_trejo_r" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 11:08 AM
Subject: [flexcoders] Flex 2.0 Beta 2


A general question on Flex 2.0.  Is it true that anything that you can
do in MXML you can also do it using Action Script?  As I understand it,
you should be able to build an application using only Action Script.
However, most examples I see out there use MXML with embedded Action
Script so I'm curious about this.






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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex 2.0 Beta 2

2006-04-28 Thread sergio_trejo_r



A general question on Flex 2.0.  Is it true that anything that you can 
do in MXML you can also do it using Action Script?  As I understand it, 
you should be able to build an application using only Action Script.  
However, most examples I see out there use MXML with embedded Action 
Script so I'm curious about this.










--
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] Help!

2006-04-28 Thread Peter Farland





The crossdomain.xml file resides on the remote server that 
you're trying to contact, so it should be accessible like 
this:
 
http://someserver:someport/crossdomain.xml
 
This file is not involved at compile 
time.
 
(Also, that is not a warning and it can't be ignored, it's 
a hard error informing you that it isn't allowed to access that 
domain).
 
(As an aside, note that it's generally not a good security 
practice to allow SQL statements to be specified externally to a service, such 
as in a URL. Consider parameterising the SQL statement and control the input 
parameters allowed to be specified).
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of sachin 
gaurSent: Friday, April 28, 2006 8:10 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
Help!
Hi ,On your suggestion i tried to create crossdomain.xml and i 
uploaded in my root folder but still i am having the warning. I am using Flex 
Builder 2.0 Beta.Or we have to put this crossdomain.xml when we are 
compiling the swf ? Please put some light on this
On 4/28/06, sachin 
gaur < 
[EMAIL PROTECTED]> wrote:

  My swf file is on my machine on which the 
  webserver is running and the URL I am accessing is of our bugtracking 
  system(yeah, that is an external URL) which returns the xml file. So when i 
  use this swf file from some other machine over http protocol then i have the 
  above warning.
  
  On 4/28/06, Matt 
  Chotin < [EMAIL PROTECTED]> 
  wrote:
  
Where is your SWF and where is the url that 
you're hitting?  Are they onthe same domain?  Are they on the 
same port?  It may be that you'rehaving crossdomain 
issues.Matt 
-Original 
Message-From: flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com] OnBehalf Of compengguySent: 
Thursday, April 27, 2006 6:28 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Help!Hi all,I am making a page for my teamsite where i am 
sending the sql query inthe URL. which returns an xml file. When i 
compile and run this codein Flex Builder 2.0 , It runs fine but when i 
take that swf file andrun it seperately It gives the following 
errors.  
*Error: 
faultCode:Channel.Security.Error faultString:'Security erroraccessing 
url' faultDetail:'Destination: 
DefaultHTTP'  
atmx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()  
at 
flash.events::EventDispatcher/dispatchEvent()  
at mx.messaging::MessageAgent/fault()  at 
mx.messaging::Producer/fault()  at 
::DirectHTTPMessageResponder/securityErrorHandler()  
at 
flash.events::EventDispatcher/dispatchEvent()  
at 
flash.net::URLLoader/flash.net:URLLoader::redirectEvent()  
what i need to 
do,to not to have this warning because after thewarning it not fetches 
the data.The code snippet is so can anybody suggest what i 
need to do ?ThanksSachin 
  Gaur





--
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: Possible to invoke Flex2b2 compiler as a Java class?

2006-04-28 Thread Avi Flax



Anyone? Please?

--- In flexcoders@yahoogroups.com, "Avi Flax" <[EMAIL PROTECTED]> wrote:
>
> Dave, thanks for your help! What you said makes sense, but
> unfortunately I'm still having trouble with it.
> 
> Here's my ColdFusion code:
> 
> 
>   MXMLc = URLClassLoader.LoadJarClass("C:\Program Files\Adobe\Flex
> Framework 2\lib\mxmlc.jar", "flex2.tools.Compiler");
> 
>   Args = '-flexlib "C:\Program Files\Adobe\Flex Framework
> 2\frameworks\" "C:\inetpub\builder\mxml\test1.mxml";
> 
>   MXMLc.main(JavaCast("String", Args));
> 
> 
> I *think* this follows what you suggested. When I try to run this, I
> get the following error message:
> 
> "The selected method main was not found."
> 
> "Either there are no methods with the specified method name and
> argument types, or the method main is overloaded with arguments types
> that ColdFusion can't decipher reliably. If this is a Java object and
> you verified that the method exists, you may need to use the javacast
> function to reduce ambiguity."
> 
> So... any more tips?
> 
> BTW I do know that I'm initializing the class properly; if I pass
> MXMLc to the CFDUMP tag, I see the following:
> 
> object of flex2.tools.Compiler
> Methods:
>   main (returns void)
>   hashCode (returns int)
>   getClass (returns java.lang.Class)
>   wait (returns void)
>   wait (returns void)
>   wait (returns void)
>   equals (returns boolean)
>   notify (returns void)
>   notifyAll (returns void)
>   toString (returns java.lang.String)
> FILE_SPECS:
>   file-specs
> 
> Thanks!
> Avi
> 
> --- In flexcoders@yahoogroups.com, "Dave Wolf"  wrote:
> >
> > In any Java JAR there can be a main-class which is the class called
> > when no classname is specified.  That main-class will also have a
> > main() method which si the default entry point of the class.  That
> > method has the following signature
> > 
> > public static void main(String[] args);
> > 
> > Where the String[] are the command line arguments.
> > 
> > Call the main() method passing in whatever command line arguments
> > there would be as the String[].
> > 
> > -- 
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> > 
> > Email:  dave.wolf@
> > Office: 866-CYNERGY
> > 
> > --- In flexcoders@yahoogroups.com, "Avi Flax"  wrote:
> > >
> > > I'd like to invoke the Flex2b2 compiler from ColdFusion using
the Java
> > > class, if possible.
> > > 
> > > I looked at the file MANIFEST.MF in mxmlc.jar, and saw: 
> > > 
> > > Main-Class: flex2.tools.Compiler
> > > 
> > > So, I tried this in CF:
> > > 
> > > Application.com.MXMLc =
> > > Application.com.URLClassLoader.LoadJarClass(CompilerPath,
> > > "flex2.tools.Compiler");
> > > 
> > > That works, and I can CFDUMP the object to see a list of its methods
> > > and properties, but:
> > > 
> > > - I can't set the property FILE_SPECS: I get an
> > > java.lang.IllegalAccessException with the message: "field is final"
> > > 
> > > - I can't invoke the "compile" method. My code is:
> > > Application.com.MXMLc.compile(JavaCast("String", MxmlPath));
> > > I get the CF message "The selected method compile was not found."
> > > 
> > > Can anyone shed some light on this? Is it documented anywhere?
> > > 
> > > I apologize if this is silly; I'm expert with CFML but not
experienced
> > > with Java interaction.
> > > 
> > > I did try to just use CFEXECUTE at first, with mxmlc.exe, but had
> > > trouble with it. I've always found CFEXECUTE frustrating, so I
thought
> > > I'd give this approach a try.
> > > 
> > > Thanks!
> > > Avi Flax
> > > Flex Newbie
> > > Arc90, New York
> > > http://www.arc90.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] Flex2 B2: TabNavigator: Graphical Skinning

2006-04-28 Thread brian_m_riley



Flex2 B2: TabNavigator: Graphical Skinning

I haven't found any documentation on this...is it possible? I'm hoping
it's similar to the impl of a HeaderClass for the Accordion.

tx
-riley










--
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] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread JesterXL





Director's engine supports embedding ActiveX 
controls whereas Flash does not.  Director is a more heavyweight plugin as 
consequence whereas Flash Player is significantly lighter and more ubiquitious 
as a result.  There is a tradeoff to filesize, and embedding is not 
necessarely mutually exclusive.
 
- Original Message - 
From: Dominick 
Accattato 
To: flexcoders@yahoogroups.com 
Sent: Friday, April 28, 2006 10:00 AM
Subject: Re: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 
9 MS comments about Flash re Vista
yes, but if you can run flash in director, you should be able to 
run director in flash.  Of course, the developer could just use the iframe 
trick.
On 4/28/06, JesterXL 
<[EMAIL PROTECTED]> 
wrote: 

  
  They did that in another product, Director, and 
  it runs hardware accelerated 3D on the web.
  
   
  - Original Message - 
  From: Robert Thompson 
  
  To: flexcoders@yahoogroups.com 
  Sent: Friday, April 28, 2006 6:54 AM
  Subject: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9 
  MS comments about Flash re Vista
   PRE-TEXT: 
  Just some encouragement.  You guys at Adobe are smart and I know you can 
  put in a DirectX like API that is perhaps a triggered add-on to the normal 
  Flash Player, something that says "This site includes high-end real time 
  graphics; do you want to download the OpenGL Flash Player support extension?" 
  I just saw a Video this morning after reading Dvorak's article 
  that IE is now an albatross due to their loss to Eolas in December and the 
  11th of this month requiring a huge change to ActiveX control interaction. 
  The video was a cross link and discussed the lack of real 3D with 
  texturing etc. (DirectX) in Flash and a hint that "our technology you can't do 
  on a browser".Well, you can in an ActiveX control but now that's 
  Screwed :-) So Vista WinFX and the Macintosh "Viewer" (i.e. not 
  designer app) will be this coming "Headon Collision between Adobe and 
  Microsoft".I just want to encourage the FLEX and Flash 9 developers to 
  try and bust Mickeysoft's bubble when it comes to the fact that they are an 
  old man who is slowly dying -- they will be kept alive for a long time by 
  their Cash Reserve which, some say has a lot of money in it through dirty 
  tricks -- but in the end, I believe Adobe will come out ahead. Again, 
  the FLEX group and FLASH group are full of very smart guys enough so to put in 
  a DirectX like API that is perhaps a triggered add-on to the normal Flash 
  Player, something that says "This site includes high-end real time graphics; 
  do you want to download the OpenGL Flash Player support extension?" 
  -r-r
  
  
  Yahoo! Messenger with Voice. PC-to-Phone calls for 
  ridiculously low rates. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  [EMAIL PROTECTED]  

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





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread Dominick Accattato



yes, but if you can run flash in director, you should be able to run director in flash.  Of course, the developer could just use the iframe trick.
On 4/28/06, JesterXL <[EMAIL PROTECTED]> wrote:


They did that in another product, Director, and it runs hardware accelerated 3D on the web.

 
- Original Message - 
From: Robert Thompson 

To: flexcoders@yahoogroups.com 
Sent: Friday, April 28, 2006 6:54 AM
Subject: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista
 PRE-TEXT: Just some encouragement.  You guys at Adobe are smart and I know you can put in a DirectX like API that is perhaps a triggered add-on to the normal Flash Player, something that says "This site includes high-end real time graphics; do you want to download the OpenGL Flash Player support extension?"
I just saw a Video this morning after reading Dvorak's article that IE is now an albatross due to their loss to Eolas in December and the 11th of this month requiring a huge change to ActiveX control interaction.
The video was a cross link and discussed the lack of real 3D with texturing etc. (DirectX) in Flash and a hint that "our technology you can't do on a browser".Well, you can in an ActiveX control but now that's Screwed :-)
So Vista WinFX and the Macintosh "Viewer" (i.e. not designer app) will be this coming "Headon Collision between Adobe and Microsoft".I just want to encourage the FLEX and Flash 9 developers to try and bust Mickeysoft's bubble when it comes to the fact that they are an old man who is slowly dying -- they will be kept alive for a long time by their Cash Reserve which, some say has a lot of money in it through dirty tricks -- but in the end, I believe Adobe will come out ahead.
Again, the FLEX group and FLASH group are full of very smart guys enough so to put in a DirectX like API that is perhaps a triggered add-on to the normal Flash Player, something that says "This site includes high-end real time graphics; do you want to download the OpenGL Flash Player support extension?"
-r-r


Yahoo! Messenger with Voice.
 PC-to-Phone calls for ridiculously low rates. --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Help!

2006-04-28 Thread sachin gaur



Hi ,
On your suggestion i tried to create crossdomain.xml and i uploaded in
my root folder but still i am having the warning. I am using Flex
Builder 2.0 Beta.
Or we have to put this crossdomain.xml when we are compiling the swf ? Please put some light on thisOn 4/28/06, sachin gaur <
[EMAIL PROTECTED]> wrote:My swf file is on my machine on which the webserver is running and the
URL I am accessing is of our bugtracking system(yeah, that is an
external URL) which returns the xml file. So when i use this swf file
from some other machine over http protocol then i have the above
warning.On 4/28/06, Matt Chotin <
[EMAIL PROTECTED]> wrote:



Where is your SWF and where is the url that you're hitting?  Are they on
the same domain?  Are they on the same port?  It may be that you're
having crossdomain issues.

Matt 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:

flexcoders@yahoogroups.com] On
Behalf Of compengguy
Sent: Thursday, April 27, 2006 6:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help!

Hi all,
I am making a page for my teamsite where i am sending the sql query in
the URL. which returns an xml file. When i compile and run this code
in Flex Builder 2.0 , It runs fine but when i take that swf file and
run it seperately It gives the following errors.

  *
Error: faultCode:Channel.Security.Error faultString:'Security error
accessing url' faultDetail:'Destination: DefaultHTTP'
  at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faul
tHandler()
  at flash.events::EventDispatcher/dispatchEvent()
  at mx.messaging::MessageAgent/fault()
  at mx.messaging::Producer/fault()
  at ::DirectHTTPMessageResponder/securityErrorHandler()
  at flash.events::EventDispatcher/dispatchEvent()
  at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
  
what i need to do,to not to have this warning because after the
warning it not fetches the data.

The code snippet is 


so can anybody suggest what i need to do ?

Thanks
Sachin Gaur






--
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] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread JesterXL





...and Flash Player 8 already utilizes Open GL on 
the Mac.
 
- Original Message - 
From: JesterXL 
To: flexcoders@yahoogroups.com 
Sent: Friday, April 28, 2006 9:45 AM
Subject: Re: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 
9 MS comments about Flash re Vista

They did that in another product, Director, and it 
runs hardware accelerated 3D on the web.
 
- Original Message - 
From: Robert Thompson 
To: flexcoders@yahoogroups.com 
Sent: Friday, April 28, 2006 6:54 AM
Subject: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9 
MS comments about Flash re Vista
PRE-TEXT: Just 
some encouragement.  You guys at Adobe are smart and I know you can put in 
a DirectX like API that is perhaps a triggered add-on to the normal Flash 
Player, something that says "This site includes high-end real time graphics; do 
you want to download the OpenGL Flash Player support extension?"I 
just saw a Video this morning after reading Dvorak's article that IE is now an 
albatross due to their loss to Eolas in December and the 11th of this month 
requiring a huge change to ActiveX control interaction.The video was a 
cross link and discussed the lack of real 3D with texturing etc. (DirectX) in 
Flash and a hint that "our technology you can't do on a browser".Well, 
you can in an ActiveX control but now that's Screwed :-)So Vista WinFX 
and the Macintosh "Viewer" (i.e. not designer app) will be this coming "Headon 
Collision between Adobe and Microsoft".I just want to encourage the FLEX 
and Flash 9 developers to try and bust Mickeysoft's bubble when it comes to the 
fact that they are an old man who is slowly dying -- they will be kept alive for 
a long time by their Cash Reserve which, some say has a lot of money in it 
through dirty tricks -- but in the end, I believe Adobe will come out 
ahead.Again, the FLEX group and FLASH group are full of very smart guys 
enough so to put in a DirectX like API that is perhaps a triggered add-on to the 
normal Flash Player, something that says "This site includes high-end real time 
graphics; do you want to download the OpenGL Flash Player support 
extension?"-r-r


Yahoo! 
Messenger with Voice. PC-to-Phone calls for ridiculously low rates. 





--
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] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread JesterXL





They did that in another product, Director, and it 
runs hardware accelerated 3D on the web.
 
- Original Message - 
From: Robert Thompson 
To: flexcoders@yahoogroups.com 
Sent: Friday, April 28, 2006 6:54 AM
Subject: [flexcoders] OpenGL vs DirectX / Vista vs. Flash Player 9 
MS comments about Flash re Vista
PRE-TEXT: Just 
some encouragement.  You guys at Adobe are smart and I know you can put in 
a DirectX like API that is perhaps a triggered add-on to the normal Flash 
Player, something that says "This site includes high-end real time graphics; do 
you want to download the OpenGL Flash Player support extension?"I 
just saw a Video this morning after reading Dvorak's article that IE is now an 
albatross due to their loss to Eolas in December and the 11th of this month 
requiring a huge change to ActiveX control interaction.The video was a 
cross link and discussed the lack of real 3D with texturing etc. (DirectX) in 
Flash and a hint that "our technology you can't do on a browser".Well, 
you can in an ActiveX control but now that's Screwed :-)So Vista WinFX 
and the Macintosh "Viewer" (i.e. not designer app) will be this coming "Headon 
Collision between Adobe and Microsoft".I just want to encourage the FLEX 
and Flash 9 developers to try and bust Mickeysoft's bubble when it comes to the 
fact that they are an old man who is slowly dying -- they will be kept alive for 
a long time by their Cash Reserve which, some say has a lot of money in it 
through dirty tricks -- but in the end, I believe Adobe will come out 
ahead.Again, the FLEX group and FLASH group are full of very smart guys 
enough so to put in a DirectX like API that is perhaps a triggered add-on to the 
normal Flash Player, something that says "This site includes high-end real time 
graphics; do you want to download the OpenGL Flash Player support 
extension?"-r-r


Yahoo! 
Messenger with Voice. PC-to-Phone calls for ridiculously low rates. 





--
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: Null error when using specifying itemRenderer on dataGridColumn

2006-04-28 Thread Scott Romer



I think rendererIsEditor makes sense when both the editor and renderer
are the same object, but in this instance, I am using Text for the
renderer and TextInput for the editor.

As mentioned before, these are not what I am really trying to set for
editor/renderer, but just set to there to simplify the problem as that
is the exact same error.  So if we can figure out what the problem is
in this example, I should be able to translate that to my specific
custom renderer/editors.

But just to give it a shot, I tried with the imports (per Matt's idea)
with no luck, and I tried with the rendererIsEditor which made the
column uneditable (because I am not using TextInput).
>From the documentation, it looks like if rendererIsEditor is set, then
the itemEditor is ignored.  

Any more ideas?


--- In flexcoders@yahoogroups.com, "Harish Sivaramakrishnan"
<[EMAIL PROTECTED]> wrote:
>
> you need to set rendererIsEditor=true in the code,  the RTE will be
gone.
> 
> Thanks
> Harish
> 
> On 4/28/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
> >
> >  Random shot, try importing mx.controls.Text and
mx.controls.TextInput?  I
> > think it should have been a compiler error if it was necessary but…
> >
> >
> >
> > Note that the error is for the item editor when you say it's the
renderer
> > that you change to fix it.  Sounds like a bug to me…  I'll forward it
> > inside.
> >
> >
> >
> > Matt
> >
> >
> >  --
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Scott Romer
> > *Sent:* Thursday, April 27, 2006 2:41 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Null error when using specifying
itemRenderer on
> > dataGridColumn
> >
> >
> >
> > I've been struggling for some time now (and I'm assuming this must
just be
> > so brain-dead simple)...
> > Trying to set an ItemRenderer and ItemEditor on a datagridColumn.  For
> > certain ItemRenderer's, I am getting a null error.  (using Flex 2
beta 2)
> >
> > NOTE: I am not trying to use these as my actual renderer and editor
> > classes as they don't really provide anything at all above the
defaults..
> > but I noticed this gives the EXACT same error.  (My actual
renderer extends
> > from Canvas...)
> >
> > If you change the itemRenderer to mx.controls.Label, then it works
fine..
> > and oddly enough Text extends Label.    Any ideas?
> >
> >
> >
> > 
> > http://www.adobe.com/2006/mxml"
> > backgroundAlpha="0" creationComplete="initApp()">
> >
> > 
> > 
> > 
> >
> > 
> > variableRowHeight="true" editable="true" rowHeight="50"
> > width="300" height="300">
> > 
> > 
> >  &! nbsp;  
> >
> > *itemRenderer="mx.controls.Text"* editorDataField="text"
> > itemEditor="mx.controls.TextInput">
> > 
> > 
> > 
> >
> > 
> >
> >
> >
> >
> > Null error received when trying to edit the dept column:
> > TypeError: Error #1009: null has no properties.
> > at mx.controls::DataGrid/createItemEditor()
> > at mx.controls::DataGrid/itemEditorItemEditBeginHandler()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.controls::DataGrid/commitEditedItemPosition()
> > at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList()
> > at ! mx.core::UIComponent/validateDisplayList()
> >   &nbs! p; at mx .managers::LayoutManager/validateDisplayList()
> >
> > at mx.managers::LayoutManager/::doPhasedInstantiation()
> > at mx.core::UIComponent/::callLaterDispatcher2()
> > at mx.core::UIComponent/::callLaterDispatcher()
> >
> >
> >
> >
> >  --
> > 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

Re: [flexcoders] Flex2 :: Subclassing Button :: How to change hitarea placement

2006-04-28 Thread Michael Schmalle



Dude, !

Thanks, I knew it was as simple as that!

Thanks again.

Peace, MikeOn 4/28/06, Dirk Eismann <[EMAIL PROTECTED]> wrote:



Here's a quick example of a Button subclass which is only clickable on
its left side:

package {
  
  import mx.controls.Button;
  import flash.display.*;
  
  public class ButtonTest extends Button {
  
    override protected function createChildren():void
    {
      super.createChildren();
      
      var s:Sprite = new Sprite();
      s.visible = false;
      s.mouseEnabled = false;

      addChild(s);
      hitArea = s;
    }
    
    override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
   
  super.updateDisplayList(unscaledWidth,
unscaledHeight);
      var g:Graphics = hitArea.graphics;
      g.clear();
      g.beginFill(1, 1);
      g.drawRect(0, 0, unscaledWidth/2,
unscaledHeight);
    }
  }
}

Usage:


http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute">
  



Dirk.



  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
  Sent: Friday, April 28, 2006 3:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex2 :: Subclassing Button :: How to
change hitarea placement
  
  
  Hi,
  
  I was wondering if anybody from Adobe could shed some light on
how to go about adding like two little buttons to a Button?
  
  I have tried with all my heart and cannot find a way to chnge
the hitArea of a button to something smaller than it's bounds.
  
   Are you just adding a click listener to the whole component? If
so, this makes it really hard to subclass. 
  
  Can you give me any advice?
  
  Peace, Mike
  
  PS won't be asking these questions when I can see the source !
:)
  
  -- 
  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]
[EMAIL PROTECTED]?subject=Unsubscribe> 
      
  *   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

[flexcoders] Re: mx:ComboBox selectedItem ="{blah}" (flex 2)

2006-04-28 Thread Suzy Lawson



selectedItem="{items.getItemAt(3).fieldName}"

--- In flexcoders@yahoogroups.com, "John C. Bland II" 
<[EMAIL PROTECTED]> wrote:
>
> I am working with some a combo and the custom component listing the 
states
> works perfectly fine for simply saying: selectedItem="{
> items.selectedItem.state}". It will change and work as expected 
(when the
> grid is clicked).
> 
> Well, that component is nothing but a mx:dataProvider with 

> values inside. So the selectedItem is a string (when calling
> mycombo.selectedItem) as opposed to an object.
> 
> My question is, when you have an object as the dp to a combo (or 
any other
> component with selectedItem) how do you set the selected item 
without doing
> a loop + if to find the proper selectedIndex?
> 
> Thanks,
> 
> --
> John C. Bland II
> "I do what I can do when I can do it." - Chris Tucker, Money Talks
> 
> http://www.gotoandstop.org - Home of FMUG.az
>










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












RE: [flexcoders] Flex2 :: Subclassing Button :: How to change hitarea placement

2006-04-28 Thread Dirk Eismann



Here's a quick example of a Button subclass which is only clickable on
its left side:

package {
  
  import mx.controls.Button;
  import flash.display.*;
  
  public class ButtonTest extends Button {
  
    override protected function createChildren():void
    {
      super.createChildren();
      
      var s:Sprite = new Sprite();
      s.visible = false;
      s.mouseEnabled = false;

      addChild(s);
      hitArea = s;
    }
    
    override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
      super.updateDisplayList(unscaledWidth,
unscaledHeight);
      var g:Graphics = hitArea.graphics;
      g.clear();
      g.beginFill(1, 1);
      g.drawRect(0, 0, unscaledWidth/2,
unscaledHeight);
    }
  }
}

Usage:


http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute">
  



Dirk.



  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle
  Sent: Friday, April 28, 2006 3:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex2 :: Subclassing Button :: How to
change hitarea placement
  
  
  Hi,
  
  I was wondering if anybody from Adobe could shed some light on
how to go about adding like two little buttons to a Button?
  
  I have tried with all my heart and cannot find a way to chnge
the hitArea of a button to something smaller than it's bounds.
  
   Are you just adding a click listener to the whole component? If
so, this makes it really hard to subclass. 
  
  Can you give me any advice?
  
  Peace, Mike
  
  PS won't be asking these questions when I can see the source !
:)
  
  -- 
  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 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 PROT

[flexcoders] Flex2 :: Subclassing Button :: How to change hitarea placement

2006-04-28 Thread Michael Schmalle



Hi,

I was wondering if anybody from Adobe could shed some light on how to go about adding like two little buttons to a Button?

I have tried with all my heart and cannot find a way to chnge the hitArea of a button to something smaller than it's bounds.

 Are you just adding a click listener to the whole component? If so, this makes it really hard to subclass. 

Can you give me any advice?

Peace, Mike

PS won't be asking these questions when I can see the source ! :)-- 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] Re: Uncaught exceptions in Flex 1.5

2006-04-28 Thread Peter Farland



Some of the comments I made also apply to Flex 1.5's usage of
ActionScript 2 in Flash Player 7.

ActionScript 2 has try/catch syntax and the Error type, there are debug
versions of the flash player that ship with Flex 1.5 which you should
use during development, you can use trace() to report information to a
debug log - it too was called flashlog.txt and the mm.cfg file still
applies to Flex 1.5. In fact, this file should be setup and monitored
for warnings and errors from the flash player during development at all
times (I use tail.exe from cygwin to monitor this file like a console
log). There is a command line debugger in Flex 1.5 called fdb... and, of
course, we built all of the ActionScript 2 code for Flex 1.5 using all
of these tools... though admittedly the tools and language features we
had to build Flex 2 are even better and will be available soon.

Do you have the debug versions of the player?
Do you have mm.cfg setup in your user directory and do you monitor the
flashlog.txt file?


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of maxym.hryniv
Sent: Friday, April 28, 2006 5:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Uncaught exceptions in Flex 1.5

I'm still waiting for reply. 
--- In flexcoders@yahoogroups.com, "maxym.hryniv" <[EMAIL PROTECTED]> wrote:
>
> Hi, Peter
> It's good that we have at last normal exception handling in 8.5
beta. 
> But it's only beta for now and we are creating apps using Flex 1.5. 
So 
> the question is "How we can fight silent exceptions death in Flex 1.
5
> ???". 
> I have some ideas but to realise them i have to rewrite all flex 1.5 
> framework and i think it's not acceptable.
> 
> Waiting for reply ,
> Max
> --- In flexcoders@yahoogroups.com, "Peter Farland" 
> wrote:
> >
> > Hi Mykola,
> >  
> > Have you used the debug versions of the Flash Player during 
> > development? The debug version of the Flash Player reports
uncaught
> > exceptions and it also traces information to a flashlog.txt file
as 
> long
> > as you have a mm.cfg file setup in your user directory. We include
> debug
> > versions of the Flash Player (i.e. the Standalone Player, the 
> > Firefox/Netscape/Opera plugin and MSIE Active-X player) in the
Flex
> > installer. We include them for the same reasons that you state - 
> > "without having proper error reporting it is impossible to build 
> > anything larget than hello-world presentations". Flex Builder has
a
> > visual debugger with breakpoints and watch statements. Also AS3
> Error
> > objects remember their stacktraces and you can print them out if
> you're
> > using the debug player. We built the Flex 2 framework of over 1000 
> > classes using the same tools as you would to build your own 
> > applications... I feel that they are adequate.
> >  
> > Regarding the confusion, it wasn't that important - it was
just 
> that
> > from my reading the various posts on this thread I got the
> impression
> > that there were two complaints here that were at odds with each
> other.
> > One complaining they couldn't manage errors coming from lots of 
> > different places and the other that they weren't getting enough
> errors
> > and related information at runtime.
> >  
> > Regards,
> > Pete
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
com] 
> On
> > Behalf Of Mykola Paliyenko
> > Sent: Tuesday, April 25, 2006 5:24 PM
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Uncaught exceptions in Flex 1.5
> > 
> > 
> > Ok Peter,
> > no idea why you've been confused but...
> > ActionScript specification has a notion of throwable objects, so
> saying
> > that Exception is a bug of the AS2Lib is slightly incorrect. I'm 
> > relaizing that due to the size constraints of the player it might
be
> > good idea not to include exception handling in it, but once more
> again
> > you can add this in the development version of the player and this 
> > should be extremely easy to do if the overal palyer's architecture
> is
> > good enough, isn't it?
> > 
> > My opinion is that without having proper error reporting it is 
> > impossible to build anything larger than hello-world presentations
> with
> > a very good quality, so I'd warn people to treat Flex/Flash as a
> really
> > serious platform unless this feature will be implemented. 
> > Flex Developers in my company mostly are very unhappy with the
> quality
> > of the framework and the level of the support Adobe provide for
the
> > users, I'm not saying about paid support I'm saying about
community
> > support, feature requests, bugfixes, open source frameworks around
> Flex
> > etc. I see no other way for developing the really good product
other
> > than involve the community into the development. It is the way
lots 
> of
> > really cool stuff were developed for the last year and it is
mostly
> > ignored by Adobe.
> > 
> > You have a great idea of RIA and a

Re: [flexcoders] Help!

2006-04-28 Thread sachin gaur



My swf file is on my machine on which the webserver is running and the
URL I am accessing is of our bugtracking system(yeah, that is an
external URL) which returns the xml file. So when i use this swf file
from some other machine over http protocol then i have the above
warning.On 4/28/06, Matt Chotin <[EMAIL PROTECTED]> wrote:



Where is your SWF and where is the url that you're hitting?  Are they on
the same domain?  Are they on the same port?  It may be that you're
having crossdomain issues.

Matt 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of compengguy
Sent: Thursday, April 27, 2006 6:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help!

Hi all,
I am making a page for my teamsite where i am sending the sql query in
the URL. which returns an xml file. When i compile and run this code
in Flex Builder 2.0 , It runs fine but when i take that swf file and
run it seperately It gives the following errors.

  *
Error: faultCode:Channel.Security.Error faultString:'Security error
accessing url' faultDetail:'Destination: DefaultHTTP'
  at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faul
tHandler()
  at flash.events::EventDispatcher/dispatchEvent()
  at mx.messaging::MessageAgent/fault()
  at mx.messaging::Producer/fault()
  at ::DirectHTTPMessageResponder/securityErrorHandler()
  at flash.events::EventDispatcher/dispatchEvent()
  at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
  
what i need to do,to not to have this warning because after the
warning it not fetches the data.

The code snippet is 


so can anybody suggest what i need to do ?

Thanks
Sachin Gaur






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



  









[flexcoders] Re: Using Hibernate, Gateway pushing out two Error: null

2006-04-28 Thread crrb



--- In flexcoders@yahoogroups.com, "crrb" <[EMAIL PROTECTED]> wrote:
>
> We're using Mysql 4.1 with Hibernate 3.1, Cairngorm, Flex 1.5, and 
> Hibernate Synchronizer to auto generate Java classes and AS classes.
... 
> Flex, it appears to matter that the 2nd two Objects are "lazy 
> loaded" by Hibernate.  If I force one of them, and it's the only one 
> that exists, the system doesn't hang.  I can't force both of them 

Right or wrong, the items causing the problem were many-to-one items 
that could be forced to load, so putting "lazy=false" in the hibernate 
hbm for the two sub-classes tells hibernate to not lazy load them 
(even tho it shouldn't have been doing so anyway, based upon my 
interprestation of the docs) and our interface stopped having a 
problem.  As long as lazy loading isn't required, we're getting along 
fine.  Good thing it's a small set of objects.

Roxanne










--
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] FDS2 on JBoss 4.03sp1 flex.messaging.MessageException:jms not bound

2006-04-28 Thread Thomas Rühl -akitogo-




Chris,

I came across a problem regarding the flex.messaging stuff myself, but I 
was trying to get it to work with the JRun4 application server and not 
JBoss. The trouble I had was caused by an incompatible version of the JRE.

If you're interested in the whole story, you can find it on my blog 
http://www.amenity.de in the Flex category.

Greetings, Thomas



christophers1228 wrote:
> I'm starting to mess with fds2, I deployed the sample.war file to
> jboss, most of the samples work but the chat app throws a
> flex.messaging.MessageException:jms not bound exception when sending a
> message.  I'm somewhat new to jboss and it's probably somethingthing
> simple I'm missing but does anyone have any pointers?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> SPONSORED LINKS
> Web site design development 
>  
>   Computer software development 
>  
>   Software design and development 
>  
> 
> Macromedia flex 
>  
>   Software development best practice 
>  
> 
> 
> 
> 
> YAHOO! GROUPS LINKS
> 
> *  Visit your group "flexcoders
>   " on the web.
>    
> *  To unsubscribe from this group, send an email to:
>    [EMAIL PROTECTED]
>   
>    
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>   Service . 
> 
> 
> 
> 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Data service method

2006-04-28 Thread deepu_verma



Which event will be fired after the data is pushed to the client for a
dataservice coldfusion adapter?

I tried message event but it does not seem to work









--
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] data service in craingorm

2006-04-28 Thread deepu_verma



I have declared the following two methods in my delegate and call them
from the commands
//
    //get the products
    public function fill():void
    {
      var call:Object =
service.fill(modelLocator.productModel.ProductVersion);
      call.resultHandler = responder.onResult;
      call.faultHandler = responder.onFault;
    
    }
    public function commit():void
    {
      var call:Object = service.commit();
      call.resultHandler = responder.onResult;
      call.faultHandler = responder.onFault;
      
    }
And I have used modelLocator.productModel.ProductVersion as the
dataprovider binding for a list box.
modelLocator.productModel.ProductVersion.addItem(obj);
to add a new product
I am trying to access the application on two diferrent browsers and
after I add a new product the product is not pushed to the other
connected client.

 view the following in the server dump
[CFDataServicesAdapter] invoking SYNC method, 1 change(s) to process.
[CFDataServicesAdapter] invoking Fill method...
Am I missing something so that if one client adds a product then other
client should be able to view it









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












Re: [flexcoders] Re: F1.5: How to set dataprovider for Repeater-generated grids?

2006-04-28 Thread Tom Sammons



Hi,

>Regarding the _items property of the RO result, I think that would 
>depend on what the results from your remote object look like.  The 
>property name does look like an internal Flex varaible, though; did 
>you originally get that from a code sample?
>  
>
I use result._items  when I have to reference a specific column returned 
from an RO, as in:

function getData()  
//this is a snippet from a module I use that uses setInterval to update 
a chart in real time
//I reference the time column to update the panel's title here
    {
    //  push data from the server to the client.
    CMSRT.getCurrentCMSAppUsageTotal();
    CMSRTA.title = 'Real Time CMS Application Activity by User - 
Last Updated '+CMSRT.getCurrentCMSAppUsageTotal.result._items[0].time;
   
    }

I think I was just wondering about using it because Chris C's Object 
Inspector shows _items as an array, where as .result is an object.
(Fwiw, I found out about the _items property in Brandon Purcell's blog 
at http://bpurcell.org/blog/index.cfm?mode=entry&entry=1019)

>I typically just set my data variable to the result property of the 
>event (I like to pass the full event object) after running it 
>through mx.utils.ArrayUtil.toArray() to make sure I've got an array 
>and not a simple object:
>
>  import mx.utils.ArrayUtil;
>
>  function handleROResults(event: Object) : Void {
>  myData = ArrayUtil.toArray(event.result);
>  }
>
I tend to do use toArray with ROs because of the problem of no data 
being rendered when only 1 record is returned.  I think MM/Adobe was 
supposed to correct that in F2, but I haven't followed up on it. 

Thanks for following up and I'll let you know what happens!

Tom

>--- In flexcoders@yahoogroups.com, Tom Sammons <[EMAIL PROTECTED]> wrote:
>  
>
>>I was looking all over the place for an array append type of  
>>    
>>
>method, 
>  
>
>>but did you think I'd put in "concatenate"? Noo. And I was 
>>    
>>
>staring 
>  
>
>>right at the Flex AS array doc. Doh.  Well, I wouldn't have 
>>    
>>
>thought of 
>  
>
>>or known to just add [{}] to it anyway...
>>
>>I don't think I'll have any problem with the state management, 
>>    
>>
>although 
>  
>
>>I do see that the ROs for the repeater grid data does get bundled 
>>together the way I have it now.  I'll just pass the index along 
>>    
>>
>with the 
>  
>
>>calls and use the result handler to capture that on return.
>>
>>Was I correct about referencing _items (var 
>>    
>>
>thisROResultItemsArray:Array 
>  
>
>>= RO2.result._items; repeaterData[i].dp = thisROResultItemsArray;) 
>>    
>>
>or 
>  
>
>>would just .result be sufficient?  
>>
>
>  
>







--
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: getters, setters and function literals

2006-04-28 Thread Dion Mendel



On Thu, Apr 27, 2006 at 03:08:20PM -0700, Gordon Smith wrote:
> Sorry, you can't dynamically add a getter/setter in AS3.
> 
> In general, we recommend using non-dynamic classes when possible because
> they have better performance. What's your use case for wanting dynamic
> addition of getter/setters?

I'm just trying to find what is and what isn't possible with the dynamic
language aspects of AS3.  Programmer efficiency is more important to me
than execution speed.

Thanks for confirming the getter/setter question.

Dion.






--
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: player 8.5 difficulty

2006-04-28 Thread flexlearner



I solved the issue by  downloading and installing  the Flash Player 
UNINSTALLER  and REMOVING the Flash Player completely. Then, after 
installing Flash Player 8.5,  Apparently, installing over existing 
implementations is buggy. 

Flex Learner 
( Here no one have comment on this ? )

--- In flexcoders@yahoogroups.com, "flexlearner" <[EMAIL PROTECTED]> 
wrote:
>
> I downloaded and installed flash 8.5 player active X from 
macromedia 
> labs site after this when right click on any flash content from any 
> website.
> Its not showing me flash player 8.5 in settings 
> 
> I needed 8.5 to run my flex application 
> When I run application from flexbulider 2 I get the error as the 
flash 
> player found is of lower version and player 8.5 and above is needed 
> 
> Please please help .. I am not able to move forward because of this 
> problem
>











--
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] Null error when using specifying itemRenderer on dataGridColumn

2006-04-28 Thread Harish Sivaramakrishnan



you need to set rendererIsEditor=true in the code,  the RTE will be gone.ThanksHarishOn 4/28/06, Matt Chotin <
[EMAIL PROTECTED]> wrote:
















Random shot, try importing
mx.controls.Text and mx.controls.TextInput?  I think it should have been a
compiler error if it was necessary but…

 

Note that the error is for the item editor
when you say it's the renderer that you change to fix it.  Sounds like a
bug to me…  I'll forward it inside.

 

Matt

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Scott Romer
Sent: Thursday, April 27, 2006
2:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Null error
when using specifying itemRenderer on dataGridColumn



 

I've been struggling for some time
now (and I'm assuming this must just be so brain-dead simple)...
Trying to set an ItemRenderer and ItemEditor on a datagridColumn.  For
certain ItemRenderer's, I am getting a null error.  (using Flex 2 beta 2)

NOTE: I am not trying to use these as my actual renderer and editor classes as
they don't really provide anything at all above the defaults.. but I noticed
this gives the EXACT same error.  (My actual renderer extends from
Canvas...)

If you change the itemRenderer to mx.controls.Label, then it works fine.. and
oddly enough Text extends Label.    Any ideas?




http://www.adobe.com/2006/mxml"
    backgroundAlpha="0" creationComplete="initApp()">


    



    variableRowHeight="true" editable="true"
rowHeight="50"
    width="300" height="300">
    
    
 &! nbsp;  
    itemRenderer="mx.controls.Text"
editorDataField="text"
itemEditor="mx.controls.TextInput">
    
    






Null error received when
trying to edit the dept column:
TypeError:
Error #1009: null has no properties.
    at mx.controls::DataGrid/createItemEditor()
    at mx.controls::DataGrid/itemEditorItemEditBeginHandler()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.controls::DataGrid/commitEditedItemPosition()
    at
mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList()
    at ! mx.core::UIComponent/validateDisplayList()
  &nbs! p; at mx .managers::LayoutManager/validateDisplayList()
    at mx.managers::LayoutManager/::doPhasedInstantiation()
    at mx.core::UIComponent/::callLaterDispatcher2()
    at mx.core::UIComponent/::callLaterDispatcher()








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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FDS2 on JBoss flex.messaging.MessageException:jms not bound

2006-04-28 Thread Christopher Sharon



I'm starting to mess with fds2, I deployed the sample.war file to
jboss, most of the samples work but the chat app throws a
flex.messaging.MessageException:jms not bound exception when sending a
message.  I'm somewhat new to jboss and it's probably somethingthing
simple I'm missing but does anyone have any pointers?
-- 









--
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: Problem with Firefox and Flex 2 apps?

2006-04-28 Thread nz_mehere



If you right click on the Flash movie, are you seeing "About
Macromedia Flash player 8" or "About Adobe Flashplay 8.5"?

The behaviour you are describing sounds like you have the wrong
version of Flash... 

--- In flexcoders@yahoogroups.com, Suresh Akula <[EMAIL PROTECTED]> wrote:
>
> I got the same output(Blank page) in Fire fox and IE 7
> beta.
> 
> Also I downloaded the latest of flash player, still i
> am getting blank page...
> 
> I already posted this issue, but i don't its blocked.
> 
> Anyone help me out where I am going worng.
> 
> Thanks,
> Suresh Akula.
> 
> --- Matt Chotin <[EMAIL PROTECTED]> wrote:
> 
> > 246 is probably correct, I was just going off the
> > top of my head.
> > 
> >  
> > 
> > 8,0 is the important part that's wrong :-)
> > 
> >  
> > 
> > Matt
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Greg Fuller
> > Sent: Thursday, April 27, 2006 8:35 AM
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Re: Problem with Firefox
> > and Flex 2 apps?
> > 
> >  
> > 
> > Probably the number is correct. I'm guessing the
> > Flash player activex
> > control for 8.5 is installed, but the plugin player
> > 8.5  for firefox is
> > not.
> > 
> > On 4/27/06, billlane1962 <[EMAIL PROTECTED]>
> > wrote:
> > 
> > Actually I don't think that number is correct.  That
> > came from the
> > Flash Player download page.  Actual version is
> > 8,5,0,246.
> > 
> > Bill
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Matt Chotin"
> >  wrote:
> > >
> > > That's not the 8.5 version number if you see
> > 8,0,24,0.  It should be
> > > 8,5,0,242 I think.
> > > 
> > >  
> > > 
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com [mailto:
> > flexcoders@yahoogroups.com
> >  ] On
> > > Behalf Of billlane1962
> > > Sent: Wednesday, April 26, 2006 4:14 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Problem with Firefox and
> > Flex 2 apps?
> > > 
> > >  
> > > 
> > > I was just trying out the Connect 4 app that is
> > currently showcased in
> > > Labs
> >
> (http://joeberkovitz.com/projects/Connect4/bin/Connect4.html
> > ).
> > > This works great in IE.  But when I run this in
> > Firefox (1.5.0.2
> > Plugin
> > > : 8,0,24,0) I get the default Flex background and
> > nothing else.  I
> > > right-click and select play and the app starts. 
> > But it runs very
> > slowly
> > > and after a few moves Firefox stops responding. 
> > This has been
> > happening
> > > to me regularly since installing Flex 2 Beta 2. 
> > Is anyone else having
> > > the same problem?
> > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ:
> >
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> >
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > 
> > 
> > 
> > 
> > 
> > 
> > YAHOO! GROUPS LINKS 
> > 
> >  
> > 
> > *   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
> >
>  >
> site+design+development&w2=Computer+software+development&w3=Software+des
> >
> ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> > 
> > Computer software development
> >
>  >
> b+site+design+development&w2=Computer+software+development&w3=Software+d
> >
> esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> > 
> > Software design and development
> >
>  >
> Web+site+design+development&w2=Computer+software+development&w3=Software
> >
> +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> > 
> > Macromedia flex
> >
>  >
> development&w2=Computer+software+development&w3=Software+design+and+deve
> >
> lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> > 
> > Software development

[flexcoders] Re: OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread pk_wasp



Have you got a link to this video?

Are you talking about WinFX (with WPF/WCF etc) and WPF/E?

3D hardware acceleration stuff is pretty tricky with all the drivers, 
low level stuff to worry about, think thats why WPF is only going to 
be on Windows Platform and WPF/E will be non-3d so it can run on 
other platforms

But seeing Macromedia (Adobe) probably made one of the easiest plug-
ins/runtime to install, I'm sure they'll be able to deliver a true 
cross platform hardware accelerated "WPF" type runtime one day :)


--- In flexcoders@yahoogroups.com, Robert Thompson 
<[EMAIL PROTECTED]> wrote:
>
> PRE-TEXT: Just some encouragement.  You guys at Adobe are smart and 
I know you can put in a DirectX like API that is perhaps a triggered 
add-on to the normal Flash Player, something that says "This site 
includes high-end real time graphics; do you want to download the 
OpenGL Flash Player support extension?"
> 
> I just saw a Video this morning after reading Dvorak's article that 
IE is now an albatross due to their loss to Eolas in December and the 
11th of this month requiring a huge change to ActiveX control 
interaction.
> 
> The video was a cross link and discussed the lack of real 3D with 
texturing etc. (DirectX) in Flash and a hint that "our technology you 
can't do on a browser".
> 
> Well, you can in an ActiveX control but now that's Screwed :-)
> 
> So Vista WinFX and the Macintosh "Viewer" (i.e. not designer app) 
will be this coming "Headon Collision between Adobe and Microsoft".
> 
> I just want to encourage the FLEX and Flash 9 developers to try and 
bust Mickeysoft's bubble when it comes to the fact that they are an 
old man who is slowly dying -- they will be kept alive for a long 
time by their Cash Reserve which, some say has a lot of money in it 
through dirty tricks -- but in the end, I believe Adobe will come out 
ahead.
> 
> Again, the FLEX group and FLASH group are full of very smart guys 
enough so to put in a DirectX like API that is perhaps a triggered 
add-on to the normal Flash Player, something that says "This site 
includes high-end real time graphics; do you want to download the 
OpenGL Flash Player support extension?"
> 
> -r
> 
> -r
> 
>     
> -
> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low 
rates.
>










--
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: dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-28 Thread bhaq1972



when i did a trace on myGrid.maxVPosition the very first time, it 
was definately = 0; my test had to go thru 2 or 3 frames (dolaters) 
before the actual maxVposition was set.

yes it is a clunky workaround agreed. 
i dont have a better suggestion. your gonna  have to wait for that 
genius Matt to respond


--- In flexcoders@yahoogroups.com, Andriy Panas <[EMAIL PROTECTED]> wrote:
>
> Hello bhaq1972,
> 
> > if i can add to matts suggestion.
> > i usually find one doLater() isn't enough so i tried your 
example 
> > with the following change
> 
> 
> Does the code suggested work for you? Your code did not resolve the
> problem for me.
> 
> In fact "myGrid.maxVPosition" is never equal to 0 immediately 
after myGrid got populated with
> 10,000 records of data.
> 
> 
> I post here an updated snipped of my code. Now the code includes 
property
> -
> var callTimes: Number = 0;
> -
> This property limits the calls number of "scrollMe()" function
> to 2 times.
> 
> If "scrollMe()" function is called twice via doLater() or
> setInterval() statements, the dataGrid current index is updated to
> the very bottom one correctly.
> 
> Kinda clunky workaround, is it not?
> 
> 
> 
> 
> 
> http://www.macromedia.com/2003/mxml" 
width="100%" childrenCreated="populate()">
> 
> 
> 
> 
dataProvider="{largeArray}" >
>   
>   
>    
>    
> 
>     
>        
> 
click="scrollDatagridDoLater()">
> 
> -
> 
> -- 
> Best regards,
>  Andriy    mailto:[EMAIL PROTECTED]
>











--
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] OpenGL vs DirectX / Vista vs. Flash Player 9 MS comments about Flash re Vista

2006-04-28 Thread Robert Thompson



PRE-TEXT: Just some encouragement.  You guys at Adobe are smart and I know you can put in a DirectX like API that is perhaps a triggered add-on to the normal Flash Player, something that says "This site includes high-end real time graphics; do you want to download the OpenGL Flash Player support extension?"I just saw a Video this morning after reading Dvorak's article that IE is now an albatross due to their loss to Eolas in December and the 11th of this month requiring a huge change to ActiveX control interaction.The video was a cross link and discussed the lack of real 3D with texturing etc. (DirectX) in Flash and a hint that "our technology you can't do on a browser".Well, you can in an ActiveX control but now that's Screwed :-)So Vista WinFX and the Macintosh "Viewer" (i.e. not designer app) will be this coming "Headon Collision between Adobe and Microsoft".I just want
 to encourage the FLEX and Flash 9 developers to try and bust Mickeysoft's bubble when it comes to the fact that they are an old man who is slowly dying -- they will be kept alive for a long time by their Cash Reserve which, some say has a lot of money in it through dirty tricks -- but in the end, I believe Adobe will come out ahead.Again, the FLEX group and FLASH group are full of very smart guys enough so to put in a DirectX like API that is perhaps a triggered add-on to the normal Flash Player, something that says "This site includes high-end real time graphics; do you want to download the OpenGL Flash Player support extension?"-r-r
		Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.





--
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] Building a complex chat application on Fx2 & FDS

2006-04-28 Thread Aldo Bucchi



Matt,

hahahj!! I saw that one coming... ;)

Ok... I'll put my ass on the line for this one. FDS it is then... the
project is due to july with a very little slack If I get any
complaints I will see you next max and you'll be saying oh! hahhha

No, seriously, and absolutely off the record... am I too lost on the
dates? it is a complex app... so I will start coding ASAP on Red5 and
then port it to whatever solution FDSb3 provides. I don't want to
force my customer on adding yet another tech to his environment ( they
have 3 uninstalled flex 1.5 licences that are waiting to be upgraded
to FDS )

Best,
Aldo


On 4/28/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
> You wait until Beta 3 and then you say, "oh..." :-)
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Aldo Bucchi
> Sent: Thursday, April 27, 2006 6:30 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Building a complex chat application on Fx2 & FDS
>
> Hi all,
>
> How would you go about building a chat application with Flex2 & Flex
> Data Services.
> - Multiple users
> - 1to1, many to many
> - Java Backend
> - Needs to keep track of connected users ( and a reference to them )
> - Server to Client invocation of custom methods
>
> Using RPC services gives me a Client to Server call sequence, but not
> the opposite. Plus, it does not allow me to keep a reference ( in a
> stateful server side application ) to the client connections.
>
> Using messaging... well, I have push. but... what else?
>
> Basically, I need something analog to the functionality that I would
> find in these FMS2 features:
> - application.onConnect()
> - application.onDisconnect()
> - client.call()
> - Remote SharedObjects
> -  the ability to keep a reference ( Client Object ) to all connected
> clients
>
> But with the robustness and extensibility of a Java App ( a la Red5, but
> Today )
>
> Can this be done???
> approaches?
>
> We also have a license of FMS2, but I only want to use it for
> streaming media, as AS1 is not an allowed development language in my
> customer's infrastructure and is difficult to interface with other
> things ( namely Avaya Comm Manager and LDAP ). Of course we could use
> webservices to talk to a Java app, but that's too much overhead.
> I once found a FCS to Java connector, somewhere.. but seems like beta
> code. Not acceptable either. ( is there a production release of this
> connector ? ).
>
> Thanks,
> Aldo
>
> --
> : Aldo Bucchi :
> mobile (56) 8 429 8300
>
>
> --
> 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
>
>
>
>
>
>
>


--
: Aldo Bucchi :
mobile (56) 8 429 8300






--
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 and FMS2 : recording a stream?

2006-04-28 Thread Benoit Hediard





Hi,
 
I'm currently 
working on Flex2/FMS2 app.
I've successfully 
managed to publish a video stream, but I cannot record 
it.
 
It looks like the 
flash.net.NetStream API documentation is incomplete.
The only documented 
methods are close(), pause(), play() and seek().
The undocumented 
methods attachCamera() and attachAudio() works great but the publish() method 
don't for recording? 
 
When using 
someNetStream.publish("someStreamName", "record"), the "record" parameter is 
ignored, no 
flv is created on the server side.
 
Any 
idea?
 
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








  
  
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: dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-28 Thread bhaq1972



if i can add to matts suggestion. 
i usually find one doLater() isn't enough so i tried your example 
with the following change
public function populate():Void
{
    for (var i:Number = 0; i < largeArray.length; i++)
 largeArray[i] = {Number: i, TestColumn: 'a' + i};

  doLater(this, "scrollMe");
}
function scrollMe()
{
 if(myGrid.maxVPosition == 0)
 {
  doLater(this, "scrollMe")
 }
 else
 {
  myGrid.vPosition = myGrid.maxVPosition;
 }
}


--- In flexcoders@yahoogroups.com, Andriy Panas <[EMAIL PROTECTED]> wrote:
>
> Hello Matt,
> 
> Thank you for commenting.
> We are using Flex 1.5.
> 
> I must report that calling
> -
> myGrid.vPosition=maxVPosition
> -
> does not scroll dataGrid to the very end even after I tried to 
apply "doLater()" or alternatevely "setInterval" to
> postpone the execution of this command.
> 
>   Bizarre thing is that when I 
call "myGrid.vPosition=maxVPosition" for
> a second time via hitting any button on the form, then the scroll
> position of Datagrid control is set correctly to the very end.
> 
> 
> The test code follows:
> ---
> 
> http://www.macromedia.com/2003/mxml" 
width="100%" childrenCreated="populate()">
> 
> 
> 
> 
dataProvider="{largeArray}" >   
>   
> 
> 
>    
>    
> 
>     
>        
> 
click="scrollDatagridDoLater()">
> 
click="scrollDatagridInterval()">
> 
> ---
> 
> > In 1.5 setting vPosition=maxVPosition usually works, but you may 
need to
> > do it in a doLater.
> 
> 
> -- 
> Best regards,
>  Andriy    mailto:[EMAIL PROTECTED]
>










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] Flex 1.5 development, hardware question

2006-04-28 Thread Stanislav Zayarsky



Hello FlexCoders,

I'm interested what is the best hardware configuration for developing Flex app?

Because compiling time sometimes, when project really large, takes 1 min+.

I know that processor(less 50%) and RAM usage is ok on my machine when
compile, but HDD is working hard.

So where is bottleneck, and how I can decrease compile time?

My hardware configuration:
P4 3.0
RAM 1 GB
HDD WD 100 GB.

Best regards
Stanislav






--
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] mx:ComboBox selectedItem ="{blah}" (flex 2)

2006-04-28 Thread John C. Bland II



I am working with some a combo and the custom component listing the states works perfectly fine for simply saying: selectedItem="{items.selectedItem.state}". It will change and work as expected (when the grid is clicked).
Well, that component is nothing but a mx:dataProvider with  values inside. So the selectedItem is a string (when calling mycombo.selectedItem) as opposed to an object.My question is, when you have an object as the dp to a combo (or any other component with selectedItem) how do you set the selected item without doing a loop + if to find the proper selectedIndex?
Thanks,-- John C. Bland II"I do what I can do when I can do it." - Chris Tucker, Money Talkshttp://www.gotoandstop.org - Home of 
FMUG.az






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Uncaught exceptions in Flex 1.5

2006-04-28 Thread maxym.hryniv



I'm still waiting for reply. 
--- In flexcoders@yahoogroups.com, "maxym.hryniv" <[EMAIL PROTECTED]> wrote:
>
> Hi, Peter 
> It's good that we have at last normal exception handling in 8.5 
beta. 
> But it's only beta for now and we are creating apps using Flex 1.5. 
So 
> the question is "How we can fight silent exceptions death in Flex 1.
5
> ???". 
> I have some ideas but to realise them i have to rewrite all flex 1.5 
> framework and i think it's not acceptable.
> 
> Waiting for reply ,
> Max
> --- In flexcoders@yahoogroups.com, "Peter Farland"  
> wrote:
> >
> > Hi Mykola,
> >  
> > Have you used the debug versions of the Flash Player during
> > development? The debug version of the Flash Player reports 
uncaught
> > exceptions and it also traces information to a flashlog.txt file 
as 
> long
> > as you have a mm.cfg file setup in your user directory. We include 
> debug
> > versions of the Flash Player (i.e. the Standalone Player, the
> > Firefox/Netscape/Opera plugin and MSIE Active-X player) in the 
Flex
> > installer. We include them for the same reasons that you state -
> > "without having proper error reporting it is impossible to build
> > anything larget than hello-world presentations". Flex Builder has 
a
> > visual debugger with breakpoints and watch statements. Also AS3 
> Error
> > objects remember their stacktraces and you can print them out if 
> you're
> > using the debug player. We built the Flex 2 framework of over 1000
> > classes using the same tools as you would to build your own
> > applications... I feel that they are adequate.
> >  
> > Regarding the confusion, it wasn't that important - it was 
just 
> that
> > from my reading the various posts on this thread I got the 
> impression
> > that there were two complaints here that were at odds with each 
> other.
> > One complaining they couldn't manage errors coming from lots of
> > different places and the other that they weren't getting enough 
> errors
> > and related information at runtime.
> >  
> > Regards,
> > Pete
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
com] 
> On
> > Behalf Of Mykola Paliyenko
> > Sent: Tuesday, April 25, 2006 5:24 PM
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Uncaught exceptions in Flex 1.5
> > 
> > 
> > Ok Peter,
> > no idea why you've been confused but...
> > ActionScript specification has a notion of throwable objects, so 
> saying
> > that Exception is a bug of the AS2Lib is slightly incorrect. I'm
> > relaizing that due to the size constraints of the player it might 
be
> > good idea not to include exception handling in it, but once more 
> again
> > you can add this in the development version of the player and this
> > should be extremely easy to do if the overal palyer's architecture 
> is
> > good enough, isn't it?
> > 
> > My opinion is that without having proper error reporting it is
> > impossible to build anything larger than hello-world presentations 
> with
> > a very good quality, so I'd warn people to treat Flex/Flash as a 
> really
> > serious platform unless this feature will be implemented. 
> > Flex Developers in my company mostly are very unhappy with the 
> quality
> > of the framework and the level of the support Adobe provide for 
the
> > users, I'm not saying about paid support I'm saying about 
community
> > support, feature requests, bugfixes, open source frameworks around 
> Flex
> > etc. I see no other way for developing the really good product 
other
> > than involve the community into the development. It is the way 
lots 
> of
> > really cool stuff were developed for the last year and it is 
mostly
> > ignored by Adobe.
> > 
> > You have a great idea of RIA and a great high performant player, 
if 
> you
> > make a great product it will be an "all win" situation. The only 
way 
> to
> > make a great product is to make it more open to the contributing 
> than it
> > is now. IMHO but it is proven many times in Java world
> > So do not just throw away comment from such crazy guys like me, 
> Maxym,
> > Sergey and lots more, all we want is to make the platform we are 
> using
> > better, and do trust me without responding to the real feedback 
from
> > developers any technology will shortly become outdated. 
> > 
> > 
> > On 4/24/06, Peter Farland  wrote: 
> > 
> >   Mykola, I'm slightly confused by your post in contrast to what
> > Sergey and Stanislav originally said.
> >    
> >   I read Sergey's post as that he was having trouble with uncaught
> > exceptions and had to add a lot of code to catch and possibly 
ignore
> > such errors. I read your post to mean the opposite of this in that 
> the
> > uncaught exceptions were important at development time because if 
> they
> > were silently caught and ignored it would be hard to diagnose what 
> the
> > problem was.
> >    
> >   As Matt said, in general for our data services framework code we
> > tend to

Re[2]: [flexcoders] dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-28 Thread Andriy Panas



Hello Matt,

Thank you for commenting.
We are using Flex 1.5.

I must report that calling
-
myGrid.vPosition=maxVPosition
-
does not scroll dataGrid to the very end even after I tried to apply "doLater()" or alternatevely "setInterval" to
postpone the execution of this command.

  Bizarre thing is that when I call "myGrid.vPosition=maxVPosition" for
a second time via hitting any button on the form, then the scroll
position of Datagrid control is set correctly to the very end.


The test code follows:
---

http://www.macromedia.com/2003/mxml" width="100%" childrenCreated="populate()">



   
  
    
    
   
   
    
    
       



---

> In 1.5 setting vPosition=maxVPosition usually works, but you may need to
> do it in a doLater.


-- 
Best regards,
 Andriy    mailto:[EMAIL PROTECTED]







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2 beta 2 history: working?

2006-04-28 Thread Jonas Windey










You are right, I have to run it from http://localhost

Forgot the getURL wasn’t working if
you don’t run it on a webserver, thanks for the tip!

 

Jonas

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: vrijdag 28 april 2006 7:17
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2
beta 2 history: working?



 

Hmm, it should just work.  The HTML
page that’s generated should have history management by default.  Do
you see any errors being printed to the console?  Have you tried serving
the HTML page from a web server instead of from the local folder where it was compiled? 
I don’t know if it makes a difference but it’s possible…

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Thursday, April 27, 2006
4:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 beta
2 history: working?



 

Hi, 

 

I was trying to experiment with the HistoryManager class,
but can’t get it working. I created a new project, and just used the
accordion with some content, and even on that project, the history management
isn’t working.

Is there anything I need to configure, as the help says the
accordion component has history management by default?

 

Thanks!

Jonas










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex 2.0 b2: List, itemEditEnd event

2006-04-28 Thread tyombria



Hi, all.

i have a problem with itemEditEnd event.
How can i get data was being entered?
see the code:

someList.addEventListener( ListEvent.ITEM_EDIT_END, onItemEditEnd );
...
...

private function onItemEditEnd( event : ListEvent ) : void {
  var itemRenderer : IListItemRenderer = event.itemRenderer;
  trace( itemRenderer.data );  // outputs null
   // (row i've edited
   //  was null before)
  trace( someList.dataProvider ); // outputs, for example: 1,2,,5
  // although between rows with
  // data '2' and '5'
  // i've entered, for example, '8'
  // and i can see it in list.
}










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Error deserializing type AMF

2006-04-28 Thread angelosalsa



Hi, 
Does anyone know how I can fix this problem I am getting?
Using the the contact manager  dataservice example for coldfusion. the 
dg is getting filled with the data but when trying to add or update I 
get this error: "Error deserializing type AMF object because the target 
server type 'flex.ContactMgr.Users' cannot be found"
Everything seems to be in the right place, 
Any ideas?
Angelo










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