RE: [flexcoders] Organize Imports

2006-04-05 Thread Matt Chotin
I don't know if copying imports when you copy code is going to make it in.  I 
kinda doubt it but I know what you mean about it being useful.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke 
Rohde
Sent: Tuesday, April 04, 2006 5:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Organize Imports

Hi,
I have got a question about organizing import-statements within FlexBuilder.
Now with CTRL-SHIFT-O the imports are sorted but what really is needfull is
that all imports are generated automatically for all classes which are not
imported yet. Using FDT for AS2 this feature has become so common that it's
hard to work without it in the Flex2/AS3-world.
Currently imports are only added when you type a classname and complete it
with autocompletion. But while refactoring classes (copy-n-paste) a real
organize imports is a must have from my point of view.
Any plans this will be part of beta3 or the final version of Flex2?

Cheers,
Sönke



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



 




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

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

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

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





RE: [flexcoders] As2lib regexp doesn't work in Flex

2006-04-05 Thread Matt Chotin
That's a known limitation of Flex 1.5.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stanislav Zayarsky
Sent: Tuesday, April 04, 2006 5:12 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] As2lib regexp doesn't work in Flex

Hello FlexCoders,

To Adobe guys: Is this a bug in Flex 1.5?

I spent 4 hours and I have just fixed that bug! :)

So it doesn't work in Flex because, of this (org.as2lib.regexp.Pattern):

static var ACCEPT:Node = new Node();
static var LASTACCEPT:Node = new LastNode();

A classes instance variables may only be initialized to compile-time
constant expressions!!!

And Flex compiler doesn't give us that error when we use static
variables. BUG?

So to fix this we just need to initialize this variables at
constructor for example, like this:

static var ACCEPT:Node;
static var LASTACCEPT:Node

public function myConstructor() : Void {
   if(!ACCEPT) {
  ACCEPT = new Node();
   }

   if(!LASTACCEPT) {
  LASTACCEPT= new LastNode();
   }
}


Best regards
Stanislav

On 3/31/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
 Dear Flexcoders,

 Are there any ways to make as2lib regexp in Flex? I use
 Pattern.matches(a*b, aab) and it returns true in Flash, but either
 undefined or false in Flex. The same code works different. Could you
 please assist me with this issue.

 Regards, Sergey.


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









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



 





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

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

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

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





RE: [flexcoders] Re: Find Function

2006-04-05 Thread Matt Chotin
In your other column you were using an inline renderer to display text
that isn't the column name.  You need to use a custom comparator
function for that, the default sort is going to be based on the
columnName.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mepaninaresh
Sent: Tuesday, April 04, 2006 3:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Find Function

The built in sort function in the DataGrid only works for 
my FreeText column. Are the two problems related? As I beleive the 
built in sort function not working is a bug.

Thanks for any help.



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

 The cursor find function can't take e4x expressions.  It can only 
do
 exact match searching of what's in the ICollectionView.  So you're 
going
 to need to setup the find a little differently, perhaps find the 
node
 using e4x, then get its index, then seek to it.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mepaninaresh
 Sent: Monday, April 03, 2006 8:51 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Find Function
 
 I can't seem to get complex xml elements working.
 
 Example 1 works.
 private function findFirstName():void
 {
  createSort();
  var cursor:IViewCursor = myXMLListCollection.getCursor();
  var values:Object = {FreeText: nameInput.text};
  cursor.findFirst(values);
 }
 
 Example 2 does not work.
 private function findFirstName():void
 {
  createSort();
  var cursor:IViewCursor = myXMLListCollection.getCursor();
  var values:Object = {Company.(@Type=='Subject').CompanyId: 
 nameInput.text};
  cursor.findFirst(values);
 }
 -
 
 mx:DataGrid id=myCustomerCountFilterGrid1 width=800% 
 height=600% dataProvider={myXMLListCollection}
  mx:columns
   mx:DataGridColumn columnName=FreeText headerText=Reference/
   mx:DataGridColumn columnName=Name headerText=Name 
width=250
mx:cellRenderer
 mx:Component
  mx:Link label={dataObject.Company.
(@Type=='Subject').Name}/
 /mx:Component
/mx:cellRenderer
   /mx:DataGridColumn
   mx:DataGridColumn labelFunction=setRegistrationNo 
 headerText=Registration No/
  mx:DataGridColumn labelFunction=setCreditLimit 
 headerText=Monthly Credit Limit/  
  mx:DataGridColumn labelFunction=setInsuredLimit 
 headerText=Insured Limit width=40/
  mx:DataGridColumn labelFunction=setOutStandingBalance 
 headerText=Outstanding Balance/   
  /mx:columns
 /mx:DataGrid
 
 Thanks for any help.
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links








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



 




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

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

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

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





RE: [flexcoders] Listening to Databind events

2006-04-05 Thread Matt Chotin
The event is going to be mx.events.PropertyChangeEvent which is in the
ASDoc.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mvbaffa
Sent: Tuesday, April 04, 2006 5:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Listening to Databind events

Hi all,

I would like to know how can I drive, or listen to, Databind events.

I have a bindable property defined like this:

[Bindable]
public var clientDetail : ClientVO;

This property is updated by the parent container like this:

view:ClientEvents id=clientEvents 
   clientDetail={ selectedClient } /

I would like to execute a function or method in ClientEvent 
component when the clientDetail variable is updated.

Excuse me if this is too simple but I could not find a way, except 
by using predefined properties, to do this

Thanks in advance





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



 




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

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

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

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





RE: [flexcoders] DataGrid Columnsort - CaseInsensitive

2006-04-05 Thread Matt Chotin










In Flex 2 what youd do is create a
Sort object with a SortField for your column and set it to case insensitive.
Then in the headerRelease event for that column, assign the sort to the
dataProvider and call refresh() on it, then call event.preventDefault() so that
the DG doesnt do its own sorting. You may need to keep track of
ascending vs. descending yourself in order to set the right flags.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn
Sent: Tuesday, April 04, 2006 1:51
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
Columnsort - CaseInsensitive





Hello,



is there any posibility to sort the columns of a
DataGrid caseinsensitve?



Harry









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex2 :: Custom Component :: htmlText in Label freking

2006-04-05 Thread Matt Chotin










Forwarded on, sounds like a Label bug, can
you try it just using a Label without being in your custom component?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Tuesday, April 04, 2006 8:19
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
Custom Component :: htmlText in Label freking





Hi,

Adobe, I have the following;

A component that inherits from Box, I have
properties title and htmlTitle.

code..

  
  /**
  * 
  */
  override
protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
  {
 
 super.updateDisplayList(unscaledWidth, unscaledHeight);

 
 if (bTitleChanged) {
 
  _titleLabel.text = __title;
 
  bTitleChanged = false; 
 
 } 
 
 
 
 if (bHTMLTitleChanged) {
 
  _titleLabel.htmlText = __htmlTitle;
 
  bHTMLTitleChanged = false; 
 
 } 
  }

When you set the title property, the Label child
component sizes properly. When you set the htmlTitle property, it gets
truncated but the component sizes properly (I can see the border). It is also
not switching to html, I can see the b tags.

Here is my get/set...

  
  /**
  * Sets
the HTML title of the titlebar.
  *
@param value a string used for the HTML title text.
  */
  public
function set htmlTitle(value:String):void
  {
 
 if (__htmlTitle != value) {
 
  __htmlTitle = value;
 
  bHTMLTitleChanged = true;
 
  invalidateDisplayList();

 dispatchEvent(new Event(htmlTitleChanged));
 
 } 
  }
  public
function get htmlTitle():String
  {
  
return __htmlTitle; 
  }


Seems like a bug to me, this should work.

Any thoughts?

Peace, Mike




-- 
What goes up, does come down. 







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





  




  
  
  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 2b2: Double click troubles

2006-04-05 Thread Matt Chotin










The click/doubleClick behavior is generally
considered correct as its the same as Windows behavior.
If you want to know if only a click occurred you should store a variable and use
a timer, when the timer fires check to see if doubleClick had fired and if not
then execute on your click. Doesnt have to be a long timer but long
enough that another click would be considered a regular click.



doubleClick on the label may be a known bug.



Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tobias Patton
Sent: Tuesday, April 04, 2006
10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2b2:
Double click troubles





Hello List;



I have a couple questions/problems with double click events.





 When the user double-clicks an
 object, two events are fired. The first click fires a Click event. The second
 click fires a DoubleClick event. This is problematic when a control needs
 to implement different behaviors for click and double-click. Whenever the
 user double-clicks, the click handler is invoked before the double-click
 handler. How can the click handler know it should ignore the event because
 its actually part of a double-click event. 





 Label controls dont seem
 to every get a DoubleClick event. Even when the doubleClickEnabled
 property is set to true for the entire containment hierarchy.
 Is this a bug?




Heres the application Im using to test click
and double click events:



?xml version=1.0
encoding=utf-8?

mx:Application 


xmlns:mx=http://www.adobe.com/2006/mxml 


xmlns=* 


layout=absolute


doubleClickEnabled=true


creationComplete=OnCreationComplete()





mx:Script


![CDATA[


private function OnCreationComplete() : void


{


trace( Label doubleClickEnabled:, l1.doubleClickEnabled );


trace( Button doubleClickEnabled:, b1.doubleClickEnabled );


}


]]


/mx:Script





mx:HBox





mx:Label id=l1


text=ClickMe


doubleClickEnabled=true


click=trace( 'Label Click' )


doubleClick=trace( 'Label DoubleClick' )/





mx:Button id=b1


label=ClickMe


doubleClickEnabled=true


click=trace( 'Button Click' )


doubleClick=trace( 'Button DoubleClick' )/





/mx:HBox

/mx:Application



Creo Inc., a subsidiary of Kodak

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Large XML Dataset?

2006-04-05 Thread Matt Chotin
If you're really going to ship the application on CD that means the XML
file is static right?  You could compile the XML data in to an mx:XML
source=yourfile.xml / and then it would be sitting there waiting for
you.  E4X will definitely be the most efficient way to access what you
need.  But having a 1-3 MB file loaded obviously does take memory.  Not
sure of the other processes that some folks mentioned are worth the
investment, you'll want to experiment a little.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wayneposner
Sent: Tuesday, April 04, 2006 2:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Large XML Dataset?

I've been searching and searching, but haven't been able to find the 
answer, so I'm posting here as a last resort.

I am working on a Flex application that must read in a fairly large 
XML file (1.5 to 3 megs depending).If I were to base my 
application off of the flexstore example, I'd just open up the XML 
file and try to read in everything. This works fine for 500-
1000 records, but, unfortunately, has some pretty nasty effects 
when dealing with about 12000 thumbnails.  

When it comes to reading XML I'm not sure of e4x, object, or XML is 
the most efficent result set.  Regardless...is there a way to open 
the XML file, but not read from it until a user enters a search and 
then only return nodes from the XML which match the search?  
Basically, I want to use the XML file as sort of a virtual 
database.  

The reason I have to go this route is that the application will be 
delivered via CD and is meant to run as a desktop application.

Thanks!
Wayne





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



 





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

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

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

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





RE: [flexcoders] How to set wsdl path of webservice at runtime (Flex 1.5)

2006-04-05 Thread Matt Chotin
Setting the WSDL path at runtime isn't really supported.  However if the
WSDL is going to be the same for whatever server you hit you could
create a copy of the WSDL, refer to that file, then change the
endpointURI at runtime.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sathish_kumar_18
Sent: Tuesday, April 04, 2006 1:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set wsdl path of webservice at runtime
(Flex 1.5)

is it possible to change wsdl path dynamically in flex 1.5?

mx:Application . 
mx:Script
function setWsdlPath()
{
ws1.wsdl = http:\\newurl-to-webservice; 
}
/mx:Script

mx:WebService id=ws1 wsdl=http:\\url-to-webservice/
mx:Button click=setWsdlPath()/

/mx:Application








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



 




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

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

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

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





RE: [flexcoders] Can you capture LinkBar mouseOver index?

2006-04-05 Thread Matt Chotin
In Flex 2 you could subclass the LinkBar and override the
hiliteSelectedNavItem, that might do what you want.  mouseOver with
index still wouldn't be exposed as an event though I think.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Schmitty
Sent: Tuesday, April 04, 2006 10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can you capture LinkBar mouseOver index?

I'm trying to setup a 2 linkBar navigation, similar to
macromedia.com's nav where you roll over the top linkBar and it
displays the related linkBar below.  However I'm having troubles
finding the mouseOver index for the top linkbar.  Seems only on click
is an index passed

Is there a way to capture this, or do you need to make your own custom
component?  Working in Flex 1.5, but if its available in 2.0 I'll
install and try it

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 
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] Scrapblog Builder - New Flex 1.5 Application

2006-04-05 Thread Matt Chotin










Looks great!











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Garcia
Sent: Tuesday, April 04, 2006 2:51
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Scrapblog
Builder - New Flex 1.5 Application





We
just launched a beta of the Scrapblog Builder last week. Scrapblog is the
world's first online scrapbooking service. The Scrapblog Builder is a flex 1.5
application for publishing content from the Web to the Web. Our goal was to
enhance photo sharing by combining the storytelling aspect of scrapbooking with
the sharing power of blogs.

Please,
check out the application and give us your comments. You do not need to
register to take a test drive. Just go to www.scrapblog.com and go to
create a scrapblog. Registration is free in case you decide to
register and test the full version. You can also view a detailed demo of the
Scrapblog Builder at http://www.scrapblog.com/demo. We are
just getting started and we will be rolling out new features and enhancements
constantly.

Thanks
to all!

Carlos
Garcia









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: CursorManager problem?

2006-04-05 Thread Matt Chotin
You probably need to make your test swf subclass Application so that
everything can initialize properly.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sufibaba
Sent: Tuesday, April 04, 2006 9:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: CursorManager problem?


Matt,

It's an Actionscript Component extending UIComponent and is part of a
Flex Project.  However, at the moment, I am just testing it by itself
(just running this testClass.as file by itself and not being called
via an MXML tag).

Are you saying that in order to use the CursorManager, my AS component
would have to be called via an MXML tag?  Are there other ways?

Cheers,

Tim




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

 Is this part of a Flex project or AS only?  You probably need the full
 framework available for CursorManager.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of sufibaba
 Sent: Monday, April 03, 2006 6:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] CursorManager problem?
 
  
 
 Dear Flexors,
 
 I am trying to use the busy cursor in a custom actionscript component
 and I am getting the following error.
 
 TypeError: Error #1009: null has no properties.
 at mx.managers::CursorManager$/setBusyCursor()
 at CursorTest/::turnOnBusyCursor()
 
 ---import --
 
  import mx.managers.CursorManager;
 
 ---   Calling function --
 
 private function turnOnBusyCursor():void
   nb! sp;  {
 // Set busy cursor.
 CursorManager.setBusyCursor();
 
 }
 
 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

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+des

ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We

b+site+design+developmentw2=Computer+software+developmentw3=Software+d

esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=

Web+site+design+developmentw2=Computer+software+developmentw3=Software

+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
 
 Macromedia flex

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw  
 
 Software development best practice

http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;

w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw

are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  
 
  
 
  
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 







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



 





--
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] GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
Hi all, I know this is not advanced, but I have a deadline for a 
FLEX app tomorrow and the client needs to see a login and signup 
sample.

I have a CFC which has a method that checks if the email inputed 
already exists in the database.

The cfc function returns TRUE or FALSE

This is the actionscipt that I have:

public function checkEmailExists():void {
if ((srv.checkEmail({email:userEmailInput.text})) == 
true){
submitSignup.enabled = true; 
}   else {
submitSignup.enabled = false;
}
  }  


Is this correct? It doesn't 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 
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] DataGrid bugs

2006-04-05 Thread Sreejith Unnikrishnan





Adobe,
I have noticed a few bugs with the 
datagrid.

  Bug 1If the headerHeight is set to '0', the 
  headerText overlaps the first row content. [I assume this was already on the 
  Flex BugBase]
  Bug 2If you have a scrollbar on the datagrid, 
  try scrolling down and then resize the datagrid (typically in a VdividedBox 
  situtation), empty rows appear in the datagridNote that this does not 
  happen though if you have not scrolled down.
  Bug 3Continuing with the above scenario, the 
  mouse-overs become inconsistent.
  Bug 4Even if you do not have a scrollBar, if 
  you scale the datagrid horizontally, the mouse-overs become inconsistent, 
  typically the first few rows do not respond to mouseovers 
visually.
You may use the code below to reproduce the 
bugs.

Regards
Sree



Code:

?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
xmlns="*" layout="vertical"mx:HDividedBox width="100%" 
height="100%"mx:VDividedBox width="50%" 
height="100%"mx:HBox width="100%" height="50%" 
/mx:HBox width="100%" 
height="50%" 
mx:DataGrid id="myGrid" width="100%" height="100%" 
headerHeight="0" 
mx:dataProvider 
mx:Array 
id="arr" 
mx:Object Artist=" Kapil" Album="All Time Favourites" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="Classic Songs" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="All Time Favourites" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="Classic Songs" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="All Time Favourites" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="Classic Songs" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="All Time Favourites" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="Classic Songs" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="All Time Favourites" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="Classic Songs" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="All Time Favourites" 
Price="10"/ 
mx:Object Artist=" Kapil" Album="Classic Songs" 
Price="10"/ 
/mx:Array 
/mx:dataProvider 
/mx:DataGrid/mx:HBox/mx:VDividedBoxmx:HBox 
width="50%" height="100%" //mx:HDividedBox
/mx:Application





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





  




  
  
  YAHOO! GROUPS LINKS



  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.



  









AW: [flexcoders] DataGrid bugs

2006-04-05 Thread Harald Dehn










Hi,



I found another bug:




 Bug 5
 If you have a scrollbar with the verticalScrollposition  0 and click
 on a column header. You get an ListEvent.ITEM_CLICK where rowIndex != 0. In
 my opinion the rowIndex of the header should always be 0.






Harry







Von: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Im Auftrag von Sreejith Unnikrishnan
Gesendet: Mittwoch, 5. April 2006
09:18
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] DataGrid
bugs







Adobe,





I have noticed a few bugs with the datagrid.




 Bug 1
 If the headerHeight is set to '0', the headerText overlaps the first row
 content. [I assume this was already on the Flex BugBase]
 Bug 2
 If you have a scrollbar on the datagrid, try scrolling down and then
 resize the datagrid (typically in a VdividedBox situtation), empty rows
 appear in the datagrid
 Note that this does not happen though if you have not scrolled down.
 Bug 3
 Continuing with the above scenario, the mouse-overs become inconsistent.
 Bug 4
 Even if you do not have a scrollBar, if you scale the datagrid
 horizontally, the mouse-overs become inconsistent, typically the first few
 rows do not respond to mouseovers visually.




You may use the code below to reproduce the bugs.











Regards





Sree























Code:











?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
xmlns=* layout=vertical
mx:HDividedBox width=100% height=100%
mx:VDividedBox width=50% height=100%
mx:HBox width=100% height=50% /
mx:HBox width=100% height=50%

mx:DataGrid id=myGrid width=100%
height=100% headerHeight=0

mx:dataProvider

mx:Array id=arr

mx:Object Artist= Kapil Album=All Time Favourites
Price=10/

mx:Object Artist= Kapil Album=Classic Songs
Price=10/

mx:Object Artist= Kapil Album=All Time Favourites
Price=10/

mx:Object Artist= Kapil Album=Classic Songs
Price=10/

mx:Object Artist= Kapil Album=All Time Favourites
Price=10/

mx:Object Artist= Kapil Album=Classic Songs
Price=10/

mx:Object Artist= Kapil Album=All Time Favourites
Price=10/

mx:Object Artist= Kapil Album=Classic Songs
Price=10/

mx:Object Artist= Kapil Album=All Time Favourites
Price=10/

mx:Object Artist= Kapil Album=Classic Songs
Price=10/

mx:Object Artist= Kapil Album=All Time Favourites
Price=10/

mx:Object Artist= Kapil Album=Classic Songs
Price=10/

/mx:Array

/mx:dataProvider

/mx:DataGrid
/mx:HBox
/mx:VDividedBox
mx:HBox width=50% height=100% /
/mx:HDividedBox





/mx:Application












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





  




  
  
  YAHOO! GROUPS LINKS



  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] Organize Imports

2006-04-05 Thread Sönke Rohde
Of course copying all imports while refactoring will do the job but
comfortable workflow is a different thing.
For me this is a must-have for a professional coding environment like JDT or
FDT. Are there chances this is going to be integrated in beta3 or flex 2
final? Can I put this feature on the wishlist?

Thanks,
Sönke

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
 Sent: Wednesday, April 05, 2006 8:02 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Organize Imports
 
 I don't know if copying imports when you copy code is going 
 to make it in.  I kinda doubt it but I know what you mean 
 about it being useful.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Sönke Rohde
 Sent: Tuesday, April 04, 2006 5:30 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Organize Imports
 
 Hi,
 I have got a question about organizing import-statements 
 within FlexBuilder.
 Now with CTRL-SHIFT-O the imports are sorted but what really 
 is needfull is
 that all imports are generated automatically for all classes 
 which are not
 imported yet. Using FDT for AS2 this feature has become so 
 common that it's
 hard to work without it in the Flex2/AS3-world.
 Currently imports are only added when you type a classname 
 and complete it
 with autocompletion. But while refactoring classes 
 (copy-n-paste) a real
 organize imports is a must have from my point of view.
 Any plans this will be part of beta3 or the final version of Flex2?
 
 Cheers,
 Sönke
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 



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

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

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

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




RE: [flexcoders] Listening to Databind events

2006-04-05 Thread Sönke Rohde
This will come with beta3? Currently PropertyChangeEvent isn't documentet
anywhere.
Can you give a code example?

Cheers,
Sönke

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
 Sent: Wednesday, April 05, 2006 8:02 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Listening to Databind events
 
 The event is going to be mx.events.PropertyChangeEvent which is in the
 ASDoc.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
 Behalf Of mvbaffa
 Sent: Tuesday, April 04, 2006 5:03 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Listening to Databind events
 
 Hi all,
 
 I would like to know how can I drive, or listen to, Databind events.
 
 I have a bindable property defined like this:
 
 [Bindable]
 public var clientDetail : ClientVO;
 
 This property is updated by the parent container like this:
 
 view:ClientEvents id=clientEvents 
clientDetail={ selectedClient } /
 
 I would like to execute a function or method in ClientEvent 
 component when the clientDetail variable is updated.
 
 Excuse me if this is too simple but I could not find a way, except 
 by using predefined properties, to do this
 
 Thanks in advance
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 



--
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: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
Matt...we are definitely getting close !
I added entry mysql.default_port = 80 into my PHP config  run flex 
project  guess what, no flash error (but no data !). I run PHP 
query  it doesnt connect to db. I try http://127.0.0.1:80/mysql in 
the browser  no joy. 
I'm beginning to feel a twinge of excitement over here !!
cheers
Ben

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

 Well your setup sounds pretty straightforward so not sure why it 
isn't
 working.  I'm assuming useProxy=false (or isn't specified) on 
your
 HTTPService.
 
 The port that you access the SWF is the same as the PHP?
 
 http://localhost:1234/myswf.swf
 http://localhost:1234/myphp.php
 
 Not much more I can ask I think, I assume you didn't do any funky
 compiler settings like -usenetwork...
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of lift69boy
 Sent: Monday, April 03, 2006 12:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation using PHP, 
APACHE 
 MYSQL
 
 yes to all your questions...I'm calling the php script from my 
mxml 
 both of which are on localhost,  I am running my flex project in 
the 
 web browser. It seems a pretty simple set up (based on Mike 
Potters 
 exampleperhaps youve seen it)...flex project running on apache 
 localhost, php querying mysql, both on localhost...I know nothing 
 about we server architecture so maybe its some config I'm missing 
 here...
 thanks again Matt
 Ben 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  I guess I misunderstood, are you using HTTPService to hit your 
 PHP?  And
  the PHP is on localhost?  Are you accessing the SWF using a web 
 browser
  from localhost as well?
  
  Matt
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of lift69boy
  Sent: Sunday, April 02, 2006 1:08 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Security sandbox violation using PHP, 
 APACHE 
  MYSQL
  
  Cheers Matt
  Forgive my ignorance but could you please define main 
   otherI've configured my project to run on localhost, my 
php 
  script runs no probs on localhost, i've gone down the proxy 
route 
  but still the same error. I've looked through Apache  PHP 
config  
  nothing obvious here. I'm certain I'm making a schoolboy error 
  somewhere...
  Really appreciate your help
  Ben
  
  
  --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ 
wrote:
  
   What are you loading?  Looks like the main SWF is on one 
domain 
  and the
   other SWF is on another domain?  You might need to do
   Security.allowDomain work?
   
   -Original Message-
   From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On
   Behalf Of lift69boy
   Sent: Friday, March 31, 2006 4:56 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Security sandbox violation using PHP, 
 APACHE 
  
   MYSQL
   
   hi allnot a new question but still can't find the answer...
   
   i think this is more of a flash security issue but I get the 
  following 
   error when running my project...
   Error: code:Client.CouldNotDecode string:'Error #2070: 
Security 
  sandbox 
   violation: caller '%s' may not access Stage owned by '%s'.' 
   detail:'null'
   architecture is flexphpmysql running on apache.
   i've tried the crossdomain file in many places but from 
reading 
  this  
   other forums, it is where it should be i.e. on the web server 
 root.
   i've pulled all my hair out  will soon progress to chopping 
my 
  legs 
   off in frustration
   any help greatly appreciated
   cheers
   ben 
   
   
   
   
   
   --
   Flexcoders Mailing List
   FAQ: 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links
  
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







--
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: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread Oriol Gual



Why have you set the mysql default port to 80? 80 is the port for web servers usually and I wouldn't recommend to have mysql at it. The mysql default port is 3306.Another question, have you tried to access your php script without Flex? Just to make sure it's working properly.
Oriol.






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex 2.0 b2: DataGrid ( selectedIndex property )

2006-04-05 Thread tyombria
Hello.

In DataGrid i can't select item by setting selectedIndex property.
Only dg.selectedIndices = [ requiredIndex ] works.

I think it's a bug.





--
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] Getting at the bound reference Flex 2.0b2

2006-04-05 Thread sourcecoderia
Is it possible, or does anyone know of a way to get at the binding 
information for a component in order to get the name of the object, or 
item it is bound too. For example

mx:TextBox text={Myvalue} /

I would want to get the text={ Myvalue }, Myvalue, or something 
like that. 

Just to read it not to change it. If possible.

Thanks in advance.







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

* 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] [WAS] Scrapblog Builder - Demo crashes browser using 8.5 beta2 flash player

2006-04-05 Thread Muzak
The demo (http://www.scrapblog.com/demo) crashes the Flash Plugin (8.5 beta2).
Does so at the same place each time, right after the narrator says 'add a link 
to another website if you want'.

I've done some video integration with Flex Builder 2 beta 2 and often ran into 
browser crashes (but hard to reproduce).

Also noticed that when removing a VideoDisplay (using removeChild() or 
removeAllChildren()), the sound just continues.

kind regards,
Muzak

- Original Message - 
From: Carlos Garcia [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 04, 2006 11:51 PM
Subject: [flexcoders] Scrapblog Builder - New Flex 1.5 Application



We just launched a beta of the Scrapblog Builder last week. Scrapblog is
the world's first online scrapbooking service. The Scrapblog Builder is
a flex 1.5 application for publishing content from the Web to the Web.
Our goal was to enhance photo sharing by combining the storytelling
aspect of scrapbooking with the sharing power of blogs.

Please, check out the application and give us your comments. You do not
need to register to take a test drive. Just go to www.scrapblog.com
http://www.scrapblog.com  and go to create a scrapblog. Registration
is free in case you decide to register and test the full version. You
can also view a detailed demo of the Scrapblog Builder at
http://www.scrapblog.com/demo http://www.scrapblog.com/demo . We are
just getting started and we will be rolling out new features and
enhancements constantly.

Thanks to all!

Carlos Garcia






--
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] [WAS] Scrapblog Builder - Demo crashes browser using 8.5 beta2 flash player

2006-04-05 Thread Carlos Rovira



Yes Muzak,I report some days ago a FP8.5 browser crash while viewing Grant Skinner Incomplet that makes heavy use of new flash 8 features and video.On 4/5/06, 
Muzak [EMAIL PROTECTED] wrote:



The demo (http://www.scrapblog.com/demo) crashes the Flash Plugin (8.5 beta2).
Does so at the same place each time, right after the narrator says 'add a link to another website if you want'.

I've done some video integration with Flex Builder 2 beta 2 and often ran into browser crashes (but hard to reproduce).

Also noticed that when removing a VideoDisplay (using removeChild() or removeAllChildren()), the sound just continues.

kind regards,
Muzak

- Original Message - 
From: Carlos Garcia [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 04, 2006 11:51 PM
Subject: [flexcoders] Scrapblog Builder - New Flex 1.5 Application



We just launched a beta of the Scrapblog Builder last week. Scrapblog is
the world's first online scrapbooking service. The Scrapblog Builder is
a flex 1.5 application for publishing content from the Web to the Web.
Our goal was to enhance photo sharing by combining the storytelling
aspect of scrapbooking with the sharing power of blogs.

Please, check out the application and give us your comments. You do not
need to register to take a test drive. Just go to www.scrapblog.com
http://www.scrapblog.com and go to create a scrapblog. Registration
is free in case you decide to register and test the full version. You
can also view a detailed demo of the Scrapblog Builder at
http://www.scrapblog.com/demo 
http://www.scrapblog.com/demo . We are
just getting started and we will be rolling out new features and
enhancements constantly.

Thanks to all!

Carlos Garcia










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



  










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





  




  
  
  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: Large XML Dataset?

2006-04-05 Thread wayneposner
--- In flexcoders@yahoogroups.com, Evert | Collab [EMAIL PROTECTED] wrote:

 Is there any chance you can split up the xml in multiple categories. 
Or 
 maybe with a 'global xml index' of some kind?
 
 Evert

Could you please explain what you mean by global xml index?

Wayne






--
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: DOT NET 2.0

2006-04-05 Thread Nathan W. Phelps
Yes, this is indeed possible and you will not need the server with 
Flex 2.  However, just a heads up, the webservice stuff is pretty slow 
(and has a lot of odd behaviors right now in the beta) and I've 
started to migrate from using WebService to using HTTPService with a 
REST backend developed using HttpHandlers. 

The Flex Data Services stuff is pretty compelling however, and I've 
thought about maybe even migrating the backend to Java to get some of 
the real-time communications support it provides.







--
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] GENERAL actionscript question

2006-04-05 Thread Richard Turner-Jones
Looks like the parenthesis are in the wrong place

Try:

function checkEmailExists():void {
if (srv.checkEmail({email:userEmailInput.text}) == true) {
submitSignup.enabled = true;
} else {
submitSignup.enabled = false;
}
}


or even better

function checkEmailExists():void {
submitSignup.enabled = srv.checkEmail({email:userEmailInput.text});
}

Cheers,
Richard

Alexander Tsoukias wrote:
 Hi all, I know this is not advanced, but I have a deadline for a 
 FLEX app tomorrow and the client needs to see a login and signup 
 sample.

 I have a CFC which has a method that checks if the email inputed 
 already exists in the database.

 The cfc function returns TRUE or FALSE

 This is the actionscipt that I have:

 public function checkEmailExists():void {
 if ((srv.checkEmail({email:userEmailInput.text})) == 
 true){
 submitSignup.enabled = true; 
 }   else {
 submitSignup.enabled = false;
 }
   }  


 Is this correct? It doesn't 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 
 Yahoo! Groups Links



  




   



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

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

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

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





[flexcoders] convert string to date -

2006-04-05 Thread venkat eswar



hi,how to convert a string format like "22-4-2006" to date in flex 2.0 ?
		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





  




  
  
  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] Getting a Security Error Accessing URL on accessing a web service

2006-04-05 Thread Sandeep Malik
Hi All,

I am using Flex 2.0 beta 1 framework (no Data Services) to invoke a 
web service deployed on JBoss 4.0.3. When I connect to web service I 
get an alert saying that security error accessing url.
Some details:
1. I have written a crossdomain.xml as well with allowed domain as 
127.0.0.1
2. I have made useProxy=false in mx:WebService tag.
3. I am directly calling .swf file instead of .mxml file (as I am not 
using Data services and hence there is no JIT compiler)

Any help is appreciated.

Thanks
Sandeep





--
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] GENERAL actionscript question

2006-04-05 Thread Sonja Duijvesteijn



I'm not sure how Coldfusion gives results back, but i would assume the true or false is a string and not a boolean. public function checkEmailExists():void {  if ((srv.checkEmail({email:userEmailInput.text
})) ==true){  submitSignup.enabled = true;  }  else {  submitSignup.enabled = false;  } }Also, what doesn't work?This line? submitSignup.enabled
 = false;Or the if statement?Kind regardsSonja Duijvesteijn 






--
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] Vertical tabs

2006-04-05 Thread leo4beer
Hi all,

This is my first post to this list #61514;
I was wondering if it's possible to create vertical tabs in Flex (I'm
on 1.5).

Thanks in advance,
Leo4Beer 






--
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: Large XML Dataset?

2006-04-05 Thread wayneposner
--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] 
wrote:

 I had some of the same issues reading XML over HTTP.  If your XML is 
 dynamically generated by a server (via JSP, CF, ASP, etc.), you can 
 do what I did, which is to essentially pass your search values as 
 parameters within your HTTP request and have the server pass back 
 only the data that match those criteria.
 
 Hope that helps,
 Doug
 

Initially, the XML will be generated by a server, but after that, the 
server is completely out of the picture.  Unfortunately, the XML will 
then be on burnt to CD which may then be copied to some stand-alone 
PC.  There will be no server involved once the swf is running.  Any 
other ideas?

Wayne






--
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] GENERAL actionscript question

2006-04-05 Thread Richard Turner-Jones
whoops, sorry, I left the public out of the function

public function checkEmailExists():void { ...

Richard


Richard Turner-Jones wrote:
 Looks like the parenthesis are in the wrong place

 Try:

 function checkEmailExists():void {
if (srv.checkEmail({email:userEmailInput.text}) == true) {
submitSignup.enabled = true;
} else {
submitSignup.enabled = false;
}
 }


 or even better

 function checkEmailExists():void {
submitSignup.enabled = 
 srv.checkEmail({email:userEmailInput.text});
 }

 Cheers,
 Richard

 Alexander Tsoukias wrote:
 Hi all, I know this is not advanced, but I have a deadline for a FLEX 
 app tomorrow and the client needs to see a login and signup sample.

 I have a CFC which has a method that checks if the email inputed 
 already exists in the database.

 The cfc function returns TRUE or FALSE

 This is the actionscipt that I have:

 public function checkEmailExists():void {
 if ((srv.checkEmail({email:userEmailInput.text})) == true){
 submitSignup.enabled = true; }   else {
 submitSignup.enabled = false;
 }
   }
 Is this correct? It doesn't 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 Yahoo! 
 Groups Links



  




   







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

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

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

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





[flexcoders] Re: Listening to Databind events

2006-04-05 Thread mvbaffa
Thanks Matt

When will this be avaiable  Can we use now 

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

 The event is going to be mx.events.PropertyChangeEvent which is in 
the
 ASDoc.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mvbaffa
 Sent: Tuesday, April 04, 2006 5:03 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Listening to Databind events
 
 Hi all,
 
 I would like to know how can I drive, or listen to, Databind 
events.
 
 I have a bindable property defined like this:
 
 [Bindable]
 public var clientDetail : ClientVO;
 
 This property is updated by the parent container like this:
 
 view:ClientEvents id=clientEvents 
clientDetail={ selectedClient } /
 
 I would like to execute a function or method in ClientEvent 
 component when the clientDetail variable is updated.
 
 Excuse me if this is too simple but I could not find a way, except 
 by using predefined properties, to do this
 
 Thanks in advance
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links








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

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

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

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





Re: [flexcoders] convert string to date -

2006-04-05 Thread Oriol Gual



Just do this:var date:Date = new Date(22/5//2006) or var date:Date = new Date(2006,5,22)Remember that months go from 0 (January) to 11 (December) not 1 to 12.BTW, try to look at the documentation before asking, I think it's all quite good explained:
Date doc: http://livedocs.macromedia.com/labs/1/flex20beta2/langref//Date.html Flex 2.0 ActionScript and MXML Reference: 
http://www.macromedia.com/go/flex2_apirefSee you,Oriol2006/4/5, venkat eswar [EMAIL PROTECTED]:



hi,how to convert a string format like 22-4-2006 to date in flex 2.0 ?
		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






  




  
  
  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





  




  
  
  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] Sliding Windows in Different Layers

2006-04-05 Thread mvbaffa
Hi everybody,

I would like to show a sliding panel, or title window, in a different 
layer. I am not an expert in flash but i know that we can put images 
or animations in different layers so that they can be shown overlaped.

I would like to show a properties windows in my flex application that 
slides over the screen without having to shink the other ones. So it 
must be over the other containers.

I suppose the this can be done using different layers. How can I do 
this in Flex 

Thanks in advance






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

* 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 2.0 b2: DataGrid ( verticalScrollPosition property )

2006-04-05 Thread tyombria
If I populate dataGrid and then set dataGrid.verticalScrollPosition 
property content of dataGrid will have zero scroll position. Scrollbar 
in dataGrid will have scroll position which i've set.

I think it's a bug.






--
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] Sliding Windows in Different Layers

2006-04-05 Thread jeremy lu




you might need PopUpManager.createPopUp()


On 4/5/06, mvbaffa [EMAIL PROTECTED] wrote:
Hi everybody,I would like to show a sliding panel, or title window, in a differentlayer. I am not an expert in flash but i know that we can put imagesor animations in different layers so that they can be shown overlaped.
I would like to show a properties windows in my flex application thatslides over the screen without having to shink the other ones. So itmust be over the other containers.I suppose the this can be done using different layers. How can I do
this in Flex Thanks in advance--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





  




  
  
  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 on Mac OS X

2006-04-05 Thread Bolo Michelin



Hello everyOne :)i try to follow this post to setup Flex 2 on my mac (with tiger)http://www.gskinner.com/blog/archives/2005/12/easily_compile.html
when i did that4)
Verify that everything is working by copying the HelloAS3.as included
with flCompile to your home directory, and executing the following
command in the Terminal:java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.asIt should give you compiling messages, and generate a HelloAS3.swf file in your Home directory.
i have this errorhttp://independza.com/client/image.png 
Can u help meBolo






	








	




   		








--
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] RE: Second instance of TitleWindow with Repeater inside doesn't resize

2006-04-05 Thread Sergey Kovalyov
You can also  try out this code for pop up:

?xml version=1.0 encoding=utf-8?
mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml;

xmlns:view=com.sonopia.sonoportal.controls.siteBuilder.portletEditor.*
panelBorderStyle=roundCorners

mx:Repeater id=myRepeater dataProvider={new Array(1)}
mx:TextInput focusIn=myRepeater.dataProvider.addItem(0)
/
/mx:Repeater

/mx:TitleWindow

It works correctly when placed as a regular panel on stage, but when I
create it as a pop up adding new instances of TextInput fails, while the
dataProvider changes that could be easily verified via logging its length.

Sergey.

-Original Message-
From: Sergey Kovalyov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 2:36 PM
To: 'flexcoders@yahoogroups.com'
Subject: Second instance of TitleWindow with Repeater inside doesn't resize

Hi Flexcoders!

I have the TitleWindow with Repeater inside and when I create two instances
of it using PopUpManager.createPopUp() or one as fixed Panel and another one
as pop up, the second instance doesn't resize upon Generate button click
that means changing dataprovider. Somewhen, not in this particular example,
using Repeater in TitleWindow doesn't cause resize when dataprovider changes
too. Here you can see the source of TitleWindow I say about:

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

mx:Script
![CDATA[

public var array : Array;

public function onCreationComplete() : Void {
array = new Array(1);
}

public function onGenerate() : Void {
array.addItem(0);
}

]]
/mx:Script

mx:VBox width=100% height=100% borderStyle=solid
mx:Repeater dataProvider={array}
mx:VBox width=100% height=100%
borderStyle=solid
mx:TextInput /
/mx:VBox
/mx:Repeater
/mx:VBox

mx:Button label=Generate click=onGenerate() /

/mx:TitleWindow

In case the code above saved as MyTitleWindow.mxml, the problem can be
reproduced via this code:

var w1 : MyTitleWindow = MyTitleWindow(PopUpManager.createPopUp(this,
MyTitleWindow, false)); var w2 : MyTitleWindow =
MyTitleWindow(PopUpManager.createPopUp(this, MyTitleWindow, false));

Regards, Sergey.






--
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] cloning was: in operator (F2B2)

2006-04-05 Thread jeremy lu




hi Darron, 

I did use regiserClassAlias() to register the VO to correct class.

but it only works for copy of single VO, not a collection of VOs.
(this is same as the example in livedoc, it's just copying one VO named eg)

any idea ?

On 4/5/06, Gordon Smith [EMAIL PROTECTED] wrote:

















This has various limitations. For example,
it won't work on a DisplayObject because they don't serialize everything required
to recreate them.








--
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] Re: Form dataProvider

2006-04-05 Thread pepe_perez_perez_perez
Please disregard this, I'm feeling stupid. It was only a mx:Binding
back to the ArrayCollection.

Pepe.







--
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] Second instance of TitleWindow with Repeater inside doesn't resize

2006-04-05 Thread Sergey Kovalyov
Hi Flexcoders!

I have the TitleWindow with Repeater inside and when I create two instances
of it using PopUpManager.createPopUp() or one as fixed Panel and another one
as pop up, the second instance doesn't resize upon Generate button click
that means changing dataprovider. Somewhen, not in this particular example,
using Repeater in TitleWindow doesn't cause resize when dataprovider changes
too. Here you can see the source of TitleWindow I say about:

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

mx:Script
![CDATA[

public var array : Array;

public function onCreationComplete() : Void {
array = new Array(1);
}

public function onGenerate() : Void {
array.addItem(0);
}

]]
/mx:Script

mx:VBox width=100% height=100% borderStyle=solid
mx:Repeater dataProvider={array}
mx:VBox width=100% height=100%
borderStyle=solid
mx:TextInput /
/mx:VBox
/mx:Repeater
/mx:VBox

mx:Button label=Generate click=onGenerate() /

/mx:TitleWindow

In case the code above saved as MyTitleWindow.mxml, the problem can be
reproduced via this code:

var w1 : MyTitleWindow = MyTitleWindow(PopUpManager.createPopUp(this,
MyTitleWindow, false));
var w2 : MyTitleWindow = MyTitleWindow(PopUpManager.createPopUp(this,
MyTitleWindow, false));

Regards, Sergey.



--
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: DOT NET 2.0

2006-04-05 Thread Zoltan Csibi

Fluorine dotnet remoting gateway supports both .net 1.1 and 2.0
The current version handles .net 2 nullable parameter types, the next update
will handle mapping to generic collections.

Support for AMF3 will be available in a week probably.

Zoli



--
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] Alert window customize

2006-04-05 Thread lancert82
I want to customize the Alert window.
When the alert window opens, the background is blurred, but i don't
like that, so i want to give it an other color or maybe fully
transparant ...

You have something in 'styles' and that is 'modalTransparency' ...

Thx :)





--
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: Find Function

2006-04-05 Thread naresh . mepani




Sorry to be a bit dim, what do you mean
by custom comparator function.

Thanks for any help






Matt Chotin
[EMAIL PROTECTED] 
Sent by: flexcoders@yahoogroups.com
05/04/2006 07:01



Please respond to
flexcoders@yahoogroups.com





To
flexcoders@yahoogroups.com


cc



Subject
RE: [flexcoders] Re: Find Function








In your other column you were using an inline renderer
to display text
that isn't the column name. You need to use a custom comparator
function for that, the default sort is going to be based on the
columnName.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mepaninaresh
Sent: Tuesday, April 04, 2006 3:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Find Function

The built in sort function in the DataGrid only works for 
my FreeText column. Are the two problems related? As I beleive
the 
built in sort function not working is a bug.

Thanks for any help.



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

 The cursor find function can't take e4x expressions. It can
only 
do
 exact match searching of what's in the ICollectionView. So you're

going
 to need to setup the find a little differently, perhaps find the 
node
 using e4x, then get its index, then seek to it.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mepaninaresh
 Sent: Monday, April 03, 2006 8:51 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Find Function
 
 I can't seem to get complex xml elements working.
 
 Example 1 works.
 private function findFirstName():void
 {
 createSort();
 var cursor:IViewCursor = myXMLListCollection.getCursor();
 var values:Object = {FreeText: nameInput.text};
 cursor.findFirst(values);
 }
 
 Example 2 does not work.
 private function findFirstName():void
 {
 createSort();
 var cursor:IViewCursor = myXMLListCollection.getCursor();
 var values:Object = {Company.(@Type=='Subject').CompanyId: 
 nameInput.text};
 cursor.findFirst(values);
 }
 -
 
 mx:DataGrid id=myCustomerCountFilterGrid1 width=800%

 height=600% dataProvider={myXMLListCollection}
 mx:columns
  mx:DataGridColumn columnName=FreeText headerText=Reference/
  mx:DataGridColumn columnName=Name headerText=Name

width=250
  mx:cellRenderer
   mx:Component
   mx:Link label={dataObject.Company.
(@Type=='Subject').Name}/
   /mx:Component
  /mx:cellRenderer
  /mx:DataGridColumn
  mx:DataGridColumn labelFunction=setRegistrationNo

 headerText=Registration No/
 mx:DataGridColumn labelFunction=setCreditLimit

 headerText=Monthly Credit Limit/   
 mx:DataGridColumn labelFunction=setInsuredLimit

 headerText=Insured Limit width=40/
 mx:DataGridColumn labelFunction=setOutStandingBalance

 headerText=Outstanding Balance/   

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








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



 




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

Yahoo! Groups Links

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

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

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




_
This e-mail has been scanned for viruses by Verizon Business Internet Managed
Scanning Services - powered by MessageLabs. For further information visit
http://www.mci.com




_
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] The replacement for the DataSet

2006-04-05 Thread Manuel Saint-Victor



So is the DataSet entirely deprecated- actually gone- in ActionScript 3. I remember someone mentioning that it wasn't recommended for use with Flex 1.5 a few months ago but will it be entirely replaced by using a model is AS3?
Mani






--
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 with flex custom authentication using flex, jboss with tomcat 5.5

2006-04-05 Thread jfournet
We seem to be having problems getting custom authentication to work 
with the custom authentication module supplied with flex for use with 
tomcat.   Apparently it is not compatible with tomcat 5.5.   Apparently 
the structure of the tomcat valve api has changed.  Has anyone found a 
resolution for 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

* 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] [Q]F2B2: Classes must not be nested??

2006-04-05 Thread Clint Willard



What is this error message mean exactly:
Classes must not be nested
I've search and found the error code but no discription, reason why, or any solutions. The class is not nested that I know of:
class ShoppingCart{
 var items : Array; var total : Number = 0;
 function ShoppingCart() { items=new Array(); }
 function
}
Called from a Flex 1.5 coded Flex Store converting to Flex 2.0 b2:
mx:Application xmlns:mx= "http://www.adobe.com/2006/mxml" xmlns="*" initialize="initApp()" verticalGap="0" pageTitle="FlexStore"
 !-- The ActionScript code for this class is externalized -- mx:Script source="ShoppingCart.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



  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: Large XML Dataset?

2006-04-05 Thread Evert | Collab
Lets say...

you have 10 records,

aa
ab
ac
ad
ae
ba
bb
bc
bd
be

you could create an xml file which tells you all records that start with 
a* can be fetched from a.xml
but yea, this is overly simplified.

Well, in short.. see where you can split up your xml and if its needed 
create a central xml file telling where which records can be found...

Evert

wayneposner wrote:
 --- In flexcoders@yahoogroups.com, Evert | Collab [EMAIL PROTECTED] wrote:
   
 Is there any chance you can split up the xml in multiple categories. 
 
 Or 
   
 maybe with a 'global xml index' of some kind?

 Evert
 

 Could you please explain what you mean by global xml index?

 Wayne






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



  



   



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

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

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

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





[flexcoders] OutOfMemoryError

2006-04-05 Thread Kim Reddington





I have a large 
application that I've been running for over a year. All of a sudden the app 
stopped running. I am getting an OutOfMemory Error when I tried to run in any 
browser. My first thought was it must have been the changes I've made. 
Luckily, we are using CVS, so I grabbed a version of our software from a couple 
weeks ago. Well, the out of memory error is still there. So then I thought 
maybe it's because I installed Flex 2 Beta 2, so I uninstalled all the Beta 2 
items (Builder, FDS, etc). The application was still erroring 
out.

In trying to debug 
what is happening, I can see that the .as file is being generated, but the SWF 
file is not being created. The comiler is timing out before it completes 
the SWF.

If anyone has any 
ideas of what I could look at, try, whatever. I been trying to figure this 
out for a couple of weeks and have run out of ideas. Has anyone seen this 
before? Has anyone had similar experiences after installing Flex 2? What 
might have changed?

Thank you so much 
for your help,
Kim





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] [Q]F2B2: Classes must not be nested??

2006-04-05 Thread Sonja Duijvesteijn



You cannot make a class in the mxml, by using mx:Script source=ShoppingCart.as/ you put that code basically right there in the file. So, it's an include, instead of an import. Try this 
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=*
 initialize=initApp() verticalGap=0 pageTitle=FlexStore
 !-- The ActionScript code for this class is externalized -- mx:Script import ShoppingCart;mx:Script






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] [Q]F2B2: Classes must not be nested??

2006-04-05 Thread Oriol Gual



Have you defined a package before the class?2006/4/5, Clint Willard [EMAIL PROTECTED]:



What is this error message mean exactly:
Classes must not be nested
I've search and found the error code but no discription, reason why, or any solutions. The class is not nested that I know of:
class ShoppingCart{
 var items : Array; var total : Number = 0;
 function ShoppingCart() { items=new Array(); }
 function
}
Called from a Flex 1.5 coded Flex Store converting to Flex 2.0 b2:
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* initialize=initApp()
 verticalGap=0 pageTitle=FlexStore
 !-- The ActionScript code for this class is externalized -- mx:Script source=ShoppingCart.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



  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] Flex 2 on Mac OS X

2006-04-05 Thread Peter Baird
Title: Re: [flexcoders] Flex 2 on Mac OS X





Yes, the method has changed a bit in recent versions of Flex 2. Now the command line for your file should read as follows:

java -jar flex/lib/mxmlc.jar -load-config flex/frameworks/flex-config.xml -file-specs 'helloas3.as'

Note the key change is flexlib is changed to load-config




On 4/5/06 7:44 AM, Bolo Michelin [EMAIL PROTECTED] wrote:

Hello everyOne :)

i try to follow this post to setup Flex 2 on my mac (with tiger)
http://www.gskinner.com/blog/archives/2005/12/easily_compile.html http://www.gskinner.com/blog/archives/2005/12/easily_compile.html 

when i did that
4) Verify that everything is working by copying the HelloAS3.as included with flCompile to your home directory, and executing the following command in the Terminal:
java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.as http://helloas3.as 
It should give you compiling messages, and generate a HelloAS3.swf file in your Home directory. 

i have this error
http://independza.com/client/image.png 

Can u help me

Bolo 


--
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 http://groups.yahoo.com/group/flexcoders  on the web.
  
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . 





/ \ PETER BAIRD
888/ \888 User Experience Consultant
88/ / \88 Adobe Consulting | Adobe Systems, Inc
8/ /8\ \8 275 Grove St. Newton, MA
/ /888\ \ Office: 617.219.2126 | Cell: 617.803.6804
\8\ AIM: pbaird00 | Y!IM: pbaird00









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] OutOfMemoryError

2006-04-05 Thread Joshua Garnett



I'm not sure if this is related, but when running large Flex 1.5 apps I'd get an OutOfMemory Error from Tomcat. If you open up the Tomcat monitor and then goto the Java tab you can adjust the memory settings. I've set Initial Memory Pool to 64 and Maximum Memory Pool to 512. After making those changes, I restarted Tomcat and everything worked fine.
--JoshOn 4/5/06, Kim Reddington [EMAIL PROTECTED] wrote:







I have a large 
application that I've been running for over a year. All of a sudden the app 
stopped running. I am getting an OutOfMemory Error when I tried to run in any 
browser. My first thought was it must have been the changes I've made. 
Luckily, we are using CVS, so I grabbed a version of our software from a couple 
weeks ago. Well, the out of memory error is still there. So then I thought 
maybe it's because I installed Flex 2 Beta 2, so I uninstalled all the Beta 2 
items (Builder, FDS, etc). The application was still erroring 
out.

In trying to debug 
what is happening, I can see that the .as file is being generated, but the SWF 
file is not being created. The comiler is timing out before it completes 
the SWF.

If anyone has any 
ideas of what I could look at, try, whatever. I been trying to figure this 
out for a couple of weeks and have run out of ideas. Has anyone seen this 
before? Has anyone had similar experiences after installing Flex 2? What 
might have changed?

Thank you so much 
for your help,
Kim





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





  




  
  
  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] Listening to Databind events

2006-04-05 Thread Matt Chotin
http://livedocs.macromedia.com/labs/1/flex20beta2/langref/mx/events/PropertyChangeEvent.html

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke 
Rohde
Sent: Wednesday, April 05, 2006 1:13 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Listening to Databind events

This will come with beta3? Currently PropertyChangeEvent isn't documentet
anywhere.
Can you give a code example?

Cheers,
Sönke

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
 Sent: Wednesday, April 05, 2006 8:02 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Listening to Databind events
 
 The event is going to be mx.events.PropertyChangeEvent which is in the
 ASDoc.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
 Behalf Of mvbaffa
 Sent: Tuesday, April 04, 2006 5:03 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Listening to Databind events
 
 Hi all,
 
 I would like to know how can I drive, or listen to, Databind events.
 
 I have a bindable property defined like this:
 
 [Bindable]
 public var clientDetail : ClientVO;
 
 This property is updated by the parent container like this:
 
 view:ClientEvents id=clientEvents 
clientDetail={ selectedClient } /
 
 I would like to execute a function or method in ClientEvent 
 component when the clientDetail variable is updated.
 
 Excuse me if this is too simple but I could not find a way, except 
 by using predefined properties, to do this
 
 Thanks in advance
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 



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



 





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

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

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

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





RE: [flexcoders] OutOfMemoryError

2006-04-05 Thread Peter Farland





Hi Kim,

How are you compiling the application? The reason I ask 
is that it's not clear from your email what is reporting this error or where/how 
it is reported to you...

When you say that you tried to run it in a browser, are 
you relying on the webtier compiler by browsing to a .mxml file to dynamically 
compile your application to a SWF? Or are you using JSP tags to 
dynamically general .mxml (If so, then I'm confused as you say you can see the 
.as file being generated... is this simply because you have keep generated 
actionscript enabled?). Or are you using Flex Builder?

Actually, I need further clarification - are you using 
Flex 2 to compile this application, or did you simply install Flex 2in 
addition to/next to a Flex 1.5 application and now the Flex 1.5 application is 
reporting this error?






From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim 
ReddingtonSent: Wednesday, April 05, 2006 10:28 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
OutOfMemoryError

I have a large 
application that I've been running for over a year. All of a sudden the app 
stopped running. I am getting an OutOfMemory Error when I tried to run in any 
browser. My first thought was it must have been the changes I've made. 
Luckily, we are using CVS, so I grabbed a version of our software from a couple 
weeks ago. Well, the out of memory error is still there. So then I thought 
maybe it's because I installed Flex 2 Beta 2, so I uninstalled all the Beta 2 
items (Builder, FDS, etc). The application was still erroring 
out.

In trying to debug 
what is happening, I can see that the .as file is being generated, but the SWF 
file is not being created. The comiler is timing out before it completes 
the SWF.

If anyone has any 
ideas of what I could look at, try, whatever. I been trying to figure this 
out for a couple of weeks and have run out of ideas. Has anyone seen this 
before? Has anyone had similar experiences after installing Flex 2? What 
might have changed?

Thank you so much 
for your help,
Kim





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Tobias Patton










You can avoid the java jar
stuff if you download the Flex 2 SDK from labs.adobe.com. They provide shell
scripts (mxmlc and compc) that wrap all that stuff
up very nicely. Also, because the scripts run from the bin/ directory, they
will find the default flex-config.xml without you having to specify it on the
command line.



Your command would change to:



mxmlc helloas3.as



Much simpler.



Tobias.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bolo Michelin
Sent: Wednesday, April 05, 2006
4:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 on
Mac OS X





Hello everyOne :)

i try to follow this post to setup Flex 2 on my
mac (with tiger)
http://www.gskinner.com/blog/archives/2005/12/easily_compile.html


when i did that
4) Verify that
everything is working by copying the HelloAS3.as included with flCompile
to your home directory, and executing the following command in the Terminal:
java -jar flex/lib/mxmlc.jar -flexlib
flex/frameworks -file-specs helloas3.as
It should give you compiling messages, and
generate a HelloAS3.swf file in your Home directory. 

i have this error
http://independza.com/client/image.png 

Can u help me

Bolo 








--
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] Flex2B2 : buttons on the panel header

2006-04-05 Thread bhaq1972
Hi
i wanted to get some ideas/answers for the following.
in flex 1.5 i had a extended panel which was based on Christophe 
Coenraets example where he added mulitiple buttons on the header.

He uses the createClassObject() method, and then positions the 
button in the header.

1) will i still have to do it that way?


in flex2, i did the following way

btnAddress = new Button();
btnAddress.toolTip = Address; 
btnAddress.setStyle(icon, imgSource);
btnAddress.setStyle(upSkin, buttonEmptySkin);
btnAddress.setStyle(disabledSkin, buttonEmptySkin);
btnAddress.setStyle(overSkin, buttonOverSkin);
btnAddress.setStyle(downSkin, buttonDownSkin);
btnAddress.setStyle(disabledSkin, imgSource);
btnAddress.setStyle(upIcon, imgSource);
btnAddress.setStyle(overIcon, imgSource);
btnAddress.setStyle(downIcon, imgSource);
btnAddress.addEventListener(MouseEvent.CLICK, btnClickEvent);

panel1.addChild(btnAddress);

btnAddress.move(100, 100);

2) the btnAddress.move(100, 100); doesnt work. any ideas? (my x, y 
are hardcoded for this example).

3) I prefered the flex 1.5 way of having an 'initObj ' (in 
createClassObject()) because this object also accepted style 
properties. so i wouldn't have to keep calling setStyle().

TIA






--
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] Help on Illegal assignment to function

2006-04-05 Thread parinda_b_patel
I am getting this compiler error:Illegal assignment to function. I
read the compiler error docs for Flex 2 which explains this error as
error code 1168. But I do not understand how those 2 print statements
in the explaination are different. Anyways so here is my code in which
I am getting Illegal assignment to function error.


package some.models{
 public class DateRangeChartOptions{
public function reset(notify:Boolean):void
{
xMin = undefined;
xMax = undefined;
xInterval = undefined;
yMin = undefined;
yMax = undefined;
yAutoAdjust = undefined;
noteChanges(notify);
}
  }
   ...
}


Now inside my other class which is in package some.controls as mxml
class DateRangeChart I am trying to redefine the reset function as
following:


 public function get options():DateRangeChartOptions
 {
 if (_options == undefined)
 {
var scope = this;
_options = new DateRangeChartOptions;
   _options.addEventListener(change,updateBandingDates);
   _options.reset = function(notify:Boolean):void
   {
if (scope._banding  scope._maxY != scope._minY)
{
scope._options.yMax = scope._maxY;
scope._options.yMin = scope._minY;
scope._options.yAutoAdjust = false;
}
else
{
scope._options.yMax = undefined;
scope._options.yMin = undefined;
scope._options.yAutoAdjust = true;
}
scope._options.setDateRange(   
   scope.pager.startDate,
  
scope.pager.endDate,notify);
}
}
return _options;
  }
where _options has a public access. Now I am not sure why am I getting
this error and what should I do to fix that.





--
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] GENERAL actionscript question

2006-04-05 Thread Kelly @ Dekayd Media Inc.
Unless something has changed in Flex 2 that I am not aware of, you need to
define a result handler for Remote Object call and do the check in there.

RO Calls are asynchronous.

Something like:

public function checkEmailExists():void {
srv.checkEmail({email:userEmailInput.text});
}


public function handleCheckEmailExists(event){
if (event.result == 'true'){
submitSignup.enabled = true; 
}   else {
submitSignup.enabled = false;
  }
}
 

And in your Remote Object tag:

mx:method name=checkEmail result=handleCheckEmailExists(event) /




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexander Tsoukias
Sent: Tuesday, April 04, 2006 11:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] GENERAL actionscript question

Hi all, I know this is not advanced, but I have a deadline for a 
FLEX app tomorrow and the client needs to see a login and signup 
sample.

I have a CFC which has a method that checks if the email inputed 
already exists in the database.

The cfc function returns TRUE or FALSE

This is the actionscipt that I have:

public function checkEmailExists():void {
if ((srv.checkEmail({email:userEmailInput.text})) == 
true){
submitSignup.enabled = true; 
}   else {
submitSignup.enabled = false;
}
  }  


Is this correct? It doesn't 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 
Yahoo! Groups Links



 




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

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

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

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





[flexcoders] Re: CursorManager problem?

2006-04-05 Thread sufibaba
Matt,

I've just tried extending mx.core.Application but I get this error.
Do you know what the problem might be?

TypeError: Error #1006: Call attempted on an object that is not a
function.
at mx.core::Container/createBorder()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at mx.managers::SystemManager/::initializeChild()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::frameEndHandler()

Tim



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

 You probably need to make your test swf subclass Application so that
 everything can initialize properly.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sufibaba
 Sent: Tuesday, April 04, 2006 9:42 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: CursorManager problem?
 
 
 Matt,
 
 It's an Actionscript Component extending UIComponent and is part of a
 Flex Project.  However, at the moment, I am just testing it by itself
 (just running this testClass.as file by itself and not being called
 via an MXML tag).
 
 Are you saying that in order to use the CursorManager, my AS component
 would have to be called via an MXML tag?  Are there other ways?
 
 Cheers,
 
 Tim
 
 
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  Is this part of a Flex project or AS only?  You probably need the full
  framework available for CursorManager.
  
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of sufibaba
  Sent: Monday, April 03, 2006 6:06 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] CursorManager problem?
  
   
  
  Dear Flexors,
  
  I am trying to use the busy cursor in a custom actionscript component
  and I am getting the following error.
  
  TypeError: Error #1009: null has no properties.
  at mx.managers::CursorManager$/setBusyCursor()
  at CursorTest/::turnOnBusyCursor()
  
  ---import --
  
   import mx.managers.CursorManager;
  
  ---   Calling function --
  
  private function turnOnBusyCursor():void
nb! sp;  {
  // Set busy cursor.
  CursorManager.setBusyCursor();
  
  }
  
  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
 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
  ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
  
  Computer software development
 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
  acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
  
  Software design and development
 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
  practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
  
  Macromedia flex
 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
  66.sig=OO6nPIrz7_EpZI36cYzBjw  
  
  Software development best practice
 
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
 
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
  st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  
  
   
  
   
  
  
  
  YAHOO! GROUPS LINKS 
  
   
  
  *Visit your group flexcoders
  http://groups.yahoo.com/group/flexcoders  on the web.

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

  *Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/ . 
  
   
  
  
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: 

[flexcoders] Re: Large XML Dataset?

2006-04-05 Thread Doug Lowder
In that case I think your best bet is what Evert suggested: split your
XML into multiple smaller, more manageable files.  The splitting could
take place either on your server that generates the original XML or as
a separate process prior to saving theXML to CD.  You could probably
even incorporate the logic that tells your app which XML chunk to
retrieve right into the swf, since the search criteria will be known
to your application at runtime.

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

 --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ 
 wrote:
 
  I had some of the same issues reading XML over HTTP.  If your XML is 
  dynamically generated by a server (via JSP, CF, ASP, etc.), you can 
  do what I did, which is to essentially pass your search values as 
  parameters within your HTTP request and have the server pass back 
  only the data that match those criteria.
  
  Hope that helps,
  Doug
  
 
 Initially, the XML will be generated by a server, but after that, the 
 server is completely out of the picture.  Unfortunately, the XML will 
 then be on burnt to CD which may then be copied to some stand-alone 
 PC.  There will be no server involved once the swf is running.  Any 
 other ideas?
 
 Wayne







--
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] Help on Illegal assignment to function

2006-04-05 Thread Gordon Smith
In AS3, if a class has declared a method at compile time, you can't
reset that method at runtime to be a different function.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of parinda_b_patel
Sent: Wednesday, April 05, 2006 8:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help on Illegal assignment to function

I am getting this compiler error:Illegal assignment to function. I
read the compiler error docs for Flex 2 which explains this error as
error code 1168. But I do not understand how those 2 print statements
in the explaination are different. Anyways so here is my code in which
I am getting Illegal assignment to function error.


package some.models{
 public class DateRangeChartOptions{
public function reset(notify:Boolean):void
{
xMin = undefined;
xMax = undefined;
xInterval = undefined;
yMin = undefined;
yMax = undefined;
yAutoAdjust = undefined;
noteChanges(notify);
}
  }
   ...
}


Now inside my other class which is in package some.controls as mxml
class DateRangeChart I am trying to redefine the reset function as
following:


 public function get options():DateRangeChartOptions
 {
 if (_options == undefined)
 {
var scope = this;
_options = new DateRangeChartOptions;
   _options.addEventListener(change,updateBandingDates);
   _options.reset = function(notify:Boolean):void
   {
if (scope._banding  scope._maxY != scope._minY)
{
scope._options.yMax = scope._maxY;
scope._options.yMin = scope._minY;
scope._options.yAutoAdjust = false;
}
else
{
scope._options.yMax = undefined;
scope._options.yMin = undefined;
scope._options.yAutoAdjust = true;
}
scope._options.setDateRange(   
   scope.pager.startDate,
  
scope.pager.endDate,notify);
}
}
return _options;
  }
where _options has a public access. Now I am not sure why am I getting
this error and what should I do to fix that.





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



 





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

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

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

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




[flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Bruno Martins



How I can fix this:

public override function set columns(value:Array):void {for(var i:Number = 0; ivalue.length; i++ ){ 
value[i].headerRenderer = HeadRendererAddRemove;}}

Error #1034: Type Coercion failed: cannot convert HeadRendererAddRemove$ to mx.core.IFactory
tks...






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

2006-04-05 Thread Kim Reddington





Peter,

I am running the 
application in Flex 1.5 and have installed Flex 2.0 for a different project. 

It doesn't matter 
how I run the app, I always get an OutOfMemory Error. I've tried running from 
Flex Builder, by typing the mxml filename in the browser address field, by 
bringing up the app via a jsp. I've tried it in IE and Firefox. I've 
removed flex 1.5 and flex 20 and reinstalled flex 1.5. Anyway I try to compile 
it still gives me an error.

Yes, I have "save 
generated as" and "save swf file" both enabled to help me track down this 
problem.
Someone else asked 
about Memory. I've upped the memory in Tomcat to be above and beyond what my 
colleagues are running. They can still get the app to run on their PC. The only 
differences are what software we have installed on our machines outside of this 
project.

Thanks,
Kim
--- In flexcoders@yahoogroups.com, "Peter 
Farland" [EMAIL PROTECTED] wrote: Hi Kim, 
 How are you compiling the application? The reason I ask is that it's 
not clear from your email what is reporting this error or where/how it 
is reported to you...  When you say that you tried 
to run it in a browser, are you relying on the webtier compiler by 
browsing to a .mxml file to dynamically compile your application to a 
SWF? Or are you using JSP tags to dynamically general .mxml (If 
so, then I'm confused as you say you can see the .as file being 
generated... is this simply because you have keep generated actionscript 
enabled?). Or are you using Flex Builder?  Actually, I 
need further clarification - are you using Flex 2 to compile this 
application, or did you simply install Flex 2 in addition to/next to a 
Flex 1.5 application and now the Flex 1.5 application is reporting this 
error?  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim Reddington 
Sent: Wednesday, April 05, 2006 10:28 AM To: flexcoders@yahoogroups.com 
Subject: [flexcoders] OutOfMemoryError   I have a large 
application that I've been running for over a year. All of a sudden the 
app stopped running. I am getting an OutOfMemory Error when I tried to 
run in any browser. My first thought was it must have been the 
changes I've made. Luckily, we are using CVS, so I grabbed a version of 
our software from a couple weeks ago. Well, the out of memory 
error is still there. So then I thought maybe it's because I installed 
Flex 2 Beta 2, so I uninstalled all the Beta 2 items (Builder, FDS, 
etc). The application was still erroring out.  In 
trying to debug what is happening, I can see that the .as file is being 
generated, but the SWF file is not being created. The comiler is 
timing out before it completes the SWF.  If anyone has any 
ideas of what I could look at, try, whatever. I been trying to 
figure this out for a couple of weeks and have run out of ideas. 
Has anyone seen this before? Has anyone had similar experiences after 
installing Flex 2? What might have changed?  Thank 
you so much for your help, Kim   -- 
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 http://groups.yahoo.com/group/flexcoders 
" on the web.   * To unsubscribe from this 
group, send an email to:  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
   * Your use of Yahoo! Groups is subject to 
the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ 
.


_Kim 
ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744 






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] What upload servlet at server side to use along with FileReference class?

2006-04-05 Thread Oscar . Cortes
I am getting the same error that Andriy reports below. However, the uploads
works fine.  Carson, where can I find more information about Flash Player
sending the request twice. I am assuming that this is a known problem.
I found others forums where they talk about this error and some of them
mention that Flash is not using enctype=multipart/form-data and that that
is causing the problem.

Any ideas?



|-+-
| | |
| |  Carson Hager |
| |  [EMAIL PROTECTED]|
| |  m |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  03/27/2006 05:40 PM|
| |  Please respond to flexcoders   |
| | |
|-+-
  
-|
  | 
|
  |  To: flexcoders@yahoogroups.com 
|
  |  cc:
|
  |  Subject:  RE: [flexcoders] What upload servlet at server side to use 
along with FileReference class?   |
  
-|




We've found that the O'Reilly classes work pretty well. The error you're
seeing is likely due to a problem with the Flash Player where it
actually sends the request twice. Normally the second request has
incorrect data. We simply catch the IOException and ignore it.


Carson



Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Monday, March 27, 2006 2:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What upload servlet at server side to use along
with FileReference class?

Hello flexcoders,

  We are trying to use http://servlets.com/cos/ O'Reily's
file upload package MultipartRequest along with FileReference class.

---
  My question to community is: what it your preferred choice at the
server side to handle uploaded files?
   Cold Fusion page?
   Jakarta's Commons File Upload?
http://jakarta.apache.org/commons/fileupload/
   ... your choice?
---

ps
  Currently, FileReference class with O'Reily's
file upload package combination does not work very well at our setup.

  We receive an error from Java servlet under certain circumstances (
requires more testing to pin those circumstances down)
  error Corrupt form data: premature ending
  java.io.IOException: Corrupt form data: premature ending

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











---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




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

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

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

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




Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Bruno Martins



Hi Jeremy,

The error was fixed but the headerRenderer won't be displayed.
Tks...

On 4/5/06, jeremy lu [EMAIL PROTECTED] wrote:

hi Bruno, try this see if it works :-)

On 4/6/06, Bruno Martins 
[EMAIL PROTECTED] wrote:




How I can fix this:



public override function set columns(value:Array):void {for(var i:Number = 0; ivalue.length; i++ ){
 value[i].headerRenderer = 
HeadRendererAddRemove as 
IFactory;}}
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Bruno Gustavo MartinsMobile: (55)(11)9585-9587[EMAIL PROTECTED]experience everywherehttp://www.dclick.com.br/blog
 






--
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: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
Matt...we are definitely getting close !
I added entry mysql.default_port = 80 into my PHP config  run flex 
project  guess what, no flash error (but no data !). I run PHP 
query  it doesnt connect to db. I try http://127.0.0.1:80/mysql in 
the browser  no joy. 
I'm beginning to feel a twinge of excitement over here !!
cheers
Ben

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

 Well your setup sounds pretty straightforward so not sure why it 
isn't
 working.  I'm assuming useProxy=false (or isn't specified) on 
your
 HTTPService.
 
 The port that you access the SWF is the same as the PHP?
 
 http://localhost:1234/myswf.swf
 http://localhost:1234/myphp.php
 
 Not much more I can ask I think, I assume you didn't do any funky
 compiler settings like -usenetwork...
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of lift69boy
 Sent: Monday, April 03, 2006 12:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Security sandbox violation using PHP, 
APACHE 
 MYSQL
 
 yes to all your questions...I'm calling the php script from my 
mxml 
 both of which are on localhost,  I am running my flex project in 
the 
 web browser. It seems a pretty simple set up (based on Mike 
Potters 
 exampleperhaps youve seen it)...flex project running on apache 
 localhost, php querying mysql, both on localhost...I know nothing 
 about we server architecture so maybe its some config I'm missing 
 here...
 thanks again Matt
 Ben 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  I guess I misunderstood, are you using HTTPService to hit your 
 PHP?  And
  the PHP is on localhost?  Are you accessing the SWF using a web 
 browser
  from localhost as well?
  
  Matt
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of lift69boy
  Sent: Sunday, April 02, 2006 1:08 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Security sandbox violation using PHP, 
 APACHE 
  MYSQL
  
  Cheers Matt
  Forgive my ignorance but could you please define main 
   otherI've configured my project to run on localhost, my 
php 
  script runs no probs on localhost, i've gone down the proxy 
route 
  but still the same error. I've looked through Apache  PHP 
config  
  nothing obvious here. I'm certain I'm making a schoolboy error 
  somewhere...
  Really appreciate your help
  Ben
  
  
  --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ 
wrote:
  
   What are you loading?  Looks like the main SWF is on one 
domain 
  and the
   other SWF is on another domain?  You might need to do
   Security.allowDomain work?
   
   -Original Message-
   From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On
   Behalf Of lift69boy
   Sent: Friday, March 31, 2006 4:56 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Security sandbox violation using PHP, 
 APACHE 
  
   MYSQL
   
   hi allnot a new question but still can't find the answer...
   
   i think this is more of a flash security issue but I get the 
  following 
   error when running my project...
   Error: code:Client.CouldNotDecode string:'Error #2070: 
Security 
  sandbox 
   violation: caller '%s' may not access Stage owned by '%s'.' 
   detail:'null'
   architecture is flexphpmysql running on apache.
   i've tried the crossdomain file in many places but from 
reading 
  this  
   other forums, it is where it should be i.e. on the web server 
 root.
   i've pulled all my hair out  will soon progress to chopping 
my 
  legs 
   off in frustration
   any help greatly appreciated
   cheers
   ben 
   
   
   
   
   
   --
   Flexcoders Mailing List
   FAQ: 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links
  
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links








--
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] SOT: Flex UG for SF Bay Area?

2006-04-05 Thread Jennifer Larkin
Someone has requested that I start a Flex User Group for the SF Bay
Area. How many people here are in the area and if so, do you think you
would attend? If you are not in the area and you could view our
meetings online, would you attend?

It seems like SF would be the perfect place to start a Flex UG; I'm
just wondering how interested other people are.

Offlist response seems appropriate.
--
Now blogging
http://www.blivit.org/blog/index.cfm
http://www.blivit.org/mr_urc/index.cfm


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

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

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

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





[flexcoders] Problem assigning Ascii codes into Links

2006-04-05 Thread misiofasol
Hey, 

I have a problem with assigning strings holding ascii codes into links. 
This is what I am doing right now to force links to display character
instead of ascii code for that character:

public static function someFunction ( str ) : String 
{   
var modStr:String = str; 
var r:String = String.fromCharCode(174);
var rIndex:Number = modStr.indexOf(#174;);

if ( rIndex  -1 ) 
{ 
  modStr = searchAndReplace( modStr, #174;, r); 
}

trace(new string = + modStr);

return modStr;
}

Does anybody know a better way of doing this? My solution is not
practical especially when I have lots of places which need such
implementation.

Thanks a lot, 
misioFasol






--
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: DOT NET 2.0

2006-04-05 Thread Lance Linder










Support for AMF3 will be
available in a week probably.

Zoli





Sweet! Cant wait to give it a try!










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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: OutOfMemoryError

2006-04-05 Thread Carson Hager





Take Tomcat out of the picture and test with mxmlc after 
adding the following argument to the java.args argument in jvm.config located in 
the same directory as mxmlc.

-Xmx512m

Note that args on that property are space 
delimited.

Run mxmlc again and see if you run out of 
memory.


Carson

  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim 
ReddingtonSent: Wednesday, April 05, 2006 9:41 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
OutOfMemoryError

Peter,

I am running the 
application in Flex 1.5 and have installed Flex 2.0 for a different project. 

It doesn't matter 
how I run the app, I always get an OutOfMemory Error. I've tried running from 
Flex Builder, by typing the mxml filename in the browser address field, by 
bringing up the app via a jsp. I've tried it in IE and Firefox. I've 
removed flex 1.5 and flex 20 and reinstalled flex 1.5. Anyway I try to compile 
it still gives me an error.

Yes, I have "save 
generated as" and "save swf file" both enabled to help me track down this 
problem.
Someone else asked 
about Memory. I've upped the memory in Tomcat to be above and beyond what my 
colleagues are running. They can still get the app to run on their PC. The only 
differences are what software we have installed on our machines outside of this 
project.

Thanks,
Kim
--- In flexcoders@yahoogroups.com, "Peter 
Farland" [EMAIL PROTECTED] wrote: Hi Kim, 
 How are you compiling the application? The reason I ask is that it's 
not clear from your email what is reporting this error or where/how it 
is reported to you...  When you say that you tried 
to run it in a browser, are you relying on the webtier compiler by 
browsing to a .mxml file to dynamically compile your application to a 
SWF? Or are you using JSP tags to dynamically general .mxml (If 
so, then I'm confused as you say you can see the .as file being 
generated... is this simply because you have keep generated actionscript 
enabled?). Or are you using Flex Builder?  Actually, I 
need further clarification - are you using Flex 2 to compile this 
application, or did you simply install Flex 2 in addition to/next to a 
Flex 1.5 application and now the Flex 1.5 application is reporting this 
error?  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim Reddington 
Sent: Wednesday, April 05, 2006 10:28 AM To: flexcoders@yahoogroups.com 
Subject: [flexcoders] OutOfMemoryError   I have a large 
application that I've been running for over a year. All of a sudden the 
app stopped running. I am getting an OutOfMemory Error when I tried to 
run in any browser. My first thought was it must have been the 
changes I've made. Luckily, we are using CVS, so I grabbed a version of 
our software from a couple weeks ago. Well, the out of memory 
error is still there. So then I thought maybe it's because I installed 
Flex 2 Beta 2, so I uninstalled all the Beta 2 items (Builder, FDS, 
etc). The application was still erroring out.  In 
trying to debug what is happening, I can see that the .as file is being 
generated, but the SWF file is not being created. The comiler is 
timing out before it completes the SWF.  If anyone has any 
ideas of what I could look at, try, whatever. I been trying to 
figure this out for a couple of weeks and have run out of ideas. 
Has anyone seen this before? Has anyone had similar experiences after 
installing Flex 2? What might have changed?  Thank 
you so much for your help, Kim   -- 
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 http://groups.yahoo.com/group/flexcoders 
" on the web.   * To unsubscribe from this 
group, send an email to:  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
   * Your use of Yahoo! Groups is subject to 
the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ 
.


_Kim 
ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744 






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread jeremy lu




hi Bruno, 

try this see if it works :-)On 4/6/06, Bruno Martins [EMAIL PROTECTED] wrote:



How I can fix this:

public override function set columns(value:Array):void {for(var i:Number = 0; ivalue.length; i++ ){ 

value[i].headerRenderer = HeadRendererAddRemove as 
IFactory;}}








--
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] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
Hi Oriol
I've reset to 3306. I've run my php script in the browser  it works 
fine. If I call a simple (no db read) php script from flex, no error 
is returned which indicates that the security is fine between flash  
the php, both localhost:80/. This only leaves security issues in 
accessing my mysql db, but i've no idea what I need to change to allow 
access. For example, do I need a crossdomain file sitting somewhere in 
my db file structure ?
Many thanks for your help
Cheers
Ben 

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

 Why have you set the mysql default port to 80?  80 is the port for 
web
 servers usually and I wouldn't recommend to have mysql at it. The 
mysql
 default port is 3306.
 
 Another question, have you tried to access your php script without 
Flex?
 Just to make sure it's working properly.
 
 Oriol.








--
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] What upload servlet at server side to use along with FileReference class?

2006-04-05 Thread Carson Hager
We spoke to MM Support about this some time ago and they confirmed that
the player will often send an incorrect second request.  We were seeing
this and wanted to make sure that we weren't doing something wrong.  It
turns out that we were not. As I mentioned, we look for IOException and
ignore. The dangerous part here is that you don't know if there actually
was some other kind of IO problem.  At this point, this is the best
solution that we've found.


Carson 



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 10:23 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What upload servlet at server side to use
along with FileReference class?

I am getting the same error that Andriy reports below. However, the
uploads
works fine.  Carson, where can I find more information about Flash
Player
sending the request twice. I am assuming that this is a known problem.
I found others forums where they talk about this error and some of them
mention that Flash is not using enctype=multipart/form-data and that
that
is causing the problem.

Any ideas?



|-+-
| | |
| |  Carson Hager |
| |  [EMAIL PROTECTED]|
| |  m |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  03/27/2006 05:40 PM|
| |  Please respond to flexcoders   |
| | |
|-+-
 
---
--|
  |
|
  |  To: flexcoders@yahoogroups.com
|
  |  cc:
|
  |  Subject:  RE: [flexcoders] What upload servlet at server side
to use along with FileReference class?   |
 
---
--|




We've found that the O'Reilly classes work pretty well. The error you're
seeing is likely due to a problem with the Flash Player where it
actually sends the request twice. Normally the second request has
incorrect data. We simply catch the IOException and ignore it.


Carson



Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Monday, March 27, 2006 2:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What upload servlet at server side to use along
with FileReference class?

Hello flexcoders,

  We are trying to use http://servlets.com/cos/ O'Reily's
file upload package MultipartRequest along with FileReference class.

---
  My question to community is: what it your preferred choice at the
server side to handle uploaded files?
   Cold Fusion page?
   Jakarta's Commons File Upload?
http://jakarta.apache.org/commons/fileupload/
   ... your choice?
---

ps
  Currently, FileReference class with O'Reily's
file upload package combination does not work very well at our setup.

  We receive an error from Java servlet under certain circumstances (
requires more testing to pin those circumstances down)
  error Corrupt form data: premature ending
  java.io.IOException: Corrupt form data: premature ending

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












---
This e-mail message (including attachments, if any) is intended for the
use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt
from
disclosure.  If you are not the intended recipient, you are notified
that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.

Re: [flexcoders] SOT: Flex UG for SF Bay Area?

2006-04-05 Thread Jignesh Dodiya



is this for local people only or remote person also can be the member??
On 4/5/06, Jennifer Larkin [EMAIL PROTECTED] wrote:

Someone has requested that I start a Flex User Group for the SF BayArea. How many people here are in the area and if so, do you think youwould attend? If you are not in the area and you could view our
meetings online, would you attend?It seems like SF would be the perfect place to start a Flex UG; I'mjust wondering how interested other people are.Offlist response seems appropriate.--Now blogging
http://www.blivit.org/blog/index.cfm
http://www.blivit.org/mr_urc/index.cfm--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. 



-- Regards, Jignesh Dodiya 






--
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] Populate datagrid columns via titlewindow text input boxes

2006-04-05 Thread rgwilson26
I am working on an app with a datagrid and button where the user will 
click a button to display a titlewindow with various intput boxes to 
populate rows in the datagrid. At the moment I can only get one 
object to populate (the very first column and no others) the dg. My 
question is how can I pass multiple text input box objects back to my 
app from the titlewindow via my dispatch events and populate each 
column in my dg with the text inputs from the Titlewindow?

Also, is there a way to auto select the first index of a datagrid so 
it is highlighted when the app loads? I tried 
initilaize={myDG.selectedIndex = 0} with no luck.

Any suggestions?

Here is my code:



main app

mx:Script
![CDATA[

public function showPopUp():Void{

var myPopUp = new Object();
myPopUp.lessonsLearned = dgLessonsLearned.selectedItem.lessonsLearned;

myPopUp.needToKnow = dgLessonsLearned.selectedItem.needToKnow;  
myPopUp.shareInfo = dgLessonsLearned.selectedItem.shareInfo;

var t:Object = TitleWindow(PopUpManager.createPopUp(this, llPopUp, 
false, lessonsPopUp, false)); 
t.addEventListener(lessonsLearnedUpdate, this);
t.addEventListener(needToKnowUpdate, this);
t.addEventListener(shareInfoUpdate, this);
}

public function handleEvent(evt:Object):Void { //does not populate 
datagrid row :(

if (evt.type == lessonsLearnedUpdate) 
dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
{lessonsLearned: evt.Result});

if (evt.type == needToKnowUpdate ) 
dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
{needToKnow: evt.Result});

if (evt.type == shareInfoUpdate ) 
dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
{shareInfo: evt.Result});
}

]]
/mx:Script


mx:DataGrid id=dgLessonsLearned
mx:columns
mx:Array
mx:DataGridColumn  columnName=lessonsLearned/
mx:DataGridColumn  columnName=needToKnow/
mx:DataGridColumn  columnName=shareInfo/
/mx:Array
/mx:columns
/mx:DataGrid


mx:Button label=Add New Entry click=showPopUp() /




TitleWindow component


mx:Metadata
  [Event(lessonsLearnedUpdate)]
  [Event(needToKnowUpdate)]
  [Event(shareInfoUpdate)]
/mx:Metadata  

mx:Script
![CDATA[

public var lessonsLearned:String;
public var needToKnow:String;
public var shareInfo:String;


public function updateText(txtLessonsLearned:String, 
txtNeedToKnow:String, txtShareInfo:String):Void{

dispatchEvent({type:lessonsLearnedUpdate, 
Result:txtLessonsLearned});
dispatchEvent({type:needToKnowUpdate, 
Result:txtNeedToKnow});
dispatchEvent({type:shareInfoUpdate, 
Result:txtShareInfo});

}

]]
/mx:Script


mx:HBox width=100%
mx:TextArea id=txtLessonsLearned  width=300 height=200 
text={lessonsLearned}/
mx:TextArea id=txtNeedToKnow  width=300 height=200 
text={needToKnow}/
mx:TextArea id=txtShareInfo  width=300 height=200 
text={shareInfo}/
/mx:HBox


mx:Button label=Submit width=75 click=updateText
(txtLessonsLearned.text, txtNeedToKnow.text, txtShareInfo.text) /






--
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: Populate datagrid columns via titlewindow text input boxes

2006-04-05 Thread Doug Lowder
You could dispatch a single event with all the necessary data.  
Otherwise, you would have to replace the individual column data, 
rather than using dgLessonsLearned.replaceItemAt(), which replaces 
the entire row.

Ex:

(Main app)
... (in showPopUp())

t.addEventListener(infoUpdate, this);
... (in handleEvent())

if (evt.type == infoUpdate)
dgLessonsLearned.replaceItemAt(
dgLessonsLearned.selectedIndex, evt.Result);

(TitleWindow component)
mx:Metadata
   [Event(infoUpdate)]
/mx:Metadata

... (in updateText())
dispatchEvent({type:infoUpdate,
Result: {lessonsLearned: txtLessonsLearned,
 needToKnow: txtNeedToKnow,
 shareInfo: txtShareInfo}});


- Doug


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

 I am working on an app with a datagrid and button where the user 
will 
 click a button to display a titlewindow with various intput boxes 
to 
 populate rows in the datagrid. At the moment I can only get one 
 object to populate (the very first column and no others) the dg. 
My 
 question is how can I pass multiple text input box objects back to 
my 
 app from the titlewindow via my dispatch events and populate each 
 column in my dg with the text inputs from the Titlewindow?
 
 Also, is there a way to auto select the first index of a datagrid 
so 
 it is highlighted when the app loads? I tried 
 initilaize={myDG.selectedIndex = 0} with no luck.
 
 Any suggestions?
 
 Here is my code:
 
 
 
   main app
 
 mx:Script
 ![CDATA[
 
 public function showPopUp():Void{
   
 var myPopUp = new Object();
 myPopUp.lessonsLearned = 
dgLessonsLearned.selectedItem.lessonsLearned;
   
 myPopUp.needToKnow = dgLessonsLearned.selectedItem.needToKnow;

 myPopUp.shareInfo = dgLessonsLearned.selectedItem.shareInfo;
 
 var t:Object = TitleWindow(PopUpManager.createPopUp(this, llPopUp, 
 false, lessonsPopUp, false)); 
 t.addEventListener(lessonsLearnedUpdate, this);
 t.addEventListener(needToKnowUpdate, this);
 t.addEventListener(shareInfoUpdate, this);
 }
   
 public function handleEvent(evt:Object):Void { //does not populate 
 datagrid row :(
 
 if (evt.type == lessonsLearnedUpdate) 
 dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
 {lessonsLearned: evt.Result});
   
 if (evt.type == needToKnowUpdate ) 
 dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
 {needToKnow: evt.Result});
   
 if (evt.type == shareInfoUpdate ) 
 dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
 {shareInfo: evt.Result});
 }
 
 ]]
 /mx:Script  
 
 
 mx:DataGrid id=dgLessonsLearned
 mx:columns
 mx:Array
 mx:DataGridColumn  columnName=lessonsLearned/
 mx:DataGridColumn  columnName=needToKnow/
 mx:DataGridColumn  columnName=shareInfo/
 /mx:Array
 /mx:columns
 /mx:DataGrid
 
 
 mx:Button label=Add New Entry click=showPopUp() /
 
 
 
 
   TitleWindow component
 
 
 mx:Metadata
   [Event(lessonsLearnedUpdate)]
 [Event(needToKnowUpdate)]
 [Event(shareInfoUpdate)]
 /mx:Metadata
 
 mx:Script
 ![CDATA[
   
   public var lessonsLearned:String;
   public var needToKnow:String;
   public var shareInfo:String;
   
   
   public function updateText(txtLessonsLearned:String, 
 txtNeedToKnow:String, txtShareInfo:String):Void{
   
   dispatchEvent({type:lessonsLearnedUpdate, 
 Result:txtLessonsLearned});
   dispatchEvent({type:needToKnowUpdate, 
 Result:txtNeedToKnow});
   dispatchEvent({type:shareInfoUpdate, 
 Result:txtShareInfo});
   
   }
   
 ]]
 /mx:Script
 
 
 mx:HBox width=100%
   mx:TextArea id=txtLessonsLearned  width=300 
height=200 
 text={lessonsLearned}/
   mx:TextArea id=txtNeedToKnow  width=300 height=200 
 text={needToKnow}/
   mx:TextArea id=txtShareInfo  width=300 height=200 
 text={shareInfo}/
 /mx:HBox
 
 
 mx:Button label=Submit width=75 click=updateText
 (txtLessonsLearned.text, txtNeedToKnow.text, txtShareInfo.text) /








--
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] F2B2: Namespaces breaking E4X

2006-04-05 Thread ben.clinkinbeard
The title pretty much says it all. Using the example code here you can
see what I mean.
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:E4X:overview

If you change the root node to something like employees
xmlns=http://www.example.com/xml/;, none of the e4x expressions will
work anymore. Am I missing something really simple here?

Thanks,
Ben





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

2006-04-05 Thread Peter Farland





Yep, as Carson said, I'd be interested to see what happens 
when you change the maximum memory allocation size for the jvm.config file used 
by mxmlc? I'm also interested to see whether other simpler 
applications cause this error?

If it still happens then, would it be possible to prepare a 
reproducible test case and file a bug (or prepare a bug and send it to me so I 
can forward it to QA?). At the very least if you could describe the number of 
components, classes and files used in the application it might help 
too.

Thanks,
 Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim 
ReddingtonSent: Wednesday, April 05, 2006 12:41 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
OutOfMemoryError

Peter,

I am running the 
application in Flex 1.5 and have installed Flex 2.0 for a different project. 

It doesn't matter 
how I run the app, I always get an OutOfMemory Error. I've tried running from 
Flex Builder, by typing the mxml filename in the browser address field, by 
bringing up the app via a jsp. I've tried it in IE and Firefox. I've 
removed flex 1.5 and flex 20 and reinstalled flex 1.5. Anyway I try to compile 
it still gives me an error.

Yes, I have "save 
generated as" and "save swf file" both enabled to help me track down this 
problem.
Someone else asked 
about Memory. I've upped the memory in Tomcat to be above and beyond what my 
colleagues are running. They can still get the app to run on their PC. The only 
differences are what software we have installed on our machines outside of this 
project.

Thanks,
Kim
--- In flexcoders@yahoogroups.com, "Peter 
Farland" [EMAIL PROTECTED] wrote: Hi Kim, 
 How are you compiling the application? The reason I ask is that it's 
not clear from your email what is reporting this error or where/how it 
is reported to you...  When you say that you tried 
to run it in a browser, are you relying on the webtier compiler by 
browsing to a .mxml file to dynamically compile your application to a 
SWF? Or are you using JSP tags to dynamically general .mxml (If 
so, then I'm confused as you say you can see the .as file being 
generated... is this simply because you have keep generated actionscript 
enabled?). Or are you using Flex Builder?  Actually, I 
need further clarification - are you using Flex 2 to compile this 
application, or did you simply install Flex 2 in addition to/next to a 
Flex 1.5 application and now the Flex 1.5 application is reporting this 
error?  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim Reddington 
Sent: Wednesday, April 05, 2006 10:28 AM To: flexcoders@yahoogroups.com 
Subject: [flexcoders] OutOfMemoryError   I have a large 
application that I've been running for over a year. All of a sudden the 
app stopped running. I am getting an OutOfMemory Error when I tried to 
run in any browser. My first thought was it must have been the 
changes I've made. Luckily, we are using CVS, so I grabbed a version of 
our software from a couple weeks ago. Well, the out of memory 
error is still there. So then I thought maybe it's because I installed 
Flex 2 Beta 2, so I uninstalled all the Beta 2 items (Builder, FDS, 
etc). The application was still erroring out.  In 
trying to debug what is happening, I can see that the .as file is being 
generated, but the SWF file is not being created. The comiler is 
timing out before it completes the SWF.  If anyone has any 
ideas of what I could look at, try, whatever. I been trying to 
figure this out for a couple of weeks and have run out of ideas. 
Has anyone seen this before? Has anyone had similar experiences after 
installing Flex 2? What might have changed?  Thank 
you so much for your help, Kim   -- 
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 http://groups.yahoo.com/group/flexcoders 
" on the web.   * To unsubscribe from this 
group, send an email to:  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
   * Your use of Yahoo! Groups is subject to 
the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ 
.


_Kim 
ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744 






--
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] Re: Populate datagrid columns via titlewindow text input boxes

2006-04-05 Thread Doug Lowder
To auto select the first row of a datagrid, try:

  creationComplete={myDG.selectedIndex = 0}


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

 I am working on an app with a datagrid and button where the user 
will 
 click a button to display a titlewindow with various intput boxes 
to 
 populate rows in the datagrid. At the moment I can only get one 
 object to populate (the very first column and no others) the dg. 
My 
 question is how can I pass multiple text input box objects back to 
my 
 app from the titlewindow via my dispatch events and populate each 
 column in my dg with the text inputs from the Titlewindow?
 
 Also, is there a way to auto select the first index of a datagrid 
so 
 it is highlighted when the app loads? I tried 
 initilaize={myDG.selectedIndex = 0} with no luck.
 
 Any suggestions?
 
 Here is my code:
 
 
 
   main app
 
 mx:Script
 ![CDATA[
 
 public function showPopUp():Void{
   
 var myPopUp = new Object();
 myPopUp.lessonsLearned = 
dgLessonsLearned.selectedItem.lessonsLearned;
   
 myPopUp.needToKnow = dgLessonsLearned.selectedItem.needToKnow;

 myPopUp.shareInfo = dgLessonsLearned.selectedItem.shareInfo;
 
 var t:Object = TitleWindow(PopUpManager.createPopUp(this, llPopUp, 
 false, lessonsPopUp, false)); 
 t.addEventListener(lessonsLearnedUpdate, this);
 t.addEventListener(needToKnowUpdate, this);
 t.addEventListener(shareInfoUpdate, this);
 }
   
 public function handleEvent(evt:Object):Void { //does not populate 
 datagrid row :(
 
 if (evt.type == lessonsLearnedUpdate) 
 dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
 {lessonsLearned: evt.Result});
   
 if (evt.type == needToKnowUpdate ) 
 dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
 {needToKnow: evt.Result});
   
 if (evt.type == shareInfoUpdate ) 
 dgLessonsLearned.replaceItemAt(dgLessonsLearned.selectedIndex, 
 {shareInfo: evt.Result});
 }
 
 ]]
 /mx:Script  
 
 
 mx:DataGrid id=dgLessonsLearned
 mx:columns
 mx:Array
 mx:DataGridColumn  columnName=lessonsLearned/
 mx:DataGridColumn  columnName=needToKnow/
 mx:DataGridColumn  columnName=shareInfo/
 /mx:Array
 /mx:columns
 /mx:DataGrid
 
 
 mx:Button label=Add New Entry click=showPopUp() /
 
 
 
 
   TitleWindow component
 
 
 mx:Metadata
   [Event(lessonsLearnedUpdate)]
 [Event(needToKnowUpdate)]
 [Event(shareInfoUpdate)]
 /mx:Metadata
 
 mx:Script
 ![CDATA[
   
   public var lessonsLearned:String;
   public var needToKnow:String;
   public var shareInfo:String;
   
   
   public function updateText(txtLessonsLearned:String, 
 txtNeedToKnow:String, txtShareInfo:String):Void{
   
   dispatchEvent({type:lessonsLearnedUpdate, 
 Result:txtLessonsLearned});
   dispatchEvent({type:needToKnowUpdate, 
 Result:txtNeedToKnow});
   dispatchEvent({type:shareInfoUpdate, 
 Result:txtShareInfo});
   
   }
   
 ]]
 /mx:Script
 
 
 mx:HBox width=100%
   mx:TextArea id=txtLessonsLearned  width=300 
height=200 
 text={lessonsLearned}/
   mx:TextArea id=txtNeedToKnow  width=300 height=200 
 text={needToKnow}/
   mx:TextArea id=txtShareInfo  width=300 height=200 
 text={shareInfo}/
 /mx:HBox
 
 
 mx:Button label=Submit width=75 click=updateText
 (txtLessonsLearned.text, txtNeedToKnow.text, txtShareInfo.text) /







--
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: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
Hi Kelly,

As always u got it right.

It works fine ;-) but I am getting this error in the compile panel
parameter 'event' has no type declaration

and its talking about this line:
public function handleCheckEmailExists(event){

I even tried it like this:
public function handleCheckEmailExists(event):void{


Any ideas?

Thanks,
Alex




--- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc. 
[EMAIL PROTECTED] wrote:

 Unless something has changed in Flex 2 that I am not aware of, you 
need to
 define a result handler for Remote Object call and do the check in 
there.
 
 RO Calls are asynchronous.
 
 Something like:
 
 public function checkEmailExists():void {
   srv.checkEmail({email:userEmailInput.text});
 }
 
 
 public function handleCheckEmailExists(event){
   if (event.result == 'true'){
 submitSignup.enabled = true; 
 }   else {
 submitSignup.enabled = false;
   }
 }
  
 
 And in your Remote Object tag:
 
 mx:method name=checkEmail result=handleCheckEmailExists
(event) /
 
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Alexander Tsoukias
 Sent: Tuesday, April 04, 2006 11:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] GENERAL actionscript question
 
 Hi all, I know this is not advanced, but I have a deadline for a 
 FLEX app tomorrow and the client needs to see a login and signup 
 sample.
 
 I have a CFC which has a method that checks if the email inputed 
 already exists in the database.
 
 The cfc function returns TRUE or FALSE
 
 This is the actionscipt that I have:
 
 public function checkEmailExists():void {
 if ((srv.checkEmail({email:userEmailInput.text})) == 
 true){
 submitSignup.enabled = true; 
 }   else {
 submitSignup.enabled = false;
 }
   }  
 
 
 Is this correct? It doesn't 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 
 Yahoo! Groups Links








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

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

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

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





RE: [flexcoders] F2B2: Namespaces breaking E4X

2006-04-05 Thread Tobias Patton
Try putting this in your function before making any e4x calls

default namespace = http://www.example.com/xml/;

Tobias.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, April 05, 2006 12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2B2: Namespaces breaking E4X

The title pretty much says it all. Using the example code here you can
see what I mean.
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:
E4X:overview

If you change the root node to something like employees
xmlns=http://www.example.com/xml/;, none of the e4x expressions will
work anymore. Am I missing something really simple here?

Thanks,
Ben





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



 






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

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

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

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





RE: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Gordon Smith










I think you need to do



 value[i].headerRenderer = new
ClassFactory(HeadRendererAddRemove);



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bruno Martins
Sent: Wednesday, April 05, 2006
10:53 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2
Beta 2 - dynamic headerRenderer / IFactory error







Hi Jeremy,











The error was fixed but the headerRenderer won't be
displayed.






Tks...












On 4/5/06, jeremy lu [EMAIL PROTECTED] wrote:





hi Bruno, 

try this see if it works :-)



On 4/6/06, Bruno Martins  [EMAIL PROTECTED] wrote:











How I can fix this:















public override function set
columns(value:Array):void {
for(var i:Number = 0; ivalue.length; i++ ){





 value[i].headerRenderer = HeadRendererAddRemove
as IFactory;
}
}

















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













-- 
Bruno Gustavo Martins
Mobile: (55)(11)9585-9587
[EMAIL PROTECTED]
experience everywhere
http://www.dclick.com.br/blog








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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex/ActionScript/Java and UML

2006-04-05 Thread Oscar . Cortes
Has anyone have any UML diagrams examples that show the interaction among
mxml components, action script classes and Java?



---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




--
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] F2B2: Namespaces breaking E4X

2006-04-05 Thread Gordon Smith
Well, you'd have to change the E4X expressions to specify the
appropriate namespace. In XML you can put various namespaces on various
tags, and E4X completely supports this.

I don't have any examples at the moment, but I'd expect our docs to
cover this somewhere. Maybe someone else can post an example.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, April 05, 2006 12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2B2: Namespaces breaking E4X

The title pretty much says it all. Using the example code here you can
see what I mean.
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:
E4X:overview

If you change the root node to something like employees
xmlns=http://www.example.com/xml/;, none of the e4x expressions will
work anymore. Am I missing something really simple here?

Thanks,
Ben





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



 





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

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

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

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





Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Bruno Martins



Thanks Gordon and Jeremy...
On 4/5/06, Gordon Smith [EMAIL PROTECTED] wrote:



I think you need to do

 value[i].headerRenderer = new ClassFactory(HeadRendererAddRemove);

- Gordon





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Bruno MartinsSent: Wednesday, April 05, 2006 10:53 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error



Hi Jeremy,



The error was fixed but the headerRenderer won't be displayed.

Tks...



On 4/5/06, jeremy lu 
[EMAIL PROTECTED] wrote: 

hi Bruno, try this see if it works :-)


On 4/6/06, Bruno Martins 
 [EMAIL PROTECTED] wrote:





How I can fix this:




public override function set columns(value:Array):void {
for(var i:Number = 0; ivalue.length; i++ ){

 value[i].headerRenderer = 
HeadRendererAddRemove as IFactory;
}}
--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. 




-- Bruno Gustavo Martins
Mobile: (55)(11)9585-9587
[EMAIL PROTECTED]experience everywhere
http://www.dclick.com.br/blog 

--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Bruno Gustavo MartinsMobile: (55)(11)9585-9587[EMAIL PROTECTED]experience everywhere
http://www.dclick.com.br/blog 






--
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: GENERAL actionscript question

2006-04-05 Thread Jignesh Dodiya



Have u imported flash.net.Responder orimport mx.rpc.remoting.RemoteObject. Not sure for CF but it generally required when u use remoting with AMF...


On 4/6/06, Alexander Tsoukias [EMAIL PROTECTED] wrote:

Hi Kelly,As always u got it right.It works fine ;-) but I am getting this error in the compile panelparameter 'event' has no type declarationand its talking about this line:
public function handleCheckEmailExists(event){I even tried it like this:public function handleCheckEmailExists(event):void{Any ideas?Thanks,Alex--- In 
flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc. 
[EMAIL PROTECTED] wrote: Unless something has changed in Flex 2 that I am not aware of, you need to define a result handler for Remote Object call and do the check in 
there.  RO Calls are asynchronous.  Something like:  public function checkEmailExists():void {  srv.checkEmail({email:userEmailInput.text}); } 
  public function handleCheckEmailExists(event){   if (event.result == 'true'){ submitSignup.enabled = true;  } else { submitSignup.enabled
 = false; } }   And in your Remote Object tag:  mx:method name=checkEmail result=handleCheckEmailExists(event) / 
-Original Message- From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Alexander Tsoukias Sent: Tuesday, April 04, 2006 11:34 PM
 To: flexcoders@yahoogroups.com Subject: [flexcoders] GENERAL actionscript question
  Hi all, I know this is not advanced, but I have a deadline for a  FLEX app tomorrow and the client needs to see a login and signup  sample.  I have a CFC which has a method that checks if the email inputed 
 already exists in the database.  The cfc function returns TRUE or FALSE  This is the actionscipt that I have:  public function checkEmailExists():void {
 if ((srv.checkEmail({email:userEmailInput.text})) ==  true){ submitSignup.enabled = true;  } else { submitSignup.enabled = false; }
 }Is this correct? It doesn't 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  Yahoo! Groups Links

--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Regards, Jignesh Dodiya 






--
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] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
Yes and I still get it. here is what I have in my code:


import mx.managers.PopUpManager;
import flash.net.Responder;
import mx.rpc.remoting.RemoteObject;
import flash.events.Event;
import mx.events.ValidationResultEvent;
import Members;


public function checkEmailExists():void {
  srv.checkEmail({email:userEmailInput.text});
}

public function handleCheckEmailExists(event):void{
  if (event.result == 'TRUE'){
submitSignup.enabled = false; 
}   else {
submitSignup.enabled = true;
  }
}


mx:RemoteObject id=srv destination=ColdFusion
source=CFIDE.samples.palcafe.CF.MembersDAO
showBusyCursor=true
mx:method name=checkEmail result=handleCheckEmailExists
(event) /
/mx:RemoteObject


Again... this works, but that message still appears in the problems 
panel when I compile...
parameter 'event' has no type declaration.

Weird huh?
!A

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

 Have u imported flash.net.Responder or  import 
mx.rpc.remoting.RemoteObject.
 Not sure for CF but it generally required when u use remoting with 
AMF...
 
 
 
 On 4/6/06, Alexander Tsoukias [EMAIL PROTECTED] wrote:
 
  Hi Kelly,
 
  As always u got it right.
 
  It works fine ;-) but I am getting this error in the compile 
panel
  parameter 'event' has no type declaration
 
  and its talking about this line:
  public function handleCheckEmailExists(event){
 
  I even tried it like this:
  public function handleCheckEmailExists(event):void{
 
 
  Any ideas?
 
  Thanks,
  Alex
 
 
 
 
  --- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc.
 
  dekayd@ wrote:
  
   Unless something has changed in Flex 2 that I am not aware of, 
you
  need to
   define a result handler for Remote Object call and do the 
check in
  there.
  
   RO Calls are asynchronous.
  
   Something like:
  
   public function checkEmailExists():void {
 srv.checkEmail({email:userEmailInput.text});
   }
  
  
   public function handleCheckEmailExists(event){
 if (event.result == 'true'){
   submitSignup.enabled = true;
   }   else {
   submitSignup.enabled = false;
 }
   }
  
  
   And in your Remote Object tag:
  
   mx:method name=checkEmail result=handleCheckEmailExists
  (event) /
  
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On
   Behalf Of Alexander Tsoukias
   Sent: Tuesday, April 04, 2006 11:34 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] GENERAL actionscript question
  
   Hi all, I know this is not advanced, but I have a deadline for 
a
   FLEX app tomorrow and the client needs to see a login and 
signup
   sample.
  
   I have a CFC which has a method that checks if the email 
inputed
   already exists in the database.
  
   The cfc function returns TRUE or FALSE
  
   This is the actionscipt that I have:
  
   public function checkEmailExists():void {
   if ((srv.checkEmail({email:userEmailInput.text})) 
==
   true){
   submitSignup.enabled = true;
   }   else {
   submitSignup.enabled = false;
   }
 }
  
  
   Is this correct? It doesn't seem to work.
  
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ:
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: http://www.mail-archive.com/flexcoders%
http://www.mail-archive.com/flexcoders%25
  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
 
 
 -  Visit your 
group flexcodershttp://groups.yahoo.com/group/flexcoders
 on the web.
 
 -  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]flexcoders-
[EMAIL PROTECTED]
 
 -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/.
 
 
   --
 
 
 
 
 --
 Regards,
 
 Jignesh Dodiya








--
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] Alert window customize

2006-04-05 Thread sinatosk



The Alert component isextended fromthe Panel component.Simply use the Panel orTitleWindow component and set
borderStyleproperty to solid, backgroundColor to #006699( it's the closest colour I could match it too the Alert component) and backgroundAlpha to 
0.75 ( or what ever transpancey you want )...

oh and I'm assuming you know how to create popups ( it's related to the blur background you asking for )...

bam... there you go :p you can customize

On 4/5/06, lancert82 [EMAIL PROTECTED] wrote:

I want to customize the Alert window.When the alert window opens, the background is blurred, but i don'tlike that, so i want to give it an other color or maybe fullytransparant ...
You have something in 'styles' and that is 'modalTransparency' ...Thx :)--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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





  




  
  
  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: GENERAL actionscript question

2006-04-05 Thread Jignesh Dodiya



hi, try this. may be solved, just rewrite the sentence as follow

public function handleCheckEmailExists(event:Object):void{
On 4/6/06, Alexander Tsoukias [EMAIL PROTECTED] wrote:

Yes and I still get it. here is what I have in my code: import mx.managers.PopUpManager; import flash.net.Responder; import mx.rpc.remoting.RemoteObject
; import flash.events.Event; import mx.events.ValidationResultEvent; import Members;
public function checkEmailExists():void { srv.checkEmail({email:userEmailInput.text});}
public function handleCheckEmailExists(event):void{ if (event.result == 'TRUE'){ submitSignup.enabled = false;  } else { submitSignup.enabled
 = true; }}mx:RemoteObject id=srv destination=ColdFusion source=CFIDE.samples.palcafe.CF.MembersDAO showBusyCursor=true

mx:method name=checkEmail result=handleCheckEmailExists(event) /
/mx:RemoteObjectAgain... this works, but that message still appears in the problems panel when I compile...parameter 'event' has no type declaration.Weird huh?
!A--- In flexcoders@yahoogroups.com, Jignesh Dodiya [EMAIL PROTECTED] 

wrote: Have u imported flash.net.Responder or import mx.rpc.remoting.RemoteObject. Not sure for CF but it generally required when u use remoting with 
AMF...   
 On 4/6/06, Alexander Tsoukias [EMAIL PROTECTED] wrote:   Hi Kelly,   As always u got it right.
   It works fine ;-) but I am getting this error in the compile panel  parameter 'event' has no type declaration   and its talking about this line:
  public function handleCheckEmailExists(event){   I even tried it like this:  public function handleCheckEmailExists(event):void{Any ideas?
   Thanks,  Alex  --- In 
flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc.   dekayd@ wrote: Unless something has changed in Flex 2 that I am not aware of, 
you  need to   define a result handler for Remote Object call and do the check in  there. RO Calls are asynchronous. Something like:
 public function checkEmailExists():void {   srv.checkEmail({email:userEmailInput.text});   }   public function handleCheckEmailExists(event){
   if (event.result == 'true'){   submitSignup.enabled = true;   } else {   submitSignup.enabled = false;
   }   }   And in your Remote Object tag: mx:method name=checkEmail result=handleCheckEmailExists
  (event) /   -Original Message-   From: 
flexcoders@yahoogroups.com  [mailto:flexcoders@yahoogroups.com] On   Behalf Of Alexander Tsoukias
   Sent: Tuesday, April 04, 2006 11:34 PM   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] GENERAL actionscript question Hi all, I know this is not advanced, but I have a deadline for a   FLEX app tomorrow and the client needs to see a login and 
signup   sample. I have a CFC which has a method that checks if the email inputed   already exists in the database. The cfc function returns TRUE or FALSE
 This is the actionscipt that I have: public function checkEmailExists():void {   if ((srv.checkEmail({email:userEmailInput.text
})) ==   true){   submitSignup.enabled = true;   } else {   submitSignup.enabled = false;   }
   }   Is this correct? It doesn't seem to work.
 --   Flexcoders Mailing List   FAQ:  
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt   Search Archives: 
http://www.mail-archive.com/flexcoders%
http://www.mail-archive.com/flexcoders%25
  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- Visit your 
group flexcodershttp://groups.yahoo.com/group/flexcoders

  on the web.   - To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]flexcoders-
[EMAIL PROTECTED]   - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/.--
 -- Regards,  Jignesh Dodiya
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Regards, Jignesh Dodiya 






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

[flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
still the same. can this be a bug maybe?!

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

 hi, try this. may be solved, just rewrite the sentence as follow
 
 public function handleCheckEmailExists(*event:Object*):void{
 
 
 On 4/6/06, Alexander Tsoukias [EMAIL PROTECTED] wrote:
 
  Yes and I still get it. here is what I have in my code:
 
 
  import mx.managers.PopUpManager;
  import flash.net.Responder;
  import mx.rpc.remoting.RemoteObject;
  import flash.events.Event;
  import mx.events.ValidationResultEvent;
  import Members;
 
 
 
  public function checkEmailExists():void {
srv.checkEmail({email:userEmailInput.text});
  }
 
  public function handleCheckEmailExists(event):void{
if (event.result == 'TRUE'){
  submitSignup.enabled = false;
  }   else {
  submitSignup.enabled = true;
}
  }
 
 
  mx:RemoteObject id=srv destination=ColdFusion
source=CFIDE.samples.palcafe.CF.MembersDAO
showBusyCursor=true
 
  mx:method name=checkEmail result=handleCheckEmailExists
  (event) /
  /mx:RemoteObject
 
 
  Again... this works, but that message still appears in the 
problems
  panel when I compile...
  parameter 'event' has no type declaration.
 
  Weird huh?
  !A
 
  --- In flexcoders@yahoogroups.com, Jignesh Dodiya jdodiya@
 
  wrote:
  
   Have u imported flash.net.Responder or  import
  mx.rpc.remoting.RemoteObject.
   Not sure for CF but it generally required when u use remoting 
with
  AMF...
  
  
  
   On 4/6/06, Alexander Tsoukias alex49080@ wrote:
   
Hi Kelly,
   
As always u got it right.
   
It works fine ;-) but I am getting this error in the compile
  panel
parameter 'event' has no type declaration
   
and its talking about this line:
public function handleCheckEmailExists(event){
   
I even tried it like this:
public function handleCheckEmailExists(event):void{
   
   
Any ideas?
   
Thanks,
Alex
   
   
   
   
--- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media 
Inc.
   
dekayd@ wrote:

 Unless something has changed in Flex 2 that I am not aware 
of,
  you
need to
 define a result handler for Remote Object call and do the
  check in
there.

 RO Calls are asynchronous.

 Something like:

 public function checkEmailExists():void {
   srv.checkEmail({email:userEmailInput.text});
 }


 public function handleCheckEmailExists(event){
   if (event.result == 'true'){
 submitSignup.enabled = true;
 }   else {
 submitSignup.enabled = false;
   }
 }


 And in your Remote Object tag:

 mx:method name=checkEmail result=handleCheckEmailExists
(event) /




 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Alexander Tsoukias
 Sent: Tuesday, April 04, 2006 11:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] GENERAL actionscript question

 Hi all, I know this is not advanced, but I have a deadline 
for
  a
 FLEX app tomorrow and the client needs to see a login and
  signup
 sample.

 I have a CFC which has a method that checks if the email
  inputed
 already exists in the database.

 The cfc function returns TRUE or FALSE

 This is the actionscipt that I have:

 public function checkEmailExists():void {
 if ((srv.checkEmail
({email:userEmailInput.text}))
  ==
 true){
 submitSignup.enabled = true;
 }   else {
 submitSignup.enabled = false;
 }
   }


 Is this correct? It doesn't seem to work.







 --
 Flexcoders Mailing List
 FAQ:

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%
http://www.mail-archive.com/flexcoders%25
  http://www.mail-archive.com/flexcoders%25
 
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%
http://www.mail-archive.com/flexcoders%25
  40yahoogroups.com
   
   
 --
YAHOO! GROUPS LINKS
   
   
   -  Visit your
  group flexcodershttp://groups.yahoo.com/group/flexcoders
 
   on the web.
   
   -  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]flexcoders-
  [EMAIL PROTECTED]
subject=Unsubscribehttp://[EMAIL PROTECTED]/?
subject=Unsubscribe
  
   
   -  Your use of Yahoo! Groups is subject to the Yahoo! 
Terms of
   Service 

[flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
I think its a bug, because everytime I run the app it adds another 
line with the same error.

So now I have 6 of these errors all pointing to the same problem.

!A


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

 still the same. can this be a bug maybe?!
 
 --- In flexcoders@yahoogroups.com, Jignesh Dodiya jdodiya@ 
 wrote:
 
  hi, try this. may be solved, just rewrite the sentence as follow
  
  public function handleCheckEmailExists(*event:Object*):void{
  
  
  On 4/6/06, Alexander Tsoukias alex49080@ wrote:
  
   Yes and I still get it. here is what I have in my code:
  
  
   import mx.managers.PopUpManager;
   import flash.net.Responder;
   import mx.rpc.remoting.RemoteObject;
   import flash.events.Event;
   import mx.events.ValidationResultEvent;
   import Members;
  
  
  
   public function checkEmailExists():void {
 srv.checkEmail({email:userEmailInput.text});
   }
  
   public function handleCheckEmailExists(event):void{
 if (event.result == 'TRUE'){
   submitSignup.enabled = false;
   }   else {
   submitSignup.enabled = true;
 }
   }
  
  
   mx:RemoteObject id=srv destination=ColdFusion
 source=CFIDE.samples.palcafe.CF.MembersDAO
 showBusyCursor=true
  
   mx:method name=checkEmail result=handleCheckEmailExists
   (event) /
   /mx:RemoteObject
  
  
   Again... this works, but that message still appears in the 
 problems
   panel when I compile...
   parameter 'event' has no type declaration.
  
   Weird huh?
   !A
  
   --- In flexcoders@yahoogroups.com, Jignesh Dodiya jdodiya@
  
   wrote:
   
Have u imported flash.net.Responder or  import
   mx.rpc.remoting.RemoteObject.
Not sure for CF but it generally required when u use 
remoting 
 with
   AMF...
   
   
   
On 4/6/06, Alexander Tsoukias alex49080@ wrote:

 Hi Kelly,

 As always u got it right.

 It works fine ;-) but I am getting this error in the 
compile
   panel
 parameter 'event' has no type declaration

 and its talking about this line:
 public function handleCheckEmailExists(event){

 I even tried it like this:
 public function handleCheckEmailExists(event):void{


 Any ideas?

 Thanks,
 Alex




 --- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media 
 Inc.

 dekayd@ wrote:
 
  Unless something has changed in Flex 2 that I am not 
aware 
 of,
   you
 need to
  define a result handler for Remote Object call and do the
   check in
 there.
 
  RO Calls are asynchronous.
 
  Something like:
 
  public function checkEmailExists():void {
srv.checkEmail({email:userEmailInput.text});
  }
 
 
  public function handleCheckEmailExists(event){
if (event.result == 'true'){
  submitSignup.enabled = true;
  }   else {
  submitSignup.enabled = false;
}
  }
 
 
  And in your Remote Object tag:
 
  mx:method name=checkEmail 
result=handleCheckEmailExists
 (event) /
 
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Alexander Tsoukias
  Sent: Tuesday, April 04, 2006 11:34 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] GENERAL actionscript question
 
  Hi all, I know this is not advanced, but I have a 
deadline 
 for
   a
  FLEX app tomorrow and the client needs to see a login and
   signup
  sample.
 
  I have a CFC which has a method that checks if the email
   inputed
  already exists in the database.
 
  The cfc function returns TRUE or FALSE
 
  This is the actionscipt that I have:
 
  public function checkEmailExists():void {
  if ((srv.checkEmail
 ({email:userEmailInput.text}))
   ==
  true){
  submitSignup.enabled = true;
  }   else {
  submitSignup.enabled = false;
  }
}
 
 
  Is this correct? It doesn't seem to work.
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ:
 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
 http://www.mail-archive.com/flexcoders%25
   http://www.mail-archive.com/flexcoders%25
  
 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%
 http://www.mail-archive.com/flexcoders%25
   40yahoogroups.com


  --
  

[flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Doug Lowder
I believe you can use either

  handleCheckEmailExists(event: mx.rpc.events.ResultEvent):void

or

  handleCheckEmailExists(event: *):void


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

 I think its a bug, because everytime I run the app it adds another 
 line with the same error.
 
 So now I have 6 of these errors all pointing to the same problem.
 
 !A
 
 
 --- In flexcoders@yahoogroups.com, Alexander Tsoukias 
 alex49080@ wrote:
 
  still the same. can this be a bug maybe?!
  
  --- In flexcoders@yahoogroups.com, Jignesh Dodiya jdodiya@ 
  wrote:
  
   hi, try this. may be solved, just rewrite the sentence as 
follow
   
   public function handleCheckEmailExists(*event:Object*):void{
   
   
   On 4/6/06, Alexander Tsoukias alex49080@ wrote:
   
Yes and I still get it. here is what I have in my code:
   
   
import mx.managers.PopUpManager;
import flash.net.Responder;
import mx.rpc.remoting.RemoteObject;
import flash.events.Event;
import mx.events.ValidationResultEvent;
import Members;
   
   
   
public function checkEmailExists():void {
  srv.checkEmail({email:userEmailInput.text});
}
   
public function handleCheckEmailExists(event):void{
  if (event.result == 'TRUE'){
submitSignup.enabled = false;
}   else {
submitSignup.enabled = true;
  }
}
   
   
mx:RemoteObject id=srv destination=ColdFusion
  source=CFIDE.samples.palcafe.CF.MembersDAO
  showBusyCursor=true
   
mx:method name=checkEmail result=handleCheckEmailExists
(event) /
/mx:RemoteObject
   
   
Again... this works, but that message still appears in the 
  problems
panel when I compile...
parameter 'event' has no type declaration.
   
Weird huh?
!A
   
--- In flexcoders@yahoogroups.com, Jignesh Dodiya 
jdodiya@
   
wrote:

 Have u imported flash.net.Responder or  import
mx.rpc.remoting.RemoteObject.
 Not sure for CF but it generally required when u use 
 remoting 
  with
AMF...



 On 4/6/06, Alexander Tsoukias alex49080@ wrote:
 
  Hi Kelly,
 
  As always u got it right.
 
  It works fine ;-) but I am getting this error in the 
 compile
panel
  parameter 'event' has no type declaration
 
  and its talking about this line:
  public function handleCheckEmailExists(event){
 
  I even tried it like this:
  public function handleCheckEmailExists(event):void{
 
 
  Any ideas?
 
  Thanks,
  Alex
 
 
 
 
  --- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media 
  Inc.
 
  dekayd@ wrote:
  
   Unless something has changed in Flex 2 that I am not 
 aware 
  of,
you
  need to
   define a result handler for Remote Object call and do 
the
check in
  there.
  
   RO Calls are asynchronous.
  
   Something like:
  
   public function checkEmailExists():void {
 srv.checkEmail({email:userEmailInput.text});
   }
  
  
   public function handleCheckEmailExists(event){
 if (event.result == 'true'){
   submitSignup.enabled = true;
   }   else {
   submitSignup.enabled = false;
 }
   }
  
  
   And in your Remote Object tag:
  
   mx:method name=checkEmail 
 result=handleCheckEmailExists
  (event) /
  
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On
   Behalf Of Alexander Tsoukias
   Sent: Tuesday, April 04, 2006 11:34 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] GENERAL actionscript question
  
   Hi all, I know this is not advanced, but I have a 
 deadline 
  for
a
   FLEX app tomorrow and the client needs to see a login 
and
signup
   sample.
  
   I have a CFC which has a method that checks if the 
email
inputed
   already exists in the database.
  
   The cfc function returns TRUE or FALSE
  
   This is the actionscipt that I have:
  
   public function checkEmailExists():void {
   if ((srv.checkEmail
  ({email:userEmailInput.text}))
==
   true){
   submitSignup.enabled = true;
   }   else {
   submitSignup.enabled = false;
   }
 }
  
  
   Is this correct? It doesn't seem to work.
  
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ:
  
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: http://www.mail-
archive.com/flexcoders%
  http://www.mail-archive.com/flexcoders%25

RE: [flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Dirk Eismann
Make sure to type your the event object. Try this:
public function handleCheckEmailExists(event:ResultEvent):void
 
you'll also need to import the class: 
import mx.rpc.events.ResultEvent
 
Dirk.




Von: flexcoders@yahoogroups.com im Auftrag von Alexander Tsoukias
Gesendet: Mi 05.04.2006 22:19
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: GENERAL actionscript question



Yes and I still get it. here is what I have in my code:


import mx.managers.PopUpManager;
import flash.net.Responder;
import mx.rpc.remoting.RemoteObject;
import flash.events.Event;
import mx.events.ValidationResultEvent;
import Members;


public function checkEmailExists():void {
  srv.checkEmail({email:userEmailInput.text});
}

public function handleCheckEmailExists(event):void{
  if (event.result == 'TRUE'){
submitSignup.enabled = false;
}   else {
submitSignup.enabled = true;
  }
}


mx:RemoteObject id=srv destination=ColdFusion
source=CFIDE.samples.palcafe.CF.MembersDAO
showBusyCursor=true
mx:method name=checkEmail result=handleCheckEmailExists
(event) /
/mx:RemoteObject


Again... this works, but that message still appears in the problems
panel when I compile...
parameter 'event' has no type declaration.

Weird huh?
!A

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

 Have u imported flash.net.Responder or  import
mx.rpc.remoting.RemoteObject.
 Not sure for CF but it generally required when u use remoting with
AMF...



 On 4/6/06, Alexander Tsoukias [EMAIL PROTECTED] wrote:
 
  Hi Kelly,
 
  As always u got it right.
 
  It works fine ;-) but I am getting this error in the compile
panel
  parameter 'event' has no type declaration
 
  and its talking about this line:
  public function handleCheckEmailExists(event){
 
  I even tried it like this:
  public function handleCheckEmailExists(event):void{
 
 
  Any ideas?
 
  Thanks,
  Alex
 
 
 
 
  --- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc.
 
  dekayd@ wrote:
  
   Unless something has changed in Flex 2 that I am not aware of,
you
  need to
   define a result handler for Remote Object call and do the
check in
  there.
  
   RO Calls are asynchronous.
  
   Something like:
  
   public function checkEmailExists():void {
 srv.checkEmail({email:userEmailInput.text});
   }
  
  
   public function handleCheckEmailExists(event){
 if (event.result == 'true'){
   submitSignup.enabled = true;
   }   else {
   submitSignup.enabled = false;
 }
   }
  
  
   And in your Remote Object tag:
  
   mx:method name=checkEmail result=handleCheckEmailExists
  (event) /
  
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On
   Behalf Of Alexander Tsoukias
   Sent: Tuesday, April 04, 2006 11:34 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] GENERAL actionscript question
  
   Hi all, I know this is not advanced, but I have a deadline for
a
   FLEX app tomorrow and the client needs to see a login and
signup
   sample.
  
   I have a CFC which has a method that checks if the email
inputed
   already exists in the database.
  
   The cfc function returns TRUE or FALSE
  
   This is the actionscipt that I have:
  
   public function checkEmailExists():void {
   if ((srv.checkEmail({email:userEmailInput.text}))
==
   true){
   submitSignup.enabled = true;
   }   else {
   submitSignup.enabled = false;
   }
 }
  
  
   Is this correct? It doesn't seem to work.
  
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ:
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: http://www.mail-archive.com/flexcoders%
http://www.mail-archive.com/flexcoders%25
  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
 
 
 -  Visit your
group flexcodershttp://groups.yahoo.com/group/flexcoders
 on the web.
 
 -  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]flexcoders-
[EMAIL PROTECTED]
 
 -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/.
 
 
   --
 



 --
 Regards,

 Jignesh Dodiya








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

Re: [flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Bolo Michelin



Hello Tobias,i am not sure to understand all :)You can avoid the "java –jar"
stuff if you download the Flex 2 SDK from labs.adobe.com. They provide shell
scripts ("mxmlc" and "compc") that wrap all that stuff
up very nicely.I must dowload The Flex 2 SDK so I delete my folder with my last version of Flex ?
Also, because the scripts run from the bin/ directory, they
will find the default flex-config.xml without you having to specify it on the
command line.



Your command would change to:



mxmlc helloas3.as




Much simpler.Before it was 

java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.as 
http://helloas3.asand now only thatmxmlc 
helloas3.as 
Bolo

  

















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2.0 b2: DataGrid ( selectedIndex property )

2006-04-05 Thread sinatosk



thanks for this fix :p... thought it was just me... yes I've bumped into this problem too... I also have problem with multiple selections ( using shift key... the indexes appearing out or range/bounds )

On 4/5/06, tyombria [EMAIL PROTECTED] wrote:

Hello.In DataGrid i can't select item by setting selectedIndex property.Only dg.selectedIndices = [ requiredIndex ] works.I think it's a bug.
--Flexcoders Mailing ListFAQ: 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





  




  
  
  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 on Mac OS X

2006-04-05 Thread Tobias Patton










What do you have on your Mac now? If you
copied over the FlexBuilder installation from a Windows machine, you can just
take mxmlc and compc from the bin directory of the sdk and copy them into the
FlexBuilder bin directory. 



If you run mxmlc from the bin directory,
it will automatically find flex-config.xml. It will also automatically find the
frameworks folder for linking. All thats left to specify is the file to
compile. Since the file-specs argument is the default argument, you can omit it.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bolo Michelin
Sent: Wednesday, April 05, 2006
2:05 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2
on Mac OS X





Hello Tobias,

i am not sure to understand all :)

You can avoid the
java jar stuff if you download the Flex 2 SDK from labs.adobe.com. They provide
shell scripts (mxmlc and compc) that wrap all that
stuff up very nicely.

I
must dowload The Flex 2 SDK so I delete my folder with my last version of Flex
?

Also, because the scripts run from
the bin/ directory, they will find the default flex-config.xml without you
having to specify it on the command line.











Your command would change to:



mxmlc helloas3.as




Much simpler.










Before it was 
java -jar flex/lib/mxmlc.jar -flexlib
flex/frameworks -file-specs helloas3.as
http://helloas3.as

and now only that

mxmlc helloas3.as












Bolo









































--
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] Testing if a variable exist?

2006-04-05 Thread alpharythms
I imagine this is something simple that I am missing but is there a
way to test a variable to see if it exist.

Specifically I have several components with IDs.  So I can access them
like this.idName or this[idName].

I need to way to know if this[idName] is a valid variable.  I've
tried if(this[idName]==null) or undefined.  The trouble is I get a
runtime error as soon a this[idName] that doesn't exist comes up.

Here is what I'm try do to.  I've loading an XML document and then
looping through the attributes in a node.  If a
this[currentAttributeName] component exist then I bind it to the data
in the XML.  If I come across an attribute that doesn't exist on the
Flex form than I just want to ignore it.

Everything works great until I hit an attribute that doesn't exist. 
So I just need a way to test for the existance of a component with the
given ID name.

Thanks,
Adam







--
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] Special Thanks to Matt Chotin

2006-04-05 Thread Matt Chotin










Flex (and the Flex team) is all about
making you look good for your boss J











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda
Sent: Wednesday, April 05, 2006
2:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Special
Thanks to Matt Chotin





So, funny little story.my boss is attempting to
understand some Flex and started running through the tutorials here: http://download.macromedia.com/pub/documentation/en/flex/2/Flex2_beta2_Hands-onTutorials.pdf
- which I recommend to everyone, its a great little
document. Now my boss was working specifically with the BlogReader example and
he quickly sends me an email with the output:



The email and congratulations I got from my boss was priceless J Thanks Matt
for entertaining me with that post and always being a great help on the boards
 you dont get enough credit for the posting you do.

_

Jonathan Miranda

Stealth Project
Manager

Sorry, it's a 'Need
to Know' basis only.

HealthGrades:
Guiding America
to Better Healthcare

NASDAQ: HGRD

w (720) 963-3832

c (707) 761-0868

[EMAIL PROTECTED] 

_

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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











  1   2   >