RE: [Flashcoders] Space filling Algorithm help

2012-01-05 Thread Keith Reinfeld
Matt, There was a thread back in 2006 that may be helpful: http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg14071.html The code is AS2 but looks to be easily converted to AS3. HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Keith Reinfeld
Keith On Oct 18, 2011 11:03 PM, "Karl DeSaulniers" wrote: > Just checking, but you don't happen to have save bitmap as cache set to > your image being animated do you? As it will be cached every move. > > JAT > > Karl > > Sent from losPhone > > On Oct 18, 2011, at 4:02 PM, Paul Andrews wrote: >

RE: [Flashcoders] quick E4X question

2011-04-22 Thread Keith Reinfeld
var pets:XML = dog snake cat mouse var parentT:XMLList = pets..t.(elements().contains(cat)).@n; Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Keith: Re: Help with Image Slideshow - displaying random image

2011-01-25 Thread Keith Reinfeld
; my_tweens_array[2] = new Tween(my_label,"alpha",Strong.easeOut,1,0,1,true); */ } function onFadeOut(e:TweenEvent):void { trace("\nonFadeOut::",e.currentTarget.obj); e.currentTarget.obj.visible = false; //my_im

RE: [Flashcoders] Re: Help with Image Slideshow - displaying random image

2011-01-25 Thread Keith Reinfeld
> Won't the image and corresponding desc both > be scrambled in an array since I > want to display them together? Christopher, Have you considered adding each textfield as a child of each image container? Regards, Keith Reinfeld Home Page: http://keithreinfeld.ho

RE: [Flashcoders] Calling a Static Function

2010-11-10 Thread Keith Reinfeld
adComplete(e:Event):void{ _assetLib = e.target.loader.contentLoaderInfo.content as MovieClip; trace("_assetLib =",_assetLib); _assetLib.callInitAssets(); } Regards, Keith Reinfeld Home Page: http://keithreinf

RE: [Flashcoders] Impossible?

2010-10-04 Thread Keith Reinfeld
> I can't quite manage to get rid > of the black rim around the flames. The problem was with the palette. <http://keithreinfeld.home.comcast.net/~keithreinfeld/Demos/Fire/Fire.html> Regards, Keith Reinfeld Home Page: http://keithreinfeld

RE: [Flashcoders] Impossible?

2010-10-04 Thread Keith Reinfeld
the threshold values, but these are working. If anyone is interested, the original source files can be found here: <http://wonderfl.net/c/3g08> Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net __

RE: [Flashcoders] Embedded fonts Bug

2010-09-24 Thread Keith Reinfeld
Have you specified a fontWeight and a fontStyle? [Embed( source='../fonts/Garamond3/GaramThrBolItaOsF.ttf', fontName='Garam3BoldItalicEmbedded', fontWeight='bold', fontStyle = 'italic', embedAsCFF='false&

RE: [Flashcoders] Embedded fonts Bug

2010-09-24 Thread Keith Reinfeld
Kerry, I suggest that you try doing the Font.registerFont(Garam3BoldItalicEmbedded) in your 'embedded font swf'. Load the swf into your 'downloader' then simply use it in your showText(). Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net >

RE: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread Keith Reinfeld
before but, based on the code you have shown, this discrepancy in arguments should cause an error: addFormatting( treatmentTimeInfo , STD_LABEL_FONT_SIZE , WHITE); function addFormatting(tField:TextField):void{ trace("addFormatting function called"); // more code

RE: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-14 Thread Keith Reinfeld
tField.defaultTextFormat = format; tField.embedFonts = true; tField.setTextFormat( format ); tField.text = "some_text" } HTH Regards, Keith Rei

RE: [Flashcoders] test

2010-08-27 Thread Keith Reinfeld
Okay. Flashcoders disabled my account due to excessive bounces. I am just trying to track down the cause. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-

[Flashcoders] test

2010-08-27 Thread Keith Reinfeld
Am I bouncing? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Accessing Fonts

2010-08-11 Thread Keith Reinfeld
st you use a shared font library instead. 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] How to rotate dynamic textfield

2010-07-06 Thread Keith Reinfeld
h. > Always trying to learn! Actually, you are. 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] How to rotate dynamic textfield

2010-07-06 Thread Keith Reinfeld
addChild(tf); tf.rotation = 300; } } } 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] Animation showing through Text

2010-06-22 Thread Keith Reinfeld
You will need to 'break apart' the text in order to use it as a mask this way. Select the textfield and use Ctrl+B twice. (Modify > Break Apart) Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > Fro

RE: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5?

2010-06-20 Thread Keith Reinfeld
The Adobe rep, with whom I conducted an online chat when I had this issue, said policy. And wouldn't budge. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcod

RE: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5?

2010-06-20 Thread Keith Reinfeld
de to approve your request. It may take a couple weeks but watch your credit card statement to see that they have reversed the charge off your account. Good luck! Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- >

RE: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5?

2010-06-20 Thread Keith Reinfeld
products. You can upgrade from an individual 'point' product to a bundled product but not from a bundled product to an individual product. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing li

RE: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5?

2010-06-19 Thread Keith Reinfeld
x27; product, i.e. Studio 8 to just Flash CS4. I had to "return" Flash CS4 and upgrade to a bundled suite. (It would have cost more to buy Flash CS4 alone!) I suggest that you contact an Adobe rep directly to be certain what their current policy is. Regards, Keith Reinfeld Home Pag

RE: [Flashcoders] masking issues

2010-06-14 Thread Keith Reinfeld
;ve no idea whether this is a known issue or a bug or whatever. Good luck! 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] Styling the List component

2010-06-08 Thread Keith Reinfeld
myList.setRendererStyle("textFormat", tfList); Works. Are you sure tfList is a valid TextFormat? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:fla

RE: [Flashcoders] Flashing Flash

2010-05-21 Thread Keith Reinfeld
dren > 1){ container_left.removeChildAt(1); } trace(" - container_left.numChildren =",container_left.numChildren); } // load the first image doNext(); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Mess

RE: [Flashcoders] Flashing Flash

2010-05-19 Thread Keith Reinfeld
Don't remove container_middle at all. Instead add/remove its children: container_middle.addChildAt(newImage, 0); container_middle.removeChildAt(1); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > From: flash

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Keith Reinfeld
Glad I could help. Good luck! 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 Donald Talcott > Sent: Wedne

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Keith Reinfeld
ation in the desired (randomized) order. If you use the if/else block (from the code in my previous post) to manage the index then the animations will repeat, continuously. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > From: flash

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
he structure of your file. HTH 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] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
> gotoAndPlay(mOnemTwo); You need to pass just one element of the mOnemTwo array rather than the entire array. So: gotoAndPlay(mOnemTwo[index]); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > From: flashco

RE: [Flashcoders] passing obj name

2010-04-28 Thread Keith Reinfeld
> 100 There's a whole lotta shakin' goin' on... 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] passing obj name

2010-04-28 Thread Keith Reinfeld
) { shakable.main.rotation+=Math.random()*8-4; shakable.main.x+=Math.random()*8-4; shakable.main.y+=Math.random()*8-4; } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoders-boun...@chattyfig.figle

RE: [Flashcoders] RE: Recursive and e:Event

2010-03-29 Thread Keith Reinfeld
> sorry - jumped the gun - I worked it out with: > > xmlLoader.addEventListener(Event.COMPLETE, function(e:event):viod { > var xml:XML = new XML)e.target.data); > function(xml); > }); Interesting... How are you able to removeEventListener with that syntax? Regard

RE: [Flashcoders] Recursive and e:Event

2010-03-29 Thread Keith Reinfeld
> I need to find a way to get around this can I call the function > without e:Event? Yes: function (parseXML(e:Event=null) { ... parseXML(ixml); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comca

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread Keith Reinfeld
dler(e:MouseEvent):void{ e.currentTarget.getChildAt(0).backgroundColor = 0x0E778A; // Navigate.to(e.currentTarget.linkURL); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@cha

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread Keith Reinfeld
I think "Susan" has gone back to the boat with "Victor." Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.

RE: [Flashcoders] Problem Importing Class

2010-03-04 Thread Keith Reinfeld
_star = new Star(); } } } 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 Susan D

RE: [Flashcoders] how to reduce CPU usage

2010-03-03 Thread Keith Reinfeld
> > What's odd to me is that all of this CPU is getting used even though > these movie clips are completely invisible. > Invisible as in visible = false, or alpha = 0? Rendering alpha at anything under 100% is quite cpu intensive. Regards, Keith Reinfel

RE: [Flashcoders] Error 1009

2010-02-25 Thread Keith Reinfeld
thread, you do not have 'addChild(l)' anywhere. This omission could very well be the cause of a null reference error. Try that. If that doesn't work then I guess you have more digging to do. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Origi

RE: [Flashcoders] Error 1009

2010-02-25 Thread Keith Reinfeld
> > Yes, except instead of referencing a problem with the preloader, it > references a problem with the *.as that will load after the preloader. > I think you need to examine '*.as' then. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net &

RE: [Flashcoders] Error 1009

2010-02-24 Thread Keith Reinfeld
); // do stuff } } } HTH 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] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
s from loader > Steven, I'm curious about the try-catch block. It seems unnecessary since, presumably, this code would be called within an onLoadComplete function and the URLStream would no longer be open. Is there a scenario where this would not be the case? Regards, Keith Reinfeld Hom

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
Steven, Thanks for the backup. 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 Steven Sacks > Sent: Tuesday,

RE: [Flashcoders] Finding and Removing a Sprite: PART II

2010-02-23 Thread Keith Reinfeld
ankABrat(barMom, "barBrat3"); trace("barMom.numChildren =",barMom.numChildren);// 8 eightySixBrats(barMom); trace("barMom.numChildren =",barMom.numChildren);// 0 Jason: Doesn't storing them in an array create a set of references that

RE: [Flashcoders] Finding and Removing a Sprite: PART II

2010-02-23 Thread Keith Reinfeld
addChildAt(child:DisplayObject, index:int) So: this.addChildAt(barMom, 0); 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] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
dly when you can set 'myBevel' once and just use that? displayObject.filters = [myBevel]; Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfi

RE: [Flashcoders] Finding and Removing a Sprite: PART II

2010-02-23 Thread Keith Reinfeld
You could parent them. Var barMom:Sprite = new Sprite(); addChild(barMom); function createBars():void { for (var i:int=0; ihttp://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- > boun...@chattyfig.figleaf.co

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
bf.type = BitmapFilterType.OUTER; bf.distance = 10; bf.highlightColor = 0xFF; bf.shadowColor = 0x00; bf.blurX = 20; bf.blurY = 20; return bf; } // apply Bevel filter displayObject.filters = [myBevel]; Regards, Keith Reinfeld

RE: [Flashcoders] Event.COMPLETE Question

2010-02-22 Thread Keith Reinfeld
ayObject = e.currentTarget.loader.content; Your images are unlikely to load in the same order indicated by the switch statement. Your images are likely to display one top of the other, making it seem like you are only getting one. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.com

RE: [Flashcoders] Event.COMPLETE Question

2010-02-20 Thread Keith Reinfeld
Loader object is preserved in a separate element of the array. Don't forget to remove your listeners. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Matrix Transformation Problem

2010-02-18 Thread Keith Reinfeld
Actions Panel: import DesertSands; var ds:DesertSands = new DesertSands(); addChild(ds); or Set DesertSands.as as the fla's Document Class. In the fla Properties Panel Class field type: DesertSands HTH Regards, Keith Reinfeld Home Page: http://keithreinfel

RE: [Flashcoders] Matrix Transformation Problem

2010-02-17 Thread Keith Reinfeld
er, y:Number):Matrix { var m:Matrix = new Matrix(); m.b = Math.tan(x * Math.PI / 180); m.c = Math.tan(y * Math.PI / 180); return m; } } } Regards, Keith Rein

RE: [Flashcoders] Matrix Transformation Problem

2010-02-17 Thread Keith Reinfeld
g your transform to 'target' which not only no longer has 'fontContainer' as a child (along with its child 'coName') but has not, itself, been added to the display list. Your original post said that certain vars were defined outside the function. I guess I assu

RE: [Flashcoders] Matrix Transformation Problem

2010-02-15 Thread Keith Reinfeld
Sorry, you will also need 'coName.embedFonts = true;' 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 Keith Reinfeld Se

RE: [Flashcoders] Matrix Transformation Problem

2010-02-15 Thread Keith Reinfeld
Remove the line 'addChild(fontContainer);' 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 Susan Day Sent: Monday, F

RE: [Flashcoders] AS2 SWFs with pageFlipper component

2010-02-05 Thread Keith Reinfeld
else the next pageflip you load the mouselistener will not work. Worth knowing? 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

RE: [Flashcoders] E4X, it's just not my day.

2010-02-05 Thread Keith Reinfeld
Your xml is malformed. an artist Should be: an artist 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 Mendelsohn, Michael

RE: [Flashcoders] making a repeating effect

2010-02-05 Thread Keith Reinfeld
heart.name = "heart"+timer.currentCount; 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 Matt S. Sent: Friday, February

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

2010-02-05 Thread Keith Reinfeld
"I do and do and do for you kids, and this is the thanks I get." - David Letterman catchphrase candidate, circa: back in the day. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders ma

RE: [Flashcoders] making a repeating effect

2010-02-05 Thread Keith Reinfeld
(e.currentTarget.currentCount == e.currentTarget.repeatCount){ e.currentTarget.removeEventListener(TimerEvent.TIMER, onTimer); } } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders

RE: [Flashcoders] making a repeating effect

2010-02-04 Thread Keith Reinfeld
var timer:Timer = new Timer(5000, 1000); The second param limits the number of times it can fire. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun

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

2010-02-04 Thread Keith Reinfeld
humbBottom. I hope I haven't made it too easy for you. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net Character.as (document class) package { import flash.events.Event; import flash.display.

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

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

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

2009-09-19 Thread Keith Reinfeld
trace("\nthumbFinished() called",mc.name,mc2.name); //Remove the preloader mc.removeChild(mc2); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chat

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] a function tells to move to a frame and then update content in that frame

2009-08-28 Thread Keith Reinfeld
paste 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: Action

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 con

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] 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: // Local Time var lDate:Date = new Date(); // Elsewhere Time: London Standard Time: 0, DST: 1 var utcH:Number = 1; var utcM:Nu

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

2009-03-29 Thread Keith Reinfeld
{ > > > > public var details_ta:TextArea; > > public var details2_ta:TextArea2; > > > > public function TestTextArea() { > >addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler); > > init(); > > } > > > > private funct

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

2009-03-28 Thread Keith Reinfeld
attyfig.figleaf.com] On Behalf Of direc...@iashido.com > Sent: Saturday, March 28, 2009 3:53 PM > To: Flash Coders List > Subject: Re: [Flashcoders] ?: how to prevent users to copy text from > aTextArea? > > maybe... > > hard way: > > on select - set clipboard with &quo

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 Text

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 [mailto:flashcod

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...@..." wrote: > > This *is* possible. > > In your html-template directory, locate the in

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

RE: [Flashcoders] really help needed here.

2009-02-04 Thread Keith Reinfeld
bruary 04, 2009 1:09 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: > &g

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

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 SW

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

2009-01-27 Thread Keith Reinfeld
Matt, You need to set the img tag's id attribute: var tString:String = "Lorem ipsom yadda yadda..."; Then it's: myTextField.htmlText = tString; myTextField.DC0.txt.text = "Z"; HTH Regards, -Keith http://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoder

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
4, 2008 3:33 PM > 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

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
t the displayList, it figures. > > Kind regards > Cor > > -----Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Keith > Reinfeld > Sent: vrijdag 14 november 2008 20:11 > To: 'Flash Coders List' > Subject: RE: [Flash

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
y["obj1","obj2","obj3","obj4"] has 4 children wich are located 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 > > > >

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
to the display list? > > On Fri, Nov 14, 2008 at 11:08 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
t - thank you ! > > > > it seems a little odd that the ComboBox adds the List to the stage and > not > > one of its own children. Maybe memory/resource managment. h. > > > > > > > > On 12 Nov 2008, at 16:26, Keith Reinfeld wrote: > > > >

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

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

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

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

RE: [Flashcoders] AS3 dynamic text fields and

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 t

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

  1   2   >