RE: [flexcoders] Function from string?

2013-11-07 Thread Keith Reinfeld
, Keith Reinfeld

RE: [flexcoders] Function from string?

2013-11-06 Thread Keith Reinfeld
Perhaps the following syntax will help: var func:String = yourFunctionName; this[func](); Regards, Keith Reinfeld From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of A. P. Damien Sent: Tuesday, November 05, 2013 10:48 AM To: flexcoders

RE: [flexcoders] Loading Images into a loaded SWF

2010-08-24 Thread Keith Reinfeld
Once your SWF is loaded the path is relative to your Air app. Place a copy of your media folder and its contents accordingly. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net

RE: [flexcoders] Basic question about copying bitmap Data to a display object.

2010-08-20 Thread Keith Reinfeld
matrix=new Matrix() matrix.scale(img.width/_bitmap.width) img.graphics.clear() img.graphics.beginBitmapFill(_bitmap,matrix,false,false) img.graphics.drawRect(0,0,img.width,400) img.graphics.endFill Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http

RE: [flexcoders] How to remove some a string till a particular character

2010-08-15 Thread Keith Reinfeld
var result:String = myString.substr(myString.lastIndexOf('/')+1); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Sunday

RE: [flexcoders] How to split a String on spaces but including Quoted Phrases?

2010-07-29 Thread Keith Reinfeld
(); } } } return a; } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] TimeZone issue

2010-07-01 Thread Keith Reinfeld
, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net

RE: [flexcoders] Trim from the left till it finds the last '/'

2010-03-22 Thread Keith Reinfeld
var Filename:String = urlStr.substr(urlStr.lastIndexOf(/), urlStr.length); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent

RE: [flexcoders] Trim from the left till it finds the last '/'

2010-03-22 Thread Keith Reinfeld
One minor correction: var filename:String = urlStr2.substr(urlStr2.lastIndexOf(/)+1, urlStr2.length); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Make a Timer's first timeout event immediate

2010-03-21 Thread Keith Reinfeld
){ e.currentTarget.removeEventListener(TimerEvent.TIMER, onTimer2); } } function executeOnTimer(s:String):void{ trace(executeOnTimer() called::, s); // do stuff } HTH Regards, Keith Reinfeld Home Page: http

RE: [flexcoders] Re: Changing the speed of sound?

2010-02-25 Thread Keith Reinfeld
SampleDataEvent Here is an example: http://www.kelvinluck.com/tag/sourcecode/ HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Comparing Dates: ObjectUtil.dateCompare not working

2009-11-17 Thread Keith Reinfeld
of the supplied date string and ignores/strips off the time portion of the date. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of powers Sent

RE: [flexcoders] Comparing Dates: ObjectUtil.dateCompare not working

2009-11-17 Thread Keith Reinfeld
= dateStr.split(-).join(/); var doomsDay:Date = new Date(dateStr); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of powers Sent: Tuesday, November 17

RE: [flexcoders] Text lines

2009-10-01 Thread Keith Reinfeld
Have you looked at the TextField methods? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of cuttenv Sent: Thursday, October 01, 2009 5:47 PM

RE: [flexcoders] Actionscript error : RangeError: Index '2' specified is out of bounds.

2009-09-28 Thread Keith Reinfeld
Because 1 will always be less than attendeelist.length so i just keeps going up. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of kpjj31

RE: [flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread Keith Reinfeld
This works well: var _trackData:XML = track item uniqueTrackId=100 albumId=12 trackId=1 genreId=13 artistId=6584/ item uniqueTrackId=101 albumId=13 trackId=2 genreId=14 artistId=6580/ item uniqueTrackId=102 albumId=14 trackId=3 genreId=15 artistId=6584/ item

RE: [flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread Keith Reinfeld
That comment should read: // Returns all node elements with the named attribute that equals value. - Keith From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Keith Reinfeld Sent: Monday, August 17, 2009 1:15 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] variables name are in array

2009-07-21 Thread Keith Reinfeld
Because arrName.length == 0, perhaps? Try: for(var i:int = 0; arrValue.length; i++) { arrName[i] = arrValue[i]; } Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com

RE: [flexcoders] how do I set the default value for an array in a function definition?

2009-06-24 Thread Keith Reinfeld
myArray:Array = null Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Wednesday, June 24, 2009 3:41 PM To:

RE: [flexcoders] Display Server Time

2009-06-18 Thread Keith Reinfeld
displayTime = startTime_Server + (currentTime_Client - startTime_Client); Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of yogesh patel Sent:

RE: [flexcoders] How to detect when word wrap has occurred?

2009-05-15 Thread Keith Reinfeld
Rohit, Have you looked at the AS3 TextField numLines property and the TextField getLineText(index) method? Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

RE: [flexcoders] Hint text input?

2009-02-25 Thread Keith Reinfeld
Try searching on 'Input Prompt' Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Osman Ullah Sent: Wednesday, February 25, 2009 9:57 AM To:

RE: [flexcoders] Re: Resizing Images.

2009-01-02 Thread Keith Reinfeld
Not sure what I am looking at... Is the 'good image' the original or a successful manipulation? If you are scaling up from a smaller image then you are almost sure to get 'jaggies', especially on diagonal lines. Smoothing can help to minimize jaggies but can't be relied upon to completely

RE: [flexcoders] mailto from textarea in AIR application - line breaks fail in windows

2008-12-22 Thread Keith Reinfeld
Have you tried: escape(body) ? Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of cedar.rabbit Sent: Monday, December 22, 2008 11:56 AM To:

RE: [flexcoders] Change Timezone

2008-12-11 Thread Keith Reinfeld
Of Keith Reinfeld Sent: Wednesday, December 10, 2008 1:07 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Change Timezone Pratik, I would like to know if there is any way to dynamically change the timezone in flex. Not literally, no. Say suppose we have local time and few check

RE: [flexcoders] Change Timezone

2008-12-09 Thread Keith Reinfeld
Pratik, I would like to know if there is any way to dynamically change the timezone in flex. Not literally, no. Say suppose we have local time and few check boxes to see time in other timezones. When you check and uncheck the check box the time changes according to the selected

RE: [flexcoders] Flex TextArea Limited by number of lines.

2008-12-04 Thread Keith Reinfeld
My approach is to simply reject any change that would exceed the maxLines setting. The following is presented sans the requisite class structure. Create a component that extends TextArea, then: var tf:TextField = TextField(this.textField); var maxLines:uint = 5; // however many lines

RE: [flexcoders] Flex TextArea Limited by number of lines.

2008-12-03 Thread Keith Reinfeld
Yup, same poster. Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, December 03, 2008 2:34 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: TextFormat being reset?

2008-11-18 Thread Keith Reinfeld
What TextField? Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tchredeemed Sent: Tuesday, November 18, 2008 8:17 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] textArea's that are limited by the amount of lines

2008-11-07 Thread Keith Reinfeld
tchredeemed, The custom component extending TextArea is a great idea. Just get rid of the Boolean and the key events. Use the change event with the function I posted in the original thread and handle everything within the custom component. Regards, -Keith

RE: [flexcoders] Re: SWFLoader: access its contents right away

2008-11-03 Thread Keith Reinfeld
You didn't see that one come through either, did you? It's a gmail thing. You won't receive you own posts. Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Flex htmlText component

2008-10-31 Thread Keith Reinfeld
Give mx:Text condenseWhite=true a try. Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brucewhealton Sent: Friday, October 31, 2008 4:46 AM To:

RE: [flexcoders] Re: textArea.setFocus();

2008-10-30 Thread Keith Reinfeld
Should it not put the cursor into the textArea and have the 10th through 20th characters selected? Even if you select a range of text with the mouse you will not see the blinking insertion cursor in the textarea. What matters is that your app has focus so that it can receive keyboard

RE: [flexcoders] textArea.setFocus();

2008-10-29 Thread Keith Reinfeld
Your application has to get focus before this will work. Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tchredeemed Sent: Wednesday, October 29, 2008 9:30 AM

RE: [flexcoders] reading problem from local shared object

2008-10-21 Thread Keith Reinfeld
Gökhan, I hope this helps: Read.as private var myLSO:SharedObject; private var p_name:String; myLSO=SharedObject.getLocal(parameterCookie); // Was myLSO created? if (myLSO==null) { // myLSO was not created Alert.show(cannot create shared object ); }else{ //

RE: [flexcoders] can't make Zoom+Rotate work in Parallel

2008-08-21 Thread Keith Reinfeld
Jason, This is a common problem in Flash as well. The solution is to nest the object you want to scale within a parent object which you then rotate. Try this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute