Re: [flexcoders] Double click on Datagrid cell

2009-09-14 Thread Angelo Anolin
Could you try to declare the double click event on the datagrid, i.e.

mx:DataGrid id=myDataGrid doubleClick=yourDoubleClickFunction()
  mx:columns
    .
  /mx:columns
/mx:DataGrid

and in your script, declare the function 

private function yourDoubleClickFunction():void
{
    // Place your codes here.. 
}

HTH.





From: ferrari.hunk ferrari.h...@yahoo.in
To: flexcoders@yahoogroups.com
Sent: Wednesday, 9 September, 2009 22:43:28
Subject: [flexcoders] Double click on Datagrid cell

  
Hi,

I'm developing an application where I'm using a datagrid that shows some 
information from an xml. Every cell in the grid is of the form
itemRenderer
compoment
Vbox
HBox
Text/ //some text goes within this block
Text/ //some text goes within this block
Text/ //some text goes within this block
/Hbox
/VBox
/component
/itemRenderer

I have set a function call for the datagrid on ItemDoubleClick event; and this 
even gets triggered only when i double click on any TEXT that is on the cell; 
and NOT on any part of the cell. However, I would like to have this triggered 
when the user clicks anywhere in the cell.
Sombody please help,

Thanks!!





  

Re: [flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread thomas parquier
/^my(other)?filename$/i should match myfilename and myotherfilename,
then inform user the filename they typed is not allowed.
Btw, square brackets are used to match a set of characters (unordered) not a
string, and ^  $ outside brackets match beginning and end of lines.

thomas parquier
---
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


2009/9/13 flexaustin flexaus...@yahoo.com



 I am close with this:

 mx:RegExpValidator id=reservedNamesValidator
 source={nameOfFileInput}
 property=text
 expression=^[^myfilename$]
 flags=ig
 noMatchError=This is a reseverd name
 /

 WOULD IT BE THIS?:

 mx:RegExpValidator id=reservedNamesValidator
 source={nameOfFileInput}
 property=text
 expression=^[^myfilename$]|[^myotherfilename$]
 flags=ig
 noMatchError=This is a reseverd name
 /

 SO I DONT WANT TO ALLOW THE USER TO SAVE A FILE WITH EITHER OF THESE TWO
 NAMES? (myfilename or myotherfilename).

  



[flexcoders] WE NEED YOUR VOTE!

2009-09-14 Thread pauscato1
https://bugs.adobe.com/jira/browse/FB-16764 




[flexcoders] MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread reflexactions
Under IE8/FP10/Vista/FB3.2 MouseLeave fires immediately when the mouse leaves 
the stage when the mouse is up but it nevers fires at all if the mouse is 
down, even if subsequently released while off stage it won't fire.

What I have found is about 50% of the time when the mouse leaves the stage 
mouse move events will continue to fire, in that situation a mouse up will 
also fire when the button is eventually released. 

The other 50% of the time the mouse move events stop the moment you leave the 
stage and in that situation there will be no mouse up or mouse leave. (this 
is then a real problem as you can release the mouse and move back on stage and 
it is still dragging) 

I just can't get anything to reliably work under IE8/FP10 to stop dragging 
after the mouse leave the stage.

Anyone have a combination they KNOW works?



[flexcoders] Testing tools for Flex applications

2009-09-14 Thread spuy...@ymail.com
I have been asked to produce a list of testing tools for the Flex applications 
I am developing.  These testing tools can be commercial or open-source and 
would need to address the following: data loss protection, sql injection, 
vulnerability testing, code base vulnerabilities and compiled code scanning.  
Can the group suggest some good tools for these type tests?



Re: [flexcoders] Please set up a TomcatValve as described in the documentation problem

2009-09-14 Thread rohan26may

Hi,

I tried doing this. Still getting same error. Please help.

Regards,
Rohan


valdhor-3 wrote:
 
 From the BlazeDS Installation guide at
 http://opensource.adobe.com/wiki/display/blazeds/Installation+Guide:
 
 
 To use BlazeDS with Tomcat, follow these steps after deploying the
 BlazeDS WAR files. These steps are not necessary for the integrated
 Tomcat installation.
 
 1. Increase the maximum memory to at least 512MB. This is achieved by
 specifying the maximum heap size for the JVM in the JAVA_OPTS variable:
 -Xmx512m
 2. (Optional) To enable custom authentication, locate the Tomcat
 security resource libraries under
 install_root/resources/security/tomcat.
 1. Put flex-tomcat-common.jar in tomcat/lib/blazeds.
 2. Place flex-tomcat-server.jar in tomcat/lib/blazeds.
 3. Edit the catalina.properties file which can be found in the
 tomcat/conf directory. Find the common.loader property and add the
 following path to the end of the list:
 ${catalina.home}/lib/blazeds/*.jar
 4. Add Valve className=flex.messaging.security.TomcatValve/ tag
 to the Context descriptors. For example, for the BlazeDS samples WAR:
 Context path=/samples docBase=${catalina.home}/webapps/samples
 debug=0
 Valve className=flex.messaging.security.TomcatValve/
 /Context
 You will now be authenticated against the current Tomcat realm. Usually,
 the default for this authentication stores user information in
 conf/tomcat-users.xml. See the Tomcat documentation for more information
 on realms. See the documentation for more information on BlazeDS custom
 authentication.
 5. You may also need to update the active login-command in
 /WEB-INF/flex/services-config.xml
 in each deployment of a BlazeDS WAR file. For Tomcat, ensure that the
 TomcatLoginCommand is active in the security section:
 security
 login-command class=flex.messaging.security.TomcatLoginCommand
 server=Tomcat /
 ...
 
 6. (Optional) To use the JMSAdapter with the Message Service, you
 must install and configure a JMS provider (such as activeMQ or openJMS)
 for use with Tomcat.
 7. Restart Tomcat.
 
 --- In flexcoders@yahoogroups.com, rohan26may rohan26...@... wrote:


 Hi All,

 I am trying to login to my flex app via a java client. I am getting
 following excpetions


 From AMFTestConnection:
 ServerStatusException
  data: Flex Message (flex.messaging.messages.ErrorMessage)
 clientId = D1BFFA70-10D2-57FF-3DAC-D202BFDB9AC5
 correlationId = D25ADFC2-1088-E386-3664-65A33987F2B3
 destination = null
 messageId = D1BFFCE1-1093-0850-A31A-F30CCE8A07A7
 timestamp = 1252653733281
 timeToLive = 0
 body = null
 hdr(DSMessagingVersion) = 1.0
 code =  Server.Processing
 message =  Please set up a TomcatValve as described in the
 documentation.
 details =  null
 rootCause =  null
 body =  null
 extendedData =  null
  HttpResponseInfo: HttpResponseInfo
  code: 200
  message: OK
  at

 flex.messaging.io.amf.client.AMFConnection.processAmfBody(AMFConnection.\
 java:665)
  at

 flex.messaging.io.amf.client.AMFConnection.processAmfPacket(AMFConnectio\
 n.java:629)
  at

 flex.messaging.io.amf.client.AMFConnection.processHttpResponseBody(AMFCo\
 nnection.java:601)
  at

 flex.messaging.io.amf.client.AMFConnection.processHttpResponse(AMFConnec\
 tion.java:584)
  at
 flex.messaging.io.amf.client.AMFConnection.send(AMFConnection.java:685)
  at
 flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:450)
  at

 com.bmc.sas.ngp.testing.AMFTestConnection.main(AMFTestConnection.java:11\
 0)


 My connection string is like following

 channel-definition id=my-amf
 class=mx.messaging.channels.AMFChannel
 endpoint

 url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf\
 
 class=flex.messaging.endpoints.AMFEndpoint/
 properties
 add-no-cache-headersfalse/add-no-cache-headers
 /properties
 /channel-definition



 My UT looks like,

 flex.messaging.messages.CommandMessage c = new
 flex.messaging.messages.CommandMessage();
 c.setOperation(CommandMessage.LOGIN_OPERATION);
 String credString = admin:admin;
 flex.messaging.util.Base64.Encoder encoder = new
 flex.messaging.util.Base64.Encoder(credString.length());
 encoder.encode(credString.getBytes());
 c.setBody(encoder.drain());
 c.setDestination(auth);
 AMFConnection amfConnection = new AMFConnection();
 String url = http://prodigy/flexapp/messagebroker/amf;;
 try{amfConnection.connect(url);
 }
 catch (ClientStatusException cse){
 cse.printStackTrace();
 }
 Object loginResult = amfConnection.call(null, c);

 Please assist.

 Regards,
 Rohan

 --
 View this message in context:
 http://www.nabble.com/%22Please-set-up-a-TomcatValve-as-described-in-the\
 

[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread reflexactions
Use \b to mark word boundaries.
\bBig2\b


--- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote:

 I don't want to match just a word though.
 
 So in my app I have two standard objects that the user can use, which are 
 named Big and Small.  
 
 The user can open Big make some changes to it then if they want to save 
 those changes I don't want them saving it as Big or Small, but they can 
 save it as Big2 or new_Small. 
 
 So if the user types in Big and tries to save it I want to catch this in 
 validation and then use the regexvalidator to color the textinput border red.
 
 So if I just do a /Big/ or /Small/ then the user can't save it as Big2 
 because the regex will see the Big part in Big2 and warn them you can't 
 save it with this name. But Big2 is valid not as it isn't just plain Big
 
 TIA,J





[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread flexaustin
So how do I catch the opposite of this \bBig2\b as with the following (see 
below) the only time I don't get a matchError is if I type in Big2.  I want 
the reverse.

vResult = reservedNamesValidator.validate();
if (vResult.type==ValidationResultEvent.INVALID)
return; 



mx:RegExpValidator id=reservedNamesValidator 
source={nameOfFileInput} 
property=text 
expression=\bBig2\b
flags=ig
noMatchError=This is a reseverd name
/



[flexcoders] Re: Java/Flex questions answered by James Ward

2009-09-14 Thread ilikeflex
Could not find the tag 'raiCowboy'

http://meta.stackoverflow.com/questions/17314/search-for-a-tag-returns-no-results/17327

It says tag 'raiCowboy' has been deleted.

--- In flexcoders@yahoogroups.com, James Ward jaw...@... wrote:

 This would be a great question to ask on StackOverflow.com  :)
 
 -James
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of ilikeflex
 Sent: Friday, September 11, 2009 11:03 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Java/Flex questions answered by James Ward
 
 
 
 what i am expecting that as soon as i run my flex application i should
 see
 
 System.out.println(getIndexList Executing);
 System.out.println(getIndexProfileList Executing);
 System.out.println(getIndexTradingDatesList Executing);
 System.out.println(getIndexValues Executing);
 
 but i see
 
 System.out.println(getIndexList Executing);
 System.out.println(getIndexList End Executing);
 
 System.out.println(getIndexProfileList Executing);
 System.out.println(getIndexProfileList End Executing);
 
 System.out.println(getIndexTradingDatesList Executing);
 System.out.println(getIndexTradingDatesList End Executing);
 
 System.out.println(getIndexValues Executing);
 System.out.println(getIndexValues End Executing);
 
 I should see all the method executing simultaneously.
 
 Any help...
 
 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
 ilikeflex ilikeflex@ wrote:
 
 
  I am doing something like this:
 
  if( indexListRemoteObject == null)
  {
  indexListRemoteObject = new RemoteObject(indexMasterDAO);
  indexListRemoteObject.addEventListener( ResultEvent.RESULT,
  indexListHandler );
  indexListRemoteObject.addEventListener( FaultEvent.FAULT, faultHandler
  );
  indexListRemoteObject.getIndexList();
  }
 
  if( indexProfileListRemoteObject == null )
  {
  indexProfileListRemoteObject = new RemoteObject(indexMasterDAO);
  indexProfileListRemoteObject.addEventListener( ResultEvent.RESULT,
  indexProfileListHandler );
  indexProfileListRemoteObject.addEventListener( FaultEvent.FAULT,
  faultHandler );
  indexProfileListRemoteObject.getIndexProfileList();
  }
 
 
  if( indexTradingDatesListRemoteObject == null )
  {
  indexTradingDatesListRemoteObject = new
 RemoteObject(indexMasterDAO);
  indexTradingDatesListRemoteObject.addEventListener(
 ResultEvent.RESULT,
  indexTradingDatesListHandler );
  indexTradingDatesListRemoteObject.addEventListener( FaultEvent.FAULT,
  faultHandler );
  indexTradingDatesListRemoteObject.getIndexTradingDatesList();
  }
 
  if( indexValuesListRemoteObject == null )
  {
  indexValuesListRemoteObject = new RemoteObject(indexMasterDAO);
  indexValuesListRemoteObject.addEventListener( ResultEvent.RESULT,
  indexValuesListHandler );
  indexValuesListRemoteObject.addEventListener( FaultEvent.FAULT,
  faultHandler );
  indexValuesListRemoteObject.getIndexValues();
  }
 
  but if i put the System.out.println in different Java Methods.. i see
  the same sequence of order in which they are called. I am 100% sure
 that
  my first method(getIndexList) takes lot of time. So while getIndexList
  is executing then i should also see that atleast one of the other
  methods are being executed simulataneously. But this is not happening
 as
  expected. None of the other methods is able to recieve the request
 while
  getIndexList is processing.
 
  All my java methods are static. I don't think this should cause any
  issue.
 
  thanks
  ilikeflex
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
  fotis.chatzinikos
  fotis.chatzinikos@ wrote:
  
   make a remote call implementation in java that fills a hashmap or
  related object with all the info you want:
  
   init()
   {
   people = getPeople() ;
   towns = getTowns() ;
   etc...
   }
  
   if you want them 1-by-1 call them in sequence:
  
   getPeople() on responce getTowns and so on...
  
   --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
   valdhor valdhorlists@ wrote:
   
I don't understand. Each call _IS_ a separate request. Even though
  Flex batches them up together, each remoteObject call hits the server
 as
  a separate request. They will return asynchronously. This is what you
  want so that you get the data back as fast as possible.
   
   
--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
ilikeflex ilikeflex@ wrote:

 HI

 I am using Blazeds. At the start of my application i am making
  couple of request to get the data from the backend. I am tracking my
  request through Charles Debugger. I see that all my initial request
 are
  put together in one POST request. I want that each service call to
  backend be a different POST request. So that i can get the data fast.

 Please have a look at the screen
 
 shot.(http://4.bp.blogspot.com/_v7fXKpvsYl0/SoW5_0lZl6I/APg/caJ1\
 \
 

Re: [flexcoders] Stripping the RichText Editor

2009-09-14 Thread Wally Kolcz
Anyway to easily move the control from the bottom to the top of the RTE?


From: Tom Chiverton tom.chiver...@halliwells.com
Sent: Monday, September 14, 2009 7:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Stripping the RichText Editor 

On Monday 14 Sep 2009, Wally Kolcz wrote:

 Or any example on how to detect selected text and make the changes (bolding

 ,etc)? All my Google searches come up how to selected text that matched

 whatever you entered in a textinput. Not quite the same. Thanks!

I believe the text components have a method for getting the selected range, 

you just need to write back everything before the start of the selection, a 

HTML tag, the selection, close the tag, and the rest.

It might be easier to skin the existing controls :-)

-- 

Helping to proactively integrate initiatives as part of the IT team of the 

year, '09 and '08



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

  Halliwells LLP is a limited liability partnership registered 
in England and Wales under registered number OC307980 whose registered office 
address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 
3EB. A list of members is available for inspection at the registered office 
together with a list of those non members who are referred to as partners. We 
use the word ?partner? to refer to a member of the LLP, or an employee or 
consultant with equivalent standing and qualifications. Regulated by the 
Solicitors Regulation Authority.

  CONFIDENTIALITY

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

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





Re: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Rohit Sharma
 I am not sure Nitrolm will help.

  I think I was not clear in mail. The problem is while we are hosting the
application on our web server.
  Once the swf gets downloaded at client side, it can be disassembled.I want
to prevent that.


On Mon, Sep 14, 2009 at 10:14 PM, Jeffry Houser j...@dot-com-it.com wrote:




  Nitrolm.com

 Rohit Sharma wrote:



 Hello All,

  We are working on a commercial application being built on Flex 3.0
 framework.
 Recently we noticed that the swf can be easily dis-assembled and the code
 and the components can be retrieved.
 Please suggest ways to prevent this or make it harder.
 I have read that one way is obfuscation but that only makes the code
 hard to read.
 So, I am not too keen about obfuscating the code.

 Looking for replies.

 Thanks,
 Rohit


 --
 Jeffry Houser, Technical Entrepreneur
 Adobe Community Expert: 
 http://tinyurl.com/684b5hhttp://www.twitter.com/reboog711  | Phone: 
 203-379-0773
 --
 Easy to use Interface Components for Flex 
 Developershttp://www.flextras.com?c=104
 --http://www.theflexshow.comhttp://www.jeffryhouser.com
 --
 Part of the DotComIt Brain Trust

  



Re: [flexcoders] Admin/Moderator

2009-09-14 Thread Matt Chotin
mail flexcoders-ow...@yahoogroups.com

On Sep 14, 2009, at 8:40 AM, stldvd wrote:

 Sorry for this off-topic post but does anyone know who the moderator  
 is for this board and how to reach them? I received an email  
 response to one of my posts about five days ago from a new member,  
 but they still apparently haven't been granted access.

 Thanks.

 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

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



[flexcoders] Stripping the RichText Editor

2009-09-14 Thread Wally Kolcz
I am creating software for my work. I want to have RichText support, but I do 
not like the RichTextEditor from the mx package. Any way to use the rich text 
editing (bold, italicizing, hyperlinking, etc) without using the actual 
component? I would like to use the RTE bar in the top of my application and 
have it detect the selected text (like it does now) but for multiple text 
areas...any ideas or tutorials or examples?

Or any example on how to detect selected text and make the changes (bolding 
,etc)? All my Google searches come up how to selected text that matched 
whatever you entered in a textinput. Not quite the same. Thanks!



Re: [flexcoders] Stripping the RichText Editor

2009-09-14 Thread Wally Kolcz
Ok, found it:

var displayObj:DisplayObject = this.toolbar;
this.toolbar.parent.removeChild(displayObj);
this.addChildAt(displayObj, 0);


From: Wally Kolcz wko...@isavepets.com
Sent: Monday, September 14, 2009 8:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Stripping the RichText Editor 

Anyway to easily move the control from the bottom to the top of the RTE?


From: Tom Chiverton tom.chiver...@halliwells.com
Sent: Monday, September 14, 2009 7:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Stripping the RichText Editor 

On Monday 14 Sep 2009, Wally Kolcz wrote:

 Or any example on how to detect selected text and make the changes (bolding

 ,etc)? All my Google searches come up how to selected text that matched

 whatever you entered in a textinput. Not quite the same. Thanks!

I believe the text components have a method for getting the selected range, 

you just need to write back everything before the start of the selection, a 

HTML tag, the selection, close the tag, and the rest.

It might be easier to skin the existing controls :-)

-- 

Helping to proactively integrate initiatives as part of the IT team of the 

year, '09 and '08



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

  Halliwells LLP is a limited liability partnership registered 
in England and Wales under registered number OC307980 whose registered office 
address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 
3EB. A list of members is available for inspection at the registered office 
together with a list of those non members who are referred to as partners. We 
use the word ?partner? to refer to a member of the LLP, or an employee or 
consultant with equivalent standing and qualifications. Regulated by the 
Solicitors Regulation Authority.

  CONFIDENTIALITY

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

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





[flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Rohit Sharma
Hello All,

 We are working on a commercial application being built on Flex 3.0
framework.
Recently we noticed that the swf can be easily dis-assembled and the code
and the components can be retrieved.
Please suggest ways to prevent this or make it harder.
I have read that one way is obfuscation but that only makes the code
hard to read.
So, I am not too keen about obfuscating the code.

Looking for replies.

Thanks,
Rohit


Re: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Jeffry Houser


Nitrolm.com

Rohit Sharma wrote:
 


Hello All,

 We are working on a commercial application being built on Flex 
3.0 framework.
Recently we noticed that the swf can be easily dis-assembled and the 
code and the components can be retrieved.

Please suggest ways to prevent this or make it harder.
I have read that one way is obfuscation but that only makes the 
code hard to read.

So, I am not too keen about obfuscating the code.

Looking for replies.

Thanks,
Rohit




--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



[flexcoders] Re: Rich Text Editor and XML

2009-09-14 Thread stldvd
Here's modified code showing the XML, what I'm trying to achieve, and what I'm 
getting. Can anyone see what's going on here?

If in the outRTE control you insert text={xData.toString()} then you get the 
bizarre behavior I referred to in my last post (setting text to the empty 
string doesn't work).

Code:

?xml version=1.0 encoding=utf-8?
mx:Application 
xmlns:mx=http://www.adobe.com/2006/mxml; 
width=900 height=800
initialize=initializeHandler();

mx:Script
![CDATA[
import mx.rpc.events.ResultEvent;
import flash.text.TextFormat;
import mx.controls.Alert;
import mx.controls.textClasses.TextRange;

[Bindable] public var xData:XML; 

XML.ignoreWhitespace = false;

[Bindable]
private var htmlData:String=The quick font 
color='#FF'bbrown/b/font fox jumps over the font 
color='#FF'blazy/b/font dog./pbr/br/pNow is the time for all 
font color='#FF'bgood/b/font men to come to the aid of their 
country./p;
private function initializeHandler():void
{
bt.send();
outRTE.textArea.condenseWhite = true;
}

private function btRPCResult(event:ResultEvent):void
{
xData = event.result as XML;
}

private function showFormattedText():void {

outRTE.text = ;
for each (var item:XML in xData.Content.P.*) {
trace(item.toXMLString());
var textToHighlight:String = 
item.toString();
var tr:TextRange = new 
TextRange(outRTE);
tr = colorMyText(textToHighlight);
outRTE.text += tr.text;
} 
 }

private function colorMyText(myText:String):TextRange
{
var sel:TextRange = new TextRange(outRTE, true);
sel.text = myText;
var selLength:int = sel.endIndex - 
sel.beginIndex;
//trace(Text:  + sel.text + ; length:  + 
selLength);
sel.color=red; 
sel.fontWeight = bold;
return sel;
}
private function clearText():void
{
outRTE.text = ;

}

private function colorText():void
{
//this function is just to show that 
the code does work for static text
var tr:TextRange = new TextRange(outRTE,false, 
2, 20);
tr.color = red;
tr.fontWeight = bold;
}
]]
/mx:Script

mx:HTTPService id=bt url=com/brighttext/test.xml 
result=btRPCResult(event) resultFormat=e4x/

!-- User interface --
mx:ApplicationControlBar dock=true
mx:Button label=Show Formatted Text 
click=showFormattedText() /
mx:Button label=Clear All click=clearText() /
mx:Button label=Color Static Text click=colorText() /
/mx:ApplicationControlBar
mx:HBox height=100% width=100% horizontalGap=15
mx:TextArea id=outTextArea1 width=32% height=60% 
text={xData.toString()}/
mx:RichTextEditor id=outRTE width=32% height=60% 
title=The Result I'm Getting (click button): /
mx:RichTextEditor id=outRTE2  title=The Result I Want: 
width=32% height=60% htmlText={htmlData}/
/mx:HBox
/mx:Application

test.xml):

Text
Content
P
The quick adjective type=colorbrown/adjective 
nounfox/noun verbjumps/verb over the 
adjectivelazy/adjective dog.
/P
P
Now is the time for all adjectivegood/adjective men 
to come to the aid of their nouncountry/noun.
/P
/Content
/Text 




--- In flexcoders@yahoogroups.com, stldvd stl...@... wrote:

 There's something else that's very strange. Before I enter the loop, I try to 
 set the text in the rte to the empty string (before I enter the loop, there 
 is text in there, so I want to clear it out). I put a break point just after 
 that code, and it isn't working. I tried all the following, and none worked.
 
   outRTE.textArea.text = ; 
   outRTE.text = ;
   outRTE.text 

Re: [flexcoders] Stripping the RichText Editor

2009-09-14 Thread Tom Chiverton
On Monday 14 Sep 2009, Wally Kolcz wrote:
 Or any example on how to detect selected text and make the changes (bolding
 ,etc)? All my Google searches come up how to selected text that matched
 whatever you entered in a textinput. Not quite the same. Thanks!

I believe the text components have a method for getting the selected range, 
you just need to write back everything before the start of the selection, a 
HTML tag, the selection, close the tag, and the rest.

It might be easier to skin the existing controls :-)

-- 
Helping to proactively integrate initiatives as part of the IT team of the 
year, '09 and '08



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

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

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

[flexcoders] Re: Using RSLs in an actionscript only project

2009-09-14 Thread darrell_loverin
Only classes in the last frame can be externalized.


-Darrell

--- In flexcoders@yahoogroups.com, joshonemail j...@... wrote:

 I have an Actionscript only project that I would like to use the textLayout 
 framework in as an RSL. The application uses a daisy chain of frames, and on 
 the first frame I successfully seem to download the swz from adobe (using the 
 digest from the swc) and load it into the application domain. 
 
 However I have not succeeded in omitting the textLayout classes from the 
 compiler. I have tried several options unsuccessfully, the one I thought 
 would work for sure was -external-library-path.
 
 Does anyone have any examples of omitting an swc library from a compilation?
 
 Are there some gotchas I should know about?
 
 I did notice that ant was using flex-config.xml which was set to include 
 textLayout.swc - I deleted those lines.
 
 Any thoughts would be appreciated.
 
 Thanks,
 
 Josh





[flexcoders] Admin/Moderator

2009-09-14 Thread stldvd
Sorry for this off-topic post but does anyone know who the moderator is for 
this board and how to reach them? I received an email response to one of my 
posts about five days ago from a new member, but they still apparently haven't 
been granted access.

Thanks.



Re: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Jeffry Houser


You can't prevent it.  Isn't it daily that a new form of DRM is broken 
by some hacker? 

But, NitroLM has some tools to encrypt your swf files; and a special 
loader that will load up an encrypted swf and decrypt it for running. 

Such encryption in place makes it a lot harder to decompile the swf. 

I do not know of any alternative solutions to this. But, you're more 
than welcome to build your own.


Rohit Sharma wrote:
 

 
 I am not sure Nitrolm will help.


  I think I was not clear in mail. The problem is while we are hosting 
the application on our web server.
  Once the swf gets downloaded at client side, it can be 
disassembled.I want to prevent that.
  

On Mon, Sep 14, 2009 at 10:14 PM, Jeffry Houser j...@dot-com-it.com 
mailto:j...@dot-com-it.com wrote:


 



 Nitrolm.com


Rohit Sharma wrote:
 


Hello All,

 We are working on a commercial application being built on
Flex 3.0 framework.
Recently we noticed that the swf can be easily dis-assembled and
the code and the components can be retrieved.
Please suggest ways to prevent this or make it harder.
I have read that one way is obfuscation but that only makes
the code hard to read.
So, I am not too keen about obfuscating the code.

Looking for replies.

Thanks,
Rohit



-- 
Jeffry Houser, Technical Entrepreneur

Adobe Community Expert: http://tinyurl.com/684b5h 
http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 http://www.twitter.com/reboog711  | 
Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104 http://www.flextras.com?c=104
--
http://www.theflexshow.com http://www.theflexshow.com
http://www.jeffryhouser.com http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust





--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



[flexcoders] Semi-collapsible AdvancedDataGrid

2009-09-14 Thread fumeng5
Hi,

I have an AdvancedDataGrid. When you expand a row, a horizontal list of charts 
displays. The row is about 200px tall. 

When you collapse the row, I don't want it to collapse all the way. Instead, 
I'd like to collapse it to about 50px tall and render a much smaller version of 
the chart ( a thumbnail ). 

Is this possible? Do I have to override the displayItemsExpanded() method? Or, 
can I have some rows not be groups?

Any tips are very much appreciated. 

Thank you. 



RE: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Battershall, Jeff
Rohit,

At one point I had lost some Flex source code for a particular project and used 
one of the publicly available SWF de-compilation tools for such out there. It 
'worked' but realize that your MXML will not be recovered, only the AS code 
that exists behind it.  Frankly, from the perspective of re-doing a project, 
the AS source code wasn't that useful to me.  I ended up re-coding it from 
scratch. So, I'm not sure what you're trying to protect exactly but 
de-compilation isn't going deliver your Flex project to anyone, ready to be 
re-compiled.

Possibly someone might know otherwise, my experience with SWF de-compilation is 
limited.  Modules are another possible approach, where your code is loaded at 
run time and you have some sort of scheme to allow them to be downloaded to the 
shell application at runtime, based upon credentials.

Jeff


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Jeffry Houser
Sent: Monday, September 14, 2009 1:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Preventing SWF from dis-assembling




 You can't prevent it.  Isn't it daily that a new form of DRM is broken by some 
hacker?

 But, NitroLM has some tools to encrypt your swf files; and a special loader 
that will load up an encrypted swf and decrypt it for running.

 Such encryption in place makes it a lot harder to decompile the swf.

 I do not know of any alternative solutions to this. But, you're more than 
welcome to build your own.

Rohit Sharma wrote:



 I am not sure Nitrolm will help.

  I think I was not clear in mail. The problem is while we are hosting the 
application on our web server.
  Once the swf gets downloaded at client side, it can be disassembled.I want to 
prevent that.

On Mon, Sep 14, 2009 at 10:14 PM, Jeffry Houser 
j...@dot-com-it.commailto:j...@dot-com-it.com wrote:


 Nitrolm.com

Rohit Sharma wrote:


Hello All,

 We are working on a commercial application being built on Flex 3.0 
framework.
Recently we noticed that the swf can be easily dis-assembled and the code and 
the components can be retrieved.
Please suggest ways to prevent this or make it harder.
I have read that one way is obfuscation but that only makes the code hard 
to read.
So, I am not too keen about obfuscating the code.

Looking for replies.

Thanks,
Rohit


--

Jeffry Houser, Technical Entrepreneur

Adobe Community Expert: http://tinyurl.com/684b5h

http://www.twitter.com/reboog711  | Phone: 203-379-0773

--

Easy to use Interface Components for Flex Developers

http://www.flextras.com?c=104

--

http://www.theflexshow.com

http://www.jeffryhouser.com

--

Part of the DotComIt Brain Trust




--

Jeffry Houser, Technical Entrepreneur

Adobe Community Expert: http://tinyurl.com/684b5h

http://www.twitter.com/reboog711  | Phone: 203-379-0773

--

Easy to use Interface Components for Flex Developers

http://www.flextras.com?c=104

--

http://www.theflexshow.com

http://www.jeffryhouser.com

--

Part of the DotComIt Brain Trust






[flexcoders] Re: Custom Menu class with a Mask

2009-09-14 Thread valdhor
What you are trying to do is not just a simple change to a few items. This is a 
fairly major undertaking. You will have to extend the PopUpButton class. This 
class does not have a getMenuAt method to override so you will have to figure 
out a way to encapsulate the functionality you need. Also, PopUpButton does not 
have a menuShow event. You would need to listen for a DropdownEvent.


--- In flexcoders@yahoogroups.com, thinkblue146 thinkblue...@... wrote:

 Hello,
 
 I'm trying to create a menu that has rounded corners similar to the
 following example:
 
 http://blog.flexmonkeypatches.com/2007/10/08/flex-rounded-menues-using-m\
 asking/comment-page-1/
 ../../../Hello,%20%20I%20trying%20to%20create%20a%20menu%20that%20has%2\
 0rounded%20corners%20similar%20to%20the%20following%20example:%20%20http\
 ://blog.flexmonkeypatches.com/2007/10/08/flex-rounded-menues-using-maski\
 ng/comment-page-1/
 
 The only difference is that I'm showing the Menu with a PopUpButton.  So
 far this is what I have for my custom Menu:
 
 package {
 
  import flash.display.Sprite;
 
  import mx.controls.Menu;
  import mx.events.MenuEvent;
 
  public class MyMenu extends Menu {
 
  public function MyMenu() {
  super();
  addEventListener(menuShow, onMenuShow);
  }
 
  private function onMenuShow(e:MenuEvent):void {
  callLater(maskRoundedCorners,[e]);
  }
 
 
   private function maskRoundedCorners(e:MenuEvent):void {
 
  var menu:Menu = e.menu as Menu;
  menu.cacheAsBitmap=false;
 
  if (!menu.mask){
  var maskx:uint = menu.x;
  var masky:uint = menu.y;
  var maskw:uint = menu.getExplicitOrMeasuredWidth();
  var maskh:uint = menu.getExplicitOrMeasuredHeight();
  var rad:int = menu.getStyle(cornerRadius) * 2;
 
  var roundRect:Sprite = new Sprite();
  roundRect.graphics.beginFill(0xFF);
 
 roundRect.graphics.drawRoundRect(maskx,masky,maskw,maskh,rad);
  roundRect.graphics.endFill();
  menu.mask = roundRect;
  }
  }
  }
 }
 
 Can anyone help me out with what I'm missing...I'm not sure if i need to
 override any of the Menu classes functions.
 
 When I load my example the:
 
 addEventListener(menuShow, onMenuShow);
 
 gets fire but when i click the PopUpButton to show the menu the
 onMenuShow function is not being fired and the regular menu is being
 display with out the rounded corners.
 
 Any help on this is appreciated.
 
 Thank you,
 
 Blue





RE: [flexcoders] MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread Alex Harui
Try 3.4

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of reflexactions
Sent: Monday, September 14, 2009 4:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] MouseLeave won't fire if mouse is down when leaving the 
stage in IE8



Under IE8/FP10/Vista/FB3.2 MouseLeave fires immediately when the mouse leaves 
the stage when the mouse is up but it nevers fires at all if the mouse is 
down, even if subsequently released while off stage it won't fire.

What I have found is about 50% of the time when the mouse leaves the stage 
mouse move events will continue to fire, in that situation a mouse up will 
also fire when the button is eventually released.

The other 50% of the time the mouse move events stop the moment you leave the 
stage and in that situation there will be no mouse up or mouse leave. (this 
is then a real problem as you can release the mouse and move back on stage and 
it is still dragging)

I just can't get anything to reliably work under IE8/FP10 to stop dragging 
after the mouse leave the stage.

Anyone have a combination they KNOW works?



[flexcoders] how to remove extra space in datagrid header?

2009-09-14 Thread coder3

my advanceddatagrid has many columns, so space is limited. virtually, each
column has enough space for the headertext, but the text is trimmed because
the column reserved some extra white space.

for example, if the column text is name, the header shows:

| na...   |

instead of

| name  |

is there a way to remove those extra white space in the header?

thanks

C
-- 
View this message in context: 
http://www.nabble.com/how-to-remove-extra-space-in-datagrid-header--tp25440682p25440682.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread biosmonkey
I am having trouble understanding how to use deferred instantiation.

I have a project with a viewstack, and the viewstack has a lot of canvas 
containers for different pages that are activated according to user selection 
on a menubar.  Each page inside the canvas is actually one or two components.

The problem is that each of these components has some custom code attached to 
the creationComplete event that loads external string files. What I am seeing 
is that all containers and the components are initializing when the application 
loads, and all string files are being loaded, regardless of the current 
viewstack view.  This is creating a serious performance problem.

To test the child controls, I added some alerts inside the page components as 
well (such as a label) that are attached to creationComplete and addedToStage.  
Both events are firing when the app loads, for all viewstack containers.

I don't understand this.  What exactly is being deferred?

Do all components/child components/controls go through the initialization 
process and fire creationComplete, regardless of whether they are visible?

Can someone please enlighten me on how to use this correctly?








RE: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Jake Churchill
Yes, a viewstack loads everything when the app loads.  If you don't want
that, I think you need to use states instead

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of biosmonkey
Sent: Monday, September 14, 2009 1:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Don't understand how to use deferred instantiation

 

  

I am having trouble understanding how to use deferred instantiation.

I have a project with a viewstack, and the viewstack has a lot of canvas
containers for different pages that are activated according to user
selection on a menubar. Each page inside the canvas is actually one or two
components.

The problem is that each of these components has some custom code attached
to the creationComplete event that loads external string files. What I am
seeing is that all containers and the components are initializing when the
application loads, and all string files are being loaded, regardless of the
current viewstack view. This is creating a serious performance problem.

To test the child controls, I added some alerts inside the page components
as well (such as a label) that are attached to creationComplete and
addedToStage. Both events are firing when the app loads, for all viewstack
containers.

I don't understand this. What exactly is being deferred?

Do all components/child components/controls go through the initialization
process and fire creationComplete, regardless of whether they are visible?

Can someone please enlighten me on how to use this correctly?



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.96/2369 - Release Date: 09/14/09
05:51:00



Re: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Wesley Acheson
http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html

Have you tried setting the creation policy?  Jake It says on the above page
that viewStack defers child creation by default.

Regards,

Wesley Acheson

On Mon, Sep 14, 2009 at 9:17 PM, Jake Churchill j...@cfwebtools.com wrote:



  Yes, a viewstack loads everything when the app loads.  If you don’t want
 that, I think you need to use states instead



 Jake Churchill
 CF Webtools
 11204 Davenport, Ste. 100
 Omaha, NE  68154
 http://www.cfwebtools.com
 402-408-3733 x103

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *biosmonkey
 *Sent:* Monday, September 14, 2009 1:49 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Don't understand how to use deferred instantiation





 I am having trouble understanding how to use deferred instantiation.

 I have a project with a viewstack, and the viewstack has a lot of canvas
 containers for different pages that are activated according to user
 selection on a menubar. Each page inside the canvas is actually one or two
 components.

 The problem is that each of these components has some custom code attached
 to the creationComplete event that loads external string files. What I am
 seeing is that all containers and the components are initializing when the
 application loads, and all string files are being loaded, regardless of the
 current viewstack view. This is creating a serious performance problem.

 To test the child controls, I added some alerts inside the page
 components as well (such as a label) that are attached to creationComplete
 and addedToStage. Both events are firing when the app loads, for all
 viewstack containers.

 I don't understand this. What exactly is being deferred?

 Do all components/child components/controls go through the initialization
 process and fire creationComplete, regardless of whether they are visible?

 Can someone please enlighten me on how to use this correctly?

  No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.5.409 / Virus Database: 270.13.96/2369 - Release Date: 09/14/09
 05:51:00


 



[flexcoders] Color of MenuBar text

2009-09-14 Thread Wally Kolcz
How can you change the color of the text of the very top level of the MenuBar, 
but leave the submenus another color?

Here is my code:

mx:MenuBar width=100% x=0 y=0 fillAlphas=[1.0, 1.0] 
fillColors=[#0C3E82, #0C3E82] labelField=@label 
itemClick=menuClickHandler(event) fontWeight=bold
mx:XMLList
menuitem label=File
menuitem label=Open/
menuitem label=Import/
menuitem label=Load /
menuitem label=Save/
/menuitem 

 menuitem label=Help
 menuitem label=FAQ /
 menuitem label=Videos
 menuitem label=Sync Databases /  
/menuitem
/mx:XMLList
/mx:MenuBar

I want the top level (File and Help) to be yellow, but the submenu to be black.

Thanks



[flexcoders] using curve, drawPolyLine throws error.. any suggestions

2009-09-14 Thread djhatrick
love when classes are sealed, how do i debug?
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine 


TypeError: Error #1010: A term is undefined and has no properties.
at 
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\GraphicsUtilities.as:305]
at 
mx.charts.renderers::AreaRenderer/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\renderers\AreaRenderer.as:153]
at 
mx.skins::ProgrammaticSkin/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
at 
mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:695]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]
at 
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]




[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread flexaustin
Great a little closer. I noticed weird things were happening with myF and 
myfile.

So how do you say not this:  ^medium$|^tiny$ -- meaning if I do the following, 
it comes back as valid if I type in medium or tiny, but I need it to come 
back invalid.  So with the following if I type sdkfldf it shows as invalid as 
it doesn't match and if I type tiny is shows as valid as it matches.:

mx:RegExpValidator id=reservedNamesValidator 
source={nameOfFileInput} 
property=text 
expression=^medium$|^tiny$
flags=i
noMatchError={nameOfFileInput.text + ' is a reseverd name'}
trigger={saveButton}
triggerEvent=click
/

I want to say 



[flexcoders] Re: Using RSLs in an actionscript only project

2009-09-14 Thread joshonemail

Thanks Darrell and Alex,

after I read Alex's post I realized that I was using some of the TLF classes in 
the first frame.  I moved them into the second frame, and it still includes 
them.

Now I just re-read Darrell's post and am wondering if you meant literally the 
last frame?  I have 4 frames, can I only use the RSL classes on the 4th frame? 
Or were you just assuming a 2 frame movie?

Currently I am using the classes on the 2nd frame (which is what I would like 
to do ideally).

If I compile using ANT should I be sure to override something that is set in 
the flex-config.xml?  Here is the latest compile script that I have been trying 
unsuccessfully:

target name=compile
 exec executable=${MXMLC_EXE} dir=${basedir} failonerror=true
  arg line='${SRC_DIR}\**.as'  /
  arg line=-o '${DEPLOY_DIR}\**.swf'  /
  arg 
line=-runtime-shared-library-path='${FLEX_HOME}\frameworks\libs\textLayout.swc','http://fpdownload.adobe.com/pub/swz/flex/4.0.0.7219/textLayout_427.swz'
  /
  arg 
line=-external-library-path='${FLEX_HOME}\frameworks\libs\textLayout.swc'  /
  arg line=-static-link-runtime-shared-libraries=false /
  !-- arg line=-debug  / --
  /exec
/target

I have tried commenting out the -external-library-path option and alternatively 
the runtime-shared-library-path option. 

Thanks again,

Josh


--- In flexcoders@yahoogroups.com, darrell_loverin darrell_love...@... 
wrote:

 Only classes in the last frame can be externalized.
 
 
 -Darrell
 




RE: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Alex Harui
By default, Viewstack creates all of its children, but those children do not 
create their children unless they are the selectedChild.  You can hook up to 
the creationComplete of one of those grandchildren.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Wesley Acheson
Sent: Monday, September 14, 2009 1:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Don't understand how to use deferred instantiation



http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html

Have you tried setting the creation policy?  Jake It says on the above page 
that viewStack defers child creation by default.

Regards,

Wesley Acheson
On Mon, Sep 14, 2009 at 9:17 PM, Jake Churchill 
j...@cfwebtools.commailto:j...@cfwebtools.com wrote:


Yes, a viewstack loads everything when the app loads.  If you don't want that, 
I think you need to use states instead



Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of biosmonkey
Sent: Monday, September 14, 2009 1:49 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] Don't understand how to use deferred instantiation





I am having trouble understanding how to use deferred instantiation.

I have a project with a viewstack, and the viewstack has a lot of canvas 
containers for different pages that are activated according to user selection 
on a menubar. Each page inside the canvas is actually one or two components.

The problem is that each of these components has some custom code attached to 
the creationComplete event that loads external string files. What I am seeing 
is that all containers and the components are initializing when the application 
loads, and all string files are being loaded, regardless of the current 
viewstack view. This is creating a serious performance problem.

To test the child controls, I added some alerts inside the page components as 
well (such as a label) that are attached to creationComplete and addedToStage. 
Both events are firing when the app loads, for all viewstack containers.

I don't understand this. What exactly is being deferred?

Do all components/child components/controls go through the initialization 
process and fire creationComplete, regardless of whether they are visible?

Can someone please enlighten me on how to use this correctly?

No virus found in this incoming message.
Checked by AVG - www.avg.comhttp://www.avg.com
Version: 8.5.409 / Virus Database: 270.13.96/2369 - Release Date: 09/14/09 
05:51:00





RE: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Jake Churchill
Yeah, I always forget that you can change this.  I think I meant the other
way around.  ViewStacks wait on everything, but other components (like
Navigators) load everything up front.  I think some of them extend the
ViewStack don't they?  Anyway, good information.  Thanks for pointing out my
backwards logic J

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Wesley Acheson
Sent: Monday, September 14, 2009 3:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Don't understand how to use deferred instantiation

 

  

http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05
.html

Have you tried setting the creation policy?  Jake It says on the above page
that viewStack defers child creation by default.

Regards,

Wesley Acheson

On Mon, Sep 14, 2009 at 9:17 PM, Jake Churchill j...@cfwebtools.com wrote:

 

Yes, a viewstack loads everything when the app loads.  If you don't want
that, I think you need to use states instead

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of biosmonkey
Sent: Monday, September 14, 2009 1:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Don't understand how to use deferred instantiation

 

  

I am having trouble understanding how to use deferred instantiation.

I have a project with a viewstack, and the viewstack has a lot of canvas
containers for different pages that are activated according to user
selection on a menubar. Each page inside the canvas is actually one or two
components.

The problem is that each of these components has some custom code attached
to the creationComplete event that loads external string files. What I am
seeing is that all containers and the components are initializing when the
application loads, and all string files are being loaded, regardless of the
current viewstack view. This is creating a serious performance problem.

To test the child controls, I added some alerts inside the page components
as well (such as a label) that are attached to creationComplete and
addedToStage. Both events are firing when the app loads, for all viewstack
containers.

I don't understand this. What exactly is being deferred?

Do all components/child components/controls go through the initialization
process and fire creationComplete, regardless of whether they are visible?

Can someone please enlighten me on how to use this correctly?

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.96/2369 - Release Date: 09/14/09
05:51:00

 

 



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.96/2369 - Release Date: 09/14/09
05:51:00



RE: [flexcoders] using curve, drawPolyLine throws error.. any suggestions

2009-09-14 Thread Alex Harui
Technically, sealed means not dynamic.  Almost all Flex classes are sealed. 
 Your pain is that source isn't available for everything.  That's always going 
to be true somewhere since not everything will be opensource.

Anyway, see if the debugger will show you the parameters to drawPolyLine.  It 
looks like it ran points to draw before it thought it should.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of djhatrick
Sent: Monday, September 14, 2009 1:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] using curve, drawPolyLine throws error.. any suggestions



love when classes are sealed, how do i debug?
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine

TypeError: Error #1010: A term is undefined and has no properties.
at 
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\GraphicsUtilities.as:305]
at 
mx.charts.renderers::AreaRenderer/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\renderers\AreaRenderer.as:153]
at 
mx.skins::ProgrammaticSkin/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
at 
mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:695]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]
at 
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]



[flexcoders] Re: MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread reflexactions
Tried but no difference...
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Try 3.4
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of reflexactions
 Sent: Monday, September 14, 2009 4:58 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] MouseLeave won't fire if mouse is down when leaving the 
 stage in IE8
 
 
 
 Under IE8/FP10/Vista/FB3.2 MouseLeave fires immediately when the mouse leaves 
 the stage when the mouse is up but it nevers fires at all if the mouse is 
 down, even if subsequently released while off stage it won't fire.
 
 What I have found is about 50% of the time when the mouse leaves the stage 
 mouse move events will continue to fire, in that situation a mouse up 
 will also fire when the button is eventually released.
 
 The other 50% of the time the mouse move events stop the moment you leave 
 the stage and in that situation there will be no mouse up or mouse leave. 
 (this is then a real problem as you can release the mouse and move back on 
 stage and it is still dragging)
 
 I just can't get anything to reliably work under IE8/FP10 to stop dragging 
 after the mouse leave the stage.
 
 Anyone have a combination they KNOW works?





Re: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Jeffry Houser


That's not true.  It only loads everything when the app loads if 
creationPolicy is set to all . ( 
http://livedocs.adobe.com/flex/3/langref/mx/core/Container.html#creationPolicy 
).


I suggest that the original poster check the creationPolicy for his 
viewStack.  If none is set, move up the component chain to the main 
application file.  Most likely someone somewhere set it to All ( 
|ContainerCreationPolicy.ALL ).  |


Jake Churchill wrote:
 

Yes, a viewstack loads everything when the app loads.  If you don't 
want that, I think you need to use states instead


 


Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
*On Behalf Of *biosmonkey

*Sent:* Monday, September 14, 2009 1:49 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Don't understand how to use deferred instantiation

 

 


I am having trouble understanding how to use deferred instantiation.

I have a project with a viewstack, and the viewstack has a lot of 
canvas containers for different pages that are activated according 
to user selection on a menubar. Each page inside the canvas is 
actually one or two components.


The problem is that each of these components has some custom code 
attached to the creationComplete event that loads external string 
files. What I am seeing is that all containers and the components are 
initializing when the application loads, and all string files are 
being loaded, regardless of the current viewstack view. This is 
creating a serious performance problem.


To test the child controls, I added some alerts inside the page 
components as well (such as a label) that are attached to 
creationComplete and addedToStage. Both events are firing when the app 
loads, for all viewstack containers.


I don't understand this. What exactly is being deferred?

Do all components/child components/controls go through the 
initialization process and fire creationComplete, regardless of 
whether they are visible?


Can someone please enlighten me on how to use this correctly?

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.96/2369 - Release Date: 
09/14/09 05:51:00





--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



[flexcoders] Hover Event over Text

2009-09-14 Thread stldvd
Hi All,

Is there some way in Flex to have an event fire when the cursor hovers over a 
hyperlink?

I don't want to use the TextEvent because that is only relevant to the click 
event. I need to make something happen when the mouse just hovers over text.

Thanks in advance...

David



[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread joss
try looking at this site. as well as looking at lookahead and look behind you 
may want to look at word boundaries and negation.
http://www.regular-expressions.info/lookaround.html

Your problem is that you need to match anything valid that is NOT either of big 
or small (ignoring case) because the validator gives a message on no match. 
it would be easier for you if the error was on match. 

so you either change your expression to match anything but those two words- 
although that will not guarantee it is a valid filename unless you add more 
conditions. Or you could abandon the validator altogther and do your own 
validation which gives an error IF you find those words on their own- probably 
much easier. 


  


[flexcoders] Re: Cairngorm Parallel Commands

2009-09-14 Thread Ryan Kruse
Looks like flex is in the clear.  The events are in fact firing.  My Jetty 6
server isn't handling the async requests though :(.

-Ryan

On Mon, Sep 14, 2009 at 1:07 AM, manuraj.dha...@gmail.com wrote:

 Looking at your posted code, I can't see any issue with the firing of the
 event.
 It would be great if you can post a piece of your code.

 BTW, If you are using same event with two different types, checkout the
 actual string that you are using to define type. Most of the times we just
 copy/paste the code and that causes this kinda issues.

 Regards,
 Manu.

 Ryan Kruse wrote:
 
  I posted this on the adobe forums but this list appears much more active
  so I'll try here.
 
  I'm using Cairngorm and I am trying to execute a set of commands in
  parallel.  One command doesn't depend on the completion of another so
 they
  don't fit the SequenceCommand idea.  Basically I create two events inside
  a function and dispatch them one after another (see code below).  I only
  see one event fire.  If I comment out the first one then the second one
  fires so I know my controller is setup fine, but I can never get them
 both
  to fire.
 
  Any ideas?
  -Ryan
 
 
var event1:MyFirstEvent = new MyFirstEvent();
event1.dispatch();
 
var event2:MySecondEvent = new MySecondEvent();
event2.dispatch();
 
 
 
 
 Quoted from:
 http://www.nabble.com/Cairngorm-Parallel-Commands-tp25419834p25419834.html




[flexcoders] HTML in text control

2009-09-14 Thread janjohannes...@rocketmail.com
I have made two applications:
1. Stores text in a MySQL database. I use RichTextEditor to make the text, and 
then stores the text in the database vith all the HTML tags. 
2. The other application is a private homepage that loads the text from the 
database. I use mx:text controls to display the text.

When I bind the receiving input variable from the database to the text control 
using the text-property, the text control fills up nicely... but with 
html-coded text. When I bind the input variable from the database to the Text 
control using the htmlText-property, the text control is empty... or no visable 
text.
I have tried using both mx-tags and actionscript, but with the same result. 

Have anybody a clue how to resolve this issue?

Here are my text control:
mx:Text id=dreamText
width=100% height=100% 
htmlText={FinalText} 
/mx:Text

Thanks
  



[flexcoders] Combobox in DataGrid

2009-09-14 Thread kumarmenon

Hi 

Is there anyway i can show a DataGrid cell with Combobox with arrow shown all 
the time..Currently the way i have it setup is as following. And it does not 
show the Combobox..

mx:DataGridColumn id=xxx
   headerText=xxx

   dataField=xxx
   editorDataField=xxx
 
itemEditor=com.travelers.pi.ria.controls.MyComboBox
/mx:DataGridColumn



[flexcoders] Re: Combobox in DataGrid

2009-09-14 Thread turbo_vb
Instead of itemEditor use itemRenderer and set rendererIsEditor=true on the 
DataGridColumn.

-TH

--- In flexcoders@yahoogroups.com, kumarmenon kumarme...@... wrote:

 
 Hi 
 
 Is there anyway i can show a DataGrid cell with Combobox with arrow shown all 
 the time..Currently the way i have it setup is as following. And it does not 
 show the Combobox..
 
 mx:DataGridColumn id=xxx
  headerText=xxx
 
  dataField=xxx
  editorDataField=xxx

 itemEditor=com.travelers.pi.ria.controls.MyComboBox
 /mx:DataGridColumn




RE: [flexcoders] Hover Event over Text

2009-09-14 Thread Gordon Smith
With TextField-based text in MX components, I don't think this is easy. You'd 
probably have to use mouseMove to track the mouse within a TextField and 
low-level TextFIeld APIs to discover what range of characters the mouse is over.

With TLF in Spark components, I think it is easier because a hyperlink is 
represented by a LinkElement instance, and it dispatches rollOver and rollOut 
events.

 - Gordon

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of stldvd
Sent: Monday, September 14, 2009 1:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Hover Event over Text



Hi All,

Is there some way in Flex to have an event fire when the cursor hovers over a 
hyperlink?

I don't want to use the TextEvent because that is only relevant to the click 
event. I need to make something happen when the mouse just hovers over text.

Thanks in advance...

David



RE: [flexcoders] HTML in text control

2009-09-14 Thread Gordon Smith
When you inspect dreamText.htmlText and dreamText.text, are they what you 
expect or are they empty Strings?

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of janjohannes...@rocketmail.com
Sent: Monday, September 14, 2009 10:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTML in text control



I have made two applications:
1. Stores text in a MySQL database. I use RichTextEditor to make the text, and 
then stores the text in the database vith all the HTML tags.
2. The other application is a private homepage that loads the text from the 
database. I use mx:text controls to display the text.

When I bind the receiving input variable from the database to the text control 
using the text-property, the text control fills up nicely... but with 
html-coded text. When I bind the input variable from the database to the Text 
control using the htmlText-property, the text control is empty... or no visable 
text.
I have tried using both mx-tags and actionscript, but with the same result.

Have anybody a clue how to resolve this issue?

Here are my text control:
mx:Text id=dreamText
width=100% height=100%
htmlText={FinalText} 
/mx:Text

Thanks




[flexcoders] anonymous access to bugs.adobe.com gone?

2009-09-14 Thread Sam Lai
I can't seem to access bugs.adobe.com without signing up for an
account anymore. I used to be able to browse and search for bugs, but
now all I'm getting is a login required message.

There is still a message in there that says I should be able to search
without registration, so I hope this is a temporary configuration
fault.

Can anyone else access it without logging in?


[flexcoders] Re: Using RSLs in an actionscript only project

2009-09-14 Thread joshonemail
I moved all references to the textLayout Framework (TLF) to the last frame, and 
now it compiles without the TLF files included.  I seem to successfully 
download the RSL swz from Adobe. Some success!

Now I am faced with two questions:

1) I daisy chain frames using the [Frame] metatag - the document class is the 
class loaded on the first frame. I want the main application class to be the 
class on the second frame, because I want it to have immediate access to stage 
etc. I can work around this - but how can I do it properly?  I looked at the 
Flex code a bit - it uses SystemManager and has some references to the 
Application class.  What is the minimum that I would need to do to make the 
second frame the main application class?

2) In order to exclude the swc from the compiler I had to refer to the classes 
on the last frame and not before (is this right - it seems to be the case and 
Darrell stated this).  I like the streaming frame based structure for 
continuing to download assets and classes as opposed to making further http 
requests.  Is it possible to use a different method to append more frames to 
the main timeline?

Thanks again,

Josh




[flexcoders] Re: Don't understand how to use deferred instantiation

2009-09-14 Thread biosmonkey
I am aware of the creationPolicy property, and it is not set anywhere in the 
application.

As a test, I also created a small test project with a tab navigator with 
canvases, and with a label inside them.  When tracing the preinit, init, and 
creationcomplete events, only the initial tab fires creationComplete as I would 
expect.

Doing the same in my application results in all components firing their 
creationComplete, which loads many, many files.

I cannot figure this out.  Something is making all components instantiate, and 
it is not the policy setting.

Does anyone know of any other reason that would force a nav container to 
instantiate all children?  Bindings?  State change? anything???





--- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote:

 
  That's not true.  It only loads everything when the app loads if 
 creationPolicy is set to all . ( 
 http://livedocs.adobe.com/flex/3/langref/mx/core/Container.html#creationPolicy
  
 ).
 
  I suggest that the original poster check the creationPolicy for his 
 viewStack.  If none is set, move up the component chain to the main 
 application file.  Most likely someone somewhere set it to All ( 
 |ContainerCreationPolicy.ALL ).  |
 
 Jake Churchill wrote:
   
 
  Yes, a viewstack loads everything when the app loads.  If you don't 
  want that, I think you need to use states instead
 
   
 
  Jake Churchill
  CF Webtools
  11204 Davenport, Ste. 100
  Omaha, NE  68154
  http://www.cfwebtools.com http://www.cfwebtools.com
  402-408-3733 x103
 
  *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
  *On Behalf Of *biosmonkey
  *Sent:* Monday, September 14, 2009 1:49 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Don't understand how to use deferred instantiation
 
   
 
   
 
  I am having trouble understanding how to use deferred instantiation.
 
  I have a project with a viewstack, and the viewstack has a lot of 
  canvas containers for different pages that are activated according 
  to user selection on a menubar. Each page inside the canvas is 
  actually one or two components.
 
  The problem is that each of these components has some custom code 
  attached to the creationComplete event that loads external string 
  files. What I am seeing is that all containers and the components are 
  initializing when the application loads, and all string files are 
  being loaded, regardless of the current viewstack view. This is 
  creating a serious performance problem.
 
  To test the child controls, I added some alerts inside the page 
  components as well (such as a label) that are attached to 
  creationComplete and addedToStage. Both events are firing when the app 
  loads, for all viewstack containers.
 
  I don't understand this. What exactly is being deferred?
 
  Do all components/child components/controls go through the 
  initialization process and fire creationComplete, regardless of 
  whether they are visible?
 
  Can someone please enlighten me on how to use this correctly?
 
  No virus found in this incoming message.
  Checked by AVG - www.avg.com
  Version: 8.5.409 / Virus Database: 270.13.96/2369 - Release Date: 
  09/14/09 05:51:00
 
  
 
 -- 
 Jeffry Houser, Technical Entrepreneur
 Adobe Community Expert: http://tinyurl.com/684b5h
 http://www.twitter.com/reboog711  | Phone: 203-379-0773
 --
 Easy to use Interface Components for Flex Developers
 http://www.flextras.com?c=104
 --
 http://www.theflexshow.com
 http://www.jeffryhouser.com
 --
 Part of the DotComIt Brain Trust





[flexcoders] Playing other file formats in flash video player

2009-09-14 Thread Wally Kolcz
Is there any way to dynamically change and player other video formats (other 
than .flv) in the flash video player?

If my users upload other video formats (since I doubt they'll convert them 
first) I would like to still show them in my flex appliction/site.

Are there other video formats that can play in the flash video player or is 
there a code/server way to convert them?

Thanks!




[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread flexaustin
Thanks, I rolled my own.

--- In flexcoders@yahoogroups.com, joss jossmin...@... wrote:

 try looking at this site. as well as looking at lookahead and look behind you 
 may want to look at word boundaries and negation.
 http://www.regular-expressions.info/lookaround.html
 
 Your problem is that you need to match anything valid that is NOT either of 
 big or small (ignoring case) because the validator gives a message on no 
 match. it would be easier for you if the error was on match. 
 
 so you either change your expression to match anything but those two words- 
 although that will not guarantee it is a valid filename unless you add more 
 conditions. Or you could abandon the validator altogther and do your own 
 validation which gives an error IF you find those words on their own- 
 probably much easier.





Re: [flexcoders] anonymous access to bugs.adobe.com gone?

2009-09-14 Thread Matt Chotin
This is temporary as we've been trying to diagnose some of the  
significant slowdowns we've been seeing on the bug system.  As we  
resolve the performance issues we'll try to get all the functionality  
back.

Matt

On Sep 14, 2009, at 5:26 PM, Sam Lai wrote:

 I can't seem to access bugs.adobe.com without signing up for an
 account anymore. I used to be able to browse and search for bugs, but
 now all I'm getting is a login required message.

 There is still a message in there that says I should be able to search
 without registration, so I hope this is a temporary configuration
 fault.

 Can anyone else access it without logging in?
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

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