RE: [Flashcoders] External text from XML file including superscriptanditalic

2005-11-15 Thread Keith Reinfeld
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: Tuesday, November 15, 2005 1:12 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] External text from XML file including superscriptanditalic Paul, In your XML document: (Watch the wrap.) someTag

RE: [Flashcoders] targeting duplicateMovieClip

2005-12-08 Thread Keith Reinfeld
What is this 'setupDrag()' you speak of? -Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dominic Fee Sent: Thursday, December 08, 2005 9:26 AM To: 'Flashcoders mailing list' Subject: [Flashcoders] targeting duplicateMovieClip Hi guys im having

RE: [Flashcoders] changing reference of sounds to _parent clip

2006-02-01 Thread Keith Reinfeld
MaTT, You wouldn't 'move' the reference to the sounds but you can get at them in order to control them. You could use a for...in loop to access the sound objects. code (in parent swf) var sndRefArr:Array = Array(); function sndInTarget(mc:MovieClip){ //where mc is the child swf

RE: [Flashcoders] Counter in function assigned inside a for loop

2006-03-31 Thread Keith Reinfeld
Ryan, Absolutely. That's how I've handled things on my homepage. The answer I suggested to Alex was an effort to stay on point with regard to his question. I would also recommend that he set up named functions outside his buttonBehavior function. It may not be necessary for his current

RE: [Flashcoders] crazy spacing issue -- was (no subject)

2006-04-13 Thread Keith Reinfeld
Hi, The 'crazy spacing issue' is due to how you are setting the movePos variable in the checkState function. var movePos = menu[clip+j]._x + (cliptoMove._width/2); The problem here (when you scrub the mouse) is that you are grabbing the clip's _x in mid-animation. I

RE: [Flashcoders] crazy spacing issue -- was (no subject)

2006-04-14 Thread Keith Reinfeld
: [Flashcoders] crazy spacing issue -- was (no subject) I didn't even see this reply, gmail didn't associate it due to the RE; seems I replied for no reason! On 4/13/06, Keith Reinfeld [EMAIL PROTECTED] wrote: Hi, The 'crazy spacing issue' is due to how you are setting the movePos variable

RE: [Flashcoders] Zoom effect

2006-04-20 Thread Keith Reinfeld
Have a look at my 'Dynamic Zoom' piece and see if it is what you are looking for (URL below). Click 'Gallery' then select 'Dynamic Zoom' from the 'Effects' menu. -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders] Zoom effect

2006-04-20 Thread Keith Reinfeld
Contact me offlist. [EMAIL PROTECTED] -Keith http://home.mn.rr.com/keithreinfeld ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] ' and from xml weirdness

2006-05-03 Thread Keith Reinfeld
Moca, What font are you using? Is it a common font or one you might need to embed? Is your TextField set to html = true? Are you using the TextField.htmlText property? In the XML file are you using the CDATA tag in the text node? item![CDATA[This is Keith#039;s #034;favorite#034;

RE: [Flashcoders] Timeout from Flash page

2006-05-25 Thread Keith Reinfeld
Randy, Someone posted a similar question awhile back. I decided to write this IdleTimeout class (as an exercise) to see what I could figure out. Do some testing before using it with your app. I would greatly appreciate any feedback that you or any other interested party cares to provide.

RE: [Flashcoders] duplicateMovie / setInterval problem

2006-07-02 Thread Keith Reinfeld
You need to dispense with the for loop (which creates all your duplicates in one shot) and use setInterval to call a function instead (dupMC() below.) I've made some other changes (commented) to help get you closer to your goal. code var ln:Number = 30; var spacer:Number = 0; var listeMC =

RE: [Flashcoders] setInterval and loadMovie

2006-07-09 Thread Keith Reinfeld
Use clearInterval(reStartSlides); when you want the interval to stop. -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Flash Mel Sent: Sunday, July 09, 2006 10:04 PM To: Flashcoders mailing list Subject:

RE: [Flashcoders] BitmapData manipulation. Mirror effect.

2006-07-10 Thread Keith Reinfeld
Claudia, Give this a try: (watch the wrap) import flash.display.BitmapData; import flash.geom.Matrix; import flash.geom.Rectangle; import flash.geom.Point; //set a reference to your original MovieClip var source_mc:MovieClip = originalMovieClip; this.createEmptyMovieClip(mirror_mc,

RE: [Flashcoders] [:::] appending html to a var for displaynot workingand code not runnign as expected.

2006-08-15 Thread Keith Reinfeld
but if you look I am testing if they are NOT equal to those things.. as in if the results are not null/undefined or ... then write out the links with the returned data. So then they would write proper html links. Just in case André Goliath's case is not completely made: function

RE: [Flashcoders] Hex colors function?

2006-08-22 Thread Keith Reinfeld
Jason, I've no idea whether you have already considered this but: function rgbToHex(clr:Number):String{ var clrTrans:ColorTransform = new ColorTransform(); clrTrans.rgb = clr; return (0x + clrTrans.rgb.toString(16)); }

RE: [Flashcoders] Tween Class with Set Interval deletion

2006-09-07 Thread Keith Reinfeld
myTimeTween.stop(); -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Thursday, September 07, 2006 9:54 AM To: Flashcoders mailing list Subject: [Flashcoders] Tween Class with Set Interval

RE: [Flashcoders] Tween Class with Set Interval deletion

2006-09-07 Thread Keith Reinfeld
I did. Anyways, Thanks for the tip it works great! On 9/7/06, Keith Reinfeld [EMAIL PROTECTED] wrote: myTimeTween.stop(); -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Thursday

RE: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Keith Reinfeld
This maybe the component you are referring to: http://home.tiscali.nl/~erikwe/component/TextFieldExtension.mxp HTH, -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Volmaro Sent: Tuesday,

RE: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Keith Reinfeld
in a textarea that doesnt look like it does anything with inline images, that is a pretty cool component. On 9/12/06, Keith Reinfeld [EMAIL PROTECTED] wrote: This maybe the component you are referring to: http://home.tiscali.nl/~erikwe/component/TextFieldExtension.mxp HTH, -Keith http

RE: [Flashcoders] Turn off all the tabs in a file

2006-10-10 Thread Keith Reinfeld
Josh, This will turn off all tabbing within the scope you pass in. I'll have to think about how to apply it across multiple frames in order to disable tabbing for an entire file. function disableTabbing(scope){ for(prop in scope){ trace(\nprop = +prop);

RE: [Flashcoders] Center align a multiline textfield?

2006-10-11 Thread Keith Reinfeld
Blake, Did you try using the paragraph tag's align attribute that I suggested yesterday? htmlText='p align=centerfont face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font/p'; -Keith

RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Keith Reinfeld
This works, import mx.transitions.Tween; import mx.transitions.easing.*; import flash.filters.GlowFilter; var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false); for (var i = 0; i 5; ++i) { var mc:MovieClip = this[kText + i]; mc.filters = [gf];

RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Keith Reinfeld
to this. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: Wednesday, October 11, 2006 2:50 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem,can you spot it? This works

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Keith Reinfeld
mastro, You must remove any button behaviors that are assigned to your draggable mc. Such button behaviors will intercept mouse actions and effectively disable your three buttons. The code below should give you an idea of how to accomplish your goal. This list does not support e-mail

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Keith Reinfeld
mastro, You must remove any button behaviors that are assigned to your draggable mc. Such button behaviors will intercept mouse actions and effectively disable your three buttons. The code below should give you an idea of how to accomplish your goal. This list does not support e-mail

RE: [Flashcoders] Q:passing a variable as argument with getURL(javascript:testfunc(arg));

2006-10-24 Thread Keith Reinfeld
getURL(javascript:testfunc('+arg+');); -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 11:55 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders]

RE: [Flashcoders] mc loads, has a global....

2006-10-26 Thread Keith Reinfeld
A quick test shows that what you want is do-able. :) This works: In a child swf (to be loaded) I used: function mapThis(){ trace(mapThis() called); } function mapThat(){ trace(mapThat() called); } _global.mapage = {};// new Object _global.mapage.mapThis = mapThis;

RE: [Flashcoders] Switch case problem...

2006-12-06 Thread Keith Reinfeld
How are you setting the value of the linkName variable? -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José Maria Barros Sent: Wednesday, December 06, 2006 6:54 AM To: Flashcoders mailing list Subject:

RE: [Flashcoders] movement question

2007-01-19 Thread Keith Reinfeld
Gustavo, function rotateMC(mc, increment, targetDegree){ mc.onEnterFrame = function(){ this._rotation = this._rotation + increment; if(this._rotation == targetDegree){ delete this.onEnterFrame; } } }

RE: [Flashcoders] Combobox embed fonts PC/Mac problem

2007-01-23 Thread Keith Reinfeld
Chip, Try this: // check the Flash Player version trace(System.capabilities.version); var OS:String = System.capabilities.version.substring(0,3); trace(OS = +OS); if(OS == WIN){ trace(Windows); myCombobox.setStyle(embedFonts, true); } if(OS == MAC){

RE: [Flashcoders] path to upper level folder

2007-01-31 Thread Keith Reinfeld
Your path should look like this: ../folder_with_images/yourimage.jpg -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: Wednesday, January 31, 2007 10:28 AM To: Flashcoders mailing

RE: [Flashcoders] adding nbsp; in html enabled text field

2007-02-07 Thread Keith Reinfeld
Doesn't it work to just: htmlString += nbsp;; ??? -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz Sent: Wednesday, February 07, 2007 1:41 PM To: Flashcoders mailing list Subject:

RE: [Flashcoders] Detecting mouse events over non-white parts of amovieClip

2007-02-07 Thread Keith Reinfeld
If you don't want the cursor to change just use yourMovieClip.useHandCursor = false; for each clip with button behaviors. HTH -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Boyd Sent:

RE: [Flashcoders] Detecting mouse events over non-white parts of amovieClip

2007-02-07 Thread Keith Reinfeld
The code to convert a bitmap into vectors would be the tricky part, but is technically doable. ModifyBitmapTrace Bitmap... -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] Re: Flashcoders Digest, Vol 25, Issue 53

2007-02-17 Thread Keith Reinfeld
Dave, I often get a 'Help Topic Not Found' result when I use search. Even when I know it's in there! In this case, it's in there: Using Components Creating Components Creating the ActionScript class file Adding component metadata Metadata tags HTH -Keith

RE: [Flashcoders] setting a timer in flash 8

2007-03-25 Thread Keith Reinfeld
Gustavo, stop(); var later:Number = (getTimer()/1000) + 20; this.onEnterFrame = function (){ var now:Number = getTimer()/1000; if(now = later){ trace(llegamos); delete this.onEnterFrame; } } trace(later); HTH -Keith

RE: [Flashcoders] regular expressions in Flash8?

2007-05-18 Thread Keith Reinfeld
// replace /descr with /descr txt = txt.split('/descr').join('/descr'); Then // replace /descr with /descr txt = txt.split('/descr').join('/descr'); -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Keith Reinfeld
This works: var yPos:Number = 50; for (var i:Number = 0; i 5; i++) { duplicateMovieClip(templates, templates + i, this.getNextHighestDepth()); var mc:MovieClip = this[templates + i]; yPos += 50; mc._y = yPos; mc._alpha = 0;

RE: [Flashcoders] coding a world clock

2007-09-03 Thread Keith Reinfeld
Hi, This thread inspired me to prototype my own world clock. And, yes the Date object does provide the means to convert local time to remote time IF you have the remote location's GMT offset value to plug in. I think this is the data Corban was asking after. http://wwp.greenwichmeantime.com/ and

RE: [Flashcoders] Calculate how many days until date

2007-09-05 Thread Keith Reinfeld
The month parameter takes values between 0 and 11, so: new Date( 2007, 12, 25 ) = Fri Jan 25 00:00:00 GMT-0600 2008 new Date( 2007, 11, 25 ) = Tue Dec 25 00:00:00 GMT-0600 2007 Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] coding a world clock

2007-09-06 Thread Keith Reinfeld
Hi Corban, Yes, I've been working on mine. I really want to thank Marcelo for the timezones array. Very helpful! Where did that come from? I have worked out a mechanism for applying Daylight Savings Time rules. Now all I need is the data, by location, to pass in. Note to Jim Berkey: First,

RE: [Flashcoders] coding a world clock

2007-09-06 Thread Keith Reinfeld
Hi Jim, Thanks again! Is it just me (Flash 8) or does anybody else get the 'Unexpected File Format' error? What version of Flash was your worldclock.fla created in? Regards, -Keith http://keithreinfeld.home.comcast.net ___

RE: [Flashcoders] coding a world clock

2007-09-07 Thread Keith Reinfeld
Thanks again, Marcelo! The DST Policies scheme works wonderfully. Brilliant! I'm sure I read somewhere that you need to delete the Date object once you are done with it. Otherwise it will persist in memory. Have you noticed any memory leaks associated with these calcs? Regards, -Keith

RE: [Flashcoders] Flash mx 2004 developer Certification Info

2007-09-10 Thread Keith Reinfeld
Nilesh, http://www.forta.com/books/0321157303/ From the Certified Macromedia Flash MX Developer Study Guide Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of [EMAIL

RE: [Flashcoders] AS2 Sound.stop()

2007-09-13 Thread Keith Reinfeld
Hi Andrew, So, how do you stop all currently playing sounds? If that is literally what you want to do, have you looked at the global function stopAllSounds()? Regards, -Keith http://keithreinfeld.home.comcast.net ___

RE: [Flashcoders] Simple quesiton for createEmptyMovieClip in AS2

2008-01-13 Thread Keith Reinfeld
Hey mac, Bob Leisle makes a good point: I don't understand what kind of link you are hoping to pass to getURL(). For the sake of my example code (see below) I have simply reused the image urls you have provided. Additionally I would suggest that you avoid using '_root'. Use the 'this' keyword

RE: [Flashcoders] urgent angle problem

2008-02-05 Thread Keith Reinfeld
frame = Math.ceil(((angle 0)? -1*(angle): -1*(angle - 360))/40); Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] yahoo list?

2008-02-06 Thread Keith Reinfeld
http://groups.yahoo.com/group/Flash_tiger Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Wednesday, February 06, 2008 9:03 AM To: Flash Coders List

RE: [Flashcoders] non-selectable TextFields are catching onPress, stumped

2008-02-16 Thread Keith Reinfeld
Andrew, Typically this behavior is the result of a change in focus following from the first click. Try adding this line to your onRelease function: Selection.setFocus(this); Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] world clock - revisited

2008-03-27 Thread Keith Reinfeld
Hi Corban, Marcelo, Marcelo Volmaro wrote: I did that code :) Absolutely! And thank you again. Awesome! (Corban and I corresponded on the topic, offlist, back when the Flashcoders list was down for so very long.) check if I'm in DST And that, Corban, is the trick. At least for me. My

RE: [Flashcoders] [AS3] Problem with For loop

2008-05-02 Thread Keith Reinfeld
var summaryClick = function (ev:Event) { trace(i); // Outputs incorrectly (Outputs 5 on each MovieClip click) ??? } Outputs correctly: 5 *is* the value of i when clicked. Regards, -Keith http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld
Yes. TUFaT SmileText Component http://www.tufat.com/script124.htm Has the features you mentioned, but it breaks when a user enters (certain) html tags. Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list

RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld
You can append htmlText with img src='' tags, like a regular html. So, you can have what you want in your textfield. Unfortunately the image tag's align attribute only supports 'left' (default) or 'right'. So if you need a graphical emoticon to appear in mid-text anywhere the img src='smiley'

RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld
they solve it in a component like this? http://www.flashloaded.com/flashcomponents/flashtexteditor/example2.html Elia - Original Message - From: Keith Reinfeld [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, June 12, 2008 10:32 PM Subject

RE: [Flashcoders] Inserting Smiley Images in Textarea

2008-06-12 Thread Keith Reinfeld
Kerry Thompson wrote: If you can place an image, you can specify the font. Use Wingdings for that one character--it has a smiley face at 0x45, I believe. I am guessing that Elia needs more than what Wingdings has to offer along these lines. J = smiling, K = embarrassed, L = frowning. So

RE: [Flashcoders] AS2 preloading images

2008-06-19 Thread Keith Reinfeld
Andrew, You could preload the images into child clips of a holder movieclip (_visible=false) then draw into your view using the BitmapData class. Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL

RE: [Flashcoders] Strange Masking Bug in Flash

2008-07-03 Thread Keith Reinfeld
Peter, when you build the swf, the one on the left has a big block of the masked object showing for no reason. The glitch in the mask corresponds to certain stroke elements. In the case of your example: the strokes that form a 'Y' (to put it delicately) and that do not conform to the

RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-18 Thread Keith Reinfeld
Hi Cor, If you comment out the lines where you are attempting to set the height and width properties then the text will be visible. MovieClip.width and MovieClip.height are not listed as MovieClip properties in the documentation. Maybe you should switch to Sprites. If this was AS2 you still

RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-18 Thread Keith Reinfeld
Just for the record: Q: Sprite is the same as a MovieClip but without the timeline, isn't it? MovieClip inherits from Sprite. Beyond that you will have to ask someone who can make sense of CS3's convoluted documentation. Regards, -Keith http://keithreinfeld.home.comcast.net

RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-19 Thread Keith Reinfeld
not listed as MovieClip properties I'm afraid that you are completely wrong there. A MovieClip has a height and width. Of course it does. The *documentation* sucks. That may be more the issue here too. I suspect it's more to do with setting the height and width properties before

RE: [Flashcoders] Random numbers list

2008-07-29 Thread Keith Reinfeld
yes like: allNumbers:Array = [ 0, 1, 2, 3, ..., 100 ]; tenNumbers:Array = []; public function getNumberIn():void{ var n:int = tenNumbers.splice( int( Math.random * 10 ), 1 ); tenNumbers.push( allNumbers.splice( int( Math.random * allNumbers.length ), 1 ) );

RE: [Flashcoders] Masking Effect

2008-07-29 Thread Keith Reinfeld
Sander, I had a situation once (Flash 8, AS2) where a gradient mask effect would not work properly until I forced the movieclips into positive depths. HTH Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list

RE: [Flashcoders] Quick Date question, how to add 1 second to Date?

2008-08-22 Thread Keith Reinfeld
Ali, currTime = new Date(currTime.getTime() + 1000); or currTime.setTime(currTime.getTime() + 1000); Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ali Drongo Sent: Friday,

RE: [Flashcoders] AS3 dynamic text fields and img

2008-09-09 Thread Keith Reinfeld
Jessica, My problem is that it seems AS3 is always bumping the img down to a new line unless it's the first item in the string. This behavior hasn't changed from earlier versions of AS. Does anyone know any way around this other than calculating the text length and appending the

RE: [Flashcoders] Making dynamic text look the same as static text

2008-09-19 Thread Keith Reinfeld
Alan, Review the help docs under textfield and textformat. Make sure you understand the difference between textfield properties and textformat properties and how they are set. Regards, -Keith http://keithreinfeld.home.comcast.net ___

RE: [Flashcoders] TextField text selection question

2008-10-08 Thread Keith Reinfeld
Omar, Each suggested keyword is rendered one above the other, in TextFields that are created on runtime, by using a loop. I know it would be achieved using: Suggestion.alwaysShowSelection = true; Suggestion.setSelection(whatever,whatever);// but what whatever should I put to much

RE: [Flashcoders] Re: masking w/o using bitmapCaching = true?

2008-10-09 Thread Keith Reinfeld
Sebastian, With cacheAsBitmap = false, can you overlay your menu with a gradient that has a transparent center then, using a separate graphic, mask the menu only? Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing

RE: [Flashcoders] CDATA whitespace issue

2008-10-16 Thread Keith Reinfeld
Is there any way (like the old ignoreWhite param), that i can get as3 to strip the extra tabs and linebreaks (even within CDATA)? Allandt, Have you tried: TextField.condenseWhite = true; ? Regards, -Keith http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Text field - input caret..

2008-11-07 Thread Keith Reinfeld
Karim, myTextField.setSelection(myTextField.length, myTextField.length); Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: Friday, November 07, 2008 8:37 AM

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-12 Thread Keith Reinfeld
Karim, Try adding the following line of code to your MOUSE_MOVE event listener function: stage.addChildAt(customCursor, stage.numChildren); Of course, you must substitute your custom cursor's instance name for 'customCursor'. HTH Regards, -Keith http://keithreinfeld.home.comcast.net

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
, at 16:26, Keith Reinfeld wrote: Karim, Try adding the following line of code to your MOUSE_MOVE event listener function: stage.addChildAt(customCursor, stage.numChildren); Of course, you must substitute your custom cursor's instance name for 'customCursor'. HTH Regards

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
AM, Keith Reinfeld [EMAIL PROTECTED]wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
at position 0, 1, 2, 3. If you remove a child every other moves up 1 place. So stage.numChildren is accordingly out of range. HTH C -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: vrijdag 14 november 2008 18:57

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
:[EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: vrijdag 14 november 2008 20:11 To: 'Flash Coders List' Subject: RE: [Flashcoders] ComboBox + Custom Cursor , AS3 Hi Cor, Right. I know all that. The question is why doesn't stage.addChildAt(customCursor, stage.numChildren

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
To: Flash Coders List Subject: Re: [Flashcoders] ComboBox + Custom Cursor , AS3 It could be seen as a bug. addChildAt tells flash to ADD to the current number of children. setChildIndex works within the existing children. On Fri, Nov 14, 2008 at 2:49 PM, Keith Reinfeld [EMAIL PROTECTED]wrote

RE: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-27 Thread Keith Reinfeld
Matt, I s'pose I focused too much on the second part of your question in my previous message. So anyway, if this src='com.myclasses.DropCap' actually works then more power to ya! If not: ActionScript 3.0 Language and Components Reference: src: Specifies the URL to an image or

RE: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-28 Thread Keith Reinfeld
Interesting, I'll have to give it a whirl. Thanks. Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Matt S. Sent: Wednesday, January 28, 2009

RE: [Flashcoders] really help needed here.

2009-02-03 Thread Keith Reinfeld
Gustavo, In your for loop: // The item's name property needs to be set var itemNames:String = names[i]; item.name = itemNames; Then in your rollOverHandler: trace(event.target.name =,event.target.name); HTH Regards, -Keith http://keithreinfeld.home.comcast.net

RE: [Flashcoders] really help needed here.

2009-02-04 Thread Keith Reinfeld
PM To: Flash Coders List Subject: Re: [Flashcoders] really help needed here. You are the best, thanks yOu brother...GOD bless you. Gus On Feb 4, 2009, at 12:24 AM, Keith Reinfeld wrote: trace(event.target.name =,event.target.name

RE: [Flashcoders] InputTextField issue

2009-02-27 Thread Keith Reinfeld
Hi Cor, Which key presses does it not accept? Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Cor Sent: Friday, February 27, 2009 4:46 AM

RE: [Flashcoders] InputTextField issue

2009-02-28 Thread Keith Reinfeld
Cor, A recent thread on the Flexcoders list had this to say: (see below) What the heck, give it a try. Regards, -Keith http://keithreinfeld.home.comcast.net --- In flexcod...@yahoogroups.com, huu...@... huu...@... wrote: This *is* possible. In your html-template directory, locate

RE: [Flashcoders] Duplicate Bitmap and scale question

2009-03-05 Thread Keith Reinfeld
How to create img2 correctly? The same way you created img: duplicateMovieClipImage(mc,img2); img2._xscale=50; img2._yscale=50; Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] ?: how to prevent users to copy text from aTextArea?

2009-03-28 Thread Keith Reinfeld
A simple solution is to put the textarea in a movieclip and set the movieclip to : mc.mouseChildren = false; That's not a bad idea, Cor. Unfortunately, it also disables the scrollbar. If the TextArea doesn't need to be scrolled, then fine. Otherwise I think it may be best to just use a

RE: [Flashcoders] ?: how to prevent users to copy text from aTextArea?

2009-03-28 Thread Keith Reinfeld
clipboard with or something else... On Mar 28, 2009, at 9:14 PM, Keith Reinfeld wrote: A simple solution is to put the textarea in a movieclip and set the movieclip to : mc.mouseChildren = false; That's not a bad idea, Cor. Unfortunately, it also disables the scrollbar

RE: [Flashcoders] ?: how to prevent users to copy text from aTextArea?

2009-03-29 Thread Keith Reinfeld
::: addedToStageHandler); var msg:String = bLorem ipsum dolor sit amet,/b consectetuer adipiscing elit.; details_ta.htmlText = msg; details2_ta.htmlText = msg; } } } regards, Muzak - Original Message - From: Keith Reinfeld keithreinf...@comcast.net To: 'Flash

RE: [Flashcoders] UK time clock

2009-04-22 Thread Keith Reinfeld
Pedro, To calculate the time elsewhere you have to factor-in the local machine's timezone offset value. I worked out the following for my World Clock last year: snip // Local Time var lDate:Date = new Date(); // Elsewhere Time: London Standard Time: 0, DST: 1 var utcH:Number = 1; var

RE: [Flashcoders] UK time clock

2009-04-22 Thread Keith Reinfeld
You can check if the locale takes DST into account by compare the offsets of a winter day with a summer day. If they are the same the locale doesn't care about DST. That is true. More precisely you can compare the timezone offset of January 1st to July 1st. If they are equal DST is not

RE: [Flashcoders] buttons not able to control movieclip's timeline

2009-08-13 Thread Keith Reinfeld
Isaac, You need to enclose each if block with braces {}. You can only get away without them when there is only one line of code to execute following the if. Without the braces your function simply outputs the trace() (depending which button is pressed) but will run container.prevFrame(); AND

RE: [Flashcoders] a function tells to move to a frame and then update content in that frame

2009-08-28 Thread Keith Reinfeld
the code into frame 1 of the actions layer. /* FrameLabelNav.fla Example Author: Keith Reinfeld FlashPlayer 9, AS3 Structure: Main Timeline: Three layers: actions buttons textfields actions layer: five blank keyframes frame 1: Actionscript

RE: [Flashcoders] Hello. FLVPlayback as3 3.0

2009-09-03 Thread Keith Reinfeld
It seems you need to place the SkinUnderAllNoFullNoCaption.swf skin file on the server as well. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] trouble with adding/removing multiple preloaders on thumbs

2009-09-19 Thread Keith Reinfeld
, preloader]}); } function thumbFinished(mc:MovieClip, mc2:starPreloader):void { trace(\nthumbFinished() called,mc.name,mc2.name); //Remove the preloader mc.removeChild(mc2); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] swf behaving differently in different domain and other issues loading swf

2009-09-23 Thread Keith Reinfeld
Isaac, http://clientes.agenciahive.com.br/acoriana/index.php the swf gets loaded but the links doesn´t work Check the xml file(s) for proper LINK attribute values. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Keith Reinfeld
That's the third time you've ignored me... I'm done. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Keith Reinfeld
Thanks Hans, I'm not saying a given OP needs to respond to every post in a thread, but this was so blatant. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun

RE: [Flashcoders] How many weeks remaining from a given fixed date?

2009-10-30 Thread Keith Reinfeld
May = 4 not 5. January = 0, February = 1, etc. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ACE Flash Sent: Friday, October 30

RE: [Flashcoders] Still Infinitely Looping

2009-11-21 Thread Keith Reinfeld
The problem must be with some other code that you are not showing. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent

RE: [Flashcoders] Still Infinitely Looping

2009-11-21 Thread Keith Reinfeld
. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Keith Reinfeld
beno, Is this anything like what you are after? http://keithreinfeld.home.comcast.net/~keithreinfeld/Testing/Main.html Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-03 Thread Keith Reinfeld
Naw... The bobblehead and googlie-eyes was something I did for fun. beno has been trying to work out the business with the hands. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-04 Thread Keith Reinfeld
, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net Character.as (document class) package { import flash.events.Event; import flash.display.MovieClip; import flash.utils.Timer; import

  1   2   >