[flexcoders] Re: Exportar DataGrid(flex) a Excel

2006-06-10 Thread tonyx_788
que version de FLEX estas usando?
da un poco mas de datos
para que lo usaran?
van a imprimirlo?
van a editarlo en excel?
para que lo quieres a excel?


--- In flexcoders@yahoogroups.com, Mónica Cantillo
[EMAIL PROTECTED] wrote:

 Hola
 
 Tengo que hacer las siguientes cosas ... y soy nueva on Flex por lo que
 requiero la ayuda de todos ustedes...Necesito saber cómo:
 
 
-  exportar los datos de un datagrid a un archivo Excel... cómo
podría
hacerlo???
- combinar clases en java (clases hechas por mí) con mi aplicación en
Flex (actualmente uso NetBeans para la programación en Java)
- Combinar otros leguajes con Flex: PHP, JSP...
- Hacer un print screen y guardar lo que capture en un archivo de
word, power point y/o pdf.
 
 Por favor si tienen respuestas a alguna de las cosas que les menciono...
 envíenmelas lo antes posible y si tienen ejemplos mucho mejor...
 
 Agredezco mucho la ayuda que me puedan brindar...
 
 Saludos
 
 
 
 -- 
 Mónica Cantillo Acosta









 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Dumb Newbie Question - Underlined Hyperlinks

2006-06-10 Thread Darren Houle
You can also do something like...

a href=http://mysite.com/index.cfm;bu#name#/u/b/a

It's really basic, but it works fine and the user gets the point.

According to the docs... all that happens by default with links is that the 
mouse turns to a hand, there's no hover, underline, etc. to let you know 
it's a link.  But you can use other tags to make it look like a link.  My 
undertanding is that the Flash Player supports the following tags (and 
*only* the following tags) when embedding HTML in textareas, the htmlText 
property, etc:

a b br font img i li p textformat u

Darren



From: swhitley02 [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dumb Newbie Question - Underlined Hyperlinks
Date: Wed, 07 Jun 2006 21:34:40 -

Hello everyone.  I'm hoping this is super easy, but I can't find any
documentation on it.

I'm working with Flex 2.0 Beta 3.  While using the TextArea control,
I'm posting an HTML hyperlink to the htmlText property.  The link
appears in the TextArea control and it works, but there's nothing to
show the user that it's a link.  Is there an easy way to force the
display of hyperlinks to blue and underlined in the TextArea control?
Is there another control that will display standard HTML?






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












 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Flex Developer needed for RIA dev Philadelphia area

2006-06-10 Thread mccjobs
Social Networking startup looking for an exceptional and motivated individual 
capable of 
creating rich media community applications. Must be fluent in J2EE development 
environment and one industrial strength RDBMS. 

Heres our general requirements:

Skills 
•   Excellent Java programming skills 
•   Adobe Flex development experience (or get up to speed quickly) 
•   Excellent ActionScript 3.0 development skills, data-driven variable 
Flash content and 
Flash components 
•   Experience integrating Flash with dynamic data (e.g., XML, SQL-family, 
etc.) 
•   Experience with other programming languages (PHP, XHTML/CSS/JavaScript) 
a plus 
•   Excellent understanding of SQL and relational databases 
•   Background in OOP  re-usable code. 

•   Game and Mobile applications development – a plus 
•   Knowledge of Graphic, Audio  Video formats – highly desired 
•   Proficient experience with Photoshop 

•   Self-motivated, responsible, methodical, detail-oriented and 
self-directed 
•   Ability to set priorities and solve problems efficiently 
•   Well-organized, thrive in a deadline-driven environment. 
•   Strong ability to communicate professionally both verbally and in 
writing 
•   Able to work well independently and within a team 
•   Strong sense of design a plus 

Degree in Computer Science or equivalent experience a plus 

Please send resume/CV, 1 paragraph cover note, availability and hourly rate to: 
[EMAIL PROTECTED] 

No offshore or agency please. 









 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] One last try: Javascript security

2006-06-10 Thread FineLine










Hi Matt, I have just tested this use-network=false
option with the command line compiler, still get the same security error in
Flash player when I try the call out to _javascript_:



SecurityError: Error #2060: Security
sandbox violation: ExternalInterface caller file://C|\ExternalTest.swf may not
access file://C:\ExternalTest.htm.

 at
flash.external::ExternalInterface$/call()

 at
ExternalTest/::btn1_click()

 at
ExternalTest/__btn1_click()



Thanks for the suggestion, I will be
interested in seeing your sample app if possible, that might clear something up
for me.



Cheers, Tim











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Thursday, 8 June 2006 3:59
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] One last
try: _javascript_ security













Did you compile with use-network=false? I have a
sample app that will be coming out where the HTML can communicate into the
SWF. And I know that the ExternalInterface was at least able to register
the callbacks out. I didnt try making calls from the SWF out.



Also have you tried putting !-- saved from
url="" -- at the top of your HTML file? I seem to
remember that being necessary to allow local scripting.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of FineLine
Sent: Wednesday, June 07, 2006
5:22 PM
To: FlexCoders
 List
Subject: [flexcoders] One last
try: _javascript_ security













Hi.
I would like to raise this point one last time, before the Adobe engineers lock
in this aspect of framework behaviour in the final release.



Is
it really necessary to restrict the security of the Flash Player / Flex
Application model to such an extent that a flex application (SWF) located *on a users local hard disk* cannot make
calls to _javascript_ functions in its container page, also located on the same
hard disk? (I have described in the thread _javascript_ security my
various attempts to disprove this, to no avail).



I
understand why it should be impossible for Internet based applications to
operate within a strict sandbox, which prevents them from accessing local
resources. But surely, functions scripted within the applications
container page should also be considered to exist within the same sandbox? And
if not, how does it make sense that *Internet*
based apps can call external _javascript_, whilst local ones cant?



Flex
is a fantastic, emerging cross-platform framework technology. Imagine how
useful it would be to be able to use visual Flex components within
local-machine applications developed using other technologies, such as .NET,
Java, Delphi etc. Whilst Flex provides excellent user interface development
capabilities, it is not a tool for the kind of business application development
that these other environments excel in. It doesnt have the same data
modelling tools, low-level system APIs, encryption libraries, etc. etc.



If
you could use Flex to develop custom components, which you could then embed
within a host application using a browser component, then you would have the best
of both worlds. Those who develop Flex components would have a wider reach for
their products. Many of you will have heard of Mono, the cross-platform .NET
implementation. The one area where Mono lags most behind Microsofts own
implementation is in GUI development. Imagine developing a cross platform app
in .NET, using all its data access and business process modelling power, with a
Flex front end. Flex reads and writes .NET datasets very easily (just convert
them to XML, and youve got the power of E4X to do all your manipulation
within the UI layer).



Maybe
this can be put in the category of Flex was never meant to do
that, but really, all it would take is being able to use the
ExternalInterface API to accept commands, report events and exchange data with
the host application via scripted functions in the container page. Ideally, the
page shouldnt even have to exist on disk  it could be dynamically
created and fed to the browser component by the host application  but
thats getting a bit esoteric. The main thing is being able to establish
communications between Flex and its HTML page  an interface which
already exists in its entirety, but which is locked down in such a way that it
is not useable in this scenario, as it currently stands.



Again,
if anyone can prove me wrong on this, Id love to hear how.



Rant
over, have a nice day. Cheers, Tim.


















__._,_.___





--
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] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-06-10 Thread Paul Williams
Hi Tom,

A nice way to do this is to create a master that is an ArrayCollection, and 
then for each of your filtered lists you use a ListCollectionView. When you 
create your ListCollectionView you pass your master list in as a constructor 
parameter (because ArrayCollection implements Ilist). You can then add a filter 
function to each of your filtered lists without affecting the master. Each 
ListCollectionView will listen to the underlying IList for changes, so these 
should come through immediately (if they get past the filter!).

There's a very simple demo for beta 3 below. Does this solve your problem?

Paul

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=horizontal 
creationComplete=initialise()

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import flash.utils.Timer;

[Bindable]
public var master : ArrayCollection = new ArrayCollection();

[Bindable]
public var slave1 : ListCollectionView = new 
ListCollectionView(master);
[Bindable]
public var slave2 : ListCollectionView = new 
ListCollectionView(master);
[Bindable]
public var slave3 : ListCollectionView = new 
ListCollectionView(master);

public var value : int = 0;

public function initialise() : void
{
slave1.filterFunction = filterOdd;
slave1.refresh();
slave2.filterFunction = filterEven;
slave2.refresh();
slave3.filterFunction = filterDivBy5;
slave3.refresh();   

var timer : Timer = new Timer( 200, 50);
timer.addEventListener( timer, addValue);
timer.start();
}

public function addValue( event : Event ) : void
{
master.addItem( ++value );  
}

public function filterOdd( item : Object ) : Boolean
{
var value : int = int(item);
return value % 2 == 1   
}

public function filterEven( item : Object ) : Boolean
{
var value : int = int(item);
return value % 2 == 0   
}

public function filterDivBy5( item : Object ) : Boolean
{
var value : int = int(item);
return value % 5 == 0   
}   

]]
/mx:Script

mx:VBox
mx:Label text=Master List/
mx:List dataProvider={ master } height=400/
/mx:VBox

mx:VBox
mx:Label id=slave1Label text=Odd/
mx:List dataProvider={ slave1 } height=400/
/mx:VBox

mx:VBox
mx:Label id=slave2Label text=Even/
mx:List dataProvider={ slave2 } height=400/
/mx:VBox

mx:VBox
mx:Label id=slave3Label text=Divisible by 5/
mx:List dataProvider={ slave3 } height=400/
/mx:VBox

/mx:Application


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
Lu
Sent: Saturday, June 10, 2006 4:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: need strategy for filtering ArrayCollections in a 
Cairngorm app


very interesting...

why not trigger a global ArrayChangedEvent so each fitlered ArrayCollection 
can update itself according to it ? (with some binding settings this should be 
feasible)

the trigger point is: when new data are pushed into MasterArray, dispatch it.

Tom: if you have some sample code, I can give it a try.

On 6/10/06, Tim Hoff [EMAIL PROTECTED] wrote:
I'll have to take your word on that, but I'm still skeptical.  If what you say 
is true, then you could still use the same approach, but instead have the 
view listen for updates to the masterArray in the ModelLocator.  You could do 
this either by using the changWatcher utility or Paul Williams' Observe tag:
http://weblogs.macromedia.com/paulw/
When your view hears a change to the masterArray, you would then refresh the 
ArrayCollection.  It's a little cumbersome, but since direct binding doesn't 
want to work for you, it might be a necessary step.
-TH

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

 Thanks for trying. An ArrayCollection will not reflect changes made
 directly to its source array, so new items pushed onto masterArray do not
 show up in my views. 
 
 -Tom
 
 On 6/9/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
  Changes to the masterArray 

[flexcoders] Re: FDB usage

2006-06-10 Thread maxym.hryniv
Does someone can reply??? 
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 No! I'm looking for a GUI, that supports gdb to use it with fdb.
 --- In flexcoders@yahoogroups.com, Andriy Panas dutchman@ wrote:
 
  Hello maxym.hryniv,
  
  mh OOps. Sorry, GDB.
  
  Are you looking at GDB as a rival debugger to FDB?!
  
  May I ask why?!
  
  
  
  
  -- 
  Best regards,
   Andriymailto:dutchman@
 







 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Lastest Flash Player 9 Beta doesn't dsplay beta3 content?

2006-06-10 Thread Carlos Rovira



Hi,I can't use this lastest release due to all my current test and projects doesn't work anymore.I must to uninstall it (FP 9.0.2) and install again FP 9.0.0Is this normal or I'm doing something wrong?
Thanks-- ::| Carlos Rovira::| http://www.carlosrovira.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Lastest Flash Player 9 Beta doesn't dsplay beta3 content?

2006-06-10 Thread Jason Hawryluk





that's 
normal the latest version is not setup for flex developement 
b3



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Carlos RoviraEnvoyé: samedi 10 juin 2006 
  13:35À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Lastest Flash Player 9 Beta doesn't dsplay beta3 
  content?
  
  Hi,I can't use this lastest release due to all my current test and 
  projects doesn't work anymore.I must to uninstall it (FP 9.0.2) and 
  install again FP 9.0.0Is this normal or I'm doing something wrong? 
  Thanks-- ::| Carlos Rovira::| http://www.carlosrovira.com 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] ActionScript 2.0 to 3.0 migration

2006-06-10 Thread karthikeyanik
Hi,

1) When compiling an .as interface, we get the following error -

Error Code 1157:
Interface members may not be  
declared 'public', 'private', 'protected', or 'internal'

Eg: Interface

public interface TestInterface {
   public function test(obj:Object):Boolean;
}

   If the interface definition is changed as follows, the error 1157 
does not occur.

public interface TestInterface {
 function test(obj:Object):Boolean;
}

But if the interface function is not defined as public, it wont 
be visible outside. It would be great, if someone can provide 
suggestions on how to resolve this error.

Thanks,
Karthi








 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] ActionScript 2.0 to 3.0 migration

2006-06-10 Thread Abdul Qabiz




 public interface TestInterface {
  function test(obj:Object):Boolean;
 }From AS3 spec:-1) Interface methods are not public by default, but are added to the public namespace by the implementing method definition.2) Classes that implement an interface method must use the 
public attribute to implement all interface methods that have the same identifier name.3) Interface methods are visible when referenced through a property of the
corresponding interface type or through a reference to the implementing
class or subclass.Example:-interface I {function f()}interface J{function g()}class A implements I {public function f() {}public function g() {}
}var a : A = new Aa.f() // okay, f is visible through an A as {public}::fa.g() // okay, g is visible through an A as {public}::gvar i : I = bi.f() // okay, f is still visible through an I as {I}::f
i.g() // error, g is not visible through an I as {I}::gDoes it make sense?-abdulOn 6/10/06, karthikeyanik 
[EMAIL PROTECTED] wrote:








  



Hi,

1) When compiling an .as interface, we get the following error -

Error Code 1157:
Interface members may not be  
declared 'public', 'private', 'protected', or 'internal'

Eg: Interface

public interface TestInterface {
   public function test(obj:Object):Boolean;
}

If the interface definition is changed as follows, the error 1157 
does not occur.

public interface TestInterface {
 function test(obj:Object):Boolean;
}

But if the interface function is not defined as public, it wont 
be visible outside. It would be great, if someone can provide 
suggestions on how to resolve this error.

Thanks,
Karthi


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: FDB usage

2006-06-10 Thread Abdul Qabiz



Why are you not using FDB only? I mean it's like GDB?Any special reasons, would love to know.-abdulOn 6/10/06, maxym.hryniv 
[EMAIL PROTECTED] wrote:








  



Does someone can reply??? 
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 No! I'm looking for a GUI, that supports gdb to use it with fdb.
 --- In flexcoders@yahoogroups.com, Andriy Panas dutchman@ wrote:
 
  Hello maxym.hryniv,
  
  mh OOps. Sorry, GDB.
  
  Are you looking at GDB as a rival debugger to FDB?!
  
  May I ask why?!
  
  
  
  
  -- 
  Best regards,
   Andriymailto:dutchman@
 



  















__._,_.___





--
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] One last try: Javascript security

2006-06-10 Thread Abdul Qabiz



Hey,Can you please post a simple but complete code (Flex + _javascript_), I would like to look at it. Sorry, I am being bit lazy doing all that..-abdulOn 6/10/06, 
FineLine [EMAIL PROTECTED] wrote:









  











Hi Matt, I have just tested this –use-network=false
option with the command line compiler, still get the same security error in
Flash player when I try the call out to _javascript_:



SecurityError: Error #2060: Security
sandbox violation: ExternalInterface caller file://C|\ExternalTest.swf may not
access file://C:\ExternalTest.htm.

 at
flash.external::ExternalInterface$/call()

 at
ExternalTest/::btn1_click()

 at
ExternalTest/__btn1_click()



Thanks for the suggestion, I will be
interested in seeing your sample app if possible, that might clear something up
for me.



Cheers, Tim











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, 8 June 2006 3:59
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] One last
try: _javascript_ security













Did you compile with –use-network=false? I have a
sample app that will be coming out where the HTML can communicate into the
SWF. And I know that the ExternalInterface was at least able to register
the callbacks out. I didn't try making calls from the SWF out.



Also have you tried putting !-- saved from
url="" -- at the top of your HTML file? I seem to
remember that being necessary to allow local scripting.



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of FineLine
Sent: Wednesday, June 07, 2006
5:22 PM
To: FlexCoders
 List
Subject: [flexcoders] One last
try: _javascript_ security













Hi.
I would like to raise this point one last time, before the Adobe engineers lock
in this aspect of framework behaviour in the final release.



Is
it really necessary to restrict the security of the Flash Player / Flex
Application model to such an extent that a flex application (SWF) located *on a users local hard disk* cannot make
calls to _javascript_ functions in its container page, also located on the same
hard disk? (I have described in the thread "_javascript_ security" my
various attempts to disprove this, to no avail).



I
understand why it should be impossible for Internet based applications to
operate within a strict sandbox, which prevents them from accessing local
resources. But surely, functions scripted within the application's
container page should also be considered to exist within the same sandbox? And
if not, how does it make sense that *Internet*
based apps can call external _javascript_, whilst local ones can't?



Flex
is a fantastic, emerging cross-platform framework technology. Imagine how
useful it would be to be able to use visual Flex components within
local-machine applications developed using other technologies, such as .NET,
Java, Delphi etc. Whilst Flex provides excellent user interface development
capabilities, it is not a tool for the kind of business application development
that these other environments excel in. It doesn't have the same data
modelling tools, low-level system APIs, encryption libraries, etc. etc.



If
you could use Flex to develop custom components, which you could then embed
within a host application using a browser component, then you would have the best
of both worlds. Those who develop Flex components would have a wider reach for
their products. Many of you will have heard of Mono, the cross-platform .NET
implementation. The one area where Mono lags most behind Microsoft's own
implementation is in GUI development. Imagine developing a cross platform app
in .NET, using all its data access and business process modelling power, with a
Flex front end. Flex reads and writes .NET datasets very easily (just convert
them to XML, and you've got the power of E4X to do all your manipulation
within the UI layer).



Maybe
this can be put in the category of "Flex was never meant to do
that", but really, all it would take is being able to use the
ExternalInterface API to accept commands, report events and exchange data with
the host application via scripted functions in the container page. Ideally, the
page shouldn't even have to exist on disk – it could be dynamically
created and fed to the browser component by the host application – but
that's getting a bit esoteric. The main thing is being able to establish
communications between Flex and its HTML page – an interface which
already exists in its entirety, but which is locked down in such a way that it
is not useable in this scenario, as it currently stands.



Again,
if anyone can prove me wrong on this, I'd love to hear how.



Rant
over, have a nice day. Cheers, Tim.






















  















__._,_.___





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






Re: [flexcoders] Re: FDB usage

2006-06-10 Thread Abdul Qabiz



Sorry for my ignorance, I think GDB is command line like FDBIf that is not the case, please ignore.BTW! It's individual's choice, I moved to GUI to command line as I find it better. I hardly use any GUI program for development...
- mxmlc- fdb- compc- FlashCommand- ANT- flasm- tail - f (log tracing)- VIM- list is longI feel I have become more productive and fast. I don't have to click on object trees in Debugging UI, rather I type some statements, expressions to see entire thing. My hand is on keyboard most of the time, I save time that way also :)
-abdulOn 6/10/06, maxym.hryniv [EMAIL PROTECTED] wrote:









  



Hi, Abdul.
Don't you think that debugging in gui is much easier than in command-
line??? What do you mean telling that fdb is like gdb
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] 

wrote:

 Why are you not using FDB only? I mean it's like GDB?
 
 Any special reasons, would love to know.
 
 -abdul
 
 On 6/10/06, maxym.hryniv [EMAIL PROTECTED] wrote:
 
Does someone can reply???
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, 


  maxym.hryniv mokus@ wrote:
  
   No! I'm looking for a GUI, that supports gdb to use it with fdb.
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.

com, Andriy
  Panas dutchman@ wrote:
   
Hello maxym.hryniv,
   
mh OOps. Sorry, GDB.
   
Are you looking at GDB as a rival debugger to FDB?!
   
May I ask why?!
   
   
   
   
--
Best regards,
Andriy mailto:dutchman@
   
  
 
   
 



  















__._,_.___





--
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: Exportar DataGrid(flex) a Excel

2006-06-10 Thread Abdul Qabiz



Sorry, can't understand your language. But I am getting what you want to know. How to export data in excel sheet in Flex datagrid?I can suggest two ways:-1) Upload Excel sheet to server, parse it and create data-structure which Flex (ActionScript) can understand.
2) If you want to sync data between MS Excel and a Flex application, you can create a form in Excel that embeds a small flex app that communicates with main Flex application using LocalConnection and syncs the data.
I don't know much about Flex 2 enterprise features, but I am sure there must be better ways.-abdulOn 6/7/06, tonyx_788 
[EMAIL PROTECTED] wrote:








  



que version de FLEX estas usando?
da un poco mas de datos
para que lo usaran?
van a imprimirlo?
van a editarlo en excel?
para que lo quieres a excel?

--- In flexcoders@yahoogroups.com, Mónica Cantillo
[EMAIL PROTECTED] wrote:

 Hola
 
 Tengo que hacer las siguientes cosas ... y soy nueva on Flex por lo que
 requiero la ayuda de todos ustedes...Necesito saber cómo:
 
 
-  exportar los datos de un datagrid a un archivo Excel... cómo
podría
hacerlo???
- combinar clases en java (clases hechas por mí) con mi aplicación en
Flex (actualmente uso NetBeans para la programación en Java)
- Combinar otros leguajes con Flex: PHP, JSP...
- Hacer un print screen y guardar lo que capture en un archivo de
word, power point y/o pdf.
 
 Por favor si tienen respuestas a alguna de las cosas que les menciono...
 envíenmelas lo antes posible y si tienen ejemplos mucho mejor...
 
 Agredezco mucho la ayuda que me puedan brindar...
 
 Saludos
 
 
 
 -- 
 Mónica Cantillo Acosta



  















__._,_.___





--
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: FDB usage

2006-06-10 Thread Mykola Paliyenko



Hi MaxI gave it some thought and I believe it is not that easy to do since you need a syntax analyzer for AS code in order to be able to watch variables and put breakpoints etc. So it is not just about finding any GDB compliant UI debugger and make it use FDB. 
That is why there are still no IDE for debugging Flex 1.5. I think that Flex 2 eclipse based debugger is somehting you are looking for but for Flex 2.0. Regards, Mykola
On 6/10/06, maxym.hryniv [EMAIL PROTECTED] wrote:









  



Does someone can reply??? 
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 No! I'm looking for a GUI, that supports gdb to use it with fdb.
 --- In flexcoders@yahoogroups.com, Andriy Panas dutchman@ wrote:
 
  Hello maxym.hryniv,
  
  mh OOps. Sorry, GDB.
  
  Are you looking at GDB as a rival debugger to FDB?!
  
  May I ask why?!
  
  
  
  
  -- 
  Best regards,
   Andriymailto:dutchman@
 



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Help! ( Dynamic URLs for HTTPServices )

2006-06-10 Thread Luís Gustavo Sanabio



Hi All,

 I really need to load RSS feeds directly, without PHPand FDS Proxies. My server is alreadytoo busy! :-)
 I did this withmy Flex Application embedded in a DELPHI Application (FlashPlayerControl component).
 Yeahh. Works perfectly. The users must download a browser (Delphi Application) that loads my Flex Application and loads RSS feeds. Then the browser comunicates to Flex by ExternalInteface calls. It's fine. 

 But, I thinkthere is a better way to do this. Delphi Application works at Windows only and the users must to donwload it.
 I thinking about to builda IE and Firefox PLUGIN to load the RSS Feeds and send the data toFlash Player.
Does anyone have anysuggestion?

Sorry my English
Gustavo Sanabio
Brazil
2006/5/2, Matt Chotin [EMAIL PROTECTED]: 
The FDS proxy can also do this work for you (it's what it was designedfor) so if you have a server you can put it up there.And the proxy 
will be available for free so you can get the benefit of our cookiesupport and other goodies (which may or may not be necessary dependingon your use-case).Unfortunately there isn't a way to circumvent the crossdomain 
requirement without a proxy, it wouldn't be safe for the Playercustomers if you as a developer could make your SWF hit any url you want(because then you could try to access information the user doesn't want
you to).Matt-Original Message-From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com ] OnBehalf Of oca_gwSent: Monday, May 01, 2006 1:52 PMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Help! ( Dynamic URLs for HTTPServices )Hi Rick,Thanks for your response, a lot of that I knew already, but its greatto post that information for the other readers too!
Here is the PHP file that I use for the Flex Weather application. Ifelt that this may be of use to someone: ?$url = ""
$urlString = $url . '?';$paramCount = 0;foreach ($_REQUEST as $key = $value){ if (strlen($key)  6  substr($key, 0, 6) == 'param_') { if ($paramCount != 0) $urlString .= '';
 $urlString .= substr($key, 6, strlen($key)) . '=' . $value; ++$paramCount;  }}header('Content-type: text/xml');$handle = fopen($urlString, 'r');if (!$handle) die('errorCould not open specified URL/error');
while (!feof($handle)) $result .= fread($handle, 8192); die($result);?Basically, in your HTTPService, you now specify the address to go to
as the url parameter, and all parameters for that url are prepended with the param_ string:mx:HTTPService id=myProxiedService url="">
 mx:request url{myDataGrid.selectedItem.Address}/url  param_name{nameInput.text}/param_name param_age{ageInput.text}/param_age param_secret{mySecretVar}1234/param_secret
 /mx:request/mx:HTTPServiceThis allows you to proxy any URL, with any set of parameters.I have JSP and ASP(VB) versions of this also if people want. Let meknow.Regards,
Graham WeldonWeb Development Manager Object Connections--- In flexcoders@yahoogroups.com
, [EMAIL PROTECTED] wrote: Not sure if somebody already responded - I just deleted my newest (flexcoders) mail without really looking at it... and I must add the disclaimerthat I'm still pretty new to Flex so I could be off base here.That said,
 I had the same issue trying to use one HTTPService component to access any number of sites by dynamically changing the url attribute.What Ifound (and I think you too by now) is that it's not the dynamic nature of the url
causing the problem, but rather the cross-domain issue - hitting a different domain than the one serving your swf.You mentioned using a php proxy file for your
weather.com project.Do the same thing here, just pass the dynamic url in thequerystring and extract it in the php file before going there.Assuming you putyour php file in the same folder as your swf, your example below would look
like: mx:HTTPService  id=myServiceurl=""> resultFormat=text/ ...
 and you entire php file would be:  ?php $dataURL = $_GET[url]; readfile($dataURL); ? If the url you're passing already has a querystring, I found a 
simple way to handle that is to replace the '' character with something unlikely(I use '~AND~') in Flex and re-replace the '' in php, so the entire thingbecomes one value, instead of trying to re-assemble the querystring in php. 
 In this case your example would look like: mx:HTTPService id=myServiceurl=""
 (//g,'~AND~')} resultFormat=text/ ... and you entire php file would be: ?php $replacethis = ~AND~;// was replaced by ~AND~ in 
Flex beforesending the httprequest $withthis = ; $dataURL = $_GET[url]; $dataURL = str_replace($replacethis, $withthis, 
$dataURL); readfile($dataURL); ? Why does this work locally when obviously C:\ is not the same domainas 
www.yahoo.com ?Because of Flash 8 security model which gives alocally executing swf access to EITHER the local file system OR the www, butnot both (unless it's in trusted mode).In Flash, you choose which you 

Re: [flexcoders] One last try: Javascript security

2006-06-10 Thread Luís Gustavo Sanabio



Hi..

Try set the allowScriptAccess to ALWAYS of the object and embed tags on the HTML page.
The default is allowScriptAccess=sameDomain
Try set to: allowScriptAccess=always


Gustavo

__._,_.___





--
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: ExternalInterface | How to get called from flash inxml flavor?

2006-06-10 Thread Luís Gustavo Sanabio



Hi... I'm sorry, but what is NPPlugin?
2006/6/9, drome.dario [EMAIL PROTECTED]:
Came on guys!... just a suggestion?... even simple? Yahoo! Groups Sponsor ~--
Everything you need is oneclick away. Make Yahoo! your home pagenow.http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: ExternalInterface | How to get called from flash inxml flavor?

2006-06-10 Thread Abdul Qabiz



Check out this link, it talks about how ExternalInterface works in browser. That is, what _javascript_ is embedeed by Flash Player in browser to do serialization/deserilization in _javascript_.
http://codinginparadise.org/weblog/2006/02/how-to-speed-up-flash-8s.htmlOn 6/10/06, Luís Gustavo Sanabio [EMAIL PROTECTED]
 wrote:








  



Hi... I'm sorry, but what is NPPlugin?
2006/6/9, drome.dario [EMAIL PROTECTED]:
Came on guys!... just a suggestion?... even simple? Yahoo! Groups Sponsor ~--
Everything you need is oneclick away. Make Yahoo! your home pagenow.http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: 
http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 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]

2006-06-10 Thread Luís Gustavo Sanabio



Hi All,

 I really need to load RSS feeds directly, without PHPand FDS Proxies. My server is alreadytoo busy! :-)
 I did this withmy Flex Application embedded in a DELPHI Application (FlashPlayerControl component).
 Yeahh. Works perfectly. The users must download a browser (Delphi Application) that loads my Flex Application and loads RSS feeds. Then the browser comunicates to Flex by ExternalInteface calls. It's fine. 

 But, I thinkthere is a better way to do this. Delphi Application works at Windows only and the users must to donwload it.
 I thinking about to builda IE and Firefox PLUGIN to load the RSS Feeds and send the data toFlash Player.
Does anyone have anysuggestion?

Sorry my English
Gustavo Sanabio
Brazil

__._,_.___





--
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 vs. .Net for RIA database apps; new to both

2006-06-10 Thread michaellisten
Thanks Jeremy, I'd not seen the flex dev derby page. There are some
pretty interesting apps there, a good exposure.

Do you (or anyone) have any perspective on how flex compares with
.net, re getting work done? .net in total includes in theory all
layers including the webservice etc that one might use to handle
interaction with the backend. With flex one uses java or rails or even
.net.

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

 well, Flex 2 is surely suitable for database oriented or data-centric
 application, you can check out the Flex Derby pages here:
 
 http://labs.adobe.com/wiki/index.php/Showcase:Flex_Developer_Derby
 
 lot of applications are data-heavy and co-op with backend technology
 closely, this is never an issue.
 
 Judging from what you described (database-frontend, form-entry, CRUD
stuff),
 Flex2 should serves you quite right, check out following topic in the
 livedoc/manual:
 
 -RPC in Data Service: this is for data connection with backend using
HTTP
 Get/Post, Web Service, XML or Remoting.
 
 -FORMS: this is for creating user-input Forms, handling all the layout,
 required field, data validation and so on...
 
 -Validator: there are various built-in Validators (email, credit
card...) to
 check user-input data before sending back to server.
 
 in my opinio, it's really a snap to build this kind of
Form-Entry-CRUD-Stuff
 with Flex2 :-)
 
 Jeremy.
 
 
 On 6/10/06, michaellisten [EMAIL PROTECTED] wrote:
 
 
  But most flex example apps are less database oriented and are
often showy
  shopping carts. Is flex going to be good for what I'm after?Most
examples
  have little data entry. I posted here about flex/flashcomboboxes
for data
  entry/selection and didn't get much in the way offeedback.
 
 
 
 
 I am most interested in the approach that is the most productive;
  helps the most with data binding, wysisyg designers, error handling,
  and so forth. I'm usually asked to create a lot of solid software in a
  minimal timeframe, so my priority here will be to choose software that
  simplifies the design/build cycle.
 
   
 







 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Flex vs. .Net for RIA database apps; new to both

2006-06-10 Thread Tim Hoff
I agree completely with the assessment that Jeremy made concerning 
Flex's database suitability.  Before Flex, I developed web 
applications primarily with ASP.NET.  In my opinion, Flex is a much 
better choice for UI development.  True, .Net includes all layers, 
but the main drawback is that pages are rendered by the server and 
sent to the browser one at a time.  Flex, on the other hand, creates 
rich internet applications that only require data to be retrieved 
from the server.  This gives you the best of both worlds, a desktop-
like application with zero-deployment over the internet.  

I'm currently creating a Flex application that uses ASP.NET web 
services with a SQL Server back-end.  In addition to being extremely 
easy to get work done, Flex makes the process of creating very 
complex user interfaces in a fraction of the time.  In addition, if 
you also implement an MVC micro-architecture (like Cairngorm), you 
are able to quickly create very organized projects that are scalable 
and easily maintained.  One other thought is that Flex can also be 
used as an alternative to .NET WinForms; without the associated DLL 
Hell and installation requirements.  These are just my opinions, but 
I'm definitely sold on Flex for database driven web applications.

Tim Hoff


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

 Thanks Jeremy, I'd not seen the flex dev derby page. There are some
 pretty interesting apps there, a good exposure.
 
 Do you (or anyone) have any perspective on how flex compares with
 .net, re getting work done? .net in total includes in theory all
 layers including the webservice etc that one might use to handle
 interaction with the backend. With flex one uses java or rails or 
even
 .net.
 
 --- In flexcoders@yahoogroups.com, Jeremy Lu wade.lu@ wrote:
 
  well, Flex 2 is surely suitable for database oriented or data-
centric
  application, you can check out the Flex Derby pages here:
  
  
http://labs.adobe.com/wiki/index.php/Showcase:Flex_Developer_Derby
  
  lot of applications are data-heavy and co-op with backend 
technology
  closely, this is never an issue.
  
  Judging from what you described (database-frontend, form-entry, 
CRUD
 stuff),
  Flex2 should serves you quite right, check out following topic 
in the
  livedoc/manual:
  
  -RPC in Data Service: this is for data connection with backend 
using
 HTTP
  Get/Post, Web Service, XML or Remoting.
  
  -FORMS: this is for creating user-input Forms, handling all the 
layout,
  required field, data validation and so on...
  
  -Validator: there are various built-in Validators (email, credit
 card...) to
  check user-input data before sending back to server.
  
  in my opinio, it's really a snap to build this kind of
 Form-Entry-CRUD-Stuff
  with Flex2 :-)
  
  Jeremy.
  
  
  On 6/10/06, michaellisten listensome@ wrote:
  
  
   But most flex example apps are less database oriented and are
 often showy
   shopping carts. Is flex going to be good for what I'm after?
Most
 examples
   have little data entry. I posted here about 
flex/flashcomboboxes
 for data
   entry/selection and didn't get much in the way offeedback.
  
  
  
  
  I am most interested in the approach that is the most productive;
   helps the most with data binding, wysisyg designers, error 
handling,
   and so forth. I'm usually asked to create a lot of solid 
software in a
   minimal timeframe, so my priority here will be to choose 
software that
   simplifies the design/build cycle.
  

  
 








 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders]

2006-06-10 Thread Weyert de Boer
It's total unclear what you want to do... As far as I know you are 
capable to parse rss feeds in Flex or Flash itself without problems. If 
you are using Flash as the host application, you shouldn't have any 
problems either. Please explain what you want :)

Delphi rocks ;-)


 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-06-10 Thread Tom Bray



Hi Paul,That's exactly what I was looking for. Thanks for taking the time to supply the sample app! I'm giddy!-TomOn 6/10/06, Paul Williams
 [EMAIL PROTECTED] wrote:








  



Hi Tom,

A nice way to do this is to create a master that is an ArrayCollection, and then for each of your filtered lists you use a ListCollectionView. When you create your ListCollectionView you pass your master list in as a constructor parameter (because ArrayCollection implements Ilist). You can then add a filter function to each of your filtered lists without affecting the master. Each ListCollectionView will listen to the underlying IList for changes, so these should come through immediately (if they get past the filter!).


There's a very simple demo for beta 3 below. Does this solve your problem?

Paul

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=horizontal creationComplete=initialise()


mx:Script
	![CDATA[
		import mx.collections.ArrayCollection;
		import flash.utils.Timer;
		
		[Bindable]
		public var master : ArrayCollection = new ArrayCollection();
		
		[Bindable]
		public var slave1 : ListCollectionView = new ListCollectionView(master);
		[Bindable]
		public var slave2 : ListCollectionView = new ListCollectionView(master);
		[Bindable]
		public var slave3 : ListCollectionView = new ListCollectionView(master);
		
		public var value : int = 0;
		
		public function initialise() : void
		{
			slave1.filterFunction = filterOdd;
			slave1.refresh();
			slave2.filterFunction = filterEven;
			slave2.refresh();
			slave3.filterFunction = filterDivBy5;
			slave3.refresh();			
			
			var timer : Timer = new Timer( 200, 50);
			timer.addEventListener( timer, addValue);
			timer.start();
		}
		
		public function addValue( event : Event ) : void
		{
			master.addItem( ++value );	
		}
		
		public function filterOdd( item : Object ) : Boolean
		{
			var value : int = int(item);
			return value % 2 == 1	
		}
		
		public function filterEven( item : Object ) : Boolean
		{
			var value : int = int(item);
			return value % 2 == 0
		}
		
		public function filterDivBy5( item : Object ) : Boolean
		{
			var value : int = int(item);
			return value % 5 == 0
		}
		
	]]
/mx:Script

mx:VBox
mx:Label text=Master List/
mx:List dataProvider={ master } height=400/
/mx:VBox

mx:VBox
mx:Label id=slave1Label text=Odd/
mx:List dataProvider={ slave1 } height=400/
/mx:VBox

mx:VBox
mx:Label id=slave2Label text=Even/
mx:List dataProvider={ slave2 } height=400/
/mx:VBox

mx:VBox
mx:Label id=slave3Label text=Divisible by 5/
mx:List dataProvider={ slave3 } height=400/
/mx:VBox
	
/mx:Application


From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Saturday, June 10, 2006 4:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

very interesting...

why not trigger a global ArrayChangedEvent so each fitlered ArrayCollection can update itself according to it ? (with some binding settings this should be feasible)

the trigger point is: when new data are pushed into MasterArray, dispatch it.

Tom: if you have some sample code, I can give it a try.

On 6/10/06, Tim Hoff [EMAIL PROTECTED] wrote:
I'll have to take your word on that, but I'm still skeptical. If what you say is true, then you could still use the same approach, but instead have the viewlisten for updates to the masterArray in the ModelLocator. You could do this either by using the changWatcher utility or Paul Williams' Observe tag:

http://weblogs.macromedia.com/paulw/
When your view hears a change to the masterArray, you would then refresh the ArrayCollection. It's a little cumbersome, but since direct binding doesn't want to work for you, it might be a necessary step.
-TH

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

 Thanks for trying. An ArrayCollection will not reflect changes made
 directly to its source array, so new items pushed onto masterArray do not
 show up in my views. 
 
 -Tom
 
 On 6/9/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
  Changes to the masterArray in the ModelLocator should be
  automatically reflected in the AC if you use either of the binding 
  methods I posted. If not, sorry. That's all I have.
 
 
  -TH
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tom
  Bray tombray@ wrote:
  
   The problem is that changes to ModelLocator.getInstance
  ().masterArray don't 
   update the views' dataProviders. In other words, the
  ArrayCollections that
   use masterArray as their source don't know when new items are
  added to or
   removed from masterArray. That's why I was thinking that 
  masterArray would
   actually be masterArrayCollection and I'd bind each of the view's
   dataProvider ACs to it so they could stay in sync. I bound the
  master AC to 
   the sub ACs using BindingUtils and was 

[flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-06-10 Thread Tim Hoff
Thanks for your answer Paul.  Obviously, I learned as well. :)

-TH

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

 Hi Paul,
 
 That's exactly what I was looking for.  Thanks for taking the time 
to supply
 the sample app!  I'm giddy!
 
 -Tom
 
 
 On 6/10/06, Paul Williams [EMAIL PROTECTED] wrote:
 
Hi Tom,
 
  A nice way to do this is to create a master that is an 
ArrayCollection,
  and then for each of your filtered lists you use a 
ListCollectionView. When
  you create your ListCollectionView you pass your master list in 
as a
  constructor parameter (because ArrayCollection implements 
Ilist). You can
  then add a filter function to each of your filtered lists 
without affecting
  the master. Each ListCollectionView will listen to the 
underlying IList for
  changes, so these should come through immediately (if they get 
past the
  filter!).
 
  There's a very simple demo for beta 3 below. Does this solve 
your problem?
 
  Paul
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  layout=horizontal creationComplete=initialise()
 
 
  mx:Script
  ![CDATA[
  import mx.collections.ArrayCollection;
  import flash.utils.Timer;
 
  [Bindable]
  public var master : ArrayCollection = new ArrayCollection();
 
  [Bindable]
  public var slave1 : ListCollectionView = new ListCollectionView
(master);
  [Bindable]
  public var slave2 : ListCollectionView = new ListCollectionView
(master);
  [Bindable]
  public var slave3 : ListCollectionView = new ListCollectionView
(master);
 
  public var value : int = 0;
 
  public function initialise() : void
  {
  slave1.filterFunction = filterOdd;
  slave1.refresh();
  slave2.filterFunction = filterEven;
  slave2.refresh();
  slave3.filterFunction = filterDivBy5;
  slave3.refresh();
 
  var timer : Timer = new Timer( 200, 50);
  timer.addEventListener( timer, addValue);
  timer.start();
  }
 
  public function addValue( event : Event ) : void
  {
  master.addItem( ++value );
  }
 
  public function filterOdd( item : Object ) : Boolean
  {
  var value : int = int(item);
  return value % 2 == 1
  }
 
  public function filterEven( item : Object ) : Boolean
  {
  var value : int = int(item);
  return value % 2 == 0
  }
 
  public function filterDivBy5( item : Object ) : Boolean
  {
  var value : int = int(item);
  return value % 5 == 0
  }
 
  ]]
  /mx:Script
 
  mx:VBox
  mx:Label text=Master List/
  mx:List dataProvider={ master } height=400/
  /mx:VBox
 
  mx:VBox
  mx:Label id=slave1Label text=Odd/
  mx:List dataProvider={ slave1 } height=400/
  /mx:VBox
 
  mx:VBox
  mx:Label id=slave2Label text=Even/
  mx:List dataProvider={ slave2 } height=400/
  /mx:VBox
 
  mx:VBox
  mx:Label id=slave3Label text=Divisible by 5/
  mx:List dataProvider={ slave3 } height=400/
  /mx:VBox
 
  /mx:Application
 
  
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com 
[mailto:
  flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On 
Behalf Of
  Jeremy Lu
  Sent: Saturday, June 10, 2006 4:13 AM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Re: need strategy for filtering 
ArrayCollections
  in a Cairngorm app
 
 
  very interesting...
 
  why not trigger a global ArrayChangedEvent so each fitlered
  ArrayCollection can update itself according to it ? (with some 
binding
  settings this should be feasible)
 
  the trigger point is: when new data are pushed into MasterArray, 
dispatch
  it.
 
  Tom: if you have some sample code, I can give it a try.
 
  On 6/10/06, Tim Hoff [EMAIL PROTECTED] TimHoff%40aol.com wrote:
  I'll have to take your word on that, but I'm still skeptical.  
If what you
  say is true, then you could still use the same approach, but 
instead have
  the view listen for updates to the masterArray in the 
ModelLocator.  You
  could do this either by using the changWatcher utility or Paul 
Williams'
  Observe tag:
  http://weblogs.macromedia.com/paulw/
  When your view hears a change to the masterArray, you would then 
refresh
  the ArrayCollection.  It's a little cumbersome, but since direct 
binding
  doesn't want to work for you, it might be a necessary step.
  -TH
 
  --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com, Tom
  Bray tombray@ wrote:
  
   Thanks for trying. An ArrayCollection will not reflect changes 
made
   directly to its source array, so new items pushed onto 
masterArray do
  not
   show up in my views.
  
   -Tom
  
   On 6/9/06, Tim Hoff TimHoff@ wrote:
   
Changes to the masterArray in the ModelLocator should be
automatically reflected in the AC if you use either of the 
binding
methods I posted. If not, sorry. That's all I have.
   
   
-TH
   
--- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.comflexcoders%40yahoogroups.com, Tom
Bray tombray@ wrote:

 The problem is that changes to ModelLocator.getInstance
().masterArray 

[flexcoders] Re: Flex vs. .Net for RIA database apps; new to both

2006-06-10 Thread michaellisten
Tim, that's great feedback, and also very much what I was hoping to
hear. Winforms over the web with data via remoting etc has been
closest to what I have been wanting migrate to, whenever that time for
the learning materializes for me. Flex seemed a worthy alternative but
pricing seemed to put it out of reach till the major recent adjustment
for Flex 2. The most attractive looking .net framework that uses
winforms and remoting that I've looked at for RIA is DevForce aka
Ideablade, but the pricing model for it resembles the early flex
range, ie up there a bit. 

Encouraging, thanks!

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

 I agree completely with the assessment that Jeremy made concerning 
 Flex's database suitability.  Before Flex, I developed web 
 applications primarily with ASP.NET.  In my opinion, Flex is a much 
 better choice for UI development.  True, .Net includes all layers, 
 but the main drawback is that pages are rendered by the server and 
 sent to the browser one at a time.  Flex, on the other hand, creates 
 rich internet applications that only require data to be retrieved 
 from the server.  This gives you the best of both worlds, a desktop-
 like application with zero-deployment over the internet.  
 
 I'm currently creating a Flex application that uses ASP.NET web 
 services with a SQL Server back-end.  In addition to being extremely 
 easy to get work done, Flex makes the process of creating very 
 complex user interfaces in a fraction of the time.  In addition, if 
 you also implement an MVC micro-architecture (like Cairngorm), you 
 are able to quickly create very organized projects that are scalable 
 and easily maintained.  One other thought is that Flex can also be 
 used as an alternative to .NET WinForms; without the associated DLL 
 Hell and installation requirements.  These are just my opinions, but 
 I'm definitely sold on Flex for database driven web applications.
 
 Tim Hoff
 
 
 --- In flexcoders@yahoogroups.com, michaellisten listensome@ 
 wrote:
 
  Thanks Jeremy, I'd not seen the flex dev derby page. There are some
  pretty interesting apps there, a good exposure.
  
  Do you (or anyone) have any perspective on how flex compares with
  .net, re getting work done? .net in total includes in theory all
  layers including the webservice etc that one might use to handle
  interaction with the backend. With flex one uses java or rails or 
 even
  .net.
  
  --- In flexcoders@yahoogroups.com, Jeremy Lu wade.lu@ wrote:
  
   well, Flex 2 is surely suitable for database oriented or data-
 centric
   application, you can check out the Flex Derby pages here:
   
   
 http://labs.adobe.com/wiki/index.php/Showcase:Flex_Developer_Derby
   
   lot of applications are data-heavy and co-op with backend 
 technology
   closely, this is never an issue.
   
   Judging from what you described (database-frontend, form-entry, 
 CRUD
  stuff),
   Flex2 should serves you quite right, check out following topic 
 in the
   livedoc/manual:
   
   -RPC in Data Service: this is for data connection with backend 
 using
  HTTP
   Get/Post, Web Service, XML or Remoting.
   
   -FORMS: this is for creating user-input Forms, handling all the 
 layout,
   required field, data validation and so on...
   
   -Validator: there are various built-in Validators (email, credit
  card...) to
   check user-input data before sending back to server.
   
   in my opinio, it's really a snap to build this kind of
  Form-Entry-CRUD-Stuff
   with Flex2 :-)
   
   Jeremy.
   
   
   On 6/10/06, michaellisten listensome@ wrote:
   
   
But most flex example apps are less database oriented and are
  often showy
shopping carts. Is flex going to be good for what I'm after?
 Most
  examples
have little data entry. I posted here about 
 flex/flashcomboboxes
  for data
entry/selection and didn't get much in the way offeedback.
   
   
   
   
   I am most interested in the approach that is the most productive;
helps the most with data binding, wysisyg designers, error 
 handling,
and so forth. I'm usually asked to create a lot of solid 
 software in a
minimal timeframe, so my priority here will be to choose 
 software that
simplifies the design/build cycle.
   
 
   
  
 








 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

* Your use of Yahoo! Groups is subject to:

Re: [flexcoders] Re: FB2: Uncaught exception in compiler

2006-06-10 Thread Douglas Knudsen
just ran into this PITA! In my case I had a typo in a  as class file.  I had

public var foo:Array();  on accident.

no fancy yellow warning fairies eitherjust about two hours of
digging...e.


DK

On 5/4/06, Manish Jethani [EMAIL PROTECTED] wrote:
 On 5/4/06, bhaq1972 [EMAIL PROTECTED] wrote:

  If you have an mxml component and its associated script file have
  the same name it doesn't like it.
 
  why is that not allowed?

 Because when it's looking for component 'Foo', it finds a 'Foo.mxml'
 and a 'Foo.as' and is confused which one to pick up. One could argue
 that it should pick up the .mxml file by default, but, hey, that's how
 it works now. It's better to avoid confusion among developers too (not
 just the compiler).

 I've seen a convention in the past: if you have a Foo.mxml file, its
 associated script file is named as Foo_script.as



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









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


 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Setting Menu Enable option at run-time

2006-06-10 Thread Wally Randall
I have a large menu with about 100 different nodes and sub-nodes. I
am trying to design a means of enabling the menu nodes at run-time
rather than hardcoded in the mxml menu application.

I envisage having the menu call a ColdFusion CFC to dynamically build
the menu menubarXML list with the user-specific options enabled from
the Application creationComplete event.

Does anyone have an example of how to do this in AS3?

Is this the best way of handling this type of menu?







 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders]

2006-06-10 Thread Luís Gustavo Sanabio



Hi Abdul. _javascript_ can't load and access contents at other domains. (Permission Denied)
Hi Weyert, the problem is that I need to load Public Feeds, at dynamic domains. Flash and Flex can read the feeds only at the same domain of application. It can't load urls at other domains. So, my Delphi application read the feeds and send to Flex application by ExternalInterface. But I would like to use a Plugin instead.


thanks,
Gustavo Sanabio
Brazil
2006/6/10, Weyert de Boer [EMAIL PROTECTED]:
It's total unclear what you want to do... As far as I know you arecapable to parse rss feeds in Flex or Flash itself without problems. If
you are using Flash as the host application, you shouldn't have anyproblems either. Please explain what you want :)Delphi rocks ;-) Yahoo! Groups Sponsor ~--
You can search right from your browser? It's easy and it's free.See how.http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Flex vs. .Net for RIA database apps; new to both

2006-06-10 Thread Jeremy Lu



one more note (to Tim's post) : aside from Web Service, you can also use flash remoting with .NET as the means of data transmission.we use both products from Macromedia (flash remoting for .NET) and Fluorine (open source flash remoting for .NET) all the time, just have to manually tweak NetConnection than that's it.
ps. Flash Remoting uses binary AMF to send and receive native AS objects so it's a bit easier to handle large dataset.On 6/11/06, michaellisten
 [EMAIL PROTECTED] wrote:









  



Tim, that's great feedback, and also very much what I was hoping to
hear. Winforms over the web with data via remoting etc has been
closest to what I have been wanting migrate to, whenever that time for
the learning materializes for me. Flex seemed a worthy alternative but
pricing seemed to put it out of reach till the major recent adjustment
for Flex 2. The most attractive looking .net framework that uses
winforms and remoting that I've looked at for RIA is DevForce aka
Ideablade, but the pricing model for it resembles the early flex
range, ie up there a bit. 

Encouraging, thanks!

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

 I agree completely with the assessment that Jeremy made concerning 
 Flex's database suitability.  Before Flex, I developed web 
 applications primarily with ASP.NET.  In my opinion, Flex is a much 
 better choice for UI development.  True, .Net includes all layers, 
 but the main drawback is that pages are rendered by the server and 
 sent to the browser one at a time.  Flex, on the other hand, creates 
 rich internet applications that only require data to be retrieved 
 from the server.  This gives you the best of both worlds, a desktop-
 like application with zero-deployment over the internet.  
 
 I'm currently creating a Flex application that uses ASP.NET web 
 services with a SQL Server back-end.  In addition to being extremely 
 easy to get work done, Flex makes the process of creating very 
 complex user interfaces in a fraction of the time.  In addition, if 
 you also implement an MVC micro-architecture (like Cairngorm), you 
 are able to quickly create very organized projects that are scalable 
 and easily maintained.  One other thought is that Flex can also be 
 used as an alternative to .NET WinForms; without the associated DLL 
 Hell and installation requirements.  These are just my opinions, but 
 I'm definitely sold on Flex for database driven web applications.
 
 Tim Hoff
 
 
 --- In flexcoders@yahoogroups.com, michaellisten listensome@ 
 wrote:
 
  Thanks Jeremy, I'd not seen the flex dev derby page. There are some
  pretty interesting apps there, a good exposure.
  
  Do you (or anyone) have any perspective on how flex compares with
  .net, re getting work done? .net in total includes in theory all
  layers including the webservice etc that one might use to handle
  interaction with the backend. With flex one uses java or rails or 
 even
  .net.
  
  --- In flexcoders@yahoogroups.com, Jeremy Lu wade.lu@ wrote:
  
   well, Flex 2 is surely suitable for database oriented or data-
 centric
   application, you can check out the Flex Derby pages here:
   
   
 http://labs.adobe.com/wiki/index.php/Showcase:Flex_Developer_Derby

   
   lot of applications are data-heavy and co-op with backend 
 technology
   closely, this is never an issue.
   
   Judging from what you described (database-frontend, form-entry, 
 CRUD
  stuff),
   Flex2 should serves you quite right, check out following topic 
 in the
   livedoc/manual:
   
   -RPC in Data Service: this is for data connection with backend 
 using
  HTTP
   Get/Post, Web Service, XML or Remoting.
   
   -FORMS: this is for creating user-input Forms, handling all the 
 layout,
   required field, data validation and so on...
   
   -Validator: there are various built-in Validators (email, credit
  card...) to
   check user-input data before sending back to server.
   
   in my opinio, it's really a snap to build this kind of
  Form-Entry-CRUD-Stuff
   with Flex2 :-)
   
   Jeremy.
   
   
   On 6/10/06, michaellisten listensome@ wrote:
   
   
But most flex example apps are less database oriented and are
  often showy
shopping carts. Is flex going to be good for what I'm after?
 Most
  examples
have little data entry. I posted here about 
 flex/flashcomboboxes
  for data
entry/selection and didn't get much in the way offeedback.
   
   
   
   
   I am most interested in the approach that is the most productive;
helps the most with data binding, wysisyg designers, error 
 handling,
and so forth. I'm usually asked to create a lot of solid 
 software in a
minimal timeframe, so my priority here will be to choose 
 software that
simplifies the design/build cycle.
   
 
   
  
 



  















__._,_.___





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

[flexcoders] Mysterious change of data in ComboBox datasource to undefined

2006-06-10 Thread mgrogero
I used to bind the selectedIndex of the ComboBoxes in my application 
to a function that determined the correct index to select given an
array of options and the data that I want to select.  I found this
method to be slow and error prone as the selectedIndex function would
be called every time the array OR the data changed.  Every time the
data changed, flex would run the selectedIndex function about 15 times
before it would realize that it was in an infinite loop.  This
infinite loop resulted from the binding from the selectedItem's data
to a data field in a model.  Every time a change occured the data
would update in the model which would cause the selectedIndex function
to run which would change the selected data, bind to the model, ...
and so on.

This method was also error-prone because if the data in the model was
updated in the wrong order, the wrong item would be selected.  If the
selectedIndex function ran too early, the wrong value would be
selected and bound into the model and the original value in the model
would be lost.

So... since this method was slow and error prone I decided to add a
new field in the model that would store an initial selectedIndex for
the ComboBox.  This works very well - all I have to do is bind to the
selectedIndex field in the model and update the selectedIndex field in
the model using the selectedIndex function.  Now binding only occurs
when the selectedIndex field in the model changes... instead of 15
times every time data in the model is updated.

After I made the change throughout the application I starting having
problems with the parts of the application that were generated using
repeaters.  It took me awhile but I finally figured out what was going
on.  If the repeated object contained a drop down menu and two
instances of the drop down menu both had the same option selected the
underlying object selected in the ComboBox's datasource would get its
data field set to undefined whenever the main model (the model
containing both the data from the selected item and the selectedIndex)
changed.

For example, consider a model called Client that contains a field
called StateID and another called StateIndex.  If I contruct an array
of Client models and output that array using a Repeater I could change
the state for each client.  The object that is repeated for each
Client contains a drop down menu for the state.  The datasource for
each ComboBox is ModelLocator.States, the selectedIndex is bound to
Client.StateIndex and a Binding tag is used to bind the
ComboBox.selectedItem.ID to Client.StateID.  The State objects in the
ModelLocator.States array have two properties - ID and Name.

Now if I select the same state for more than one Client and then
create a new Client object or load a different client object the state
that was selected more than once gets its ID field set to undefined
which, in turn, binds into the new Client.StateID.  So, the new or
different Client object now has an undefined StateID.  Also,
EVERYTHING that uses ModelLocator.States shows that the ID field for
that state is now undefined.  Even components outside of the repeater
show this change to the state, so the change is in the array itself.

Finally, I got the application working again by using a TileList
instead of a Repeater.  However, now there's a different problem with
the drop down menus - when they are enabled and the mouse is not over
them the width of the box sometimes changes to about 50 px, causing
the text to stick out of the box.  The only part of the ComboBox that
is visible is the down arrow but all of the text is visible for the
selected option.  The drop down menus have a set static width and the
repeated object is a Canvas control. Also, all of the controls within
the repeated object have fuzzy borders now that they're in the TileList.

So... some questions.

How could the ID property of a state change if nothing there is no
code that changes it?  The Name field doesn't change, just the ID
field.  If I rename ID to value but use it in the same manner, the
value field gets set to undefined.  But there's no code in the entire
application that changes IDs for states.

Why does a TileList implementation work, but not a repeater
implementation?

Why do some of the ComboBoxes in the TileList implementation sometimes
display incorrectly?  The problem will occur only if the ComboBox is
not disabled and the mouse is not hovering over the ComboBox.  But
even then, it only happens in the first object.

Finally, why do the repeated controls now have fuzzy borders?  The
repeated object has a checkbox, some textinput controls and a
ComboBox.  All of these now have fuzzy borders that are causing my
eyes to hurt.

Thanks for your help.. I know this is really long but I've been
tearing my hair out for about six hours on this.  Any ideas would be
greatly appreciated!

Moishe Groger





 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? 

[flexcoders] How to drag a file into Flash?

2006-06-10 Thread Rick Schmitty
File upload/download is a great leap forward and much appreciated!
But there has to be a way to allow Flash to accept a drag/drop from
the OS.  Just like if you were in Photoshop and you dragged an image
to the program.

When a swf is played through the browser, is Drag/Drop allowance a
browser issue?  For example if you goto adobe.com and drag an image
around the homepage from your desktop, the browser will show it valid
until it gets to a swf and the you get the no sign

If you used the Flash Player stand alone, could a feature request like
this be possible?

Perhaps Mac's just spoiled me with dragndropn everywhere and anywhere :)


 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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